com um clique
decomposition
// 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 にして".
// 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 にして".
This skill should be used when the user asks to "dig", "challenge assumptions", "stress test plan", "find risks in plan". Also triggers when the user says in Japanese: "前提を疑って", "計画を深掘り", "プランに穴が無いか".
This skill should be used when the user asks to "fix CI", "fix failed checks", "PR is red", "diagnose CI failure". Also triggers when the user says in Japanese: "CI 直して", "CI が落ちてる", "PR の CI を直して".
Remove AI-generated code slop from code changes in the current branch
| name | decomposition |
| description | 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 にして". |
Break a complex task into rich, self-contained todos that can be executed independently. Run a single pass: explore, identify components, optionally ask one round of clarifying questions, then write todos via the agent's todo tool and append a summary to the active plan file.
Persist the decomposition summary to the active Cursor plan file:
read_plan / update_plan)../PLAN.md and treat that as the active plan.## Decomposition Summary section after writing the todos.Build a concrete mental model before decomposing anything:
CLAUDE.md and / or AGENTS.md if present.Do not skip this step — todos generated without exploration are usually too vague to execute.
Decompose the overall task into distinct components:
Keep this internal — the next steps turn it into todos.
Only if there are unclear points that meaningfully affect decomposition (scope boundaries, ordering, granularity, acceptance criteria, risk-spike vs direct implementation), run one round of AskQuestion via the Cursor AskQuestion tool.
Question rules:
id and label. Embed pros/cons in the label string. Example:
"Modify existing service — Pros: smaller diff, reuses tests / Cons: harder to revert, couples concerns""New service module — Pros: clean boundary, easier rollback / Cons: more files, new test scaffold"If everything is already clear from Step 1, skip this step. Single pass: do not run a second round later.
For each component, produce todos that are Specific, Achievable, and Small enough (~5–30 minutes each, single responsibility, independently verifiable).
Each todo's description must follow this template:
What: <specific action, with action verb>
Where: <exact file path(s), function/class/component names, line ranges if known>
How: <implementation approach referencing existing patterns in the codebase>
Why: <purpose and how it fits into the larger task>
Verify: <concrete verification — test command and expected output, or manual check procedure>
Use action verbs (Create, Add, Update, Remove, Implement, Configure, ...). Use real file paths and real function / class names from Step 1. Vague references are not acceptable.
Save the decomposed todos via the agent's todo tool (the standard built-in Cursor todo writer — refer to it generically as "the todo tool"; do not hard-code a specific tool name in case the implementation evolves):
pending for all new todos.Append a section like the following to the active plan file:
## Decomposition Summary
### Original Task
<one-paragraph description of the task that was decomposed>
### Decomposed Todos
1. <Todo 1 title> — <one-line essence>
2. <Todo 2 title> — <one-line essence>
...
### Dependencies
- <Todo X> must complete before <Todo Y>
- <other ordering / parallelism notes>
### Estimated Scope
- Total todos: <N>
- Complexity: <Low | Medium | High>
### Open Questions / Follow-ups
- <anything the user should still answer or watch for>
Then stop. Do not loop back into another decomposition round — this is single-pass by contract.
id and label.