/trace:epicfrom trace
Interviews you about a multi-phase feature, then writes an epic document with core user stories, architecture diagrams, and spec-sized tickets under ~/.claude/epics/. Also manages the board as work lands.
Ships in trace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use Claude Code’s Read, Glob, Write, and Edit tools for file operations. Use AskUserQuestion for closed choices and normal chat for open questions. Invoke referenced skills with the Skill tool. Resolve script paths from this installed skill; respect the session’s permissions.
You are running the epic path of TRACE: work too large for one spec plan. An epic captures the shared intent once — core user stories and architecture-level diagrams — and decomposes it into tickets, each sized for one future /trace:spec run. The epic carries the context so the later spec plans stay short.
Epics are the developer's personal work-staging, not repo artifacts. They live in ~/.claude/epics/<epic-slug>/ (resolve ~ to the developer's home directory) and are never committed. Templates: epic-template.md and ticket-template.md.
Glob ~/.claude/epics/*/epic.md.
Interview about architecture and phasing, not implementation. One question at a time, each with your recommended answer; answer from the codebase first and only ask what the repo can't settle. Don't draft until you understand:
depends_onTicket sizing: one ticket = one future /trace:spec run — a short deliverable statable in a sentence or two. A phase that can't be stated that tightly gets split.
Draft the complete epic — epic.md per epic-template.md (context, core user stories, architecture diagrams, board table) and every ticket per ticket-template.md. A ticket's Scope section is the spec seed: self-contained text a /trace:spec run can start from without reading the epic — the deliverable, not acceptance criteria; those belong to the spec run.
Read example-epic.md before you draft — it sets the target length and tone — and re-check the draft against it before you stage it.
Stage the draft for browser review instead of dumping it in chat:
~/.claude/epics/.preview/<epic-slug>/ with the same epic.md + tickets/ layout as a real epic.node "${CLAUDE_SKILL_DIR}/../../scripts/viewer-open.js" epic "<absolute-home>/.claude/epics/.preview/<epic-slug>/epic.md". In chat, give the title, ticket count, and returned viewer URL — the browser shows the full draft.~/.claude/epics/<epic-slug>/epic.md and tickets/<NNN>-<slug>.md (three-digit numbers from 001, kebab-case slugs), delete the preview staging with node -e "require('fs').rmSync('<absolute-home>/.claude/epics/.preview/<epic-slug>', { recursive: true, force: true })", then open the real board: node "${CLAUDE_SKILL_DIR}/../../scripts/viewer-open.js" epic "<absolute-home>/.claude/epics/<epic-slug>/epic.md".The command reports its URL or a diagnostic. If the viewer is disabled or cannot open, show the complete draft in chat before asking. If preview writes need permission, use the host’s normal permission flow; do not claim the files exist before writing them.
Read every ticket's frontmatter and render the board: number, title, status, dependencies. Then offer, via the question control:
todo / in-progress / done/trace:spec: a line naming the epic title, a Ticket file: line with the ticket's absolute path, then the ticket body. The viewer's copy seed button emits the same text.After any change, rewrite the affected ticket frontmatter and regenerate epic.md's board table. Ticket frontmatter is authoritative; the board table is a view of it.
When the board session ends, open the updated board in the browser with the same command as Phase 3: node "${CLAUDE_SKILL_DIR}/../../scripts/viewer-open.js" epic "<absolute-home>/.claude/epics/<epic-slug>/epic.md".
todo | in-progress | done./trace:spec on it, not to grow the ticket.When to use: When planned work spans multiple phases or deliverables — the developer says "this spans several phases", "break this into tickets", "this is really an epic", or describes a feature too large for one plan. Also for returning to an existing epic — board review, status updates, adding or splitting tickets. Not for a single feature with one deliverable, however large — that goes through /trace:spec. Not triggered by wrap-up signals ("done", "ship it") — those belong to /trace:distil.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub axakon/trace --plugin trace11 skills in this plugin
/adrRecord an architecture decision as a lightweight, immutable ADR in the scope's docs folder. Owns the ADR template, numbering, and write. Invokable directly for a direct-path decision, or by /trace:spec at handoff./agents-md-setupSet up or review the project's AGENTS.md through an interactive interview with the developer/commit-messageDraft a single commit's message — imperative-mood title plus a short why body, optional decision bullets, plain text (no markdown). Use when the developer explicitly asks for a commit message, asks to fix a message before amending, or asks the agent to perform the commit on their behalf./context-graphMeasure context weight per directory: AGENTS.md chains, @ imports, gotchas, on-demand docs./distilEvaluate recent changes and propose updates to the project's permanent context (AGENTS.md or the scope's docs folder) when something durable was learned/doctorValidate a TRACE-adopted scope against TRACE's own conventions — doc structure, marker pairs, AGENTS.md spec, ADR numbering and immutability, working-note banners, relative links — then guide the fixes. Owns the resolution flow for ADR number collisions left by merged branches. Useful after merges, before releases, or whenever the structure feels off.