/sdd:steeringfrom sdd
Create, edit, bootstrap, and sync project rules in .claude/rules/ (local or global). Generate core rules from the codebase, sync drifted rules, create domain or topic rules, and edit existing ones. Every change is drafted, conflict-checked, optimized, and shown for approval before writing.
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.
Maintain .claude/rules/ (local: <project>/.claude/rules/) and ~/.claude/rules/ (global) as persistent project instructions. One skill, four modes, two scopes.
references/steering-principles.md — authoring philosophy (patterns over lists, etc.). READ THIS before drafting any rule.references/core/{product,tech,structure}.md — core templates, used by bootstrap.references/custom/*.md — domain templates, used by create as starting points. Not exhaustive; free-form is first-class.Claude Code loads BOTH scopes at session start (global first, then local). Rules are context, NOT enforced config — Claude Code does not resolve contradictions between rules, so a local rule and a global rule that disagree may each be followed arbitrarily. Therefore you MUST surface conflicts for the user; never leave a local rule fighting a global one.
AskUserQuestion for: scope choice, mode choice, conflict resolution, and write approval.AskUserQuestion for this — it is capped at four options.)Ask scope FIRST (AskUserQuestion: global / local), then offer only the modes valid for that scope:
~/.claude/rules/) → create, edit only.<project>/.claude/rules/) → bootstrap, sync, create, edit..claude/rules/ is empty or missing core files. Draft the core 3 (product.md, tech.md, structure.md) from references/core/ + codebase patterns.references/custom/{name}.md matches the topic, use it as a starting point; otherwise draft FREE-FORM from the topic + codebase (free-form is first-class, not a fallback). When the scope is local, conflict-check against global rules.Every mode produces a DRAFT through this pipeline. Two isolation boundaries keep the main chat clean; heavy cognitive work happens in subagents.
AskUserQuestion), mode (AskUserQuestion), and the rule description (create/edit, any form) or the codebase (bootstrap/sync).Agent tool. It:
references/steering-principles.md and the generated-rule format below;AskUserQuestion per the conflict policy; apply the user's choice to the draft.llm-application-dev:prompt-optimize skill on the resolved draft text and returns the polished text. If that skill is unavailable, surface the problem — do NOT substitute or skip.AskUserQuestion):
{rules-root}/{name}.md.Conflicts are resolved by the user BEFORE optimization — never optimize a draft that is about to change.
AskUserQuestion: proceed / edit the global rule / abort). Never auto-mutate global state.<project>/.claude/rules/{name}.md; global: ~/.claude/rules/{name}.md. Kebab-case filename.references/steering-principles.md).references/core/product.md (opens in a new tab)references/core/structure.md (opens in a new tab)references/core/tech.md (opens in a new tab)references/custom/api-standards.md (opens in a new tab)references/custom/authentication.md (opens in a new tab)references/custom/database.md (opens in a new tab)references/custom/deployment.md (opens in a new tab)references/custom/error-handling.md (opens in a new tab)references/custom/security.md (opens in a new tab)references/custom/testing.md (opens in a new tab)references/steering-principles.md (opens in a new tab)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./initWrite 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./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.