write-ticket
Installation
SKILL.md
Write Ticket
Create or promote one tracker ticket. User start only; /task reads tickets (ticket context) and never promotes one. This skill never implements the ticket.
Read when
- Before analyzing or drafting: code-quality.md and code-structure.md, plus doctrine.md (stage gate, topic lists, work kind, promotion).
- Before sending a batch (steps 2 and 5): Asking the user and the matching batch in reference.md.
- Drafting the body (steps 3 and 5): the stage body in reference.md.
Process
- Load an existing ticket or the prompt. Infer the tracker. Infer the target stage when the prompt or the current body already names Memo, Research, or Plan.
- If the target stage is missing, send one asking-contract batch for the stage. Include priority, assignee, and tracker in that same batch when those are also missing. Wait.
- Memo. Draft the short note and write it. No
/analyze. No/grill-me. - Research or Plan. Run
/analyzeto full memo depth for that stage (this parent owns the next step). Then run/grill-mewith the stage topic list in the doctrine./grill-mereturns here. - Fill that stage's body from the reference. Assign the work kind during Research. Show the draft in a Locked message with no Questions. If priority, assignee, or tracker is still missing, one metadata batch, then write. If those were already known, write after the draft is visible.
- On a promotion, post the previous body as a comment, replace the description, and set the stage label. Same ticket. Status is Todo on create. On promote or refine, keep the current status unless the prompt names another.