Skip to content
Testing
Skill

/code-review

Use when a major project step has been completed and needs review against the plan and coding standards. Also use when someone says 'review this', 'check my code', 'is this ready', or when a significant chunk of implementation is done. Use after completing tasks from an

From plugin
e2e-testing
169 skills2 hooks

Claude Code

$ npx -y skills add burhankhatri/e2e-testing --skill code-review --agent claude-code

SKILL.md

code-review.SKILL.md
name: code-review
description: "Use when a major project step has been completed and needs review against the plan and coding standards. Also use when someone says 'review this', 'check my code', 'is this ready', or when a significant chunk of implementation is done. Use after completing tasks from an implementation plan, before creating PRs, or when asked to assess code quality."

Code Review

Two-Stage Review Process

Stage 1: Spec Compliance

Before assessing quality, verify the code does what was asked:

1. **Compare implementation against the spec/plan** — requirement by requirement 2. **Is anything missing?** — features specified but not implemented 3. **Is anything extra?** — features added that weren't requested (YAGNI violation — remove them) 4. **Are deviations justified?** — if the implementation differs from the plan, is it a genuine improvement or a problematic departure?

**If spec compliance fails:** Fix gaps before moving to Stage 2. Don't review quality of incomplete work.

Stage 2: Code Quality

1. **Error handling** — are errors caught, logged, and handled appropriately? Are edge cases covered? 2. **Type safety** — proper types, no `any` unless justified, interfaces match contracts 3. **Naming** — clear, descriptive, consistent with codebase conventions 4. **Organization** — separation of concerns, single responsibility, loose coupling 5. **Test coverage** — are tests meaningful? Do they test behavior, not implementation? 6. **Security** — input validation, no hardcoded secrets, SQL injection, XSS 7. **Performance** — obvious N+1 queries, unnecessary re-renders, missing indexes

Issue Categories

  • **Critical** (must fix) — blocks merge, breaks functionality, security vulnerability
  • **Important** (should fix) — code smell, missing edge case, poor naming, missing test
  • **Suggestion** (nice to have) — style preference, minor optimization, alternative approach

Review Output Format

## Spec Compliance: ✅ PASS / ❌ FAIL

[If FAIL: list missing/extra items]

## Code Quality

### Strengths
- [What was done well — always acknowledge before critiquing]

### Critical Issues
- [File:line] Description. Fix: [specific suggestion]

### Important Issues
- [File:line] Description. Fix: [specific suggestion]

### Suggestions
- [File:line] Description. Consider: [alternative]

## Verdict: APPROVED / CHANGES REQUESTED

Principles

  • **Always acknowledge what was done well** before highlighting issues
  • **Be specific** — file, line, concrete suggestion, not vague "improve error handling"
  • **Provide code examples** for non-obvious fixes
  • **Don't nitpick style** if the codebase has no established convention
  • **Check the tests** — are they testing real behavior or mock existence?
  • **Verify independently** — don't trust claims, check the actual code/output
Read more
@burhankhatri
Ships withe2e-testing

A set of 8 global skills for Claude Code that enforce disciplined, test-driven agentic development. Install once, use in any project.

Stars on GitHub

Momentum

stars in total
16
Star history of burhankhatri/e2e-testing on GitHub, a chart by star-history.com

Other skills on e2e-testing.

e2e-playwright

e2e-playwright

Battle-tested Playwright E2E testing patterns for Next.js/React apps. Use when writing, running, debugging, or fixing Playwright…

start

start

Master orchestrator skill that kicks off the full development pipeline. Routes tasks through the correct skill chain (brainstorm,…

tdd

tdd

Enforces strict test-driven development. Use when implementing ANY feature, bugfix, or refactor — before writing implementation…

More skills from other plugins.

api-review

api-review

Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…

@microsoft@microsoftInstall Skill
add-e2e-selectors

add-e2e-selectors

Add reliable @grafana/e2e-selectors to interactive elements and key containers in the Grafana frontend. Use when adding e2e…

grafana5d78k
@grafana@grafanaInstall Skill
promptfoo-evals

promptfoo-evals

Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…

promptfoo13d27k
@promptfoo@promptfooInstall Skill
deepeval

deepeval

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…

@confident-ai@confident-aiInstall Skill

Questions about code-review.

Which coding agents can use code-review?
code-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.