Task decomposition

From makifbaysal/tasktrooper · View interactive version

Task decomposition is an AI agent skill from the GitHub repository makifbaysal/tasktrooper. Use when an analiz task arrives in done (approved) - turn the approved split into implementation tasks with repository, AC, derived_from and ordering arguments

How to use this skill

Skill file

Task Decomposition

Overview

After the plan is written and self-reviewed, turn it into implementation board tasks with create_board_task. Decomposition quality decides whether developers can work in parallel without stepping on each other.

Slicing Rules

Each Task Must Contain

Each of these is a separate create_board_task field. Never paste one field's content into another — the board renders them in their own sections, and a duplicated copy goes stale the moment the real field is edited.

Ordering Is an Argument, Not a Sentence

Three orderings, three arguments, all pointing the same way — this task comes after the ones you list:

| Argument | Means | What enforces it |

|---|---|---|

| blocked_by: ["T-1"] | nobody starts this task until T-1 is done or released | the dispatcher parks the card in blocked with the reason on it, and picks it up automatically the moment T-1 lands |

| deploy_depends_on: ["T-1"] | this task may not be RELEASED until T-1 is live in production | the release gate refuses the deploy and comments why; the ordering is also written into this task's before_deploy runbook for you |

| a "Depends on: …" line in description | a human reading the card understands the shape | nothing |

Board Mechanics

Task creation happens ONLY after the human approves the analysis (see analiz-human-review-gate). The analiz task is in the done column when you run this — that column IS the approval signal.

  1. Check for answered open questions before creating anything (list_open_questions if the context block doesn't already show them; open-questions-protocol). Apply every answer, and an unanswered non-blocking question's recommended_answer, to the tasks you create. If an answer contradicts the approved split or plan in a way this decomposition cannot absorb, create nothing — add_task_comment naming the conflict and stop.
  2. create_board_task per slice, column=todo, with assignee set to the matching developer role (REQUIRED — an unassigned task is never dispatched and sits idle; a design task is the one exception, its type assigns the designer) and derived_from set to this analiz task. Call list_team to confirm the valid role names. Developers pick up their assigned tasks autonomously — no further human gate on implementation tasks; a design task returns to the human at analiz_review, and the UI tasks blocked by it start only when the designer releases it after approval.
  3. Create them in dependency order — the producer first — so each dependent can name the task it waits for by key in blocked_by / deploy_depends_on. If you only realise an order after the fact, update_board_task with blocked_by adds it.
  4. Putting every slice in todo at once is correct even when they are ordered: a task whose blocker is open is parked automatically and released the moment the blocker lands. Holding tasks back in backlog to fake an order is what the arguments replace.
  5. add_task_comment on the analiz task listing every created task: title, assignee, project, and its order (what it waits for and what ships after it).
  6. Move the analiz task to released — you are finished with it. (You never move it to done; the human does that as their approval action.)

Red Flags

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.