Use when planning new features or need structured requirements - creates feature structure, elicits EARS requirements through systematic questioning, proposes architectural approaches with trade-offs. Activates when user mentions ”new feature”, ”requirements”, ”specs”, ”design”, ”architecture”, or u
npx playbooks add skill xbklairith/kisune --skill spec-driven-planning
Guide feature planning in one of two modes:
docx/features/[NN-name]/plan.md with bite-sized tasks. No EARS, no RGR. For solo work, ≤3 days, no compliance/handoff.requirements.md EARS + design.md + tasks.md) with three approval gates and TDD enforcement downstream. For team work, multi-week, compliance/audit, or stakeholder review.The skill picks a mode (or asks when ambiguous), then runs the matching playbook.
Activate this skill when:
/dev-workflow:spec command (any sub-arg)---
Before writing anything, decide Quick vs Full.
/dev-workflow:spec quick/dev-workflow:spec fullThe thresholds above are deliberately gapped — 4-7 days of effort, 9-15 tasks, or any partial signal match falls in the middle zone. If you don't get a clean all-true Quick or any-true Full match, the feature is ambiguous by definition. Ask the user.
This feature could go either way. Pick a planning mode:
1. Quick — single plan.md, no EARS, no RGR (recommended for solo, ≤3 days)
2. Full — 3-file spec with EARS + TDD enforcement (recommended for team, >1 week, compliance)
Default if you don't pick: Quick.
Announce the chosen mode:
> "Using [Quick/Full] mode. [One-sentence reason from signals above.]"
Then run the matching playbook below.
---
Output: docx/features/[NN-feature-name]/plan.md (single file)
ls docx/features/ to find next NN numbermkdir -p docx/features/[NN-feature-name]plan.md from the plugin's templates (<base>/../../templates/plan.md, where <base> is this skill's base directory)docx/features/[NN-feature-name]/plan.md, replacing [Feature Name] with the actual nameAudience assumption: an engineer with zero context for this codebase. Be exact.
Required sections:
Granularity rule: if a step takes longer than 5 minutes, split it.
> "Quick plan saved to docx/features/[NN-feature-name]/plan.md. Review and approve to proceed to implementation. Run /dev-workflow:spec execute when ready."
That's it. No EARS, no design alternatives, no RGR. Implementation is handled by spec-driven-implementation (which auto-detects plan.md and runs in Quick execution mode).
To upgrade, see "Upgrade path" at the bottom of this skill.
---
Three phases, three approval gates. Use this when signals say Full.
Templates live in the plugin's templates/ directory, two levels above this skill's base directory (<base>/../../templates/). Read them from there, not from the user's project.
NN in docx/features/ and create docx/features/[NN-feature-name]/.requirements.md, design.md and tasks.md from the templates, replacing [Feature Name].> "Feature structure created. Ready to define requirements?"
---
Scope check first. If the request spans independent subsystems ("auth + billing + admin dashboard"), split it into separate features before eliciting anything.
Research before asking. Look at how similar features and products handle it (WebSearch / WebFetch on docs and APIs) and record what you learn under ## Research Summary in requirements.md.
Elicit what the request leaves open: purpose, triggering events, states, role- or condition-dependent behaviour, performance targets, security, failure modes, and edge cases. For a rough idea with unclear scope, invoke dev-workflow:brainstorming first.
Write every requirement in one EARS form:
| Form | Template |
|---|---|
| Ubiquitous | The system SHALL [requirement] |
| Event-driven | WHEN [trigger] THEN the system SHALL [response] |
| State-driven | WHILE [state] the system SHALL [requirement] |
| Conditional | IF [condition] THEN the system SHALL [requirement] |
| Optional | WHERE [feature included] the system SHALL [requirement] |
REQ-001, …) across functional and non-functional requirements, so design and tasks can trace back to it.No placeholders. Never write "TBD", "etc.", "add appropriate X", "handle errors as needed", "similar to Y", a bare "update/improve/fix", or a reference to a REQ-ID or module that doesn't exist. If you cannot state a requirement concretely, ask.
Fill the sections of the requirements template (overview, functional, non-functional, constraints, acceptance criteria, out of scope).
> "Requirements complete. Ready for design phase?"
---
## Technical Research in design.md.dev-workflow:brainstorming to work through 2-3 approaches. When the design has several services, non-obvious trade-offs, or security/scale impact, stop and question the problem itself first: are we solving the right problem, what are we assuming, and what is the simplest thing that works?> "Design complete. Ready for task breakdown?"
Wait for explicit user approval before proceeding.
---
Run /dev-workflow:spec execute. The implementation skill auto-detects plan.md and runs Quick execution: follow the steps, run verification commands, commit. No RGR enforcement.
Run /dev-workflow:spec tasks then /dev-workflow:spec execute. The implementation skill detects tasks.md and runs Full execution: RED-GREEN-REFACTOR per task, traceability to requirement IDs, quality gates.
Both modes integrate with dev-workflow:review, dev-workflow:git-workflow, and dev-workflow:test-driven-development (the last one is mandatory in Full mode, optional in Quick).
---
If a Quick feature outgrows its plan (scope expands, stakeholders enter, architecture decisions emerge):
docx/features/[NN-name]/plan.mdplan.md → plan.archived.md for traceabilityDowngrade (Full → Quick) is not supported. Once EARS requirements exist, throwing them away is wasteful — just continue in Full mode.
---
User: "Add a CSV export button to the reports page"
Assistant:
Signals: solo, ~1 day, no compliance, no architectural decision → Quick mode.
Created docx/features/03-csv-export/plan.md with 4 tasks.
Review and approve, then run /dev-workflow:spec execute.
User: "Add user authentication across web + mobile, must meet SOC 2"
Assistant:
Signals: multi-platform, compliance required, JWT vs session decision → Full mode.
Created docx/features/04-user-authentication/{requirements,design,tasks}.md.
Phase 1 complete. Phase 2: I'll elicit requirements in EARS format.
1. What authentication methods should be supported?
2. What's the session lifetime requirement?
[...]
User: "Add a notifications system"
Assistant:
Scope is ambiguous between Quick and Full. Pick one:
1. Quick — single plan.md, no EARS, no RGR (≤3 days, solo)
2. Full — 3-file spec with EARS + TDD (>1 week, team, compliance)
Default if you don't pick: Quick.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.