skills/design/SKILL.md
Produces feature-level system-design.md artifacts before breakdown when a feature needs architecture, interface, constraint, failure-handling, or validation decisions captured durably.
npx skillsauth add sirius-cc-wu/sirius-skills designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when a feature needs architecture, integration, interface, operational, or validation decisions captured durably before breakdown, whether the input comes from discover.md, direct prompting, or current implementation review.
Read these references when relevant:
references/system-design-template.md for the required system-design.md structure and quality barreferences/behavioral-systems.md when the feature includes shared state, routing, connection/session reuse, concurrency, retries, recovery, or protocol error mappingreferences/config-surface-governance.md when the feature touches configuration, startup, compatibility boundaries, environment injection, or test harness inputs<feature_path>/system-design.mdOptional companion output:
<feature_path>/discover.md<feature_path>/user-stories.md<feature_path>/figures/*.puml and <feature_path>/figures/*.svg when configured for linked SVG output<feature_path>/discover.md when present<feature_path>/reference-research.md when presentimpact-analysis.md when presentdiscover.md does not existResolve <feature_path> as either:
<planning_dir>/<feature-slug>/ for canonical feature planning
<planning_dir>/<feature-slug>/subfeatures/<subfeature-id>/ for a selected durable subfeature
If .skills/planning.json defines planning_dir, use that as <planning_dir>.
Otherwise default to docs/features.
If .skills/planning.json defines design_diagram_mode, honor it. Otherwise default to embedded.
# Scaffold a starter system-design.md for a feature or subfeature
python3 skills/design/scripts/scaffold_design.py "<feature-selector-or-path>"
# Overwrite an existing scaffold deliberately
python3 skills/design/scripts/scaffold_design.py "<feature-selector-or-path>" --force
reference-research.md exists and affects the chosen approach, preserve
its borrowing-path decision and tradeoffs in system-design.md instead of
silently re-deriving or replacing them.system-design.md, choosing the simplest component, package, sequence, state, or deployment view that communicates the design quickly.design_diagram_mode is embedded, include system-design diagrams directly in system-design.md with fenced plantuml blocks.design_diagram_mode is linked_svg, write the PlantUML source files under <feature_path>/figures/, generate matching SVGs into the same directory, and link those SVGs from system-design.md with relative Markdown image links such as .linked_svg mode, keep figure backgrounds explicitly white: set skinparam backgroundColor white in PlantUML, and ensure each emitted SVG includes an explicit white canvas rect such as <rect fill="#FFFFFF" height="100%" width="100%" x="0" y="0"/> so rendered diagrams do not inherit transparent or dark backgrounds.linked_svg mode, do not also embed the same diagram as a fenced plantuml block in system-design.md.component-diagram.puml, component-diagram.svg, sequence-diagram.puml, and sequence-diagram.svg.discover.md, optional reference-research.md, impact-analysis.md, and existing feature planning docs when present.skills/planning.json when present to determine whether diagrams stay embedded or are emitted under <feature_path>/figures/.system-design.md using the structure in references/system-design-template.md, adding the behavioral guidance from references/behavioral-systems.md and references/config-surface-governance.md when applicable.
When the packet has no system-design.md yet, you may scaffold the file first with python3 skills/design/scripts/scaffold_design.py <feature-selector-or-path> and then replace the placeholders with the real design.python3 skills/guide-planning/scripts/manage_planning.py sync-status <feature-selector> --through design_ready. If UI flow is required and ui-design.md is still missing, treat the blocked transition as a signal to hand off to ui-flow before claiming design readiness.breakdown.blueprint.md or other execution-slice artifacts.ui-flow instead or alongside this skill.plan.discover.md is absent; use the best available prompt, backlog, documentation, and code context instead.tools
Create or resume a dedicated git worktree for one feature or subfeature, drive `ship` inside that worktree, and hand the finished branch back as a pull request to the original branch.
testing
Reviews one completed feature or subfeature against final implementation and slice artifacts, then records a durable reconciliation block before archive.
development
Tightens durable repo-level rules in AGENTS.md and adjacent governance surfaces when repeated drift reveals a policy gap.
data-ai
Resolves one reviewed feature or subfeature backlog into remaining planned slices and routes each active slice to the next owning execution step with one commit per completed slice.