specsmd Simple Flow Quick Start Guide
Get started with spec-driven development in minutes.
Get started with spec-driven development in minutes.
Get started with spec-driven development in minutes.
---
npx specsmd@latest installSelect **Simple** when prompted for the SDLC flow.
The installer will:
---
Simple Flow has three sequential phases:
| Phase | Output | Purpose | |-------|--------|---------| | **Requirements** | `requirements.md` | Define what to build with user stories and EARS criteria | | **Design** | `design.md` | Create technical design with architecture and data models | | **Tasks** | `tasks.md` | Generate implementation checklist with coding tasks |
One agent (`/specsmd-agent`) guides you through all phases.
---
Open your AI coding tool and invoke the agent with your feature idea:
/specsmd-agent Create a user authentication system with email loginThe agent will:
The agent generates:
**Approval phrases:** "yes", "approved", "looks good", "let's continue"
**Feedback:** Any other response triggers revision
After requirements approval, the agent generates:
After design approval, the agent generates:
Once all three documents are approved:
/specsmd-agent What's the next task?Or specify a task:
/specsmd-agent Execute task 2.1 from user-authThe agent executes one task at a time, then waits for your review.
---
| Action | Example | |--------|---------| | Create new spec | `/specsmd-agent Create a todo app with local storage` | | Continue existing | `/specsmd-agent` (lists specs if multiple exist) | | Resume specific spec | `/specsmd-agent --spec="todo-app"` | | Execute tasks | `/specsmd-agent What's the next task?` | | Execute specific task | `/specsmd-agent Execute task 3.2` |
---
After creating specs, your project will have:
.specsmd/
├── manifest.yaml # Installation manifest
└── simple/ # Simple flow resources
├── agents/agent.md # Agent definition
├── skills/ # Agent skills
│ ├── requirements.md # Phase 1
│ ├── design.md # Phase 2
│ ├── tasks.md # Phase 3
│ └── execute.md # Task execution
├── templates/ # Document templates
├── memory-bank.yaml # Storage schema
└── quick-start.md # This file
specs/ # Your feature specs
└── {feature-name}/
├── requirements.md # What to build
├── design.md # How to build it
└── tasks.md # Step-by-step plan---
Requirements use EARS (Easy Approach to Requirements Syntax):
| Pattern | Format | |---------|--------| | **Event-driven** | WHEN [trigger], THE [system] SHALL [response] | | **State-driven** | WHILE [condition], THE [system] SHALL [response] | | **Unwanted** | IF [condition], THEN THE [system] SHALL [response] | | **Optional** | WHERE [option], THE [system] SHALL [response] |
Example:
WHEN user submits login form, THE Auth_System SHALL validate credentials
IF password is invalid, THEN THE Auth_System SHALL display error message---
The agent generates a draft immediately. Your feedback refines it.
You must explicitly approve each phase before proceeding.
Complete each phase before moving to the next.
During execution, only one task per interaction. Review before continuing.
---
---
The agent is stateless. It reads spec files at startup. Ensure documents are saved.
When you run `/specsmd-agent` without arguments, it lists existing specs and asks which to work on.
Delete the spec folder: `rm -rf specs/{feature-name}`
Ask the agent: `/specsmd-agent How do I add a new requirement?`
---
| Simple Flow | AI-DLC Flow | |-------------|-------------| | Quick feature specs | Full development lifecycle | | Solo or small team | Multi-team coordination | | Prototypes & MVPs | Production systems | | Minimal overhead | Full traceability | | 1 agent, 3 phases | 4 agents, full methodology |
---
Happy spec-driven development!