Convert understood, authorized goals in a feature brief into small implementation specs and a verification-scoped queue while preserving unresolved decisions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Joycraft Decompose?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/maksutovic-joycraft-decompose)
---
name: joycraft-decompose
description: Convert understood, authorized goals in a feature brief into small implementation specs and a verification-scoped queue while preserving unresolved decisions.
---
Read the brief, relevant existing context and current decision states. Preserve
all requested goals, including repairs mixed with new behavior. Resolve factual
questions from code before asking the user. Missing or malformed decision states
block affected commitment; do not turn silence or a rendered example into consent.
Follow `.joycraft/references/workflow.md#commitment-and-queue`. Commit
only understood authorized scope. An open material decision blocks dependent
production specs, while disjoint work can enter the queue and proceed. Assigned
decisions need an answer or explicit permission to proceed around the uncertainty.
Backlogged/discarded work stays out of current scope. Do not introduce another
decision status or ask for approval again when the session already supplies it.
Use `.joycraft/templates/spec.md` and `queue.json` as small starting
points. Keep each spec independently testable and put requirement text in stable
brief/spec anchors. Each queued criterion points to its source and declares the
needed runtime, visual or structural evidence. Write each criterion so the
package's recorded review tools (the `Review loop` section of `AGENTS.md`) can
check it within their `canShow`. A main claim those tools cannot show at all
goes back to the brief as a tooling-change question, asked once in the
interview and recorded; it does not enter the queue. A check that only a deployed
environment can show is not a criterion; list it under the spec's "Deferred until
deploy" section instead. Include the brief, spec and exact
relevant code, test/configuration and fixture paths as verification inputs,
updated as implementation reveals more. Each `Check:` names the spec's own test
file or filter, never the project gate or full suite. Each input `kind` is one
of four words: `requirement` (brief, spec), `code`, `check` (test,
configuration) or `fixture`. Write each spec's
`## Test changes` section ([test changes](../../../.joycraft/references/testing-review.md#test-changes));
when a brief's "no weakened tests" contradicts the feature, ask once.
Declare a deletion only as an explicit
non-requirement input with `state: 'absent'`; a rename needs the old absent input
and the new present one. Change scope is opt-in:
add `verification.changeScope` only when a spec needs a scope check, with an
explicit full base SHA recorded before implementation. Give any unrelated changed
path a narrow path-and-reason exclusion; do not turn a broad branch or directory
into an exclusion.
If parallel specs allocate a shared namespace, such as numbered migrations,
reserve their concrete paths through the project's owning allocator before
dispatch. Include those paths and coupled inputs in ownership planning; a
shared resource or invariant is not independent merely because outputs differ.
When independent specs may mutate a project concurrently, make their ownership
and integration seams explicit so the coordinator can schedule them in separate
worker trees. Set `execution: { "parallel": true }` on each spec in that
independent wave; omit it for legacy serial behavior. Read [worker
isolation](../../../.joycraft/references/worktrees.md) for the
conditional execution detail.
For a change that crosses an unclear state, data, or responsibility seam, name
the owning source and actual counterpart sources in the spec and reviewer
inputs. Add one discriminating observable scenario that would expose a mismatch
between the intended behavior and the coupled path. Use
`.joycraft/references/architecture.md` for the conditional discovery
check; omit this detail for a simple local edit. It does not replace the brief as
the authority for product behavior.
Before handing the queue on, run
`node .joycraft/runtime/queue-check.mjs --queue <queue>` and act on each gap it
names. Then check what it cannot; a failing spec goes back to the brief as an
open decision: open-input rules name their check set, costlier error and
threshold; no criterion depends on an unbuilt spec; runtime and visual criteria
carry their environment recipe or are deferred; settled rulings are quoted with
their ID. Check coverage against the original request and
resolved answers, not just the spec list. Retain visible pending choices and dependencies. Pass the ready queue
to `joycraft-implement`, which continues authorized work without per-spec approval.
For native execution, hand off raw sources and the selected queue/spec to the
host. The host launches a child, and that child bootstraps then starts its own
implementer dispatch with its actual native identity before task edits. Do not
have the coordinator pre-bind a child using the coordinator's identity.
Worker finish is `in-review`; only independent current evidence through the
completion helper can make it `done`. Decomposition cannot certify completion.
Dependent waves wait for `done`, including any explicit owner-acceptance limits;
an implementation merge is not the dependency boundary.