skills/new-ddd/SKILL.md
Initialize a new project using Documentation-Driven Development. Research, then write user-facing docs (SPEC.md) as the spec, then user validates docs, then phases derive from doc sections. Best for CLIs, libraries, SDKs, APIs, plugin systems, anything with a well-defined user-facing surface.
npx skillsauth add jnuyens/gsd-plugin gsd:new-dddInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<runtime_note>
Copilot (VS Code): Use vscode_askquestions wherever this workflow calls AskUserQuestion. They are equivalent, vscode_askquestions is the VS Code Copilot implementation of the same interactive question API.
</runtime_note>
Differs from /gsd:new-project in three ways:
SPEC.md (user-facing documentation: README, USAGE, CONCEPTS, API surface) rather than REQUIREMENTS.md (REQ-IDs and acceptance criteria).SPEC.md sections / chapters rather than from REQ-ID clusters.When to use DDD vs. standard new-project:
When to skip DDD and use standard new-project:
Flags:
--auto, Automatic mode. After config questions, runs research → docs → roadmap without further interaction. Expects idea document via @ reference.
</context>
Creates:
.planning/PROJECT.md, project context.planning/config.json, workflow preferences (mode: ddd set).planning/research/, domain research (optional)docs/SPEC.md, user-facing documentation as the spec.planning/REQUIREMENTS.md, thin traceability shell, each entry pointing at a SPEC.md section.planning/ROADMAP.md, phase structure derived from SPEC.md sections.planning/STATE.md, project memory (with mode: ddd marker)After this command: Run /gsd:plan-phase 1 to start execution. Per-phase work proceeds the same as standard GSD; SPEC.md is the canonical spec that each phase implements against. Manual doc updates during execution are expected; per-phase doc-sync automation is held for a future release.
</objective>
<execution_context> @${CLAUDE_PLUGIN_ROOT}/workflows/new-ddd.md @${CLAUDE_PLUGIN_ROOT}/workflows/new-project.md @${CLAUDE_PLUGIN_ROOT}/references/questioning.md @${CLAUDE_PLUGIN_ROOT}/references/ui-brand.md @${CLAUDE_PLUGIN_ROOT}/templates/project.md </execution_context>
<process> Execute the new-ddd workflow from @${CLAUDE_PLUGIN_ROOT}/workflows/new-ddd.md end-to-end. Where the workflow says "as in new-project step N", follow the matching step from @${CLAUDE_PLUGIN_ROOT}/workflows/new-project.md to avoid duplicated logic. Preserve all workflow gates (validation, approvals, commits, routing). </process>testing
Capture or review how this project connects to external systems (GitHub, AWS, npm, SSH, etc.) so future sessions know the auth recipe. Auto-detection hook logs candidate captures to an inbox; this skill promotes them to permanent recipes in `.planning/AUTH-RECIPES.md` and optionally to user-global memory at `~/.claude/auth-recipes/`.
tools
Plan an MVP-mode phase — captures an "As a / I want to / So that" user story, runs SPIDR splitting, then delegates to plan-phase
testing
Extract decisions, lessons, patterns, and surprises from completed phase artifacts
tools
Schedule a future resume of work - e.g. '/gsd:resume-at 09:00', '/gsd:resume-at +2h', or '/gsd:resume-at 04:00 --cmd /gsd:execute-phase 9'