code-review
Code review — local uncommitted changes or GitHub PR (pass PR number/URL for PR mode)
- Kind
- Prompt
- Works with
- Claude Code, Codex
- Source
- affaan-m/ECC @ d3b8a3e90890
- Path
- commands/code-review.md
- Jobs
- Git workflow, Review
- Topics
- Code review, Git & pull requests
Credit
- Made by
- affaan-m
- Original
- github.com/affaan-m/ECC/blob/d3b8a3e908904e242ed2dbe66af62cca…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/commands/code-review.md (run as /code-review)
- Runs scripts
- Yes
- shell block in the text
- Uses the network
- Yes
- downloads npm packages
- Needs secrets
- None found
- Source revision
- d3b8a3e90890
- Licence
- MIT
- Last activity
- 23 Nov 2026
- Source changed after the scan
- Yes
- Last push 23 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Code Review > PR review mode adapted from PRPs-agentic-eng by Wirasm. Part of the PRP workflow series. **Input**: $ARGUMENTS --- ## Mode Selection If `$ARGUMENTS` contains a PR number, PR URL, or `--pr`: → Jump to **PR Review Mode** below. Otherwise: → Use **Local Review Mode**. --- ## Local Review Mode Comprehensive security and quality review of uncommitted changes. ### Phase 1 — GATHER ```bash git diff --name-only HEAD ``` If no changed files, stop: "Nothing to review." ### Phase 2 — REVIEW Read each changed file in full. Check for: **Security Issues (CRITICAL):** - Hardcoded credentials, API keys, tokens - SQL injection vulnerabilities - XSS vulnerabilities - Missing input validation - Insecure dependencies - Path traversal risks **Code Quality (HIGH):** - Functions > 50 lines - Files > 800 lines - Nesting depth > 4 levels - Missing error handling - console.log statements - TODO/FIXME comments - Missing JSDoc for public APIs **Best Practices (MEDIUM):** - Mutation patterns (use immutable instead) - Emoji usage in code/comments - Missing tests for new code - Accessibility issues (a11y) ### Phase 3 — REPORT Generate report with: …