/epic-workflow:discover <description of what to build or what's changing>from epic-workflow
Guides a structured discovery interview to produce product-vision.md and concept-of-operations.md for greenfield or brownfield projects.
Ships in epic-workflow. 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.
None: SKILL.md is the whole skill.
You are conducting an adaptive discovery interview to produce (or refine) the project's product vision and concept of operations documents.
The user's request: $ARGUMENTS
Before any other action: check whether docs/implementation-plan/index.md contains a legacy status table header — a line matching | Phase | Epic | with a | Status | column present in the file. If the legacy header is found, stop immediately and print:
This project uses the pre-v2.5.0 implementation-plan layout. Run
/epic-workflow:migrate-2.5once to upgrade to the new layout (per-phase indexes + status sidecars), then retry your command.
Do not attempt the skill's normal flow on a legacy layout.
Follow these steps exactly:
docs/product-vision-planning/product-vision.md. Check whether it exists and has substantive content (a ## 2. Problem Statement section with at least one paragraph of real content — not a placeholder).docs/product-vision-planning/concept-of-operations.md. Check whether it exists and has substantive content.docs/implementation-plan/status/epic-*.md. A project with no status/ directory or no sidecar files has no completed epics. To check completion counts, run: grep -rl 'status: Complete\|status: Implemented' docs/implementation-plan/status/ 2>/dev/null | wc -lGreenfield = product-vision.md does not exist, has no Problem Statement content, or is a skeleton/placeholder. Proceed to Step 2A.
Brownfield = product-vision.md has substantive content AND at least one epic is complete. Proceed to Step 2B.
Report the detection result to the user before continuing:
Mode: [Greenfield / Brownfield]
Reason: [1-2 sentences explaining what was found]
Conduct an adaptive interview in 4 phases. Each phase follows this protocol:
For each phase:
$ARGUMENTS, any prior conversation context, and common patterns for the project type.Produce draft content for Product Vision sections 1–4:
Produce draft content for Product Vision sections 5–7:
This is the heart of the discovery. Produce draft content for Product Vision section 8 and ConOps sections 2–6:
### Scenario N: [Title]
**Actor:** [Role]
**Trigger:** [What initiates the scenario]
**Goal:** [What the actor wants to achieve]
**Steps:**
1. [Concrete step with specific UI elements named]
2. [...]
**Outcome:** [What the actor walks away with]
Each scenario should have 4–12 steps that are specific enough to derive acceptance criteria from. Name UI elements, data fields, and user actions explicitly.Produce draft content for Product Vision sections 9–11 and ConOps sections 7–9:
docs/product-vision-planning/product-vision.md and docs/product-vision-planning/concept-of-operations.md in full.docs/implementation-plan/phase-*/index.md) and spot-check sidecars in docs/implementation-plan/status/ to understand what phases and epics have been planned and built.docs/architecture.md and docs/design-notes.md for current system context.Present a summary to the user:
## Current State
- Product Vision: [version, date, key scope items]
- ConOps: [number of scenarios, key features covered]
- Implementation: [N of M epics complete]
## What's New?
Based on your description, here's what I think has changed or needs to be added:
- [List of deltas inferred from the user's $ARGUMENTS]
Then conduct a focused interview covering ONLY what is new or changed. Use the same adaptive protocol (draft → react → iterate → gate) but skip sections that don't need updates.
For each existing section that needs changes, show the current content alongside the proposed update so the user can see exactly what's changing.
After all phases are complete, write the documents.
docs/product-vision-planning/docs/product-vision-planning/product-vision.md following this exact structure:# [Product Name] — Product Vision & Brief
**Document Version:** 1.0
**Date:** [today's date]
**Status:** Draft
---
## 1. Product Name
## 2. Problem Statement
## 3. Target Users
## 4. Vision Statement
## 5. Goals & Success Criteria (MVP)
## 6. MVP Scope Summary
## 7. Out of Scope for MVP
## 8. Key Business Scenarios
## 9. Design Direction
## 10. Data Strategy
## 11. Backlog / Future Vision
docs/product-vision-planning/concept-of-operations.md following this exact structure:# [Product Name] — Concept of Operations (ConOps)
**Document Version:** 1.0
**Date:** [today's date]
**Status:** Draft
---
## 1. Purpose & Scope
## 2. Current State ("As-Is")
## 3. Proposed System ("To-Be")
## 4. User Roles & Profiles
## 5. Operational Scenarios
## 6. System Interfaces & Data Flows
## 7. Functional Summary
## 8. Operational Constraints & Assumptions
## 9. Glossary
Update docs/product-vision-planning/product-vision.md in place — increment the document version, update the date, and modify only the sections that changed.
Update docs/product-vision-planning/concept-of-operations.md in place — same approach.
Write docs/product-vision-planning/changelogs/discovery-changelog-{TIMESTAMP}.md with content. {TIMESTAMP} is a second-granularity UTC timestamp — second granularity is required because parallel discovery sessions on different machines may produce changelogs within the same minute, and day-granularity would collide. Generate it with:
date -u +%Y-%m-%d-%H%M%S
Example filename: discovery-changelog-2026-04-23-174205.md. Do not substitute local time — UTC keeps filenames sortable and unambiguous across timezones.
# Discovery Changelog
**Date:** [today's date]
**Mode:** Brownfield (post-MVP ideation)
**Previous Version:** [version from existing docs]
## What Changed
| Document | Section | Change Type | Summary |
|----------|---------|-------------|---------|
| product-vision.md | [section] | [Added / Modified / Removed] | [1-line summary] |
| concept-of-operations.md | [section] | [Added / Modified / Removed] | [1-line summary] |
## New Capabilities Identified
[Bulleted list of new capabilities that emerged from this discovery, each with a brief description. These are the inputs for `/epic-workflow:plan-project`.]
## Priority Signal
[Capture the user's stated priorities — what's most important, what's nice-to-have, what's deferred. This guides epic ordering in `/epic-workflow:plan-project`.]
## Deferred Items
[Items discussed but explicitly pushed to a future cycle.]
Before presenting the final documents to the user, verify:
Show the user what was created:
## Discovery Complete
### Documents Written
- `docs/product-vision-planning/product-vision.md` — [Created / Updated to v{N}]
- `docs/product-vision-planning/concept-of-operations.md` — [Created / Updated to v{N}]
[Brownfield only:] - `docs/product-vision-planning/changelogs/discovery-changelog-{TIMESTAMP}.md` — Delta summary for implementation planning
### By the Numbers
- [N] target user groups identified
- [N] MVP goals with success criteria
- [N] operational scenarios with [total] detailed steps
- [N] out-of-scope items explicitly deferred
- [N] glossary terms defined
### Next Step
Run `/epic-workflow:plan-project` to derive the implementation plan from these documents.
Do NOT commit — leave that for the user to decide.
What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/addAdds new epic(s) to the implementation plan from natural language description.
Use when the user wants to add a single epic or small batch without re-running full planning.
Triggers on: "add epic", "new epic", "create epic", "I need to add more work",
"there's a new feature we need", "can we squeeze in", "add a feature",
"another thing we need to build".
/migrate-2.5One-shot migration from the pre-v2.5.0 implementation-plan layout (single index.md with
status table) to the v2.5.0 layout (per-phase index files + per-epic status sidecars).
Run once per project after upgrading to epic-workflow v2.5.0.
Triggers on: "migrate to 2.5", "upgrade implementation plan", "split index",
explicit /epic-workflow:migrate-2.5.
/pausePauses current epic implementation and saves progress to a handoff file.
Use when stopping mid-epic before the session ends.
Triggers on: "pause epic", "stop epic", "save progress",
"I need to stop for today", "save my progress", "I'm done for now",
"let's pick this up later".
Note: If the user says "I'm done with epic N", check whether they mean pause (stopping mid-work) or wrapup (finished implementation). If all acceptance criteria are checked, suggest /epic-workflow:wrapup instead.
/plan-projectDerives implementation plan (phases, epics, specs) from vision and ConOps documents.
Use after /epic-workflow:discover or when the user wants to create an implementation plan from existing vision docs.
Triggers on: "plan project", "create epics", "implementation plan", "derive epics",
"break this into epics", "how should we phase this", "turn this into a plan",
"organize work into phases", "what's the build order".
/quick-fixLightweight path for trivial items — bugs, copy changes, small enhancements (~2 hours or less).
Creates a `hotfix/` branch, plans and implements the fix with applicable quality gates, and
ships via prompted solo mode (local merge) or team mode (push + `gh pr create`).
Quick-fixes are commit-level records — they do NOT get epic IDs, do NOT update
`implementation-plan/index.md`, and do NOT write epic handoff files.
Use when `/epic-workflow:triage` returned TRIVIAL, or when you know the request is too small
to justify a full epic spec.
Triggers on: "quick fix", "hotfix", "small fix", "trivial bug", "one-liner", "small tweak".
/refresh-docsRefreshes architecture.md and design-notes.md to match the as-built codebase by reading source files and session handoffs.
Use after completing a phase or before a release.
Triggers on: "refresh docs", "update architecture", "sync documentation", "docs are stale",
"docs are out of date", "architecture doesn't match code", "before the release",
"documentation is stale".
npx claudepluginhub peakflames/claude-plugins-peakflames --plugin epic-workflowOther plugins' skills for the same job