/tsh-product-management:extracting-epics-and-storiesfrom TSH Product Management
Transforms workshop materials into a structured business backlog: intent brief, epics with delivery contracts, and user stories with GIVEN/WHEN/THEN acceptance criteria. Use after discovery, before Jira.
Ships in TSH Product Management. 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.
Identifies discrete pieces of work from discovery material and structures them for stakeholder review and eventual Jira creation. The output is a backlog, not a technical specification.
An approved intent-brief.md outranks the raw materials: once the user has agreed
the scope at Gate 0, do not quietly extract beyond it. A project baseline at
specifications/projects/<project-name>/task-baseline.md outranks fresh
interpretation where the two overlap.
No technical architecture or implementation detail, no QA-perspective test design, no story point estimates, no sprint or release planning. Where the workshop discussed a technical constraint explicitly, record it as a short note — never invent one.
| Severity | Rule |
|---|---|
| MUST | Get the intent brief approved at Gate 0 before extracting a single story. |
| MUST | Give every epic a complete Epic Delivery Contract (below). Downstream delivery-readiness review and roadmap planning both read these fields. |
| MUST | Give every story a Source field pointing back to the material it came from. |
| MUST | Write acceptance criteria primarily as concise GIVEN / WHEN / THEN scenarios. |
| MUST | Present a 15-story breakdown as a file plus one disposition question — never one popup per story. |
| NEVER | Use implementation jargon. A stakeholder must understand what will be delivered without technical knowledge. |
| NEVER | Treat a story as the primary delivery unit. Stories are implementation detail beneath a contracted epic. |
| NEVER | Mint a canonical term here. A term the project's domain dictionary does not contain goes to its unresolved-terms inbox, not into the backlog as a new canonical form. |
| Reference | Load when | Covers |
|---|---|---|
| Intent brief example | Before drafting the brief in step 2 | Section order and the scope fields the brief carries |
| Extracted tasks example | Before writing extracted-tasks.md in step 9 | Epic and story shape, numbering, dependency and assumption sections |
Running in the main conversation: ask with AskUserQuestion, run the gates, and
write the files yourself. Running as the backlog-extractor subagent: you have no
interactive and no write tool — stay inside the epic boundary your prompt assigns,
return the extracted content as your final message, and collect everything you
would have asked under ## Open Questions.
Review every input: workshop-context-summary.md if Explore Mode ran, the
cleaned transcript as primary source, Figma/FigJam flows and annotations, PDFs
(via Read, with an explicit pages range beyond 10 pages), any other supplied
documents, and the project baseline if one exists. If
specifications/projects/<project-name>/domain-dictionary.md exists, consume it
as canonical terms; otherwise point the user at
/tsh-product-management:domain-dictionary later rather than inventing terms now.
Build the full picture before extracting anything.
Draft the intent brief — goal, in scope, out of scope, key stakeholders and actors, likely epic candidates, baseline overlap, open questions. Scope decisions only, no backlog detail.
Gate 0. Present the brief, confirm scope, exclusions and candidate epics, and iterate until the user approves. Do not extract before that approval.
Identify epics as end-to-end vertical slices. Each is a cohesive business capability one developer can complete holistically and demonstrate to the client. Set granularity by demonstrable customer outcome, not by a target count: split or combine until each epic has an independently demoable boundary. Record the Epic Delivery Contract for each:
Independent parallel work, Blocked work, or
Shared contract explicitly resolved. This records evidence about the epic;
it does not decide waves or tracks — that is roadmap planning's call.Also draft a business-oriented title, a 2–3 sentence value description, and high-level success criteria.
Break each contracted epic into stories — one deliverable piece of user-facing functionality each, small enough for a single sprint as a guideline. Look in feature descriptions, user workflows, business rules, data requirements and integration points. Include non-functional stories only where explicitly discussed.
Write each story with: title (short, action-oriented), "As a [role], I want
[capability] so that [benefit]", Source, acceptance criteria as
GIVEN / WHEN / THEN scenarios, high-level technical notes only where the
workshop raised them, a priority suggestion (Critical / High / Medium / Low),
and optional additional acceptance checks where scenario form is not enough.
Map dependencies — blocked-by, related-to, and epic-level ordering, in plain notation ("Story 1.2 is blocked by Story 1.1").
Record assumptions and out-of-scope items. Label every interpretation you made where intent was not fully clear, so stakeholders can correct it, and state what was explicitly excluded.
Run Gate 1 file-first. Write the draft extracted-tasks.md, present a compact
summary in chat (epics with story counts, plus any story you are less than
confident about, flagged), then ask one AskUserQuestion:
Approve as-is / I'll edit the file / Walk me through the flagged stories /
Rework — I'll explain. Walk through flagged stories in batches of up to 4 per
call — keep / split / merge / modify / remove — and close with "did I miss
anything?". Iterate until the user approves; the orchestrator records the
approval in .gates.md.
When you ask anything here: header is a chip of max 12 characters
(Story 1.2, Epic 2, Scope); the question text opens with the parent epic
and story title and carries the full context; option labels are 1–5 words with
the reasoning in description; order by impact, highest first.
Save the outputs — intent-brief.md and extracted-tasks.md in
specifications/<workshop-name>/, following the two reference examples, with
source traceability and business-friendly scenario criteria intact.
processing-workshop-transcripts —
supplies the cleaned transcript.analyzing-discovery-context — supplies
business context and baseline comparison before extraction.reviewing-backlog-quality — reviews what
this skill produces, and checks the Epic Delivery Contract in Pass R.What SKILL.md sets; muted values are Claude Code's defaults
Trigger on: 'turn this into epics and stories', drafting an intent brief, breaking a workshop into a backlog, writing user stories from discovery material, or defining epic scope boundaries and dependencies.
npx claudepluginhub thesoftwarehouse/agentic-collections --plugin tsh-product-management16 skills in this plugin
/adding-project-context-workspaceCreates a new workspace in a project's `<project>-context` knowledge base — the folder, its README index, its CLAUDE.md with exactly one named owner, and its row in the area map, all in one change. Use when a new layer or area of such a project needs its own place: a new delivery layer, a workstream, an integration package./analyze-materialsEntry point for the full business-analysis workflow: processes discovery workshop materials into Jira-ready epics and user stories, or imports an existing Jira backlog to iterate on. Run /tsh-product-management:analyze-materials with a transcript path, Figma link, PDF path, folder, Jira issue keys, or a project key./analyzing-discovery-contextGathers and expands the business context around a task or workshop topic: pulls what is known from task trackers, knowledge bases, documents and designs, finds the gaps, resolves them with the user, and writes a research report. Use before committing to a backlog, when a request is ambiguous, or when comparing new material against an existing baseline./domain-dictionaryEntry point for producing, reviewing and maintaining a per-product domain dictionary — the canonical business-term glossary, not domain-driven design. Run /tsh-product-management:domain-dictionary with a project name, a workshop directory of transcripts, PDFs or designs, a repository path to reconcile against, or nothing./explore-materialsEntry point for Explore Mode: reads discovery workshop materials and produces a business-context summary with likely epic candidates and open questions, without creating any backlog items. Run /tsh-product-management:explore-materials with a transcript path, Figma link, PDF path, or folder of workshop assets./formatting-jira-issuesTransforms an approved epic and story list into Jira-ready issues against a benchmark template — field mapping, Jira markdown, completeness validation, the formatting review and the Gate 2 push approval — and imports an existing Jira backlog into the same local format for iteration. Use before creating or updating any Jira issue from a workshop backlog.Other plugins' skills for the same job