review-code
Code Review Workflow
Run a comprehensive, multi-perspective code review on the current branch changes. This skill activates the Review Council and integrates automated security scanning to catch issues before they reach a pull request.
[!CAUTION] Scope boundary: This skill reviews code and commits fixes. It does NOT create pull requests, push to remote, or merge anything. When the review is complete, stop and suggest the user run
/submit-prnext. Do not proceed to PR creation — that is/submit-pr's job.
[!WARNING] Checkpoint protocol. When this workflow reaches a
### CHECKPOINT, you must actively prompt the user for a decision — do not simply present information and continue. Use your agent's interactive prompting mechanism (e.g.,AskUserQuestionin Claude Code) to require an explicit response before proceeding. This prevents queued or in-flight messages from being misinterpreted as approval. If your agent lacks interactive prompting, output the checkpoint content and stop all work until the user explicitly responds.
Step 1: Analyze Current Changes
Identify all changes on the current branch:
- Run
git diff origin/main...HEADto see all changes relative to main - Run
git diffandgit diff --cachedto catch any uncommitted work - Run
git statusto see modified, added, and deleted files
Categorize changed files by layer based on your project's directory structure: