brainstorming
Use before coding when requirements have multiple reasonable interpretations, approaches require tradeoffs, or mistakes would be…
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
Claude Code
$ npx -y skills add chipfighter/coding-discipline --skill code-review --agent claude-code
Codex
$ npx skills add chipfighter/coding-discipline --skill code-review -a codex -y
Cursor
$ npx skills add chipfighter/coding-discipline --skill code-review -a cursor -y
Gemini CLI
$ npx skills add chipfighter/coding-discipline --skill code-review -a gemini-cli -y
GitHub Copilot
$ npx skills add chipfighter/coding-discipline --skill code-review -a github-copilot -y
OpenCode
$ npx skills add chipfighter/coding-discipline --skill code-review -a opencode -y
Windsurf
$ npx skills add chipfighter/coding-discipline --skill code-review -a windsurf -y
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
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.
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.
Use before coding when requirements have multiple reasonable interpretations, approaches require tradeoffs, or mistakes would be…
Use when starting a project, reading project documentation or history, or resolving conflicts between documents. For current…
Use when creating a branch, using worktrees for parallel work, committing, or wrapping up. Covers branch naming, conventional…
Use in cross-session work when user-confirmed outcomes, non-goals, hard constraints, or acceptance criteria have not been written…
Use before proposing a permanent fix for bugs, test failures, or unexpected behavior with an unknown root cause—mandatory when…
Use before implementation when behavior can be verified by automated tests and regression coverage has clear value. For bugs with…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.