LiorCohen/sdd / plugin/core/skills/spec-decomposition
spec-decomposition
VerifiedAnalyze specifications and decompose into independent changes.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.6 KB |
| resources/data-structures.md | markdown | 8.4 KB |
| resources/decomposition-algorithm.md | markdown | 4.0 KB |
| resources/outline-modes.md | markdown | 5.3 KB |
| schemas/input.schema.json | config | 1.4 KB |
| schemas/output.schema.json | config | 2.0 KB |
SKILL.md
View on GitHub---
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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |