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

claude-code-standards

v2.0.6

Published

Smart auto-learning code standards for any project. Detects 10+ languages, 50+ frameworks, scans your code patterns, and generates CLAUDE.md, AGENTS.md, and .cursorrules.

Readme

claude-code-standards

Smart auto-learning code standards for any project. Detects 10+ languages, 50+ frameworks/libraries, scans your actual code patterns, and generates tailored CLAUDE.md + AGENTS.md + .cursorrules + specialized agents.

Install

npm install -D claude-code-standards

Initialize

npx claude-code-standards init

This will:

  1. Detect your tech stack (language, frameworks, libraries)
  2. Scan your codebase to discover naming conventions, project structure, import patterns, code style, error handling, and more
  3. Generate CLAUDE.md with stack-specific rules + auto-discovered patterns
  4. Install agents to .claude/agents/
  5. Install docs to .claude/docs/

Options

npx claude-code-standards init                      # CLAUDE.md only (default)
npx claude-code-standards init --format popular     # Top 6: CLAUDE.md, AGENTS.md, Copilot, Cursor, Windsurf, Gemini
npx claude-code-standards init --format all         # All 17 AI tool formats
npx claude-code-standards init --format copilot     # Specific format only
npx claude-code-standards init --no-scan            # Skip code scanning (template-only)
npx claude-code-standards init --update             # Re-scan and update (preserves manual edits)

Supported Languages

| Language | Manifest File | Frameworks Detected | |----------|--------------|-------------------| | JavaScript / TypeScript | package.json | Next.js, React, Vue, Angular, Svelte, Astro, Nuxt, NestJS, Express, React Native, Expo | | Python | requirements.txt, pyproject.toml, Pipfile | Django, Flask, FastAPI | | PHP | composer.json | Laravel, Symfony, WordPress | | Go | go.mod | Gin, Echo, Fiber, Chi | | Rust | Cargo.toml | Axum, Actix Web, Rocket | | Ruby | Gemfile | Rails, Sinatra | | Java / Kotlin | pom.xml, build.gradle | Spring Boot | | C# / .NET | *.csproj | ASP.NET Core, Blazor | | Dart / Flutter | pubspec.yaml | Flutter, Riverpod, Bloc | | Swift | Package.swift, Podfile | SwiftUI, Vapor |

Libraries Detected (50+)

State: Redux, Zustand, Jotai, MobX, Pinia, Vuex, NgRx, Riverpod, Bloc Data Fetching: TanStack Query, SWR, Apollo Client, tRPC, Axios Forms: Formik, React Hook Form UI: Shadcn/UI, Material UI, Ant Design, Chakra UI, Tailwind CSS, styled-components Validation: Zod, Yup, Pydantic, class-validator ORM: Prisma, Drizzle, TypeORM, Sequelize, Mongoose, SQLAlchemy, Eloquent, GORM, Diesel, Hibernate, Entity Framework, ActiveRecord Auth: NextAuth, Clerk, Supabase, Firebase, Passport, Devise Testing: Jest, Vitest, Playwright, Cypress, pytest, PHPUnit, Pest, RSpec, JUnit, xUnit, Testify

Code Scanner

The scanner reads your actual source files and discovers:

  • Project structure — where components, services, models, tests live
  • Naming conventions — file naming, function naming, constant style
  • Import patterns — path aliases, barrel exports, import ordering
  • Code style — semicolons, quotes, indentation, trailing commas
  • Error handling — custom error classes, API error format
  • API patterns — REST, GraphQL, tRPC, endpoint naming
  • Component patterns — functional vs class, styling approach, props style
  • Testing patterns — framework, file naming, colocated vs separate
  • Existing configs — ESLint, Prettier, Biome, Ruff, RuboCop, etc.
  • CI/CD — GitHub Actions, Docker, Vercel, Netlify, etc.

These discoveries are written as a ## Learned Patterns section in CLAUDE.md. On re-run with --update, only auto-discovered sections are updated — your manual edits are preserved.

Agents

code-learner

Scans the codebase, discovers project-specific patterns, and writes them into CLAUDE.md. Run this to teach the AI how YOUR project works. Re-run to evolve standards as the project grows.

code-guardian

Audits the codebase against CLAUDE.md rules. Finds violations, discovers undocumented patterns, and reports actionable fixes.

figma-builder (frontend)

Builds pixel-perfect components from Figma frames. Extracts all assets, preserves exact styling.

figma-validator (frontend)

Validates built components against Figma screenshots. Catches missing assets, wrong colors, spacing.

pen-builder (frontend)

Builds components from .pen (Pencil) design files using Pencil MCP tools.

pen-validator (frontend)

Validates components against .pen designs.

Multi-Format Output (17 AI Tools)

| Format Key | File Path | AI Tool | |-----------|-----------|---------| | claude | CLAUDE.md | Claude Code, Warp, Zed, Amp | | agents | AGENTS.md | OpenAI Codex, Cursor, Copilot, Gemini, Antigravity, 20+ tools | | cursor | .cursor/rules/standards.mdc | Cursor (current, with frontmatter) | | cursorrules | .cursorrules | Cursor (legacy) | | copilot | .github/copilot-instructions.md | GitHub Copilot | | windsurf | .windsurf/rules/standards.md | Windsurf / Codeium | | gemini | GEMINI.md | Gemini CLI, Antigravity | | aider | CONVENTIONS.md | Aider | | cline | .clinerules | Cline | | zed | .rules | Zed Editor | | continue | .continue/rules/standards.md | Continue.dev | | amazonq | .amazonq/rules/standards.md | Amazon Q Developer | | roo | .roo/rules/standards.md | Roo Code | | augment | .augment/rules/standards.md | Augment Code | | tabnine | .tabnine/guidelines/standards.md | Tabnine | | jetbrains | .aiassistant/rules/standards.md | JetBrains AI Assistant | | junie | .junie/guidelines.md | JetBrains Junie |

Shortcuts:

  • --format popular — generates top 6 (Claude, AGENTS.md, Copilot, Cursor, Windsurf, Gemini)
  • --format all — generates all 17 formats

License

MIT