Skip to content
Skill

Decomposition

Breaks a complex task into detailed, verifiable todos and logs a summary in the plan file

Decomposition is an open-source agent skill for developer tools. It is available on Cursor.

Scripts
None
Platforms
Cursor
GitHub stars
215
Last commit
License
GPL-3.0
Listing updated

Similar skills

About Decomposition

This skill runs a single decomposition pass over a larger task. The agent explores the codebase and any referenced configs or specs, splits the work into components with their dependencies, and may ask one short round of clarifying questions when scope or ordering is unclear.

Each resulting todo follows a fixed template covering what to do, where in the code it applies, how to approach it using existing patterns, why it matters, and how to verify it. The todos are saved through Cursor's built-in todo tool as pending items, and a Decomposition Summary section is appended to the active plan file, creating a PLAN.md if none exists.

The skill is written for Cursor and expects access to the codebase, the plan tools and the todo tool. It also triggers on Japanese phrases asking for task breakdown.

When your agent uses it

This skill should be used when the user asks to "decompose", "break down task", "create detailed todos", "split into todos". Also triggers when the user says in Japanese: "タスク分解", "todo に落として", "細かい todo にして".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the decomposition plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add fumiya-kume/claude-code
/plugin install decomposition@kuu-marketplace

Or copy only this skill to ~/.claude/skills/decomposition:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/fumiya-kume/claude-code.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/decomposition &&
cp -R "$tmp/decomposition/cursor/skills/decomposition" ~/.claude/skills/decomposition &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/decomposition inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/decomposition to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/fumiya-kume/claude-code.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/decomposition &&
cp -R "$tmp/decomposition/cursor/skills/decomposition" ~/.agents/skills/decomposition &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/decomposition inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/decomposition to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/fumiya-kume/claude-code.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/decomposition &&
cp -R "$tmp/decomposition/cursor/skills/decomposition" ~/.cursor/skills/decomposition &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/decomposition inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/fumiya-kume/claude-code.git --path decomposition/cursor/skills/decomposition

Or copy the folder to ~/.gemini/skills/decomposition yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/decomposition:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/fumiya-kume/claude-code.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/decomposition &&
cp -R "$tmp/decomposition/cursor/skills/decomposition" ~/.copilot/skills/decomposition &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/decomposition inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/fumiya-kume/claude-code.git

Then copy claude-code/decomposition/cursor/skills/decomposition into your agent's skills folder as decomposition. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Codebase exploration first
Reads the task, plan file, CLAUDE.md or AGENTS.md and related code before splitting the work.
Component breakdown
Identifies phases, dependencies and a natural execution order for the task.
Structured todo template
Each todo lists the action, exact file locations, implementation approach, rationale and verification step.
Optional clarifying questions
Can run one round of multiple-choice questions when scope or granularity is unclear.
Plan file summary
Appends the original task, todo list, dependencies and estimated scope to the active plan.
Japanese trigger phrases
Activates on Japanese requests such as タスク分解 and 細かい todo にして.

Good for

  • Break a large refactor into small todos with file paths and checks
  • Split a feature request into independently executable tasks
  • Turn a vague goal into a dependency-ordered todo list
  • Record a decomposition summary in the project plan file

Decomposition FAQ

Which tool does Decomposition need?

It is written for Cursor and relies on Cursor's plan tools, its built-in todo tool and the AskQuestion tool.

Where does the output go?

Todos are saved through the todo tool, and a Decomposition Summary section is appended to the active plan file or a new PLAN.md.

Does Decomposition ask questions before splitting the task?

Only when something unclear would meaningfully change the decomposition; it then runs a single round of two to four questions.

Does Decomposition run more than one pass?

No. The skill is single-pass by design, with one exploration, an optional question round, one todo write and one summary.

How do I install Decomposition in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/decomposition to use it in all your projects, or to .claude/skills/decomposition in one project. Or install the decomposition plugin, which includes it: /plugin marketplace add fumiya-kume/claude-code, then /plugin install decomposition@kuu-marketplace.

Does Decomposition run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Decomposition?

Cursor. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Decomposition?

The closest alternatives to Decomposition are Scope decomposition, Plan loop, Structured autonomy plan, Spec driven develop and Harness sync.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from fumiya-kume/claude-code

  1. Removes AI-generated code slop from the changes on your current git branch

    • Open source
    • 215 GitHub stars
    • Developer tools
  2. Stress-tests an active plan by surfacing hidden assumptions and unaddressed risks

    • Open source
    • 215 GitHub stars
    • Developer tools
  3. Diagnoses and fixes a failing pull request CI run in one pass using GitHub CLI

    • Open source
    • 215 GitHub stars
    • Developer tools