Loading...
Loading...
Used when completing tasks, implementing important features, or before merging to verify whether the work results meet the requirements
npx skill4agent add jnmetacode/superpowers-zh requesting-code-reviewBASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)code-reviewer.md{WHAT_WAS_IMPLEMENTED}{PLAN_OR_REQUIREMENTS}{BASE_SHA}{HEAD_SHA}{DESCRIPTION}[Just completed Task 2: Add validation functionality]
You: Let me request a code review before proceeding.
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
[Dispatch superpowers:code-reviewer sub-agent]
WHAT_WAS_IMPLEMENTED: Session index verification and repair functionality
PLAN_OR_REQUIREMENTS: Task 2 in docs/superpowers/plans/deployment-plan.md
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
DESCRIPTION: Added verifyIndex() and repairIndex(), supporting 4 types of issues
[Sub-agent returns]:
Pros: Clear architecture, realistic tests
Issues:
Important: Missing progress indicator
Minor: Magic number (100) used for report interval
Evaluation: Can proceed
You: [Fix progress indicator]
[Proceed to Task 3]