to-tickets
Skill17 starsChanged 4 months agoMITView on GitHub
Break a spec, plan, or settled conversation into a set of tracer-bullet tickets, each declaring the tickets that block it, published to the configured tracker — native blocking links on a real tracker, or one file per ticket locally. Use when a spec is too big for one PR and needs slicing into dependency-ordered, agent-grabbable units. Do not use to write the spec or to implement a ticket.
106 other projects use a version of this, 83 of them edited.
Adopted by
Most recently taken up by
- mattpocock/skillsedited, first seen Oct 8, 2026
- saintdle/agentflowtheir own version, first seen Oct 6, 2026
- AlexisBalayre/claude-code-configedited, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- prefapp/skillsedited, first seen Oct 4, 2026
- jesse-merhi/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use setup-ts-deep-modules, loop-me and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 17 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 22 projects that use this
RoentekSkillwriting-beats
Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Also in 19 projects that use this
qwlabsSkillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 17 projects that use this
pahwarangerSkillsetup-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.
Also in 6 projects that use this
qhuang20Skillmigrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
Also in 18 projects that use this
- +2 more from Roentek
Other versions106 projects use a version of this.
Word for word · 0
None found.
Edited · 83
- mattpocock/skills★ 335k36% same
- nodetool-ai/nodetool★ 55129% same
- aws/graph-explorer★ 48437% same
- bighadj22/codflow★ 33837% same
- loulanyue/skills★ 23137% same
- tt-a1i/matt-skills-with-to-goal★ 18234% same
- rtadewald/skills★ 16837% same
- iamyoki/qwen-image-2.1-skill★ 14637% same
- rengwu/wayfinder-maps★ 13332% same
- willdady/platypus★ 11437% same
73 more not listed
Wrote their own version · 23
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- stevesolun/ctx★ 588same name
- devcxl/mattpocock-skills-zh★ 426same name
- JasonxzWen/harness-hub★ 71same name
- timharris707/skills★ 40same name
- leandrocfe/skills★ 38same name
- Kripu77/software-factory★ 7same name
- dekoza/oh-my-slop★ 4same name
- icetomoyo/CodingSkills★ 4same name
- KroxiDev/engineering-skills★ 4same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewSkill
- domain-modelingSkill
- repo-hardeningSkill
- spec-executionSkill
- tddSkill
- to-specSkill
- grillSkill
- guideSkill
- session-handoffSkill
The file
We split this skill into the rules it gives an agent
1 rule. 1 is common, 0 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 99 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 47
Should any be merged or split further?
“Common” is measured: kept by at least 6 in 10 of the 99 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
To Tickets
Break the work into tickets — tracer-bullet vertical slices, each declaring the tickets that block it. The dependency graph is explicit and declared, never inferred from titles.
Process
Mode: healing a returned ticket
Check the input before anything else. If it is a single ticket carrying a returned marker — a returned label on the issue, or a Returned: line in the local ticket file — you are in healing mode, not slicing mode. Skip steps 1–4 entirely. Rewrite only that one ticket, republish it to the same issue/file, and clear its marker as the "Clearing a returned marker" paragraph in step 5 directs. Do not touch any neighbouring ticket and do not re-derive the graph — the blocking edges of the other tickets are not yours to move. Otherwise — a whole spec, plan, or settled conversation to slice — run steps 1–5 as written.
1. Gather context
Work from what is in the conversation. If the user passes a reference (a spec path, an issue number or URL), fetch it and read the full body and comments.
2. Explore the codebase (optional)
If you have not already, explore to understand the current state. Ticket titles and descriptions use the project's CONTEXT.md glossary vocabulary, and respect ADRs in the area you touch. Look for prefactoring that makes the implementation easier — "make the change easy, then make the easy change."
3. Draft vertical slices
Break the work into tracer-bullet tickets:
- Each slice cuts a narrow but complete path through every layer (schema, API, UI, tests) — vertical, not a horizontal slice of one layer.
- A completed slice is demoable or verifiable on its own.
- Each slice fits in a single fresh context window.
- Any prefactoring goes first.
Give each ticket its blocking edges — the tickets that must complete before it can start. A ticket with no blockers can start immediately.
Wide refactors are the exception. A wide refactor is one mechanical change (rename a column, retype a shared symbol) whose blast radius fans across the whole codebase, so a single edit breaks thousands of call sites and no vertical slice can land green. Sequence it as expand → migrate → contract: first add the new form beside the old so nothing breaks; then migrate call sites in batches sized by blast radius (per package, per directory), each batch a ticket blocked by the expand, CI green batch to batch because the old form still exists; finally delete the old form in a ticket blocked by every migrate batch. If even the batches cannot stay green alone, share an integration branch that all block a final integrate-and-verify ticket — green is promised only there.
Two things keep the batches actually green, both learned the hard way: tests are call sites too — a test that reads the old field must migrate before contract, or contract goes red on the test suite; and expand is only non-breaking if the existing tests assert behaviour, not exact object shape (tdd's rule) — a full-object deepEqual breaks on a merely additive field, so prefactor those into behaviour assertions first ("make the change easy, then make the easy change").
4. Quiz the user
Present the breakdown as a numbered list. Per ticket show: Title, Blocked by, What it delivers (the end-to-end behaviour it makes work). Ask:
- Does the granularity feel right? (too coarse / too fine)
- Are the blocking edges correct — does each ticket depend only on tickets that genuinely gate it?
- Should any be merged or split further?
Iterate until the user approves.
5. Publish
Publish the approved tickets in dependency order (blockers first). How depends on the tracker:
- Local files → one file per ticket under
docs/tickets/<feature-slug>/<NN>-<slug>.md, numbered from01in dependency order, and commit them. Tickets are the durable dependency graph a later session works from — they belong in version control, never in the ephemeral.scratch/(ADR 0006). Use the local template below — one ticket per file, never a combined file. - A real tracker (GitHub, Linear) → one issue per ticket in dependency order so blocking edges reference real identifiers. Use the platform's native blocking / sub-issue relationship where the CLI actually exposes one — Linear does; GitHub via
ghdoes not (issue dependencies are a Projects/preview featuregh issuecannot set), so on GitHub theBlocked by #Ntext form in the body is the norm, not a degraded fallback. On GitHub,gh issue create; apply aready-for-agentlabel if the project uses one. Right after bulk creation, verify with a per-issue--jsonquery rather than a--labelfilter — GitHub's label index lags a few seconds behind creation.
Work the frontier: any ticket whose blockers are all done. Do not close or modify a parent issue.
Clearing a returned marker (the second-failure gate's exit). spec-execution runs tickets on the frontier, so when it sends one back as defective, the ticket is what carries the returned marker. to-tickets owns tickets (ADR 0006), so to-tickets is the one that clears it: when you republish a rewritten ticket to the same issue/file, remove the returned label and add a "rewritten" comment (tracker), or delete the Returned: line (local). spec-execution sets the marker, the republisher clears it (ADR 0008) — for a ticket that republisher is you, not to-spec. Republish to the same ticket so its blocking edges survive; do not mint a new one. The mode selector at the top of this process routes you here — a marked ticket means healing that one ticket, never re-slicing the spec.
<local-ticket-template><NN> — <Ticket title>
What to build: the end-to-end behaviour this ticket makes work, from the user's perspective — not a layer-by-layer implementation list.
Blocked by: the numbers/titles of the tickets that gate this one, or "None — can start immediately".
Status: ready-for-agent
- Acceptance criterion 1
- Acceptance criterion 2
</local-ticket-template>In either form, avoid file paths and code snippets — they go stale fast. Exception: a prototype snippet that encodes a decision more precisely than prose can (a state machine, reducer, schema, type shape) — inline just the decision-rich part and note it came from a prototype.
Work the frontier one ticket at a time with spec-execution, clearing context between tickets. The graph orders the work; it does not parallelise it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

