Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

task-decomposition

БесплатноБез исполняемых скриптовНе проверен

Use when an analiz task arrives in done (approved) - turn the approved split into implementation tasks with repository, AC, derived_from and ordering arguments

makifbaysalот makifbaysal★ 123 звезды на GitHub

Об этом скилле

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

  • One repository + one layer per task (backend / frontend / mobile / data / game). Never bundle layers — a task that says "add the API and the UI" is two tasks, and so is "train the model and serve it from the API" when the serving endpoint lives in a backend service.
  • One task per repository + layer for the whole feature, by default. Every plan step the same developer role implements in the same repository (same component in a monorepo) goes into ONE task. Each board task is a separate agent run that re-reads the repository and the plan, and its own pull request, code review, security review, QA pass and release — a feature cut into four same-layer tasks pays that four times. Cut finer only for the reasons under Size and for a refactor or migration that has to land first; never by endpoint, screen, file or plan step.
  • Each task maps to one or more plan tasks that form an independently deliverable unit: its tests can pass and its code can be reviewed without waiting for a sibling.
  • Order by dependency: backend API before the frontend/mobile that consumes it. Declare it in the ARGUMENTS (see "Ordering is an argument" below), and write the human-readable "Depends on: — consumes POST /api/v1/..." line in the description as well — but never only the line, because prose enforces nothing.
  • A project with UI and no design system: call get_design_system (with the project's project_id) before slicing UI work. If it returns no base — and the UI repository no layer — never hand-write a design task for it: call request_design_system (scope: "project" with the project_id; scope: "repository" with its repository_id for a UI repository in no project), with what the analysis knows about the audience, the feel and the brief's references in notes. It opens the same design task the project's Design System tab opens — the ui-designer assigned, the server's brief as its description — or returns the one already open (created: false); its returned key is what every UI task and every screen design task below waits for with blocked_by (it lives in one UI repository; a blocker in another repository is fine). On approval the designer opens an "Apply design system vN" task per repository that writes the generated design files and builds the foundation (tokens, atomic folders + INVENTORY.md, base atoms, ui-guard) from them — so do not also create a separate "Add design system foundation" task. The UI tasks in one repository are chained with blocked_by (shared files serialize, below); the first one writes the generated files from get_design_system files: true verbatim before its screen — the same bytes the Apply task writes.
  • Design first for a screen nobody has designed: a frontend or mobile task whose screen has no approved design (no design task already covers it) and no matching existing screen to follow gets a screen design task first — create_board_task with task_type: "design", no assignee, repository (the repository the screen ships in), derived_from this analiz task, a description naming the screen(s), the audience and the states the plan needs, and blocked_by the design-system task when you requested one above (a screen is drawn only with an approved design system). The frontend/mobile tasks for that screen are blocked_by the screen design task — that alone hands their runs its approved mockups and hand-off spec, and they start only once the designer has written the hand-off and released it; their derived_from stays this analiz task. A change that follows an existing screen's pattern needs no design task.
  • Size: ~400 changed lines including tests is where a reviewer still sees the whole diff inside the 24,000-byte cut (review-reads-whole-diff) — a comfortable size, not a reason to split a feature that lands above it. Over ~1,000 is a split: into two or three vertical slices that each work on their own, never into steps. Keep refactors in their own task, separate from feature work.
  • Shared files serialize: two tasks in one repository that both add a migration (sequence numbers collide), or edit the same router table, locale bundle, DI container, INVENTORY.md or OpenAPI file, are chained with blocked_by rather than left to collide at review time.

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.

  • title: action-object format ("Add task export endpoint", not "Export work").
  • repository: required — name from list_repositories. Left out, the task falls back to the active
Полный SKILL.md на GitHub

Установить task-decomposition в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл task-decomposition?

Use when an analiz task arrives in done (approved) - turn the approved split into implementation tasks with repository, AC, derived_from and ordering arguments

Как установить скилл task-decomposition?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл task-decomposition запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить task-decomposition с