Skip to content
Back to skills

Spec Decomposition

ASecurity

Analyze specifications and decompose into independent changes.

  • 43 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
developmentgodocumentation

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Spec Decomposition?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec Decomposition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/liorcohen-spec-decomposition/badge)](https://www.skillsdirectory.com/skills/liorcohen-spec-decomposition)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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

Files in this skill

  • SKILL.md18.4 KB
  • schemas/input.schema.json1.4 KB
  • schemas/output.schema.json2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.