deft-directive-decompose
БесплатноБез исполняемых скриптовНе проверенConvert approved specification/phase/epic scope xBRIEFs into swarm-ready story xBRIEFs before concurrent agent allocation.
от deftai★ 32 звезды на GitHubОб этом скилле
Deft Directive Decompose
Use this skill when a specification, Phase 4 implementation scope, or epic xBRIEF is too broad for direct concurrent swarm work and must be decomposed into story-level xBRIEFs.
Legend (from RFC2119): !=MUST, ~=SHOULD, ≉=SHOULD NOT, ⊗=MUST NOT, ?=MAY.
See also: strategies/speckit.md Phase 4.5 | vbrief/vbrief.md Swarm-Ready Story Contract | deft-directive-swarm
Purpose
Convert approved specification/phase/epic scope xBRIEFs into swarm-ready child story xBRIEFs. Story xBRIEFs are the only valid input for concurrent swarm worker allocation.
Phase 0: Inspect
- ! Read
xbrief/specification.xbrief.jsonand relevant scope xBRIEFs fromxbrief/proposed/,xbrief/pending/, andxbrief/active/. - ! Identify broad scopes with
plan.metadata.kind = "phase"or"epic"or scopes with broadplan.narratives.Acceptanceand emptyplan.items. - ! Preserve parent acceptance as context; do not treat it as executable story acceptance.
- ! Treat parent
plan.itemsas input signals only; they are not automatically child stories. - ! Inspect relevant codebase paths before drafting file scope so stories reflect real product/code boundaries, not only parent scope prose.
- ! Identify requirement traces, likely file scope, verification commands, outputs/evidence, dependencies, and conflict groups.
- ⊗ Allocate a broad phase/epic scope to concurrent workers during this skill.
Phase 1: Draft
- ! Draft a decomposition JSON proposal with child stories only; do not write child xBRIEFs yet.
- ! Treat the draft JSON as a temporary proposal artifact, not a xBRIEF.
- ! Write draft proposals under
xbrief/.triage-cache/decompositions/, using a parent-derived slug such asxbrief/.triage-cache/decompositions/ip001-auth.json. - ! Derive
<parent-slug>from the parent xBRIEF filename by removing.xbrief.jsonand any leadingYYYY-MM-DD-date prefix; for example,xbrief/pending/2026-05-12-ip001-auth.xbrief.jsonusesip001-auth, whilexbrief/pending/feature-xyz.xbrief.jsonusesfeature-xyz. - ⊗ Agents MUST NOT leave decomposition draft JSON files at the workspace root.
- ! Each story MUST include
id,title,Description,ImplementationPlan,UserStory, executableitemsoracceptance,tracesor explicit trace justification,swarm.file_scope,swarm.verify_commands,swarm.expected_outputs,swarm.depends_on,swarm.conflict_group,swarm.size,swarm.file_scope_confidence, andswarm.model_tier. - !
DescriptionMUST provide at least two concrete sentences explaining the user/product behavior, boundaries, and why this story is independently buildable. - !
ImplementationPlanMUST provide at least two concrete implementation steps that identify the expected code path, state/data changes, and test/evidence approach. - !
UserStoryMUST use the exact product-story shapeAs a <role>, I want <capability>, so that <outcome>.. - ! Each ready story MUST have 2-5 concrete acceptance criteria unless
swarm.acceptance_criteria_justificationexplains the exception. - ! Acceptance criteria MUST be observable behavior, preferably Given/When/Then or equivalent testable product behavior.
- ⊗ Mark a story ready when acceptance says only "to refine from parent scope", duplicates the title/description, is placeholder text, or is vague docs-only acceptance.
- ⊗ Mark a story ready with broad write scope such as
backend/**,frontend/**,docs/**,xbrief/**, or any other directory glob. - ⊗ Mark a story ready when verification is only generic validation such as
task check. - ⊗ Mark a story ready with
parallel_safe: falseorfile_scope_confidence: low; usereadiness: sequentialorreadiness: needs_refinementinstead. - ! Model dependencies as story IDs and ensure they form a DAG.
- ~ Draft sequential-safe or low-confidence work as
readiness: sequentialorreadiness: needs_refinement; it is not eligible for concurrent allocation. - ⊗ Use deprecated
subItemsin newly drafted story items; useitems.
Phase 2: Approval
- ! Present the decomposition draft to the user before writing files.
- ! Ask for explicit approval to apply the draft.
- ! If the user requests changes, revise the draft and re-present it.
- ! After explicit approval, run
task scope:decompose ... --check, then apply without--check. - ? Run
task scope:decompose ... --checkbefore explicit approval only to validate a draft without writing files. - ⊗ Apply
task scope:decomposewithout--checkbefore explicit approval.
Phase 3: Apply
- ! V
Установить deft-directive-decompose в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл deft-directive-decompose?
Convert approved specification/phase/epic scope xBRIEFs into swarm-ready story xBRIEFs before concurrent agent allocation.
Как установить скилл deft-directive-decompose?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deft-directive-decompose запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic