Breaking Down Specifications into Development Tickets ― How to Use the to-tickets Skill
機械翻訳 / Machine-translated
Original article: Breaking Down Specifications into Development Tickets ― How to Use the to-tickets Skill (cccskills)
Skill page: to-tickets
Key takeaways from this article
With to-tickets installed, you can break down specifications and conversation outcomes into small development tickets, each assigned a clear order of work.
Every ticket produced is sized so that its behavior can be verified on its own.
This article walks you through the thinking behind how tickets are split, how to install the skill, ready-to-use prompt templates, and what to check before tickets are created.
When you hand to-tickets a specification, it returns a numbered list of ticket proposals with a suggested order of work.
A prompt might look like this:
Break this spec into development tickets with dependencies.
The spec is at docs/csv-export.md.
The agent first reads the spec, optionally inspects the codebase, and then presents the ticket proposals.
Each ticket contains three fields:
| Field | Description |
|---|---|
| Title | A short name that makes the content clear |
| Blocked by | Tickets that must be completed first |
| Behavior delivered | The end-to-end behavior that works once this ticket is done |
After the list, the agent asks follow-up questions — checking whether the granularity feels right, whether the dependencies are correct, and whether any tickets should be merged or split further.
The proposal is revised as many times as needed until you approve it.
Once approved, tickets are created in whichever tracking destination you have configured.
If that destination is local files, Markdown files are created under .scratch/, one per ticket, numbered from 01 in dependency order.
Each file contains what to build, what it's blocked by, its status, and acceptance criteria with checkboxes.
The core of to-tickets is slicing work vertically by behavior rather than by layer, assigning dependencies, and only creating tickets after approval.
Each ticket is a narrow vertical slice that spans all layers — data structures, API, UI, and tests.
Horizontal tickets such as "just the database" or "just the UI" are not created.
When a ticket is complete, its behavior can be demonstrated and verified on its own.
A good ticket size is roughly what fits in a single new conversation.
Any refactoring that makes implementation easier goes into the first ticket.
Titles and descriptions use terms from the project's glossary and follow any Architecture Decision Records (ADRs).
Each ticket lists the tickets that must finish first under "Blocked by."
Tickets with no blockers can be started immediately.
Work proceeds from whichever tickets have all their blockers resolved.
When dependencies form a straight chain, you simply work top to bottom.
Changes that would break a large number of call sites in one edit — such as renaming a column or changing a shared type — are treated differently.
Instead of a vertical slice, they are arranged in three stages:
When individual migration tickets cannot pass tests on their own, they share a common integration branch.
A final integration-and-verification ticket is placed at the end where the full behavior is confirmed.
How tickets are created depends on the destination. The content of each ticket is the same either way.
| Destination | How tickets are created | How dependencies are expressed |
|---|---|---|
| Local files | One file per ticket in a feature folder, numbered in dependency order | "Blocked by" in each file lists numbers or titles |
| GitHub, Linear, etc. | One issue per ticket created in dependency order, labeled ready-for-agent | Uses the tool's blocking feature if available; otherwise noted in the body |
When tickets are split from an existing issue, each ticket becomes a child of that issue.
The original parent issue is neither modified nor closed.
Specific file paths and code snippets are not written into tickets because they go stale quickly.
You can install the skill either with a command or by asking an agent.
Run the command below and you will be prompted to choose which agent to install it into — Claude Code, Codex, or another.
npx skills add https://github.com/mattpocock/skills --skill to-tickets
To install by asking an agent, send the following message as-is:
Please install the following Agent Skill.
https://github.com/mattpocock/skills/tree/main/skills/engineering/to-tickets
First read the contents of SKILL.md and any accompanying files, confirm there is nothing suspicious (no data sent externally, no reading of credentials, etc.), then place it at ~/.claude/skills/to-tickets/ for Claude Code or ~/.agents/skills/to-tickets/ for Codex.
Choose where to install it based on whether you want it available across all projects or only in a specific one.
| Agent | All projects | One specific project |
|---|---|---|
| Claude Code | ~/.claude/skills/ | .claude/skills/ inside the project |
| Codex | ~/.agents/skills/ | .agents/skills/ inside the project |
After installing, configure your issue tracking destination and classification labels first.
If these are not set, you will be prompted to run /setup-matt-pocock-skills.
If you want to manage tickets entirely with files inside the repository, choose local files as your destination.
Your prompt just needs to say what to base the tickets on.
Give it a spec file path or an issue number or URL and the agent reads the body and comments before splitting.
Break this spec into development tickets with dependencies
The spec content is returned as a numbered list of ticket proposals, each with a title, blockers, and behavior delivered, along with questions about granularity and dependencies.
Based on our conversation so far, organize the verifiable behaviors and acceptance criteria into tickets
Decisions made in the conversation are split into tickets, each sized around a single verifiable behavior. When created, each ticket includes acceptance criteria with checkboxes.
Turn the shared type change into a phased migration set of tickets
You get three stages of tickets back: adding the new format, migrating call sites, and deleting the old format. The migration tickets are split by package or directory.
Before using to-tickets, configure your issue tracking destination and labels with /setup-matt-pocock-skills.
This skill is also not configured to be used automatically by the agent — you invoke it yourself.
Review the split and the acceptance criteria with your own eyes before approving.
If GitHub or Linear is your destination, approved tickets are created as real issues.
If the granularity seems too coarse or the dependencies look like more than necessary, tell the agent through the follow-up questions it asks.
The license is MIT, and the skill includes two files: SKILL.md and agents/openai.yaml.
Reading through SKILL.md on the GitHub repository before installing is a good idea.
The same mattpocock/skills repository includes skills that work well before and after ticket splitting.
ask-matt recommends related skills and the order to use them based on your situation.
It's useful when you have an idea but aren't sure where to start.
domain-modeling records business terms and concept boundaries in a glossary.
Because to-tickets uses project terminology in tickets, settling on terms first keeps the language consistent across tickets.
After implementing tickets, code-review lets you separately verify conformance to conventions and fulfillment of the spec.
Yes.
If you set local files as your destination, Markdown files are created under .scratch/, one per ticket.
Dependencies are recorded in each file's "Blocked by" field using numbers or titles.
No.
Ticket proposals are presented first as a numbered list, and revisions continue until you approve.
If tickets are split from an existing issue, the original parent issue is neither modified nor closed.
No.
Mechanical changes that affect a wide scope are arranged as: adding the new format, migrating call sites in stages, then deleting the old format.
Existing behavior continues to work throughout the migration while the old format is still in place.
to-tickets is a skill for breaking specifications and conversations into small tickets.
Each ticket is sized so its behavior can be verified independently.
Every ticket includes its blockers and acceptance criteria, so the order of work is always clear.
Only approved proposals are created, and you can choose local files, GitHub, or Linear as the destination.
This helps shorten the gap between planning and getting started.
Installation instructions and related skills are available on the cccskills page.
This article is a repost of the cccskills piece "Breaking Down Specifications into Development Tickets ― How to Use the to-tickets Skill."
Skill details and installation instructions are on the cccskills to-tickets page.