← ClaudeAtlas

requesting-code-reviewlisted

Guides dispatching a code-reviewer subagent to verify work before proceeding. Use when completing tasks, implementing major features, or before merging to verify work meets requirements.
dork-labs/dorkos · ★ 8 · Code & Development · score 71
Install: claude install-skill dork-labs/dorkos
# 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. 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. ## When to Request Review **Mandatory:** - After each batch of related tasks in spec-driven development (`/flow:execute`) — holistic batch-level review, not per-task review - After completing a major feature - Before merge to main **Optional but valuable:** - When stuck (fresh perspective) - Before refactoring (baseline check) - After fixing a complex bug ## Lightweight Alternative For quick self-review without dispatching a subagent, trace through recently modified functions yourself to verify correctness and completeness inline. Use the full code-reviewer subagent (below) for deeper, more rigorous review. ## How to Request ### 1. Get git SHAs ```bash BASE_SHA=$(git rev-parse HEAD~1) # or origin/main for full branch review HEAD_SHA=$(git rev-parse HEAD) ``` ### 2. Dispatch code-reviewer subagent Use the Agent tool with `subagent_type: "code-reviewer"`. Supply the following context: **Required context:** - `{WHAT_WAS_IMPLEMENTED}` — What you just built - `{PLAN_OR_REQUIREMENTS}` — What it should do (spec path, task description, or requirements) - `{BASE_SHA}` — Starting commit - `{HEAD_SHA}` — Ending