requesting-code-review
myths-labs/muse/skills/toolkit/requesting-code-review/SKILL.md
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Skill35 starsChanged 6 months ago
What's in it
- Requesting Code Review
- When to Request Review
- How to Request
- Example
- Integration with Workflows
- Red Flags
---
name: requesting-code-review
description: Use when completing tasks, implementing major features, or before merging to verify work meets requirements
---
# Requesting Code Review
Dispatch superpowers:code-reviewer subagent to catch issues before they cascade.
**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:**
```bash
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
```
**2. Dispatch code-reviewer subagent:**
Use Task tool with superpowers:code-reviewer type, fill template at `code-reviewer.md`
**Placeholders:**
- `{WHAT_WAS_IMPLEMENTED}` - What you just built
- `{PLAN_OR_REQUIREMENTS}` - What it should do
- `{BASE_SHA}` - Starting commit
- `{HEAD_SHA}` - Ending commit
- `{DESCRIPTION}` - Brief summary
**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 "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
[Dispatch superpowers:code-reviewer subagent]
WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
PLAN_OR_REQUIREMENTS: Task 2 from docs/plans/deployment-plan.md
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
[Subagent returns]:
Strengths: Clean architecture, real tests
Issues:
Important: Missing progress indicators
Minor: Magic number (100) for reporting interval
Assessment: Ready to proceed
You: [Fix progress indicators]
[Continue to Task 3]
```
## Integration with Workflows
**Subagent-Driven Development:**
- Review after EACH task
- Catch issues before they compound
- Fix before moving to next task
**Executing Plans:**
- Review after each batch (3 tasks)
- Get feedback, apply, continue
**Ad-Hoc Development:**
- Review before merge
- Review when stuck
## Red Flags
**Never:**
- Skip review because "it's simple"
- Ignore Critical issues
- Proceed with unfixed Important issues
- Argue with valid technical feedback
**If reviewer wrong:**
- Push back with technical reasoning
- Show code/tests that prove it works
- Request clarification
See template at: requesting-code-review/code-reviewer.md
More agent context in myths-labs/muse
56 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
llms.txt
Skill
- agent-protocolskills/core/agent-protocol/SKILL.md
- context-health-checkskills/core/context-health-check/SKILL.md
- layered-contextskills/core/layered-context/SKILL.md
- muse-commandsskills/core/muse-commands/SKILL.md
- semantic-searchskills/core/semantic-search/SKILL.md
- strategic-compactskills/core/strategic-compact/SKILL.md
- using-superpowersskills/core/using-superpowers/SKILL.md
- verification-before-completionskills/core/verification-before-completion/SKILL.md
- growth-distributionskills/growth-distribution/SKILL.md
- api-design-principlesskills/toolkit/api-design-principles/SKILL.md
- architect-agentskills/toolkit/architect-agent/SKILL.md
- brainstormingskills/toolkit/brainstorming/SKILL.md
- build-error-resolverskills/toolkit/build-error-resolver/SKILL.md
- changelog-generatorskills/toolkit/changelog-generator/SKILL.md
- code-documentationskills/toolkit/code-documentation/SKILL.md
- code-refactoringskills/toolkit/code-refactoring/SKILL.md
- code-reviewer-agentskills/toolkit/code-reviewer-agent/SKILL.md
- coding-standardsskills/toolkit/coding-standards/SKILL.md
- context7-mcpskills/toolkit/context7/SKILL.md
- coordinator-modeskills/toolkit/coordinator-mode/SKILL.md
- creating-skillsskills/toolkit/creating-skills/SKILL.md
- deep-diveskills/toolkit/deep-dive/SKILL.md
- dispatching-parallel-agentsskills/toolkit/dispatching-parallel-agents/SKILL.md
- doc-coauthoringskills/toolkit/doc-coauthoring/SKILL.md
- doc-updaterskills/toolkit/doc-updater/SKILL.md
- e2e-runnerskills/toolkit/e2e-runner/SKILL.md
- executing-plansskills/toolkit/executing-plans/SKILL.md
- finishing-a-development-branchskills/toolkit/finishing-a-development-branch/SKILL.md
- frontend-designskills/toolkit/frontend-design/SKILL.md
- git-commitskills/toolkit/git-commit/SKILL.md
- github-pr-creationskills/toolkit/github-pr-creation/SKILL.md
- github-pr-mergeskills/toolkit/github-pr-merge/SKILL.md
- github-pr-reviewskills/toolkit/github-pr-review/SKILL.md
- git-security-guardskills/toolkit/git-security-guard/SKILL.md
- iterative-retrievalskills/toolkit/iterative-retrieval/SKILL.md
- markitdownskills/toolkit/markitdown/SKILL.md
- planner-agentskills/toolkit/planner-agent/SKILL.md
- ralph-wiggumskills/toolkit/ralph-wiggum/SKILL.md
- receiving-code-reviewskills/toolkit/receiving-code-review/SKILL.md
- sciomcskills/toolkit/sciomc/SKILL.md
- security-reviewskills/toolkit/security-review/SKILL.md
- skill-creatorskills/toolkit/skill-creator/SKILL.md
- skills-updaterskills/toolkit/skills-updater/SKILL.md
- subagent-driven-developmentskills/toolkit/subagent-driven-development/SKILL.md
- systematic-debuggingskills/toolkit/systematic-debugging/SKILL.md
- tdd-workflowskills/toolkit/tdd-workflow/SKILL.md
- theme-factoryskills/toolkit/theme-factory/SKILL.md
- traceskills/toolkit/trace/SKILL.md
- ui-ux-pro-maxskills/toolkit/ui-ux-pro-max/SKILL.md
- using-git-worktreesskills/toolkit/using-git-worktrees/SKILL.md
- webapp-testingskills/toolkit/webapp-testing/SKILL.md
- writing-plansskills/toolkit/writing-plans/SKILL.md
Also found in 16 other repositories
The same file, byte for byte, in the weekly crawl of public GitHub; the 10 with the most stars.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

