/sdd:configfrom sdd
Creates and tunes the per-project `.claude/sdd.local.md` settings file. Reads existing config, diffs against defaults, then asks six grouped questions and patches only confirmed keys.
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.
Read when SKILL.md points to them.
The settings file has many creators and one editor: this one. Six pipeline skills
(interview / survey / roadmap / scaffold / specify / implement) — and this skill too —
write .claude/sdd.local.md with documented defaults, so the pipeline always finds a real file.
None of the six offers to change a value. That offer lives here, and only here.
Everything about the file itself — the template, the create procedure, the .gitignore patch, the
key semantics, the edit rules — is canonical in
../_shared/settings-file.md. This skill is the conversation
over it.
Whoever owns the repo's setup — usually the lead who runs the pipeline first, once per project.
.claude/sdd.local.md — read, diffed against the defaults, patched in
place. Never regenerated.Ensure the settings file (first thing, after this skill's own gate). If .claude/sdd.local.md
is absent, create it now from the canonical template — documented defaults + the self-documenting body — and
patch .gitignore; if it exists, read it and never overwrite. The one procedure lives in
../_shared/settings-file.md. Creating is unconditional;
changing values is only ever offered by config. Say one line:
«.claude/sdd.local.md created with documented defaults — /sdd:config to tune it».
(Here that line is the opening move, not a footnote: the user has a working config before the
first question.)
Read the current state. Report in three lines: which keys differ from the documented defaults (with both values), which unknown keys and inline comments are present (they are preserved verbatim — say so), and whether the frontmatter parsed. A malformed frontmatter is never repaired silently — print the lines that failed to parse and offer exactly two ways forward: rewrite from the template (naming what will be lost) or stop so the user fixes it by hand.
One forking question: defaults or tune? Ask it per ../_shared/ask-style.md.
«Stay on defaults» → skip to step 7 and print the handoff; the file is already on disk and
working, so this is a legitimate exit, not an abort.
Guess the host, with the evidence. Which tool is running this session decides whether three
keys are even usable. Rank the signals and name them out loud — the guess is never written
silently, and contradictory traces are reported as contradictory. Signals + the always-confirm
rule → ./references/detection.md.
Ask the six grouped questions in three AskUserQuestion calls. Questions are grouped by
decision, not by key — a person tunes «how strict are the gates», not gate_vet. The six:
host confirmation · model tier · strictness and gates · execution and commits · interview depth ·
document language. Together they cover 21 of the 25 keys. The four cmd_* keys are not
asked: empty means the detection cascade reads the repo's own Makefile / package scripts /
manifests, which is the better answer than a pinned command that rots. Verbatim wording, the
options, and the question → keys map → ./references/interview.md.
Model tier is asked directly rather than probed, because the session cannot enumerate the
models an account actually has.
Write the confirmed keys, key by key. Patch only the lines whose values were confirmed;
preserve comments, key order and unknown keys exactly. Print a old → new line per changed key,
and separately list what was derived rather than asked — a non-Claude host clamping
team_mode: false / workflow_mode: off / max_parallel_agents: 1 (TeamCreate and Workflow
exist only in Claude Code), and the cmd_* keys left empty for autodetect. A value the user did
not choose must never read as if they had. Nothing else on disk is touched.
Structural self-check + handoff. Run the structural self-check per
../_shared/self-check.md — re-read the file from disk and verify
6 items: (1) .claude/sdd.local.md exists (test -f); (2) its frontmatter parses and every
confirmed key holds the confirmed value; (3) every key present before the run is still present —
none dropped, including unknown ones; (4) every inline comment that was there is still there;
(5) .gitignore contains .claude/*.local.md and .worktrees/, each exactly once; (6) no file
outside .claude/sdd.local.md + .gitignore was modified (git status --short). Fix + re-check
≤2 cycles; surface anything unresolved. Then commit per ../_shared/write-and-commit.md:
one commit config: .gitignore sdd settings only if .gitignore actually changed — the
settings file is gitignored and has nothing to commit. Then emit the stage-handoff block per ../_shared/handoff.md
— What I did (the changed keys + the self-check line + the commit SHA or «nothing to commit») + Review (.claude/sdd.local.md) +
Run next (utility variant: /clear optional, resume your backbone stage — name the likely one).
.claude/sdd.local.md exists and parses, whichever branch the run took (defaults or tuned)..gitignore covers .claude/*.local.md and .worktrees/.team_mode / workflow_mode on a non-Claude host. They clamp, and the clamp is
stated — an option that cannot work is worse than no option.cmd_*. Empty = autodetect, which is the recommended answer; asking invites a
pinned command that goes stale.config tunes.../_shared/settings-file.md — the canonical template, procedure and key semantics../references/detection.md — host signals, ranked, and the always-confirm rule../references/interview.md — the six questions verbatim + the question → keys map.../_shared/ask-style.md — how every question is phrased.../_shared/tool-adapters.md — what each Claude mechanism maps to under Codex CLI / Cursor.../_shared/agent-roster.md — what the model tier actually changes.../implement/references/settings.md — the engine-side delta.What SKILL.md sets; muted values are Claude Code's defaults
inheritmediumThree short reads, in order
23 skills in this plugin
/apiUse to derive the API contract for a feature — an OpenAPI 3.1 document at docs/features/{slug}/contracts/openapi.yaml plus a drift/sync report (and an events doc when the feature has async flows). Triggers on "api for {slug}", "openapi for {slug}", "API contract for {slug}", "lock the interface for {slug}", "events for {slug}", "/sdd:api {slug}", "контракт API для {slug}", "OpenAPI для {slug}", "опиши ендпоінти". The contract is never hand-written: it is a derived function of data-model.md (typed fields + constraints), the sad.md §6 sequence diagrams (error branches, async actors), and spec.md acceptance criteria. Runs an inline drift check (does the contract match the model and the sequences?) and a reconcile mode. Hard-refuse if data-model.md is missing AND the feature changes the schema → run `data-model {slug}` first; on a legal no-schema-change skip it derives from the existing schema instead.
/clarifyUse to run an ambiguity sweep over a written spec.md and close every under-specified point before planning or design proceeds — so two engineers can't reasonably build different things from the same spec. Triggers on "clarify {slug}", "find ambiguities in {slug}", "is the spec ready", "sharpen the spec", "/sdd:clarify {slug}", "прояснити специфікацію", "знайди неоднозначності {slug}", "чи готова специфікація". Re-reads the spec, dispatches a clean-context devil's-advocate subagent to list where the spec forks, then for each ambiguity runs AskUserQuestion to RESOLVE it (tighten §1/§5/§6 in place) or DEFER it (→ §8 Open questions with owner+due). Output: an updated docs/features/{slug}/spec.md with every ambiguity resolved or deferred — none dangling. Hard-refuse if spec.md is missing.
/classify-sizeUse to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size plus the pipeline route docs/features/{slug}/.route (quick|standard|full) so later skills know how much of each artifact to produce and how handoffs resolve skips. Triggers on "classify size", "feature size", "is this XS or M for {slug}", "size {slug}", "change route", "/sdd:classify-size {slug}", "класифікуй розмір {slug}", "який розмір фічі", "XS чи M". Asks four AskUserQuestion (PR count / time / new module-API-migration / breaking changes), maps to a size class via the shared size matrix, derives the default route (XS/S→quick, M→standard, L/XL→full), confirms size + route in ONE question, and writes the one-line .size and .route files — the source of truth; the feature_size: frontmatter mirrors in spec.md and sad.md are re-synced to it on every (re)classification.
/data-modelUse to design the data model AND generate the actual forward + rollback migrations in one pass — shippable SQL, not a plan. Triggers on "data model for {slug}", "schema for {slug}", "generate migrations for {slug}", "DB design + migration", "/sdd:data-model {slug}", "модель даних для {slug}", "схема для {slug}", "згенеруй міграції". Reads spec.md §5 + sad.md §5 building blocks + the §6 sequence diagrams, then writes docs/features/{slug}/data-model.md plus paired *.up.sql / *.down.sql migrations STAGED under docs/features/{slug}/migrations/ (NOT the live migrations/ tree — implement promotes them when the feature is actually built) and an audit report. Greenfield-first; brownfield delta via --mode brownfield; drift-only via --drift-only. Hard-refuses if spec.md or sad.md is missing. Stack-agnostic: detects and FOLLOWS the repo's DB + migration conventions and domain layer — it imposes no DB philosophy and writes no rules file.
/decide-adrUse to record a post-hoc or asynchronous architecture decision as a MADR ADR when it was NOT captured during the synchronous design pass — a choice made in code, in a chat, on a whiteboard, or one a tasks/review gate flagged as missing. Triggers on "ADR for {decision}", "adr for {slug}", "document the decision on {topic}", "lock in the decision about {X}", "MADR for {topic}", "/sdd:decide-adr {slug} {title}", "створи ADR для рішення", "задокументуй рішення", "ADR на {тему}". Confirms the decision is ADR-worthy via the blast-radius gate, picks the next 4-digit number, copies design's MADR template, and fills context / drivers / considered options / outcome / honest consequences. Supports a Proposed → Accepted review flow. Output: docs/features/{slug}/adr/NNNN-{title}.md. For decisions made live with the user, use `design` — it spawns ADRs inline (Accepted).
/designUse to produce a Software Architecture Document for a feature — Arc42 12 sections + C4 L1/L2 inline + ADRs spawned on a blast-radius gate — once spec.md exists. Triggers on "design {slug}", "architecture for {slug}", "SAD for {slug}", "arc42 for {slug}", "C4 context+container for {slug}", "/sdd:design {slug}", "спроектуй архітектуру {slug}", "SAD для {slug}", "архітектурний документ {slug}". Drafts §1–§12, batch-validates each section Socratically (4-state machine), spawns an ADR only when a decision crosses the blast-radius threshold (irreversible / multi-module / has legitimate alternatives), writes each resolved section + its ADRs to disk immediately, then runs a clean-context critic and commits sad.md + each ADR separately. Brownfield: dispatches an Explore subagent to map the repo first. Hard-refuse if spec.md is missing; CONTEXT.md is optional (when present its Glossary is canonical).
npx claudepluginhub genkovich/sdd --plugin sdd2 plugins ship this exact skill · first indexed Oct 14, 2026
Other plugins' skills for the same job