| name | sdlc-spec |
| description | Create feature specs through collaborative brainstorming. Use when starting new features, writing requirements, or defining acceptance criteria. |
Model auto-switch: Extension switches to spec-tier model automatically.
Configure: /sdlc-choose to set models. /sdlc-tier for quick switch.
Next: After spec complete, use /skill:sdlc-plan to break down into tasks.
SDLC Spec
Overview
Turn raw ideas into specs with testable acceptance criteria. One question at a time.
Dependency: Requires pi-memctx.
Process
Step 0: Check Approval
First, check if spec phase already approved:
plan_tracker_ide:
action: check_approval
phase: spec
If APPROVED, skip questioning and proceed directly to Step 5 (Save) or handoff. Do not re-ask questions for approved phases.
Step 1: Understand
- Check project state (files, docs, commits)
- Check for
_references/ - if exists, read for brand context
- Ask questions one at a time, prefer multiple choice
- Focus: purpose, constraints, success criteria, out of scope
Step 2: Explore Approaches
- Propose 2-3 approaches with trade-offs
- Lead with recommendation
- Get alignment before proceeding
Step 3: Write Spec
Present in sections (200-300 words), validate each:
- Goal - one sentence
- Requirements - numbered list
- Acceptance Criteria - testable conditions
- Out of Scope - YAGNI
- Technical Approach - high-level architecture
Step 4: Create Config
{
"autoAdvance": false,
"gates": ["tests", "checklist", "build"],
"onFail": "stop",
"testCommand": "npm test",
"buildCommand": "npm run build"
}
Step 5: Save
- Create
docs/specs/YYYY-MM-DD-{feature}/
- Write
spec.md and config.json
- Sync to memctx:
memctx_save:
type: context
title: {feature} Spec
path: 20-context/{feature}-spec.md
tags: [sdlc, spec, {feature}]
- Approve phase (prevents re-asking):
plan_tracker_ide:
action: approve
phase: spec
summary: "{feature} spec complete with N criteria"
- Commit:
git add docs/specs/YYYY-MM-DD-{feature}/
git commit -m "docs: add {feature} specification"
Spec Template
# {Feature Name} Specification
**Created:** YYYY-MM-DD
**Status:** Draft | Ready | In Progress | Complete
## Goal
[One sentence]
## Requirements
1. [Requirement 1]
2. [Requirement 2]
## Acceptance Criteria
- [ ] [Testable criterion 1]
- [ ] [Testable criterion 2]
## Out of Scope
- [Excluded 1]
## Technical Approach
[Architecture, decisions, dependencies]
Principles
- One question at a time
- Multiple choice preferred
- YAGNI ruthlessly
- Testable criteria only
Handoff
After save:
Spec complete: docs/specs/YYYY-MM-DD-{feature}/spec.md
Ready to plan? → /skill:sdlc-plan