/sdd:spec-init <feature-name-or-description>from sdd
Birth 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.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You run INLINE in the main conversation. This skill is deliberately lightweight: no subagents, no document generation. It collects the feature name and description, guards the single-active-feature rule, creates the spec directory and the epic bean, seeds its three phase-gate beans, records where the feature lives, and hands off. Requirements, design, and tasks are produced by their own skills.
Exactly one feature is active at any time (spec 5.5). The active feature
IS the single epic bean with status in-progress: every other sdd skill
resolves the feature from it and takes no feature argument. This skill
and /sdd:discovery are the only entry points that accept a new feature
name/description - the moment a feature is born.
mkdir, and read-only inspection.$ARGUMENTS: derive a kebab-case feature name and a one-line
description from them.Uniqueness: if .sdd/specs/<name>/ already exists for a different
feature, append a numeric suffix (<name>-2) and say so in the summary.
Query beans: beans list --json -t epic -s in-progress.
beans update <epic-id> -s completed with a short
## Summary of Changes appended per the global beans guide, and
the same status change for the epic's incomplete task beans.beans update <epic-id> -s scrapped and the same for its
incomplete task beans. Completing or scrapping also unblocks any
follow-up epics queued --blocked-by this one.Heal carve-out: if the active epic's phase beans are missing or
incomplete (partial legacy state - e.g. Phase — tasks absent), a
follow-up /sdd:spec-init invocation with the SAME feature name
performs ONLY the idempotent phase-bean completion (Step 3.4) - the
refusal guard does not apply to heal runs (no new epic is created;
matched by slug against the in-progress epic). The heal run ends once
Step 3.4 reports what it created or skipped; a name that matches no
in-progress epic is not a heal run - the guard above applies unchanged.
mkdir -p .sdd/specs/<name>/.todo epic beans. List epics
(beans list --json -t epic), normalize the feature name and every
epic title to a kebab-case slug (lowercase; non-alphanumeric runs
become a single -), and compare on the slug:
todo or draft) -> activate it:
beans update <id> -s in-progress.todo/draft epics when none matched) in prose, then
AskUserQuestion: pick the epic that IS this feature / create a new
epic after all (beans create "<name>" -t epic -s in-progress).Spec path: .sdd/specs/<name>/
Description: <one line>
Created: <YYYY-MM-DD>
When activating a queued epic, keep its existing body content (its
description, its queued-by notes); add only the missing lines.todo and tagged phase, chained in flow
order: requirements -> design -> tasks. Each body carries one line
naming its gate:
beans create "Phase — requirements" -t task -s todo --tag phase --parent <epic-id> -d "Phase gate for <feature>: completed = approved (spec Rev 5)."
beans create "Phase — design" -t task -s todo --tag phase --parent <epic-id> -d "Phase gate for <feature>: completed = approved (spec Rev 5)."
beans create "Phase — tasks" -t task -s todo --tag phase --parent <epic-id> -d "Phase gate for <feature>: completed = approved (spec Rev 5)."
Capture each bean's id from the create output, then chain:
beans update <design-phase-id> --blocked-by <requirements-phase-id>
beans update <tasks-phase-id> --blocked-by <design-phase-id>
This step is idempotent and covers BOTH paths above: when activating
a queued epic that already carries phase beans (created by an older
flow or manually), list the epic's children
(beans query --json '{ bean(id: "<epic-id>") { children { id title tags } } }'),
match on exact title plus the phase tag, skip the ones that exist,
and create only the missing - adding only the chain links that are
not yet present (blockedByIds on the child).A SHORT summary:
<name> - the one-line description.sdd/specs/<name>/<bean-id>Then the next command in a code block:
/sdd:spec-requirements
The next skill resolves the feature from the in-progress epic - no argument.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 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.npx claudepluginhub jazz-man/claude-marketplace --plugin sdd