agents-standards
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
Process external specifications through transformation, classification, gap analysis, component discovery, and decomposition. Creates workflow items with classified context.
Claude Code
$ npx -y skills add LiorCohen/sdd --skill external-spec-integration --agent claude-code
Codex
$ npx skills add LiorCohen/sdd --skill external-spec-integration -a codex -y
Cursor
$ npx skills add LiorCohen/sdd --skill external-spec-integration -a cursor -y
Gemini CLI
$ npx skills add LiorCohen/sdd --skill external-spec-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add LiorCohen/sdd --skill external-spec-integration -a github-copilot -y
OpenCode
$ npx skills add LiorCohen/sdd --skill external-spec-integration -a opencode -y
Windsurf
$ npx skills add LiorCohen/sdd --skill external-spec-integration -a windsurf -y
name: external-spec-integration description: Process external specifications through transformation, classification, gap analysis, component discovery, and decomposition. Creates workflow items with classified context. user-invocable: false
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`:
**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 |
Schema: [`schemas/input.schema.json`](./schemas/input.schema.json)
Accepts path to external spec file, target directory, workflow ID, and optional domain.
Schema: [`schemas/output.schema.json`](./schemas/output.schema.json)
Returns archived spec path, workflow ID, hierarchical flag, and list of created workflow items.
1. **Archive** external spec to `sdd/archive/external-specs/` via system CLI 2. **Detect large specs** (>15K tokens) and chunk if needed 3. **Transform** product spec: classify information, identify gaps, ask clarifying questions 4. **Discover components** via component-discovery skill (once for entire spec) 5. **Present outline** to user with hierarchical decomposition if applicable 6. **Thinking step** — domain analysis, specs impact, gap analysis, API-first ordering 7. **Display thinking** output for user review 8. **Create workflow items** via workflow-state skill 9. **Create context files** (`context.md`) for each leaf item 10. **Return summary** with transformation, components, items, and thinking output
For 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:
Trigger: `/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 |
Structure for AI-assisted development AI coding assistants are powerful but chaotic. You prompt, you get code, but then what?
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
Standards for authoring SDD plugin commands — frontmatter, user interaction, skill/agent invocation, CLI integration, and output…
Create a commit following repository guidelines with proper versioning and changelog updates.
Two-step self-review at every task lifecycle phase. Step 1 (this skill) runs in-context to gather session signals — files read vs…
D2 diagramming language reference for architecture diagrams, sequence diagrams, grid layouts, SQL tables, and class diagrams.…
Writes and maintains user-facing documentation for the SDD plugin. Proactively detects when docs are out of sync with plugin…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.