npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

clauderc

v1.1.0

Published

Setup Claude Code with best practices - agents, skills, commands, and templates

Readme

clauderc


Based on my experiences and tips from Boris Cherny (creator of the Claude Code) and official documentation.

Quick Start

# Global setup (agents, skills, commands, templates)
npx clauderc init

# Project setup (CLAUDE.md, .claude/, settings)
npx clauderc project

# Update to latest version
npx clauderc update

Works on macOS, Linux, and Windows.

Two-Level Setup

Global (~/.claude/)

Shared components available to all projects:

npx clauderc init
~/.claude/
├── agents/
│   └── project-setup-wizard.md    # Setup Claude Code for any project
├── skills/
│   ├── project-analysis/          # Systematic project analysis
│   └── claude-code-templates/     # Quick reference for templates
├── commands/
│   ├── test.md                    # /test - run tests
│   ├── lint.md                    # /lint - lint and format
│   ├── verify.md                  # /verify - full validation
│   ├── pr.md                      # /pr - create pull request
│   └── setup.md                   # /setup - install dependencies
└── templates/project-setup/
    └── ...                        # Reference templates

Project (.claude/ + CLAUDE.md)

Project-specific configuration:

cd your-project
npx clauderc project
your-project/
├── CLAUDE.md                      # Project context for Claude
└── .claude/
    ├── settings.json              # Permissions & hooks
    └── commands/                  # Project-specific commands
        ├── dev.md
        ├── test.md
        ├── lint.md
        └── ...

Supported Stacks

Auto-detection for 11+ languages:

| Stack | Detection | Package Managers | |-------|-----------|------------------| | Node.js/TypeScript | package.json | npm, pnpm, yarn, bun | | Python | pyproject.toml, requirements.txt | poetry, pipenv, uv, pip | | Go | go.mod | go mod | | Rust | Cargo.toml | cargo | | Java/Kotlin | pom.xml, build.gradle | maven, gradle | | PHP | composer.json | composer | | Ruby | Gemfile | bundler | | C#/.NET | *.csproj, *.sln | dotnet | | Elixir | mix.exs | mix | | Swift | Package.swift | swift | | Dart/Flutter | pubspec.yaml | pub, flutter |

Also detects: Monorepos (Turborepo, Nx, Lerna), CI/CD (GitHub Actions, GitLab CI, etc.)

Commands

init

Install global components to ~/.claude/:

npx clauderc init

# Force overwrite existing files
npx clauderc init --force

# Preview changes without applying
npx clauderc init --dry-run

project

Setup current project with interactive wizard:

npx clauderc project

Features:

  • Auto-detects stack, package manager, framework
  • Generates appropriate CLAUDE.md
  • Creates .claude/settings.json with permissions
  • Creates project-specific commands

update

Update global components to latest version:

npx clauderc update

# Preview what would be updated
npx clauderc update --dry-run

Features:

  • Automatic backup of modified files
  • Shows changelog between versions
  • Only updates files that changed

list

Show installed components:

npx clauderc list

changelog

Show version history:

npx clauderc changelog

Usage in Claude Code

After installation:

# Setup wizard for any project
"Use the project-setup-wizard agent to configure Claude Code for this project"

# Quick commands
/test      # Run project tests
/lint      # Lint and format code
/verify    # Full verification (lint + test + build)
/pr        # Create a pull request
/setup     # Install dependencies

# Skills
"Use project-analysis skill to analyze this codebase"

Best Practices (from Boris Cherny)

  1. Multiple instances - Run 5+ Claudes in parallel for independent tasks
  2. Opus 4.5 with thinking - Best model for coding, faster overall
  3. Shared CLAUDE.md - Team commits and updates regularly
  4. Plan Mode - Use for complex tasks (Shift+Tab twice)
  5. Slash commands - Automate repetitive workflows
  6. PostToolUse hooks - Auto-format code after edits
  7. Permissions - Pre-authorize safe commands instead of --dangerously-skip-permissions
  8. Feedback loop - Give Claude a way to verify its work

Contributing

Contributions are welcome! Please read our guidelines before contributing:

Ways to contribute:

  • Add new commands, skills, or agents
  • Add support for new stacks/languages
  • Improve existing templates
  • Report bugs or suggest features
  • Improve documentation

Author

Matheus Kindrazki

License

MIT