From sdd
SDD — Spec-Driven Development: scaffold .sdd/ folder (principles, decisions) for a project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdd:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Check the project root (cwd) for:
Check the project root (cwd) for:
.sdd.json (existing JSON workflow config).sdd/principles.md.sdd/decisions/ directoryBuild a list of artifacts to create (only those that don't exist). If the list is empty, output ✓ .sdd/ already initialized and stop.
Present via AskUserQuestion:
AskUserQuestion.For each confirmed artifact:
.sdd/principles.md: copy lib/templates/principles.md, no variable substitution..sdd/decisions/: create directory + .gitkeep (empty file) so git tracks the empty folder..sdd.json: only create if completely absent. Write a minimal default:
{
"specsDir": "specs",
"commitFormat": "conventional",
"noAttribution": true
}
Never overwrite existing files. If a file exists, skip it (idempotent).
✓ SDD project initialized
Created:
.sdd/principles.md — edit to add your project's MUSTs
.sdd/decisions/.gitkeep — ADR storage (use /sdd:adr <slug> to create)
.sdd.json — workflow config
Next: edit .sdd/principles.md and run /sdd:specify to start your first feature.
npx claudepluginhub alfredoperez/sdd --plugin sddGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.