plugins/agent-execution-disciplines/skills/requesting-code-review/SKILL.md
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
npx skillsauth add richfrem/agent-plugins-skills requesting-code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Source: Ported from obra/superpowers by Jesse Vincent. Adapted for the
agent-plugins-skillsecosystem. Original concepts and Iron Laws credit belongs to Jesse.
Dispatch the code-reviewer agent to catch issues before they cascade. The reviewer gets precisely
crafted context for evaluation - never your session's history. This keeps the reviewer focused on
the work product, not your thought process, and preserves your own context for continued work.
Core principle: Review early, review often.
Mandatory:
Optional but valuable:
1. Get git SHAs:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
2. Dispatch code-reviewer agent:
Use the Agent tool with subagent_type code-reviewer, providing:
WHAT_WAS_IMPLEMENTED - What you just builtPLAN_OR_REQUIREMENTS - What it should do (link to spec or plan)BASE_SHA - Starting commitHEAD_SHA - Ending commitDESCRIPTION - Brief summary of the diff3. Act on feedback:
[Just completed: Add verification function]
BASE_SHA=$(git log --oneline | grep "previous task" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
[Dispatch code-reviewer agent]
WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
PLAN_OR_REQUIREMENTS: Task 2 from plan.md - verifyIndex() and repairIndex()
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
[Agent returns]:
Strengths: Clean architecture, real tests
Issues:
Important: Missing progress indicators
Minor: Magic number (100) for reporting interval
Assessment: Ready to proceed
[Fix progress indicators]
[Continue to next task]
Multi-task implementation:
Single feature:
Never:
If reviewer wrong:
In agent-agentic-os with the concurrent-agent-loop pattern, dispatch the code-reviewer
as a PEER_AGENT via the kernel event bus: emit task.assigned, receive task.complete.
This integrates review into the ORCHESTRATOR/INNER_AGENT/PEER_AGENT topology and makes
review quality a measurable signal in the improvement loop.
testing
Skill for creating and managing isolated git worktrees (`.worktrees/issue-NNN`) for issue execution branches. USE ONLY when setting up or cleaning up isolated git worktrees for specific issue execution. DO NOT USE for managing local task files (use `task-agent`) or escalating tasks to issues (use `github-issue-backlog-agent`).
data-ai
Skill for orchestrating the end-to-end GitHub issue lifecycle flow: Issue -> Worktree -> Implementation -> PR Creation -> Resolution Closure. USE ONLY when running or dry-running full lifecycle orchestration for resolving an issue with a PR. DO NOT USE for isolated worktree management only (use `issue-worktree-agent`) or logging issues (use `github-issue-agent`).
tools
Automatically ranks GitHub issues (P0-P3) based on friction tier, frequency, and blockages, synchronizing priority labels and GitHub Projects v2 custom fields.
testing
Bridge skill for escalating ephemeral local task scratchpad items (`tasks/*.md`) into durable, taxonomy-validated, evidence-rich GitHub Issues. USE ONLY when promoting a single-session local task into durable repository backlog. DO NOT USE for managing local kanban boards (use `task-agent` instead) or directly querying/commenting on issues (use `github-issue-agent` instead).