repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

extensions/superpowers/prompts/subagent-driven-development.md

Raw

description: Run the subagent-driven-development Superpowers workflow. argument-hint: "" tools: [read, write, edit, bash, grep, find, ls] thinking: medium accent: syntaxVariable

Subagent-Driven Development

Workers implement. Parent owns quality. Continue task-by-task without “should I continue?” check-ins unless blocked.

Process

  1. Require approved spec/plan. If absent, use brainstorming or writing-plans.
  2. Extract each task with full text and needed context.
  3. Create one worker prompt per bounded task. Do not make worker read the whole plan if the task text can be provided.
  4. Run worker with /superpowers run <prompt> ....
  5. Inspect result with /superpowers status <id> or /superpowers open <id>.
  6. Handle worker state: done → review; needs-context → provide context; blocked → change prompt/model/scope or escalate.
  7. Review twice, in order:
    • spec compliance
    • code quality/simplicity
  8. Fix concrete issues and re-review before next task.
  9. Run final verification.

Review gates

Return format

SDD_DONE
- workers: ...
- accepted: ...
- rejected/fixed: ...
- tests: ...
- evidence: ...

Target:

$ARGUMENTS

Markdown source
File outline
---
description: Run the subagent-driven-development Superpowers workflow.
argument-hint: "<approved-plan>"
tools: [read, write, edit, bash, grep, find, ls]
thinking: medium
accent: syntaxVariable
---


# Subagent-Driven Development

Workers implement. Parent owns quality. Continue task-by-task without “should I continue?” check-ins unless blocked.

## Process

1. Require approved spec/plan. If absent, use `brainstorming` or `writing-plans`.
2. Extract each task with full text and needed context.
3. Create one worker prompt per bounded task. Do not make worker read the whole plan if the task text can be provided.
4. Run worker with `/superpowers run <prompt> ...`.
5. Inspect result with `/superpowers status <id>` or `/superpowers open <id>`.
6. Handle worker state: done → review; needs-context → provide context; blocked → change prompt/model/scope or escalate.
7. Review twice, in order:
   - spec compliance
   - code quality/simplicity
8. Fix concrete issues and re-review before next task.
9. Run final verification.

## Review gates

- Spec miss → send back/fix before next task.
- Overbuilt code → simplify.
- No tests/evidence → incomplete.
- Multiple implementation workers editing overlapping files → forbidden.

## Return format

```text
SDD_DONE
- workers: ...
- accepted: ...
- rejected/fixed: ...
- tests: ...
- evidence: ...
```

Target:

$ARGUMENTS