← Back to list

controlled-task-decomposition
by hohai99
⭐ 0🍴 1📅 Jan 22, 2026
SKILL.md
name: controlled-task-decomposition description: Breaks specifications into executable, verifiable tasks without over-fragmentation. Use after spec freeze. triggers: [implementation-start, plan-generation, complex-task-received] outputs: [task-backlog, dependency-map]
Controlled Task Decomposition
Purpose
Converts a large "What" (Spec) into several manageable "Hows" (Tasks). This skill ensures that implementation is incremental, testable, and doesn't overwhelm the Agent's context.
When to use this skill
- During the transition from Planning to Execution
- When a task is found to be too complex to implement in one go
- When creating an
implementation_plan.md
Decomposition Steps
- Map Tasks to Spec Sections: Every task MUST implement at least one spec ID (e.g., TASK-1 implements AUTH-001).
- Avoid Micro-Tasks: Don't create tasks for minor things like "add import". Combine them into meaningful functional units.
- Define Acceptance Criteria: Every task needs a clear "When is this done?" statement.
- Respect Dependencies: Order tasks so that foundation components are built before items that depend on them.
Decision Tree
flowchart TD
A[Start Decomposition] --> B{Task size > 200 lines?}
B -->|Yes| C[Split into Functional Units]
B -->|No| D{High Risk?}
D -->|Yes| E[Isolate in Single Task]
D -->|No| F{Independent?}
F -->|Yes| G[Parallelize if possible]
F -->|No| H[Sequencing Required]
C --> B
E --> I[Generate Task List]
G --> I
H --> I
Review Checklist
- Traceability: Can I trace every task back to a spec requirement?
- Verifiability: Is there a test that can prove this task is complete?
- Context: Can the agent complete this task without needing 10 other open files?
- Structure: Does it follow the task-template?
How to provide feedback
- Be specific: "Task #2 is 'Implement Auth', which covers 4 different spec IDs and 500 lines of code."
- Explain why: "Too much scope in one task leads to implementation errors and context loss."
- Suggest alternatives: "Split into 'Task 2a: JWT Logic' and 'Task 2b: Middleware Integration'."
Tasks must be independently verifiable.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon