code-reviewer — community code-reviewer, mern-ninja-cc, community, ide skills

v1.0.0

About this Skill

Perfect for MERN Stack Agents needing comprehensive code reviews and project health assessments. Use when asked to review MERN stack code - comprehensive code reviewer that checks project health, security, maintainability, performance, testing, and architecture. Combines general code quality anal

9tykeshav 9tykeshav
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reviewed Landing Page Review Score: 9/11

Killer-Skills keeps this page indexable because it adds recommendation, limitations, and review signals beyond the upstream repository text.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review Locale and body language aligned
Review Score
9/11
Quality Score
60
Canonical Locale
en
Detected Body Locale
en

Perfect for MERN Stack Agents needing comprehensive code reviews and project health assessments. Use when asked to review MERN stack code - comprehensive code reviewer that checks project health, security, maintainability, performance, testing, and architecture. Combines general code quality anal

Core Value

Empowers agents to analyze project health, security, maintainability, performance, testing, and architecture using MERN-specific expertise, providing general code quality analysis and specialized insights for optimized project development, leveraging tools like `tsc --noEmit` for compilation error checks.

Ideal Agent Persona

Perfect for MERN Stack Agents needing comprehensive code reviews and project health assessments.

Capabilities Granted for code-reviewer

Assessing project health before code review
Analyzing MERN stack projects for security vulnerabilities
Optimizing project performance and maintainability

! Prerequisites & Limits

  • Requires access to project codebase
  • MERN stack projects only
  • Needs project documentation like README and STATUS/BUGS/TODO files

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is code-reviewer?

Perfect for MERN Stack Agents needing comprehensive code reviews and project health assessments. Use when asked to review MERN stack code - comprehensive code reviewer that checks project health, security, maintainability, performance, testing, and architecture. Combines general code quality anal

How do I install code-reviewer?

Run the command: npx killer-skills add 9tykeshav/mern-ninja-cc/code-reviewer. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for code-reviewer?

Key use cases include: Assessing project health before code review, Analyzing MERN stack projects for security vulnerabilities, Optimizing project performance and maintainability.

Which IDEs are compatible with code-reviewer?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for code-reviewer?

Requires access to project codebase. MERN stack projects only. Needs project documentation like README and STATUS/BUGS/TODO files.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add 9tykeshav/mern-ninja-cc/code-reviewer. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use code-reviewer immediately in the current project.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

code-reviewer

Install code-reviewer, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Code Reviewer

Overview

Comprehensive code review: General intelligence + MERN specialization.

Philosophy: Check project health FIRST, then dive into code. A 6,000-line file is a problem regardless of what's in it.

Review Workflow

Phase 0: Project Health (Do This First)

Before reading any code, assess project health:

  1. Build status: Run tsc --noEmit or check for compilation errors
  2. Project docs: Read README, any STATUS/BUGS/TODO files - look for deployment blockers
  3. Test health: Do tests exist? Check package.json scripts, look for test directories
  4. File sizes: find src -name "*.ts" -o -name "*.tsx" | xargs wc -l | sort -n | tail -20
  5. Dependencies: Check for npm audit issues, unusual deps (Angular in React?)

Stop here if: Build is broken, docs say "DO NOT DEPLOY", or critical blockers found. Report immediately.

Phase 1: Scope Detection

  1. Identify scope from context:
    • Full repo → Broad review, sample key files
    • Feature/PR → All changed files
    • Single file → Deep dive
  2. Detect layers: React? Express? MongoDB? Node.js?
  3. If ambiguous → ask user

Phase 2: Review by Priority

PriorityFocusSeverity
0. BlockersBuild failures, "DO NOT DEPLOY", broken deploysSTOP
1. SecurityInjection, auth, secrets, XSSCritical
2. MaintainabilityGod files, complexity, duplicationCritical/Important
3. PerformanceN+1, missing indexes, re-rendersImportant
4. TestingNo tests, low coverage, flaky testsImportant
5. Best PracticesError handling, async patternsSuggestion
6. ArchitectureAPI design, state managementSuggestion

Load reference files ON-DEMAND when you hit MERN-specific edge cases.

Phase 3: Report

Use the output format below. Offer to fix starting with Critical.

Output Format

markdown
1# MERN Code Review 2 3## Project Health 4- Build: [Compiles / X errors / Not checked] 5- Tests: [X passing / X failing / None found] 6- Blockers: [Any deployment blockers from docs] 7- Large files: [Files >500 lines] 8 9## Scope 10[What was reviewed] 11 12## Summary 13- Files reviewed: X 14- Issues: X Critical, X Important, X Suggestions 15 16## Critical (Must Fix) 17### [C1] Category: Title 18**File:** `path:line` 19**Why:** [1-2 sentences] 20**Fix:** [Code or instruction] 21 22## Important (Should Fix) 23### [I1] Category: Title 24... 25 26## Suggestions 27- `file:line` - Note 28 29## What's Good 30- [Positive observations] 31 32## Verdict 33[Ready to deploy / Blocked / Needs fixes] - [1 sentence reason] 34 35--- 36**Ready to fix these?** Starting with Critical issues.

Checklists

Minimum required checks. Report other issues you find during review.

Blockers (Check First)

  • Project compiles without errors
  • No "DO NOT DEPLOY" or similar warnings in docs
  • No critical security advisories in npm audit

Security

  • No $where, $ne, $regex with user input (NoSQL injection/ReDoS)
  • No dangerouslySetInnerHTML without DOMPurify
  • JWT in httpOnly cookies, not localStorage
  • Secrets in env vars, not hardcoded (check config files too, not just code)
  • Helmet middleware configured
  • CORS properly restricted
  • Rate limiting on auth endpoints
  • Input validation on all endpoints
  • No eval() or new Function() with user input

Maintainability

  • No file >500 lines (god files)
  • No function >50 lines
  • No class/component with >20 methods
  • No deep nesting (>4 levels)
  • No copy-paste blocks >10 lines (DRY)
  • Clear naming (no cryptic abbreviations)
  • Consistent code style

Performance

  • No N+1 queries (use populate/$lookup)
  • Indexes on frequently queried fields
  • .lean() for read-only Mongoose queries
  • No fs.readFileSync in request handlers
  • React.memo on expensive components
  • useCallback/useMemo where beneficial
  • Pagination on list endpoints

Testing

  • Tests exist for critical paths (auth, payments, core flows)
  • Test coverage reasonable (>50% for services)
  • No skipped/commented-out tests
  • Tests actually assert behavior (not just "doesn't crash")
  • Mocks don't hide real integration issues

Best Practices

  • Async errors handled (try/catch or error middleware)
  • useEffect cleanup functions present
  • No floating promises (unhandled async)
  • Middleware order correct (body-parser before routes, error handler last)
  • Environment variables validated at startup
  • Graceful shutdown handlers

Architecture

  • Consistent API response format
  • Service layer between controllers and DB
  • Types aligned frontend/backend
  • No circular dependencies
  • Clear module boundaries
  • No god components (React >300 lines)
  • State management appropriate for complexity

Red Flags (Immediate Critical)

These are automatic Critical issues:

  • eval(), new Function() with user input
  • Hardcoded secrets/credentials in code
  • dangerouslySetInnerHTML without sanitization
  • JWT/auth tokens in localStorage
  • Missing auth middleware on protected routes
  • $where clause with user input
  • File >1000 lines
  • "DO NOT DEPLOY" in project docs
  • npm audit critical vulnerabilities

Scope Calibration

ScopePhase 0Code DepthFocus
Single fileSkipDeepAll checklists on that file
Last commitQuickMediumChanged lines + immediate context
Feature/PRQuickMediumAll changed files
Full repoFullBroadSample key files, architecture

Reference Files

Load ONLY when you encounter MERN-specific patterns you need to verify:

When to LoadReference
NoSQL query security questionsecurity.md
React hooks/re-render issuereact.md
Express middleware questionexpress.md
MongoDB schema/index questionmongodb.md
Node.js async/memory issuenodejs.md
API design/auth flow questionfullstack.md

Do NOT load all references upfront. They're for edge cases, not general review.

Don't

  • Don't claim "no issues found" without actually searching for them
  • Don't report on code you haven't read
  • Don't classify style issues as Critical

Examples

God File Detection

Found: EventService.ts - 6,165 lines
→ Critical [C1] Maintainability: God file
→ Recommend split into: EventQueryService, EventBookingService,
   EventGuestService, EventInviteService (~500 lines each)

Missing Health Check

Found: CURRENT_STATUS_AND_BUGS.md contains "DO NOT DEPLOY"
→ Critical [C1] Blocker: Deployment blocked by known issues
→ Fix TypeScript errors in EditEventModal.tsx before proceeding

Security + Specific Fix

Found: No Helmet middleware in index.ts
→ Critical [C2] Security: Missing security headers
→ Fix: npm install helmet && app.use(helmet())

Related Skills

Looking for an alternative to code-reviewer or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer