--- name: ticket description: End-to-end Jira ticket workflow — fetch a ticket into a live ticket page under .claude/docs/epics/, plan it, implement it with clean commits, drive the pre-mr-review audit to convergence (the user runs it themselves from their work Claude account), and write the MR doc. Use when the user gives you a Jira ticket key (e.g. KACP-11111) to work, or asks to plan/implement/wrap up a ticket. disable-model-invocation: true --- # Ticket Workflow Turns a Jira ticket key into: a live ticket page carrying the ticket, a reviewed plan, progress, and proof, implemented and committed code, a converged `pre-mr-review` audit, and an MR doc ready to paste into GitLab/GitHub. This skill is user-level (`~/.agents/skills/ticket/`) and works the same way in any repo that has a `.claude/docs/` directory and a `pre-mr-review` skill. Invoked as `/ticket KACP-11111`. The ticket key is passed as the skill's arguments. Called again later with the same key, it resumes wherever it left off — see **Phase 0**. Not to be confused with `/review-ticket`. That skill writes the *developer review* on a Jira story, the estimate, risk level, and testing tables, as part of authoring a ticket before anyone builds it. It has nothing to do with reviewing code. The code review in this skill is Phase 2 step 5 and is performed by a dispatched agent, not by a skill. ## The ticket page Every ticket gets a **ticket page**, a web page Gib keeps open while you work: the ticket as Jira has it, the plan with its mocks, live progress, proof beside the mocks, and the review. Every epic gets an **epic index** listing its stories in build order. Both render from data files that only `ticket-page` writes, and both update themselves as it writes. **Read [SITE.md](SITE.md) before the first write of every run.** It holds the command for each moment the phases below name, the plan's JSON shape, how to draw mocks, and how the epic order is seeded. Record each moment when it happens, not in a batch at the end, because Gib is watching the page change. ## Directory layout this skill maintains ``` .claude/docs/epics/ _site/ # the shared renderer, refreshed by ticket-page / index.html, epic.data.js # the epic index / index.html, ticket.data.js # the ticket page resources/ issue.raw.json # the fetched issue, kept for re-imports # images, videos, other files as downloaded