Skill v1.0.0
currentLLM-judged scan95/100name: prepare-epic version: 1.0.0 description: >- Fills preparing-phase sections of epic card.md from implementation strategy and repo context. Use when exiting preparing or when preparing placeholders remain in card.md. outputs:
- card.md with preparing sections complete per epic.template.md
allowed-tools:
- read
- write
- edit
- bash
forbids:
- git commit
- git push
Prepare Epic
Philosophy: The epic card is the delivery contract. Preparing captures epic intent and repo truth — not the story breakdown. Leave planning placeholders untouched.
Shared rules: _shared/harness.md.
Inputs
| Input | Required | Notes | |
|---|---|---|---|
| Card ID | yes | e.g. epics-000001 | |
| Title | yes | From state.json (often Exx — … format) |
Procedure
- Resolve —
state.jsonandcard.mdmust exist; readtitlefrom
state.json.
- Context — Read implementation-strategy.md
§2 for the matching epic (scope, exit criteria, releasable outcome). Read docs/specs/README.md ownership matrix. Skim docs/architecture.md and impacted specs; search the repo for what already exists vs what the epic delivers.
- Idempotent — If preparing content already satisfies the
Sections table, make no edits and exit 0.
- Write `card.md` — Start from
epic.template.md. Fill preparing sections only. Preserve good user edits unless the title clearly overrides. Leave _To be completed in planning._ and Story Breakdown / Sequencing untouched.
Sections
| Section | Content | |
|---|---|---|
# {title} | Matches state.json title | |
| Lead paragraph | "As a … I want … so that …" for the epic outcome | |
| Purpose | Why the epic exists; releasable outcome from implementation strategy | |
| Current State | Factual as-is; cite paths; ≥40 chars | |
| Acceptance Criteria | 3–10 items from epic exit criteria; N. [ ], testable | |
| Spec References | ≥1 unchecked - [ ] \path\ — section from ownership matrix | |
| Related Epics | Upstream/downstream links or _None._ | |
| Notes | Open questions, assumptions (no Planning decisions yet) |
All Acceptance Criteria and Spec References stay unchecked at this phase.
Anti-patterns
| DO NOT | DO INSTEAD | |
|---|---|---|
| Write Story Breakdown or Sequencing | Leave for plan-epic | |
| Create story cards on the stories board | Leave for plan-epic | |
Check [x] on ACs or Spec References | Unchecked drafts only | |
Modify state.json or run git commit | Harness owns these | |
find / search for the card by id | Open DEVFLOW_CARD_MD directly |
Before exiting
- [ ] Title matches
state.json - [ ] Purpose and Current State cite real paths and strategy §2
- [ ] Acceptance Criteria trace to epic exit criteria
- [ ] Story Breakdown and Sequencing still placeholders
Out of scope
state.json— owned by Devflow- Story Breakdown, Sequencing, Planning decisions — plan-epic
- Verification summary — finish-epic
- Creating or advancing child story cards