/sdd:initfrom sdd
Write the user-owned .claude/rules/sdd.md workflow-rules file from the plugin's default workflow map (single source of truth - no second copy anywhere). Refuses politely when the file exists and offers a read-only diff instead of overwriting. User-invoked.
Ships in sdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You run INLINE in the main conversation. This skill has exactly one effect:
creating <project>/.claude/rules/sdd.md containing the sdd workflow rules,
taken verbatim from the plugin's default workflow map. The user's file then
takes precedence over the plugin default (spec 4.3): once it exists, the
SessionStart hook stays silent and never injects the default map again - even
if the file lags behind a newer plugin version. Precedence is by design.
The plugin default lives at ${CLAUDE_PLUGIN_ROOT}/assets/workflow-map.md.
It is the single source of truth: do not restate its content here, do not
write it from memory, and never write anything but the stripped map into
.claude/rules/sdd.md - no session briefing, no narrative, no appended
content from any other skill, ever.
cat, sed, diff, ls)..claude/rules/sdd.md is
authoritative and user-owned, possibly hand-customized.The rules file is the default map minus its hook-injection wrappers: the
<SUBAGENT-STOP> notice line, the <EXTREMELY_IMPORTANT> /
</EXTREMELY_IMPORTANT> fence lines, and any leading blank lines, so the
output starts at the # sdd heading. Print it read-only:
sed -e '/^<SUBAGENT-STOP>/d' -e '/^<EXTREMELY_IMPORTANT>$/d' -e '/^<\/EXTREMELY_IMPORTANT>$/d' \
"${CLAUDE_PLUGIN_ROOT:?unset}/assets/workflow-map.md" | sed '/./,$!d'
Every later step reuses this same pipeline.
Check whether <project>/.claude/rules/sdd.md exists (ls or Read).
Explain in prose: the file exists, it is user-owned, and it takes precedence over the plugin default; the plugin does not replace it. Then ONE AskUserQuestion with these options:
Show the diff (recommended) - read-only comparison against the current plugin default:
diff .claude/rules/sdd.md \
<(sed -e '/^<SUBAGENT-STOP>/d' -e '/^<EXTREMELY_IMPORTANT>$/d' -e '/^<\/EXTREMELY_IMPORTANT>$/d' \
"${CLAUDE_PLUGIN_ROOT:?unset}/assets/workflow-map.md" | sed '/./,$!d')
Show the diff output, note in prose what differs, and end by asking (via AskUserQuestion) whether to overwrite with the default, keep the file as is, or let the user hand-edit first. The user hand-edits or asks for the overwrite - you never merge or selectively edit the file yourself.
Overwrite with the plugin default - only on this explicit instruction: run Step 3 as if the file were absent.
Keep the file as is - end the skill.
<project>/.claude/rules/sdd.md with EXACTLY that output - verbatim,
byte for byte: no rewording, reordering, reflowing, or trimming.ONE short message, nothing persisted beyond the file itself: the rules file
now exists at <project>/.claude/rules/sdd.md and governs the sdd workflow
(the SessionStart injection of the default map no longer applies). Name the
entry command in a code block:
/sdd:discovery
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jazz-man/claude-marketplace --plugin sdd15 skills in this plugin
/debugRoot-cause-first debugging protocol - reproduce, isolate, confirm the root cause, then plan the minimal fix. Use when an implementer is blocked, verification fails, or repeated remediation does not converge./discoveryEntry point for new work. Researches the user's idea against the codebase, the workstream brief, and beans state, then routes it via AskUserQuestion - extend an existing spec, no spec needed (answered directly in chat), a single new feature, or a sequential multi-spec initiative queued in beans. Writes .sdd/brief.md./implExecute the active feature's approved task plan one task at a time - dispatch subagent implementers and reviewers, run the bounded fix loop, verify completion with fresh evidence, and stop after every task for the user's review./reviewAdversarial task-local review protocol - verify an implementation is real, complete, bounded, spec-aligned, and backed by mechanical evidence. Use after an implementer finishes a task, after remediation, or before accepting a task as complete./spec-designGenerative fork - research the active feature (discovery by classification) and write design.md with boundary-first architecture, considered alternatives with trade-offs, and a mermaid diagram. Use after /sdd:spec-requirements; the main context presents the result and runs the confirm gate./spec-initBirth a new feature - the only skill that creates one. Guards the single-active-feature rule, creates .sdd/specs/<name>/ and the in-progress epic bean that records the spec path, then names the next command.