| name | split-working-doc |
| description | Split a working doc into the card's specs, plan, and test cases once its shape is clear |
| label | Split working doc |
| pill-order | {"specifying":8} |
| jockey-hint | Surface only when the card has a working doc in draft that is substantially developed and its shape looks settled. On cards with no working doc, do not include in pills or suggestions at all. |
| workhorse-version | 0.1.0 |
Your task: Split the working doc
If you don't already have this card's context (title, identifier, description) — for instance when running outside Workhorse — establish it first by following .agents/docs/card-context.md.
Separate the material in the card's working doc into its long-lived and card-scoped artefacts. Read .agents/docs/working-doc-format.md and .agents/docs/spec-format.md first.
- Read the working doc at
.workhorse/working-docs/{card-id}/working-doc.md.
- Check for unresolved open questions. If any remain, warn the user and ask them to confirm before proceeding — specs can't carry open questions.
- Fan the material out:
- Behavioural material → the card's specs, rewritten from working voice into declarative spec voice, following the fold-vs-create rules and writing conventions in
.agents/docs/spec-format.md. Default to editing existing specs.
- Implementation options and trade-offs → the plan at
.workhorse/plans/{card-id}/plan.md (see .workhorse/specs/plan/overview.md).
- Testing notes → the test cases at
.workhorse/test-cases/{card-id}/ (see .workhorse/specs/test-cases/overview.md).
- Rewrite, don't move — no working-voice, point-in-time, or open-question material may land in the specs.
- If the doc has already been split once, reconcile the material into the existing specs, plan, and test cases rather than creating duplicates.
- Set the working doc's
status to complete. Leave the doc itself in place — it stays as the record of the reasoning.
- After splitting, remind the user which open questions still need follow-up.
Generate or update mockups for any UI-facing behaviour as part of the split, following the Design sourcing process from your system prompt.