// Autonomous development workflow. Generate detailed specs, plans, and tasks for autonomous agent execution with session memory tracking.
| name | dev-auto |
| description | Autonomous development workflow. Generate detailed specs, plans, and tasks for autonomous agent execution with session memory tracking. |
Generate comprehensive documentation that enables autonomous agents to implement features, fixes, or changes without constant human supervision. All work is tracked in session docs (spec, plan, tasks) that serve as long-term memory across implementation sessions.
Use this skill when:
Do NOT use for:
This workflow consists of 5 phases. Some run interactively in the main conversation (requiring user input), while others can run as autonomous subagents.
Generate a comprehensive design specification through iterative questioning.
Process:
docs/development/NNN-<name>/spec.mdReference: See references/phase-spec.md for detailed guidance
User involvement: Answer questions, approve spec sections
Create detailed implementation plan assuming implementer has minimal context.
Approach:
CRITICAL: No code in the plan. Describe what needs to be built, not how to code it.
Reference: See references/phase-plan.md for detailed requirements
For subagent implementation: See references/templates/subagent-plan.md for prompt template
Output: docs/development/NNN-<name>/plan.md
User involvement: Review and approve the plan
Break down the plan into trackable tasks.
Task format:
- [ ] Task description (Plan lines: XX-YY)
Task granularity: Each task should deliver coherent, testable functionality. NOT file operations or single-line changes.
Reference: See references/phase-tasks.md for extraction rules
For subagent implementation: See references/templates/subagent-tasks.md for prompt template
Output: docs/development/NNN-<name>/tasks.md
User involvement: Review task list
Implement tasks one at a time in isolated sessions.
Implementation Options:
Option A: Claude Subagent
Reference: See references/phase-impl.md for implementation constraints
For subagent implementation: See references/templates/subagent-impl.md for prompt template
Option B: External Coding Agent
references/phase-impl.md instructionsOption C: Human Implementation
User involvement: Choose implementation method, trigger each task
Review completed work before marking complete.
Process:
Reference: See references/phase-review.md for review checklist
User involvement:
All artifacts in docs/development/NNN-<name>/ serve as long-term memory:
docs/development/NNN-<name>/
โโโ spec.md # What we're building (design specification)
โโโ plan.md # How we're building it (implementation plan)
โโโ tasks.md # Implementation checklist with progress tracking
These files enable:
Invoke this skill and say:
"I want to implement [feature/fix description]"
The skill will guide through all 5 phases.
Invoke specific phases when needed:
If interrupted mid-workflow:
docs/development/NNN-<name>/tasks.md to see completed tasksIf plan needs adjustment during implementation:
docs/development/NNN-<name>/plan.mdtasks.mdWhen implementing tasks autonomously (subagents or external agents), follow this critical principle:
Subagents start with NO context. They cannot discover information on their own. For reliable results, embed all necessary content directly in the prompt:
Templates: Use the prompt templates in references/templates/ which show exactly what content to embed for each phase.
Detailed phase instructions in references/:
phase-spec.md - Specification generation guidancephase-plan.md - Planning requirements and formatphase-tasks.md - Task extraction rulesphase-impl.md - Implementation constraintsphase-review.md - Review checklistSubagent prompt templates in references/templates/:
subagent-plan.md - Planning subagent templatesubagent-tasks.md - Task extraction subagent templatesubagent-impl.md - Implementation subagent template