From sdd
Transforms external product specs into classified tech context through gap analysis, component discovery, and decomposition into SDD workflow items.
npx claudepluginhub liorcohen/sdd --plugin sddThis skill uses the workspace's default tool permissions.
Processes external specification files into the SDD workflow structure. Transforms product specs into classified tech spec context - specs are created interactively one at a time.
Guides structured requirements gathering via questions to produce complete specification documents through non-blocking conversational interaction.
Imports pre-existing spec documents (e.g., *spec.md, requirements.md) into Shipyard's PROJECT.md by parsing sections like name, goals, requirements; handles replace/merge.
Generates canonical specifications from feature requests or user stories using EARS notation, acceptance criteria, INVEST scores, and validation. Saves to .specs/{feature}/spec.md as phase 1 of spec-driven workflow.
Share bugs, ideas, or general feedback.
Processes external specification files into the SDD workflow structure. Transforms product specs into classified tech spec context - specs are created interactively one at a time.
When a user provides an external specification via /sdd I want to import an external spec:
sdd/archive/external-specs/ (single copy, yyyymmdd-HHmm-filename format)sdd/workflows/<id>-<name>/CRITICAL: External specs are product specs (WHAT/WHY). This skill transforms them into tech spec context (HOW) before decomposition.
Always assume external specs are lacking:
Critical asymmetry:
| Area | Typical Detail Level | Action Required |
|---|---|---|
| User-Facing Interface | High | Extract and classify |
| UX/Design | High | Extract and classify |
| Integration Contracts | Low | Must be DERIVED from interface |
| Business Logic | Very Low | Must be extracted through questions |
| Persistence/Data | Very Low | Must be discovered from interface + actions |
| Non-Functional | Absent | Must be explicitly asked |
/sdd I want to import an external spec when external spec is providedSchema: schemas/input.schema.json
Accepts path to external spec file, target directory, workflow ID, and optional domain.
Schema: schemas/output.schema.json
Returns archived spec path, workflow ID, hierarchical flag, and list of created workflow items.
sdd/archive/external-specs/ via system CLIcontext.md) for each leaf itemFor detailed guidance, read these on-demand:
| Before | After |
|---|---|
| Created SPEC.md + PLAN.md immediately | Creates workflow items with context only |
Archived to archive/ | Archives to sdd/archive/external-specs/ |
| No domain analysis | Comprehensive thinking step with domain extraction |
| No transformation | NEW: Transformation classifies and identifies gaps |
| No component discovery | NEW: Component discovery before decomposition |
| Order in session only | Order persisted in workflow.yaml |
| All specs created upfront | Specs created one at a time through solicitation |
| Modal dialogs for questions | NEW: Non-blocking conversational questions |
This skill orchestrates:
workflow-state - Creates workflow and itemscomponent-discovery - Identifies needed components (NEW)spec-decomposition - Analyzes spec structure with thinking stepTrigger: /sdd I want to import an external spec command.
| Step | Action | Output |
|---|---|---|
| 1 | Archive External Spec | sdd/archive/external-specs/... |
| 2 | Detect Large Specs | Size estimation, chunking plan |
| 3 | Transformation | Classification, gaps, clarifications |
| 4 | Component Discovery | Components list (not applied) |
| 5 | Present Outline | User reviews structure |
| 6 | Thinking Step | Domain analysis, dependencies |
| 7 | Display Thinking | User confirms analysis |
| 8 | Create Workflow Items | Items in workflow.yaml |
| 9 | Create Context Files | context.md for each item |
| 10 | Return Summary | Complete output |