Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Write Ticket?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/steven-zhc-write-ticket)
---
name: write-ticket
description: Use when writing or editing a GitHub issue for this repository.
---
# Writing a ticket
Body order: the four-row table, `## Use cases`, the rule, the evidence,
`## Edges`, `## Out of scope`, `## Done when`, `## Related`.
For everything except Use cases, see CLAUDE.md's *Opening an issue*.
## Use cases
A `feature` ticket carries this section, after the four-row table and before
the rule. One `###` heading per use case, each a sentence or two for something
a person does on a page and what they see — written for the person reading and
for the acceptance agent.
At `admit` Lingtai labels a ticket by a fixed rule (0132 §8): kind `bug`, or no
`## Use cases` section, is `brief`; anything else is `spec`. A person's label
wins, and Lingtai never removes one. `brief` costs something: red after the fix
rounds lands anyway, and the PR's body says *acceptance not passed*.
**Trap: no `given:`/`do:`/`check:`/`look:` lines.** The acceptance agent writes
those into the script file at `design` (0132 §1, §7). A ticket that carries
them has written the script instead of the agent, and the expected values come
from whoever wrote the ticket rather than being derived from it.
Example, from #1547:
## Use cases
### A closed PR sits in the last column beside the merged one, newest first
On a project with one merged PR and one closed without merging, the PR page's
last column is *Merged* and holds both, the closed one first. Its pill says
*closed*, is muted rather than red, and its card says its tickets are back in
the draft.
### A closed PR's card opens its page
Clicking the closed card opens that PR's page, which says it was closed
without merging.