Skip to content

Repository files navigation

@ebrahimelsafadedev/custom-ai-code-reviewer

Type /review in any AI coding tool. Get structured, rule-based code review reports saved to dated folders.

npm version license

Integrates with Claude Code, Cursor, GitHub Copilot, Windsurf, Continue.dev, Zed AI, and Sourcegraph Cody — automatically detected and configured on install.


Install

npm install --save-dev @ebrahimelsafadedev/custom-ai-code-reviewer
npx @ebrahimelsafadedev/custom-ai-code-reviewer

No token. No .npmrc. Works for everyone.


What the setup wizard does

Step 1 — Loads your review-rules/*.md files
Step 2 — Copies rule files to the project + creates reviewed/ folder  
Step 3 — Detects AI tools and writes integration config for each one
Step 4 — Adds review:list script to package.json

Usage

Type /review in your AI chat:

## Code Review — available commands

| Command                               | Reviews                        |
|---------------------------------------|--------------------------------|
| /review-all                           | All 6 categories at once       |
| /review-accessibility                 | Accessibility                  |
| /review-code-quality-conventions      | Code Quality & Conventions     |
| /review-form-architecture             | Form Architecture              |
| /review-json-schema-design            | JSON Schema Design             |
| /review-performance                   | Performance                    |
| /review-validation-error-handling     | Validation & Error Handling    |

The AI then asks for scope (current file or whole project) and writes the report.


Output

reviewed/
  17-05-2026/
    accessibility-reviewed.md
    performance-reviewed.md
    form-architecture-reviewed.md
  README.md   ← auto-updated index

Past runs are never overwritten.


Adding a new review category

  1. Drop a <name>-rules.md file into review-rules/
  2. Re-run npx @ebrahimelsafadedev/custom-ai-code-reviewer
  3. /review-<name> is now available in all your AI tools

Supported AI tools

Tool Config file written
Claude Code CLAUDE.md
Cursor .cursor/rules/code-review.mdc
GitHub Copilot .github/copilot-instructions.md
Windsurf .windsurfrules
Continue.dev .continue/config.json
Zed AI .zed/settings.json
Sourcegraph Cody .cody/context.md

License

MIT

custom-ai-code-reviewer

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages