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

create-code-reviewer

v3.2.0

Published

Interactive installer for code-reviewer skill with MCP integrations

Readme

create-code-reviewer

Interactive CLI to install a framework-aware code review skill for AI coding assistants.

Quick Start

npx create-code-reviewer

What It Does

  1. Detects your project - Package manager, language, framework, styling, testing, linting
  2. Configures MCP servers - GitHub, GitLab, Linear, Jira integration
  3. Installs code-reviewer skill - Framework-specific rules for AI-assisted code review

Supported AI Tools

  • OpenCode - Full support with .opencode/opencode.json config
  • Amp / Claude Desktop - claude_desktop_config.json config
  • Cursor - Uses OpenCode config format
  • Claude Code - Uses OpenCode config format

Supported Frameworks

| Framework | Rules | |-----------|-------| | Next.js | Server/Client boundaries, data fetching, image optimization | | React | Hooks rules, performance, key props | | Vue 3 | Composition API, reactivity, v-for keys | | TypeScript | Strict mode, no-any, null checks | | Django | N+1 queries, security, migrations | | Express | Async errors, security middleware, input validation |

Installation Scope

  • Project (recommended) - Installs to ./.opencode/skills/code-reviewer/
  • Global - Installs to ~/.config/opencode/skills/code-reviewer/

Generated Files

.opencode/
├── opencode.json           # MCP server config
├── code-reviewer.json      # Review settings
└── skills/
    └── code-reviewer/
        ├── SKILL.md        # Skill instructions
        └── references/
            ├── security-patterns.md
            ├── performance-patterns.md
            ├── quality-patterns.md
            └── framework-rules/
                ├── nextjs.md
                ├── react.md
                ├── vue.md
                ├── typescript.md
                ├── django.md
                └── express.md

Usage After Installation

# Review a file
opencode "review src/auth.ts"

# Review a directory
opencode "review src/services/"

# Use slash command
/code-reviewer src/

# Review staged changes
/code-reviewer --staged

Rule Priority

Rules are applied in this order (highest to lowest priority):

  1. AI Instructions - AGENTS.md, CLAUDE.md, .cursorrules
  2. Custom rules - User-defined in code-reviewer.json
  3. Linting rules - ESLint, Biome, Prettier
  4. Framework rules - Next.js, React, Vue, etc.
  5. Built-in rules - Security, performance, quality patterns

MCP Server Integration

The installer configures MCP servers for enhanced code review:

| Server | Purpose | Config | |--------|---------|--------| | GitHub | PR reviews, issues | npx @anthropic/mcp-server-github | | GitLab | MR reviews, issues | npx @anthropic/mcp-server-gitlab | | Linear | Issue tracking | HTTP: https://mcp.linear.app/mcp | | Jira | Issue tracking | npx @anthropic/mcp-server-jira |

Tokens are stored in .env (gitignored) and referenced via ${env.TOKEN_NAME}.

Configuration

code-reviewer.json

{
  "version": "1.0.0",
  "project": {
    "detected": {
      "packageManager": "pnpm",
      "language": "typescript",
      "framework": "nextjs",
      "styling": ["tailwind"],
      "linting": ["eslint", "prettier"]
    }
  },
  "rules": {
    "framework": {
      "nextjs": { "enabled": true }
    },
    "language": {
      "typescript": { "enabled": true, "strict": true }
    },
    "builtin": {
      "security": { "enabled": true },
      "performance": { "enabled": true }
    },
    "custom": []
  }
}

Custom Rules

Add custom rules to code-reviewer.json:

{
  "rules": {
    "custom": [
      {
        "name": "no-console-log",
        "severity": "warning",
        "pattern": "console.log",
        "message": "Remove console.log before merging"
      }
    ]
  }
}

Development

# Clone and install
cd packages/create-code-reviewer
npm install

# Build
npm run build

# Test locally
node dist/index.js

License

MIT