wakeflow-design
Use when a Wakeflow Design window needs to clarify a requirement, compare options, prepare or revise a requirement design, propose vertical work slices, or…
Use when a Wakeflow product target is about to implement or rework its assigned task package.
$ npx -y skills add GxFn/Wakeflow --skill wakeflow-target-craft --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/wakeflow-target-craftContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when a Wakeflow product target is about to implement or rework its assigned task package.
name: wakeflow-target-craft description: Use when a Wakeflow product target is about to implement or rework its assigned task package.
Load this alongside `wakeflow-target`. `wakeflow-target` governs the immutable dispatch packet, window boundaries, strict `TargetResult` recording, and return transport — the "how do I interact with the state machine". THIS skill governs the "how do I write the code well" so acceptance passes on the first pass instead of looping through rework.
The target must leave structured, reproducible REVIEW INPUTS, not a "looks done" claim. Wakeflow can check that required kinds and mappings exist and that exact declared ref/digest tuples are linked; it cannot establish that the referenced contents are true. Every craft practice below exists to give the controller something concrete to inspect and independently rerun before acceptance. Craft prepares an honest review; it does not earn acceptance by itself.
**NO IMPLEMENTATION UNTIL EVERY AUTHORED `acceptanceAnchor` HAS A PLANNED RED TEST OR PROBE; NO COMPLETED RESULT UNTIL EVERY ANCHOR MAPS TO EXACT EVIDENCE REFS.** Violating the letter of this rule is violating its spirit.
`completionExpectations`, `acceptanceAnchors`, and advisory `designIntent` before planning code.
GREEN`. Use the exact confirmed claim; do not widen it.
missing facts, return `needs-review`. Never invent a replacement goal.
return `needs-review`. Non-implementation packages (including research, documentation, and Test work) and read-only legacy compatibility packages may legitimately omit them; never create requirement authority yourself.
`reviewInputContract`. In that case use only the evidence and result-shape guidance here; the packet's `testContract.executionContract` and the target Skill's Test Alignment Gate stay authoritative, and the product implementation practices below do not widen Test's assignment.
Your window receives one immutable TaskPackage for one target task. Its objective may require several implementation steps, but those steps are not separate machine-owned package items. Before touching code, write a short ordered plan: step order, the files each step touches, how each step will be verified, and the acceptance-anchor plan when present. Then execute one step at a time — verify it before starting the next; do not interleave half-done work.
TaskPackage, and the immutable dispatch packet instead of reconstructing intent from memory.
Run the relevant test suite (and typecheck/lint if cheap) BEFORE your first change, and record the outcome. If the baseline is already red, report it — do not silently adopt pre-existing failures as yours, and never "fix" them outside your declared scope without backfilling a blocker or observation.
your failures from inherited ones unless you pinned the starting state.
Before writing implementation for a behavior, write a test that expresses it and watch it FAIL for the right reason. Then write the minimum code to make it pass and watch it GREEN.
probe or a demonstrably equivalent public seam. Report the mapping by anchor id; a general green suite does not prove an unmapped anchor.
through the real entrypoint named by the task package and capture the RED. Once implementation starts, do not weaken or change that test's entrypoint or behavioral meaning to fit the patch; make the same test GREEN. Do not mock the fact-producing boundary that the task package asks you to verify.
code may validate or forward that fact, but must not invent it through a fallback, silently drop unknown fields, or parse human-readable messages into structured truth. If the real RED or root cause cannot be established, return `needs-review` instead of editing by guess.
the same behavior failed before the implementation and passed afterward. When the package says `commitExpectation=commit` and repository policy permits, separate commits may prove that order. For `leave-uncommitted`, preserve it through test output, logs, or evidence files instead of creating commits against the package policy.
code already does, not what the requirement needs. Test-first pins the requirement.
tests then a single big GREEN.
Do not guess-and-patch. Build a feedback loop first:
1. Reproduce the exact reported behavior as a check you can run on demand. 2. Form ranked, falsifiable hypotheses. 3. Probe ONE variable at a time until the root cause is established, not assumed. 4. Fix the cause, then add a regression test that fails before and passes after.
A disciplined control loop for multi-window agent work — every step traced, every result reviewable.
Repo: GxFn/Wakeflow
Use when a Wakeflow Design window needs to clarify a requirement, compare options, prepare or revise a requirement design, propose vertical work slices, or…
Use when a Wakeflow Test window receives a controller-approved implementation-validation task or a controller-scoped Test-only reproduction or…
Use when Wakeflow total control starts or resumes Wakeflow Delivery Loop in Claude Code, reviews strict TargetResult records, prepares typed delivery…
Use when working inside Wakeflow on workspace initialization / setup, CLAUDE.md / skill layering, TODO / Backlog intake, Design handoff intake, idle-window…
Use when a target Claude Code window receives an exact Wakeflow v3 delivery, executes only its assigned TaskPackage, records a transport-bound TargetResult, or…