From sdd-pipeline
Appends ## Approach section to existing feature spec.md before TDD. Reads spec, explores codebase for modules/patterns, proposes 2-3 alternatives with tradeoffs, validates with user.
npx claudepluginhub eduwxyz/my-awesome-skills --plugin sdd-pipelineThis skill uses the workspace's default tool permissions.
Take an existing feature spec and add the `## Approach` — the HOW that `tdd` needs to execute. Same file, append only.
Scaffolds feature specs from project template by guiding through sections like Problem, Approach, Happy Path, Edge Cases. Use for planning non-trivial features or missing design docs.
Enforces spec-first workflow for non-trivial builds: frames problems, creates spec.md, todo.md, decisions.md before coding to clarify decisions and verify outcomes.
Creates detailed feature specifications through a structured interview, including user stories, acceptance criteria, test cases, data models, APIs, UI states, and dependencies for TDD planning.
Share bugs, ideas, or general feedback.
Take an existing feature spec and add the ## Approach — the HOW that tdd needs to execute. Same file, append only.
diagnose — already contain Root cause and Fix).## Approach — unless the user explicitly asks to revise.If invoked in a skip case, recognise it and tell the user "this looks trivial / already approached — go straight to tdd". Do not write anything.
Identify the spec. A path or slug for an existing spec/<slug>.md must be given. If neither was provided, ask the user which spec — do not guess. Never operate without an explicit target.
Validate it. Read the file. It must contain Goal, Behaviors, and Acceptance criteria. If any are missing, abort and tell the user to run interview-to-spec first. Never try to fill in WHAT.
## Approach to the same spec file.Edit, not Write. Anchor on the last existing line or section of the spec; the new content is the anchor + \n\n## Approach\n....## Approach section## Approach
- **Strategy.** One paragraph describing how the work will be done end-to-end.
- **Modules / files.** Concrete paths to create or modify.
- **Key decisions.** The alternative considered and why this one. One bullet per decision.
- **Schema / API changes.** If any. Otherwise omit this bullet.
- **Risks.** Anything that might surprise us during execution. If none, omit this bullet.
Keep each bullet tight. The reader is tdd — it needs enough to execute, not a design doc.
## Approach already existsDo not overwrite silently. Read the existing approach, then ask the user: "There's already an approach here. Want me to revise it, or is it still good?" Only edit if they confirm. When revising, replace the existing ## Approach block via Edit — do not append a second one.
The spec is now self-sufficient. tdd consumes it directly — Behaviors + Acceptance criteria become the test queue; Approach guides the implementation.