Simple Flow - Spec-Driven Development
A lightweight flow for creating feature specifications using spec-driven development.
A lightweight flow for creating feature specifications using spec-driven development.
A lightweight flow for creating feature specifications using spec-driven development.
Simple Flow guides you through three phases to transform a feature idea into an actionable implementation plan:
Each phase produces a markdown document that serves as both documentation and executable specification for AI-assisted development.
Invoke the spec agent with your feature idea:
/specsmd-agent Create a user authentication system with email loginThe agent generates a requirements document with:
Review and provide feedback, or approve to continue.
After requirements approval, the agent generates:
Review and provide feedback, or approve to continue.
After design approval, the agent generates:
Once all three documents are approved:
/specsmd-agent --spec="user-auth" --executeOr ask: "What's the next task for user-auth?"
specs/
└── {feature-name}/
├── requirements.md # Phase 1: What to build
├── design.md # Phase 2: How to build it
└── tasks.md # Phase 3: Step-by-step planRequirements use EARS (Easy Approach to Requirements Syntax) patterns:
| Pattern | Format | Example | |---------|--------|---------| | **Event-driven** | WHEN [trigger], THE [system] SHALL [response] | WHEN user clicks login, THE Auth_System SHALL validate credentials | | **State-driven** | WHILE [condition], THE [system] SHALL [response] | WHILE session is active, THE Auth_System SHALL refresh tokens | | **Unwanted** | IF [condition], THEN THE [system] SHALL [response] | IF password is invalid, THEN THE Auth_System SHALL display error | | **Optional** | WHERE [option], THE [system] SHALL [response] | WHERE MFA is enabled, THE Auth_System SHALL require second factor |
The agent generates a draft document immediately based on your feature idea. This serves as a starting point for discussion rather than requiring extensive Q&A upfront.
You must explicitly approve each phase before proceeding. Say "yes", "approved", or "looks good" to continue. Any feedback triggers revision.
The agent focuses on one document per interaction. This ensures thorough review and prevents overwhelming changes.
During execution, only one task is implemented per interaction. This allows careful review of each change.
src/flows/simple/
├── README.md # This file
├── memory-bank.yaml # Storage configuration
├── context-config.yaml # Context loading rules
├── agents/
│ └── agent.md # Agent definition
├── commands/
│ └── agent.md # Command definition
├── skills/
│ ├── requirements.md # Phase 1 skill
│ ├── design.md # Phase 2 skill
│ ├── tasks.md # Phase 3 skill
│ └── execute.md # Task execution skill
└── templates/
├── requirements-template.md
├── design-template.md
└── tasks-template.md| Aspect | Simple Flow | AI-DLC Flow | |--------|-------------|-------------| | **Target** | Quick feature specs | Full development lifecycle | | **Phases** | 3: Requirements → Design → Tasks | 3: Inception → Construction → Operations | | **Agents** | 1 (Agent) | 4 (Master, Inception, Construction, Operations) | | **Output** | 3 markdown files | Full artifact hierarchy | | **DDD Stages** | Not included | Full DDD stages in Construction | | **Bolts** | No concept | Time-boxed execution sessions | | **Hierarchy** | Flat (specs/) | Nested (intents/units/stories) | | **Overhead** | Minimal | Significant structure |
Simple Flow implements spec-driven development for the specsmd framework.