sdd-design

Creates SDD technical design documents with architecture decisions, data flow, and file changes.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/albersg/dotfiles --skill sdd-design-albersg
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sdd-design
Source: https://github.com/albersg/dotfiles/tree/main/dotfiles-opencode/.opencode/skills/sdd-design
Command: npx skills add https://github.com/albersg/dotfiles --skill sdd-design-albersg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? It turns an approved change proposal and specs into a concrete technical design, capturing architecture decisions, data flow, file changes, and testing strategy so implementation work starts from a documented plan rather than guesswork. ## Core Features & Use Cases - Design Document Generation: Produces a structured design.md covering technical approach, architecture decisions with rationale, data flow diagrams, file change tables, interfaces, and testing strategy. - Multi-Mode Persistence: Stores the design artifact via Engram topics, OpenSpec filesystem conventions, hybrid mode, or returns it inline depending on the artifact store mode. - Threat Matrix Integration: Applies an applicability-driven threat matrix for designs touching routing, shell commands, subprocesses, VCS/PR automation, or process integration, propagating applicable rows into tasks and RED tests. - Use Case: After an orchestrator approves a change proposal, the sdd-design sub-agent reads the affected codebase, documents each architecture decision with alternatives and rationale, and hands a design summary to the sdd-tasks phase. ## Quick Start Ask the orchestrator to run the SDD design phase for your change so the sdd-design sub-agent produces a design.md from the existing proposal and specs.

Frequently Asked Questions about sdd-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a technical design document in an SDD workflow?▼

The orchestrator delegates to the sdd-design sub-agent, which reads the proposal, specs, and affected codebase, then writes a design.md covering technical approach, architecture decisions, data flow, file changes, and testing strategy.

What does the sdd-design skill produce as output?▼

It produces a design artifact containing architecture decisions with alternatives and rationale, ASCII data flow diagrams, a file change table, interface contracts, a testing strategy, and optionally a threat matrix, persisted per the configured artifact store mode.

Can the design artifact be stored outside the filesystem?▼

Yes. In engram mode the design is saved as the Engram topic sdd/{change-name}/design, in openspec mode it is written to openspec/changes/{change-name}/design.md, hybrid mode does both, and none mode returns it inline only.

When is the threat matrix required in a design?▼

The threat matrix applies only when the design changes routing, shell commands, subprocesses, VCS/PR automation, executable-file classification, or process integration. Each row is marked Applicable or N/A with a reason, and applicable rows propagate to tasks and RED tests.

Why must the sub-agent read the codebase before designing?▼

Reading the actual code ensures the design follows the project's existing patterns, conventions, dependencies, and interfaces instead of generic best practices. Every decision must include a rationale and concrete file paths.