review
Full review of code changes. A wrapper skill that runs the code-reviewer agent and the security-audit agent in sequence. Use before creating a PR/MR or when a review is requested.
Install
npx skills add https://github.com/LeeYudok/agents-scaffold/tree/main/presets/lang-en/base/.claude/skills/review
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install leeyudok-agents-scaffold@llmmart
git clone https://github.com/LeeYudok/agents-scaffold.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole leeyudok/agents-scaffold collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Code Review (wrapper)
Runs the code-reviewer + security-audit agents in sequence for a complete review.
Execution order
Step 1 — Identify the scope of change
git diff --stat HEAD~1 # or git diff --stat main...HEAD
git diff --name-only HEAD~1
Stop if there are no changes.
Step 2 — Code review (code-reviewer agent)
Invoke Agent code-reviewer:
- Security: hardcoded keys/tokens, missing input validation
- Performance: N+1 queries, unnecessary synchronous I/O
- Quality:
anytypes, functions over 50 lines, duplication, dead code - Convention: violations of
.claude/rules/conventions
Step 3 — Security audit (security-audit agent)
Invoke Agent security-audit:
- grep scan of the 12 P0 security items
- weak cryptography, SQL injection, CORS wildcards
Step 4 — Combined report
## Code Review Summary — {{PROJECT_NAME}}
### Code Review
N CRITICAL / M WARNING / K SUGGESTION
### Security Audit
N P0 violations / M P1 violations
### Merge Recommendation
✅ Ready to merge / ❌ Hold for CRITICAL or P0 violations
If there is even one CRITICAL or P0 violation, recommend holding the merge.
Quick review (when an argument is given)
/review quick — skip security-audit, run code-reviewer only.
Learned warnings
(Notes discovered during execution accumulate here)
Files (agents-scaffold)
-
SKILL.md 1.6 KB
--- name: review description: Full review of code changes. A wrapper skill that runs the code-reviewer agent and the security-audit agent in sequence. Use before creating a PR/MR or when a review is requested. allowed-tools: Bash, Read, Grep, Glob --- # Code Review (wrapper) Runs the code-reviewer + security-audit agents in sequence for a complete review. ## Execution order ### Step 1 — Identify the scope of change ```bash git diff --stat HEAD~1 # or git diff --stat main...HEAD git diff --name-only HEAD~1 ``` Stop if there are no changes. ### Step 2 — Code review (code-reviewer agent) Invoke `Agent code-reviewer`: - Security: hardcoded keys/tokens, missing input validation - Performance: N+1 queries, unnecessary synchronous I/O - Quality: `any` types, functions over 50 lines, duplication, dead code - Convention: violations of `.claude/rules/` conventions ### Step 3 — Security audit (security-audit agent) Invoke `Agent security-audit`: - grep scan of the 12 P0 security items - weak cryptography, SQL injection, CORS wildcards ### Step 4 — Combined report ``` ## Code Review Summary — {{PROJECT_NAME}} ### Code Review N CRITICAL / M WARNING / K SUGGESTION ### Security Audit N P0 violations / M P1 violations ### Merge Recommendation ✅ Ready to merge / ❌ Hold for CRITICAL or P0 violations ``` If there is even one CRITICAL or P0 violation, **recommend holding the merge**. ## Quick review (when an argument is given) `/review quick` — skip security-audit, run code-reviewer only. ## Learned warnings (Notes discovered during execution accumulate here)
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.