From autobuild
Write a PROGRAM.md file through iterative dialogue with the user. Asks clarifying questions, proposes work items, refines based on feedback until the user approves. Invoked before workflow execution.
How this skill is triggered — by the user, by Claude, or both
Slash command
/autobuild:program-writerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Write `PROGRAM.md` via dialogue. NEVER produce full document on first attempt. Build incrementally via questions and proposals.
Write PROGRAM.md via dialogue. NEVER produce full document on first attempt. Build incrementally via questions and proposals.
Read seed prompt (text after /autobuild). Goal: understand INTENTION (what + why), not HOW. ASK all in ONE message:
Users know WHAT but describe HOW. Separate intention from implementation. Follow up when unclear: "You mentioned refactoring X - goal = reduce complexity, improve testability, or enable a new feature?"
Do NOT proceed until intention crystal clear.
Write first draft with:
ASK about exit conditions: "When should orchestrator stop?
Specific, or default (stagnation + scope completion)?"
Present full program. Ask: "What's missing, wrong, over-scoped?"
User may:
Each round: update, show diff, ask if ready.
Explicit approval only. Phrases: "looks good", "approved", "let's go", "run it", "start", "yes".
Do NOT proceed without approval.
# Program: <short title>
## Objective
<1-3 sentences, measurable, grounded>
## Current State
<what exists, baseline metrics, what's broken>
## Work Items
### <Logical Category>
- **<title>** (high/medium/low)
- Scope: <files, functions>
- Acceptance: <measurable conditions>
- Predict: <what changes - from X to Y>
- Outcome: <what the user gets when this is done>
- Depends on: <other work items that must be done first, if any>
## Exit Conditions
Iterations stop when ANY of these is true:
1. <primary condition - tied to benchmark score>
2. No benchmark score improvement for 2 consecutive iterations (stagnation)
3. All work items complete and nothing remains to implement (scope done)
## Constraints
<what not to change>
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub stellarshenson/claude-code-plugins --plugin autobuild