Skip to content
Development
Skill

/code-review

Use when changes affect interactions across multiple modules, involve high-risk areas (authorization/authentication, payments/funds, data deletion/migration, public APIs/cross-service interfaces/security boundaries), or the user requests a review. Review in this

From plugin
coding-discipline
258 skills

Claude Code

$ npx -y skills add chipfighter/coding-discipline --skill code-review --agent claude-code

SKILL.md

code-review.SKILL.md
name: code-review
description: Use when changes affect interactions across multiple modules, involve high-risk areas (authorization/authentication, payments/funds, data deletion/migration, public APIs/cross-service interfaces/security boundaries), or the user requests a review. Review in this order—correctness → requirements → security → simplicity → style. Verify feedback before acting; do not comply blindly or agree performatively. Unless the user asks, documentation-only changes, explicit config values, and mechanical renames do not trigger merely because of a PR or merge.
license: MIT

Performing a review (review it yourself; delegate when worthwhile and supported)

When an independent perspective is needed and the current client supports subagents, you may delegate a review. Give the reviewer **carefully scoped context** (what changed, which requirements it should meet, and the base..head diff range), not the entire session history. Review small changes yourself; do not add agent overhead for appearances.

Review in this **priority order**. Do not dwell on a lower priority while a higher one is unresolved: 1. **Correctness**: is the logic sound; are edge cases, errors, or concurrency missing; can it crash? 2. **Requirements**: check each requirement and design point. Does the change do what was requested, and is anything missing? 3. **Security**: injection, unauthorized access, secret leakage, unvalidated input. 4. **Simplicity**: overengineering, duplication, removable dead code, features that are not needed yet. 5. **Style**: naming, consistency, readability—review these last, not first.

Use severity: fix blockers (crashes/security) immediately, fix important issues before proceeding, and note minor issues for later.

Receiving review feedback

  • **Verify before changing anything**: does this feedback apply to **this** codebase? Could it break existing behavior? Is there a reason the code is written this way? If uncertain, say, "I cannot verify X. Should I investigate, ask, or leave it for now?"
  • **Do not comply blindly**: if a suggestion is wrong, lacks context, asks for something not needed yet, or conflicts with an established architecture decision, push back with **technical reasons** rather than changing it because a reviewer said so. Stop and consult someone when the conflict concerns architecture.
  • **No performative agreement**: do not say "You're right!", "Good suggestion!", or "Thanks for catching that!" If you make the change, state what changed and where. If your pushback was wrong, say only, "I checked and I was wrong because X; I changed it." Do not write a long apology.
  • If anything is unclear, **clarify every item before making changes**. Do not act only on the items you understand; review items are often related, and partial understanding leads to wrong changes.
  • Address one item at a time, test each change, and confirm that it introduced no regressions (see verify-before-done).
Read more
@chipfighter
Ships withcoding-discipline

Chinese → README.zh-CN.md Guardrails, not a workflow. Quiet on routine work; firm when a named failure mode is at risk. AI coding agents tend to fail in two expensive ways: They drift off-goal.

Stars on GitHub

Momentum

stars in total
25
Star history of chipfighter/coding-discipline on GitHub, a chart by star-history.com

Other skills on coding-discipline.

git-flow

git-flow

Use when creating a branch, using worktrees for parallel work, committing, or wrapping up. Covers branch naming, conventional…

spec-sync

spec-sync

Use in cross-session work when user-confirmed outcomes, non-goals, hard constraints, or acceptance criteria have not been written…

tdd

tdd

Use before implementation when behavior can be verified by automated tests and regression coverage has clear value. For bugs with…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall 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.