Structured workflow for complex features requiring planning, specifications, and architecture decisions before implementation.
For simple features, use Feature Development with Quality Gates workflow.
- Features requiring complex development
- Significant architectural changes or integrations
┌─────────────────────────────────────────────┐
│ 1. Setup Project Standards │
│ (create specs/constitution.md) │
└────────────────────┬────────────────────────┘
│
│ provide project principles and development guidelines
▼
┌─────────────────────────────────────────────┐
│ 2. Create Specification │ ◀─── update feature specs ───┐
│ Draft Change Proposal │ │
└────────────────────┬────────────────────────┘ │
│ │
│ share intent from product perspective │
▼ │
┌─────────────────────────────────────────────┐ │
│ 3. Plan Architecture │──────────────────────────────┘
│ Analyse and provide architecture choices │◀─── update architecture ─────┐
└────────────────────┬────────────────────────┘ │
│ │
│ design target architecture │
▼ │
┌─────────────────────────────────────────────┐ │
│ 4. Break Down into Tasks │──────────────────────────────┘
│ Create actionable task list │
└────────────────────┬────────────────────────┘
│
│ break down into tasks
▼
┌─────────────────────────────────────────────┐
│ 5. Review & Align │ ◀─── LLM updates tasks ─────┐
│ (edit specs/tasks) │ │
└────────────────────┬────────────────────────┘ │
│ │
│ approved plan │
▼ │
┌─────────────────────────────────────────────┐ │
│ 6. Implement Tasks │─────────────────────────────┘
│ (AI writes code) │
└────────────────────┬────────────────────────┘
│
│ ship the change
▼
┌─────────────────────────────────────────────┐
│ 7. Review Code Changes │
│ Find issues and missing tests │
└────────────────────┬────────────────────────┘
│
│ fix issues and add tests
▼
┌─────────────────────────────────────────────┐
│ 8. Document Changes │
│ Document to docs/ directory │
└─────────────────────────────────────────────┘Use the /sdd:00-setup command to create your project's governing principles and development guidelines that will guide all subsequent development.
/sdd:00-setup Use NestJS, follow SOLID and Clean ArchitectureIt can be used just once, in subsequent features development you can start from the next step.
Use the /sdd:01-specify command to describe what you want to build. Focus on the what and why, not the tech stack.
/sdd:01-specify Add OAuth authentication with Google and GitHub providersAfter LLM completes, you can update draft of change proposal that will be used as basis for future phases of development.
Use the /sdd:02-plan command to provide your tech stack and architecture choices.
/sdd:02-plan Use libraries instead of direct integrationAfter LLM completes, you can review the proposal architecture, till you agree with the proposed design choices.
Use the /sdd:03-tasks command to create an actionable task list from your implementation plan.
/sdd:03-tasks Use TDD approach and prioritize MVP featuresAfter LLM completes, you can update the task list to reflect your priorities
Use the /sdd:04-implement command to execute all tasks and build your feature according to the plan.
/sdd:04-implement Focus on test coverage and error handlingDuring implementation LLM will update the task list with progression of the implementation.
Use the /code-review:review-local-changes command to review your changes.
/code-review:review-local-changesLLM will review code quality and missing tests. If something incorrect, you can ask LLM to fix it.
Use the /sdd:05-document command to document your changes.
/sdd:05-document Include API examples and integration guideLLM will document completed changes to docs/ directory, to provide basis for future development.
Use the /git:create-pr command to create a pull request for your changes.
/git:create-pr #123