break-tasks
БесплатноБез исполняемых скриптовНе проверенUse to break a designed feature into atomic, ≤1-day tasks with a dependency graph, a per-task Definition of Done, and a machine-readable tasks.json that the…
от genkovich★ 17 звёзд на GitHubОб этом скилле
Skill: break-tasks (SDLC stage 13)
Task-breakdown generator: atomic tasks ≤1 day, each a separately reviewable change (≤~500 LOC preferred), with a visible dependency graph and a Definition of Done per task. One task = one focused Claude session = one PR. "Build the feature" is not a task — break it down.
Task files link to upstream artefacts (PRD.md §AC-N, sad.md §6 UC-N, data-model.md, contracts/openapi.yaml, adr/NNNN-*.md) — they do not duplicate them. Alongside the human-facing markdown, this skill emits tasks.json, the contract the implement-tasks engine reads to build its dependency DAG.
This is the stage 13 runner and the keystone that closes the cycle: the markdown is for humans, the tasks.json is the machine handoff to implement-tasks.
Owner
Tech Lead.
When to use
- "task breakdown for
", "break down tasks for ", "sprint plan for ", "run stage 13". - User has PRD + sad.md + Accepted ADRs and is about to start implementation (or create tickets in Jira / Linear / Issues).
/sdlc:break-tasks <slug>as explicit invocation.- Skip if the task-breakdown already exists and
implement-tasksis mid-run.
Inputs
<slug>— feature slug.- Gate (hard refuse):
docs/features/<slug>/PRD.md+docs/features/<slug>/sad.md+ ≥1 Accepted ADR inadr/. Missing → STOP and point at the producing skill (write-prd/architecture-design/decide-adr). - Read directly (not via an index): PRD §5 AC + §6 NFR, sad §5 module boundaries + §6 runtime + §9 ADR index, each Accepted ADR, and — if present —
data-model.mdandcontracts/openapi.yaml.
Protocol
- Prereq check (hard).
test -f docs/features/<slug>/PRD.md && test -f docs/features/<slug>/sad.md && ls docs/features/<slug>/adr/*.md→ exit ≠ 0 = refuse with the missing artefact named. - Read upstream directly. PRD §5 AC + §6 NFR (what to deliver), sad.md §5 module boundaries (task scope) + §6 runtime flows + §9 ADR index, each Accepted ADR (constraints), data-model.md (invariants if DB), openapi.yaml (contract). No intermediate index — each task links back to the section it derives from.
- Scaffold output.
mkdir -p docs/features/<slug>/tasks/→ createtasks/_epic.md(summary + links + the DAGflowchart),tasks/tracker.md(status table), onetasks/<task-slug>.mdper task. Templates →./templates/_epic.md,./templates/tracker.md,./templates/task.md. Validate the_epic.mdflowchartper../_shared/mermaid-check.md(render-parse withmmdcif available, else the structural lint; fix before committing). - Identify work-items by layer. Generic, stack-agnostic layers:
migration(DB) ·domain(entities/invariants) ·infra(repo/persistence) ·app(service/use-case) ·ports(handler/API) ·ui(UI components / screens / view-state — only when a UI surface is declared) ·tests·wiring(composition/DI) ·docs.sad.mdfrontmattertarget_surfacesgates which layers appear (→../_shared/surfaces.md): aweb-frontend/mobile-app/desktop-appsurface addsuitasks; a backend-only feature emits domain/infra/app/ports (noui); aclifeature app/ports; aworkerdomain/infra. Eachuitask names the existing components / tokens / styling it reuses (fromarchitecture-map.md§Frontend) — a new component is listed only when no existing primitive fits. List 8–20 items by size (see../_shared/size-matrix.md). - Atomic check. Each task ≤1 working day. More → split. A change >~500 LOC is a smell that the task is too wide.
- Dependency graph. For each task,
deps: [...]. Identify parallel branches (e.g. the migration and a pure-domain task can start together). This graph IS the DAGimplement-taskswill topologically sort into phases. - Per-task DoD. Each task is testable: «unit tests for the new validation pass», «migration applies and reverts cleanly», «handler returns the PRD'd outcome for AC-03». No subjective «done when I say so».
- AC refs + files hint. Each task lists the
acsit satisfies (PRD §5 IDs) and afiles_hint— the directories/files it will touch.files_hintletsimplement-tasksserialize tasks whose file sets overlap, andlayer: migrationis always serialized (ordered migration sequence);layer: uiis not auto-serialized — UI tasks parallelize unless theirfiles_hintoverlaps. A migration task'sfiles_hintis the staged pairdocs/features/<slug>/migrations/<NN>_*(whichimplement-taskspromotes into the livemigrations/when it runs the task) — not a livemigrations/path. - Estimate + owner. S/M/L or hours; a named owner (or
<TBD lead>). Adapt to the team's sizing if any (S = 2h, M = half-day, L = day, otherwise split). - Emit
tasks.json(step contract below) —
Установить break-tasks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл break-tasks?
Use to break a designed feature into atomic, ≤1-day tasks with a dependency graph, a per-task Definition of Done, and a machine-readable tasks.json that the implement-tasks engine consumes. Triggers on "task breakdown for {slug}", "break down tasks for {slug}", "tasks for {slug}", "plan the work for {slug}", "sprint plan for {feature}", "stage 13 for {slug}", "/sdlc:break-tasks {slug}". Reads PRD.md + sad.md + Accepted ADRs (+ data-model + openapi if present), writes docs/features/{slug}/tasks/{_epic,tracker,<task>}.md AND docs/features/{slug}/tasks/tasks.json. Tracker export to any issue tracker is optional and tool-neutral. Hard-refuses if PRD.md or sad.md or an Accepted ADR is missing. Stories LINK to upstream artefacts (PRD AC §, SAD §6, data-model, openapi), they do not duplicate them.
Как установить скилл break-tasks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл break-tasks запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic