decompose-requirement

decompose-requirement is a skill for Claude Code from cpliakas/claude-code-engineering-leaders. It costs 34 tokens per session (992 once invoked), scanned A, original, MIT.

A guide for breaking a large requirement into smaller, ordered pieces of work. An epic is a broad body of work, while a story describes one user outcome and a subtask is a smaller implementation step.

In plain words
What is it for?
Use it with an epic to create stories, or with a story to create subtasks. It reads project guidance and roadmap or backlog files when available before proposing the child items.
Why use it?
It makes broad or unclear work easier to plan and deliver in useful increments. It also uses project context to avoid producing disconnected or impractical tasks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it with an epic to create stories, or with a story to create subtasks. It reads project guidance and roadmap or backlog files when available before proposing the child items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cpliakas/claude-code-engineering-leaders/decompose-requirement
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cpliakas/claude-code-engineering-leaders --skill decompose-requirement
Clone the repo
git clone --depth 1 https://github.com/cpliakas/claude-code-engineering-leaders

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for decompose-requirement

README.md
[![agentmods](https://agentmods.dev/badge/skills/cpliakas/claude-code-engineering-leaders/decompose-requirement/github.svg)](https://agentmods.dev/skills/cpliakas/claude-code-engineering-leaders/decompose-requirement)
Your own site
<a href="https://agentmods.dev/skills/cpliakas/claude-code-engineering-leaders/decompose-requirement"><img src="https://agentmods.dev/badge/skills/cpliakas/claude-code-engineering-leaders/decompose-requirement/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for decompose-requirement

Your own site · 80×15
<a href="https://agentmods.dev/skills/cpliakas/claude-code-engineering-leaders/decompose-requirement"><img src="https://agentmods.dev/badge/skills/cpliakas/claude-code-engineering-leaders/decompose-requirement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00992
Opus 5.5 $0.00014 $0.00397
Sonnet 5.5 $0.00007 $0.00198
Haiku 4.5 $0.00003 $0.00099

Measured 3mo ago against content hash a5148adbb47a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

decompose-requirement scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/decompose-requirement/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Decompose Requirement

Break a requirement into sequenced child items.

Input

$ARGUMENTS = title or description of the requirement to decompose.

Process

1. Handle Missing Input

If $ARGUMENTS is empty or contains no actionable description, prompt the user for the requirement to decompose. Present a single consolidated prompt:

  • What requirement needs decomposition? — Paste the epic, story, or describe the requirement in a few sentences.

Do not proceed until the user has provided a requirement description.

2. Gather Context

  • Read the project's CLAUDE.md for architecture, conventions, and domain context
  • Scan for a roadmap or backlog file if one exists (Glob for roadmap*, backlog*, TODO*)
  • Understand the domain well enough to identify meaningful vertical slices

3. Parse the Input

Determine the decomposition level:

  • If the input describes an epic-level scope → decompose into stories (5-15 children)
  • If the input describes a story-level scope → decompose into subtasks/tasks (2-8 children)
  • If ambiguous, ask the user or infer from scope signals (breadth of outcomes, number of user roles involved, estimated delivery span)

4. Apply Decomposition Strategy

Use vertical slicing (mandatory) — each child delivers a thin, user-visible slice of functionality across all layers. Pick the best-fit strategy:

  • Workflow steps: One child per step in a user workflow
  • Business rules: One child per rule variation
  • User roles: One child per role's interaction with the feature
  • CRUD: One child per operation (when each has distinct value)
  • Happy path first: Core flow as child 1, then edge cases and error handling

Explicitly avoid horizontal slicing (e.g., "build the database layer", "build the API", "build the UI") — these produce children with no standalone user value.

5. Sequence the Children

Order by priority, applying these criteria in order:

  1. Dependencies — what must exist before other children can start?
  2. Risk — what has the most technical uncertainty? Do it early.
  3. Value — front-load children that deliver user-visible value.
  4. Learning — children that resolve unknowns enable better estimates for later ones.

Read the full file on GitHub · 125 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 125 lines · 34 tokens per session scan A a5148adbb47a

Subscribe to this mod's changes

decompose-requirement is a skill published in the GitHub repository cpliakas/claude-code-engineering-leaders (4 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 992 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

decompose-requirement compared with skills from other repositories

decompose-requirement next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decompose-requirementcpliakas/claude-code-engineering-leadersSkill42mo agoMITA34Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code