Index of every page on this site: llms.txt
All skills
obra avatar

/subagent-driven-development

@2ce8aa1 official
by Jesse Vincentobra/superpowers312k stars
27,731
Run it yourself

Use when executing implementation plans with independent tasks in the current session

Use this Skill: https://skilld.dev/gh/obra/superpowers/subagent-driven-development

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

re-review-prompt.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Scoped Re-Review Prompt Template

Use this template when dispatching a re-review after a fix round. The re-reviewer verifies the findings were addressed and checks the fix diff for new breakage. It is not a fresh review — the full review already happened.

Purpose: Verify each finding from the previous review was addressed, and that the fix itself broke nothing.

Subagent (general-purpose):
  description: "Re-review Task N fix round R"
  model: [MODEL — REQUIRED: choose per SKILL.md Model Selection; an omitted
         model silently inherits the session's most expensive one]
  prompt: |
    You are re-reviewing one task's fix round. A previous review produced
    findings; an implementer has attempted to fix them. Your job is to
    verdict each finding and inspect the fix diff — nothing else.

    ## The Task

    Read the task brief: [BRIEF_FILE]

    ## The Findings Under Verification

    [FINDINGS]

    ## The Fix

    Read the implementer's report (fix reports are appended at the end):
    [REPORT_FILE]

    **Fix base:** [FIX_BASE_SHA] (the head the previous review saw)
    **Head:** [HEAD_SHA]
    **Diff file:** [DIFF_FILE]

    Read the diff file once — it contains the fix commits, a stat summary,
    and the fix diff with surrounding context. Do not re-run git commands.
    If the diff file is missing, fetch the diff yourself:
    `git diff --stat [FIX_BASE_SHA]..[HEAD_SHA]` and
    `git diff [FIX_BASE_SHA]..[HEAD_SHA]`.

    Your review is read-only on this checkout. Do not mutate the working
    tree, the index, HEAD, or branch state in any way.

    ## You Do Not Dispatch Subagents

    Do all of this review yourself. Never spawn a subagent to review part
    of the diff, and never spawn another reviewer for a second opinion.
    This process already provides every review seat the work gets; a
    reviewer you spawn duplicates one of them at full cost, and its
    verdict counts for nothing. If the diff feels too large for one
    pass, review it in passes yourself and say so in your report.

    ## Scope

    Your scope is the findings list and the fix diff. Verdict every finding.
    Inspect the fix diff for new problems the fix itself introduced. Do NOT
    re-review code the fix did not touch: if you notice an issue entirely
    outside the fix diff, report it under Out-of-Scope Observations — it
    does not block this task and does not extend the loop. A broad
    whole-branch review happens after all tasks are complete.

    ## Tests

    The implementer re-ran the tests covering the amended code and appended
    the results to the report file. Treat the report as unverified claims:
    confirm the fix report names the covering tests and shows their output,
    and verify the claims against the diff. Do not re-run the suite to
    confirm their report. Run a test only when reading the code raises a
    specific doubt that no existing run answers — and then a focused test,
    never a package-wide suite.

    ## Output Format

    Your final message is the report itself: begin directly with the first
    finding's verdict. Every line is a verdict, a finding with file:line,
    or a check you ran — no preamble, no process narration.

    ### Finding Verdicts

    For each finding in The Findings Under Verification, in order:
    - **[finding one-liner]** — ADDRESSED | NOT ADDRESSED, with file:line
      evidence. "Attempted" is not addressed: the specific defect must no
      longer exist.

    ### New Breakage in the Fix Diff

    Anything the fix itself broke or introduced, with severity
    (Critical/Important/Minor) and file:line. "None" if clean.

    ### Out-of-Scope Observations

    Issues you noticed entirely outside the fix diff. Non-blocking; the
    controller ledgers these for the final review. "None" if none.

    ### Verdict

    **Fix round:** [All findings addressed, no new Critical/Important
    breakage | Findings remain open] — list the open ones.

Placeholders:

  • [MODEL] — REQUIRED: reviewer model per SKILL.md Model Selection; scoped re-reviews of small fix diffs take a cheap-to-mid tier
  • [BRIEF_FILE] — the task brief file (same file the implementer worked from)
  • [FINDINGS] — the Critical/Important findings and spec gaps from the previous review, copied verbatim, one per bullet
  • [REPORT_FILE] — the implementer's report file (fix reports appended)
  • [FIX_BASE_SHA] — the head the previous review saw
  • [HEAD_SHA] — current commit
  • [DIFF_FILE] — the path bash scripts/review-package PLAN_FILE FIX_BASE HEAD printed

Re-reviewer returns: per-finding verdicts (ADDRESSED / NOT ADDRESSED), new breakage in the fix diff, out-of-scope observations, and a round verdict.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts12d5 checks · Risk SAFE
  • Gen Agent Trust Hub12d

    This skill provides a structured workflow for executing implementation plans using subagents and local scripts for task management and review. It is categorized as low risk due to the potential for indirect prompt injection, as the agent processes external plans and subagent reports, though the included multi-agent review process and explicit security stopping conditions provide mitigation.

  • Socket12d

    No alerts

  • Snyk12d

    Risk: LOW · No issues

  • Runlayer7mo

    4 files scanned · No issues

  • ZeroLeaks6mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 2ce8aa1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 weeks ago
  • subagents
  • implementation
  • planning
  • code-review
  • task-dispatch
  • spec-compliance
  • quality-review
  • workflow

README badge

README badge for obra/superpowers/subagent-driven-development

Dispatch independent implementation tasks to fresh subagents with two-stage review (spec compliance, then code quality) after each. Targets execution of detailed plans where tasks have minimal interdependencies and you need to stay in the current session without human checkpoints between tasks.

Generated from the current SKILL.md.

When should I use subagent-driven development instead of manual execution?
Use this skill when you have an implementation plan with mostly independent tasks and want to stay in the same session. It's not suited for tightly coupled tasks that require back-and-forth coordination — in that case, execute tasks manually or use the executing-plans skill.
Do I need to wait between tasks, or does the skill execute continuously?
The skill executes all tasks continuously without pausing for check-ins. You only stop if a task is blocked, genuinely ambiguous, or all tasks are complete. Progress summaries and "should I continue?" prompts waste time — the human asked you to execute the plan.
What models should I use for different task types?
Use a fast, cheap model for mechanical implementation (isolated functions, clear specs). Use a standard model for integration tasks (multi-file coordination). Use the most capable model for architecture and design tasks. Match model power to task complexity to save cost and speed.
What do I do if a subagent returns BLOCKED status?
Assess the blocker: if it's a context problem, provide more information and re-dispatch with the same model. If it needs more reasoning, re-dispatch with a more capable model. If the task is too large, break it smaller. If the plan is wrong, escalate to the human. Never ignore the blocker or force the same model to retry unchanged.
What's the correct order for reviews?
Always run spec compliance review first, then code quality review. Starting code quality review before spec compliance is verified is wrong. If either review finds issues, the implementer subagent fixes them and the reviewer reviews again until approved.

Generated from the current SKILL.md. These answers refresh after source changes.