Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions skills/subagent-driven-development/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ Execute plan by dispatching fresh subagent per task, with two-stage review after

**Core principle:** Fresh subagent per task + two-stage review (spec then quality) = high quality, fast iteration

## Accumulated Discoveries

The controller maintains a running list of project discoveries reported by implementer subagents. After each completed task, extract any **Project Discoveries** from the implementer's report and append them to the list.

When dispatching subsequent subagents (Task 2+), include the accumulated discoveries in the prompt:

```
## Accumulated Discoveries

Previous tasks surfaced these codebase patterns and gotchas:
[paste accumulated discoveries here]
```

This prevents later subagents from re-discovering issues that earlier subagents already found. The controller curates this list - remove duplicates and keep it concise.

## When to Use

```dot
Expand Down
1 change: 1 addition & 0 deletions skills/subagent-driven-development/implementer-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Task tool (general-purpose):
- Files changed
- Self-review findings (if any)
- Any issues or concerns
- **Project Discoveries** (optional): codebase quirks, gotchas, or patterns worth passing to the next subagent

Use DONE_WITH_CONCERNS if you completed the work but have doubts about correctness.
Use BLOCKED if you cannot complete the task. Use NEEDS_CONTEXT if you need
Expand Down