Type
/reviewin any AI coding tool. Get structured, rule-based code review reports saved to dated folders.
Integrates with Claude Code, Cursor, GitHub Copilot, Windsurf, Continue.dev, Zed AI, and Sourcegraph Cody — automatically detected and configured on install.
npm install --save-dev @ebrahimelsafadedev/custom-ai-code-reviewer
npx @ebrahimelsafadedev/custom-ai-code-reviewerNo token. No .npmrc. Works for everyone.
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
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.
reviewed/
17-05-2026/
accessibility-reviewed.md
performance-reviewed.md
form-architecture-reviewed.md
README.md ← auto-updated index
Past runs are never overwritten.
- Drop a
<name>-rules.mdfile intoreview-rules/ - Re-run
npx @ebrahimelsafadedev/custom-ai-code-reviewer /review-<name>is now available in all your 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 |
MIT