Skip to content
Development
Skill

/spec-decomposition

Analyze specifications and decompose into independent changes.

From plugin
sdd
4359 skills7 agents3 commands

Claude Code

$ npx -y skills add LiorCohen/sdd --skill spec-decomposition --agent claude-code

SKILL.md

spec-decomposition.SKILL.md
name: spec-decomposition
description: Analyze specifications and decompose into independent changes.
user-invocable: false

Spec Decomposition Skill

Purpose

Analyze a specification document to identify natural change boundaries and return a structured decomposition result. This is a pure analysis skill that takes input and returns output without user interaction.

Input

Schema: [`schemas/input.schema.json`](./schemas/input.schema.json)

Accepts decomposition mode, spec content, and mode-specific parameters for outline, section, or hierarchical decomposition.

Output

Schema: [`schemas/output.schema.json`](./schemas/output.schema.json)

Returns mode-specific results: outline sections, or hierarchical epic/feature groupings with dependency graph.

Resource Files

For detailed guidance, read these on-demand:

  • [outline-modes.md](resources/outline-modes.md) — Outline, section, hierarchical mode documentation with examples
  • [decomposition-algorithm.md](resources/decomposition-algorithm.md) — 5-phase algorithm, formulas, heuristics
  • [data-structures.md](resources/data-structures.md) — DecomposedChange, DecompositionResult schemas, special cases

Quick Reference

**Modes:** outline (extract headers), section (analyze one section), hierarchical (epics + features), default (full analysis)

**Algorithm phases:** Structure Extraction -> Boundary Detection -> Dependency Detection -> Independence Scoring -> Refinement

**Complexity levels:** SMALL (<= 3 ACs), MEDIUM (4-8 ACs), LARGE (> 8 ACs), EPIC (> 10 ACs + 3+ components)

**Independence score:** 0.0-1.0 scale; >= 0.5 is standalone, < 0.3 should be merged

Read more
@liorcohen
Ships withsdd

Structure for AI-assisted development AI coding assistants are powerful but chaotic. You prompt, you get code, but then what?

4359 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
43
Star history of LiorCohen/sdd on GitHub, a chart by star-history.com

Other skills on sdd.

agents-standards

agents-standards

Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.

@liorcohen@liorcohenInstall Skill
commands-standards

commands-standards

Standards for authoring SDD plugin commands — frontmatter, user interaction, skill/agent invocation, CLI integration, and output…

@liorcohen@liorcohenInstall Skill
commit

commit

Create a commit following repository guidelines with proper versioning and changelog updates.

@liorcohen@liorcohenInstall Skill
critic

critic

Two-step self-review at every task lifecycle phase. Step 1 (this skill) runs in-context to gather session signals — files read vs…

@liorcohen@liorcohenInstall Skill
d2

d2

D2 diagramming language reference for architecture diagrams, sequence diagrams, grid layouts, SQL tables, and class diagrams.…

@liorcohen@liorcohenInstall Skill
docs-standards

docs-standards

Writes and maintains user-facing documentation for the SDD plugin. Proactively detects when docs are out of sync with plugin…

@liorcohen@liorcohenInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about spec-decomposition.

Which coding agents can use spec-decomposition?
spec-decomposition installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.