name: story-to-tickets description: Break a user story into documentation and GitHub issues. Use when the user wants to turn a story (a docs/stories/ file or pasted text) into tickets or issues.
Story to Tickets
Break a user story into independent, well-scoped GitHub issues plus a short design doc.
Flow
- Input: A user story — a
docs/stories/<slug>.mdfile (preferred; ask which one if ambiguous) or pasted text. - Break down: Launch the
product-manageragent with the story and the relevant parts of the codebase structure. Ask it to return:- A short technical design note (what parts of the codebase are touched, in what order)
- A list of tickets, each independently implementable and testable, as vertical slices, with title, description, and acceptance criteria
- Document: Write the design note to
docs/<slug>-design.md. - Create tickets as a parent/subticket hierarchy — one feature (parent) issue plus one subticket per vertical slice:
- If a GitHub remote exists (
git remote get-url originsucceeds):- Create the parent feature issue first (title = the story/feature name, body = feature summary + link to the story/design doc + a task-list placeholder that will be filled in step 3):
gh issue create --title "<Feature>" --body "...". Note its number. - Create each vertical-slice subticket with
gh issue create --title "..." --body "...", where the body includes aPart of #<parent-number>line and cross-links dependent subtickets. - Update the parent issue's body to add a task list checking off each subticket by number (
- [ ] #<n>) viagh issue edit <parent-number> --body "...".
- Create the parent feature issue first (title = the story/feature name, body = feature summary + link to the story/design doc + a task-list placeholder that will be filled in step 3):
- If no remote: write the parent ticket to
docs/tickets/<slug>-0-<title>.mdand each subticket todocs/tickets/<slug>-<n>-<title>.mdin the same format, with subtickets notingPart of <slug>-0and the parent listing them, and tell the user they can be pushed to GitHub later.
- If a GitHub remote exists (
- Report: List the created issues (numbers/URLs or file paths), which are the parent and which are subtickets, and the suggested implementation order.
Ticket format
Title: imperative, scoped (Add health-check polling to dashboard). Body: context (1-2 sentences), acceptance criteria checklist, link to the story/design doc, dependencies on other tickets if any. Subtickets additionally state Part of #<parent-number> (or Part of <slug>-0 when no GitHub remote).
Skills similaires
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Claude CodeCursoradvanced
890
234
3,482
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
claudeCursorWindsurfbeginner
259
72
1,379
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.
claudeCursorWindsurfintermediate
156
44
1,262