Percerno Skillsbeta
← everything it can do · engineering

Requesting Code Review TEXT

Dispatches a specialized code reviewer subagent to evaluate recent git changes against specific requirements, returning structured feedback on critical, important, and minor issues.

4 uses this weeksource obralicence MIT
Quality gate: FAIL · better answers · measured 2026-10-24
Blind-judged against the bare model on 2 requests: average lift -8.0 points (specificity, structure, method, fit).
won 0/2, lift -8.0, tokens ×153.97
Security scan: clean · 2026-10-24 · 2 files · ran in sandbox
no network calls, shell tricks, credential access or instruction tampering found in its files.

Try asking

Say it in your own words; the assistant finds this recipe by itself. Examples:

“Jeg har lige færdiggjort implementeringen af betalingsflowen. Kan du starte en code review på ændringerne siden sidste commit?”
“Før jeg merger denne PR, vil jeg gerne have en tjek af database-migrationen. Brug SHA'erne fra branchen og sammenlign med kravene i docs/plan.md.”
“Jeg sidder fast på en bug i API'et. Kan du få en reviewer til at kigge på min nuværende branch for at få et frisk perspektiv?”
“I just finished implementing the user authentication module. Can you run a code review on the changes between the last commit and HEAD?”
“Before I merge this PR, I want to make sure the database migration script is safe. Please dispatch a reviewer to check the diff against the requirements in docs/migration-plan.md.”
“I'm stuck on this race condition in the payment service. Could you get a second opinion from a code reviewer on the current branch?”
Try this skill from Claude, ChatGPT or a chat on your own page. Free plan, no credit card.Get started free

Good for

code-reviewgitsubagentquality-assurancepre-mergefeedbackrefactoringbug-fixing

Not for

Do not use this for simple syntax checks, linting, or formatting issues, which should be handled by automated tools. It is not for general code explanation or documentation generation, which require different specialized agents.

Details

When it is the right choice

Use this skill after completing a major feature, finishing a task in a multi-step development plan, or before merging code to the main branch. It is also appropriate when you are stuck on a complex bug or need a fresh perspective before starting a refactoring.

The full recipe the assistant reads

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: git merge-base origin/main HEAD
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 "Task 1" | head -1 | cut -d' ' -f1)
HEAD_SHA=$(git rev-parse HEAD)

[Dispatch code reviewer subagent]
  DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
  PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md
  BASE_SHA: a7981ec
  HEAD_SHA: 3df7661

[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]

Common Rationalizations

Excuse Reality
"I'll just review the diff myself instead of dispatching a reviewer" You're the coordinator — reviewing the diff inline burns the context window you need to keep driving the work. Dispatch a reviewer subagent: the diff and the evaluation live in its context, and only the findings come back to you.
"The reviewer needs my whole session history to understand the change" Hand it precisely crafted context, never your session's history. That keeps the reviewer on the work product, not your thought process.

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: code-reviewer.md

Files in this skill (3)
  • LICENSE
  • SKILL.md
  • code-reviewer.md
Where it comes from

Vendored from obra/superpowers, commit b739a8af570e, path skills/requesting-code-review, licence MIT. The upstream licence file ships inside the skill.