requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 14
- Forks
- 1
01 前言 Front Matter
- name
- requesting-code-review
- description
- Use when completing tasks, implementing major features, or before merging to verify work meets requirements
03 SKILL.md 正文
Requesting Code Review
Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history.
Core principle: Review early, review often.
When to Request Review
Mandatory:
- After each task in subagent-driven development
- After completing major feature
- Before merge to main
Optional but valuable:
- When stuck (fresh perspective)
- Before refactoring (baseline check)
- After fixing complex bug
How to Request
1. Get git SHAs:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
2. Dispatch code reviewer subagent:
Dispatch a general-purpose subagent, filling the template at code-reviewer.md
Placeholders:
{DESCRIPTION}- Brief summary of what you built{PLAN_OR_REQUIREMENTS}- What it should do{BASE_SHA}- Starting commit{HEAD_SHA}- Ending commit
3. Act on feedback:
- Fix Critical issues immediately
- Fix Important issues before proceeding
- Note Minor issues for later
- Push back if reviewer is wrong (with reasoning)
Example
[Just completed Task 2: Add verification function]
You: Let me request code review before proceeding.
BASE_SHA=$(git log --oneline | grep
04 同仓库更多 Skills
benign-calculator-skill
Clean skill with companion script performing benign math computation.
hello-world
A simple greeting skill that says hello to the user.
file-uploader-skill
A tool for backing up logs to an S3 remote bucket.
unicode-trojan-skill
Skill testing bidi Trojan Source and homoglyph confusable attacks.
logic-bomb-test
Test skill with companion script that triggers conditionally under CI.
undeclared-capability-skill
A utility skill claiming only formatting text capabilities.