to-tickets
Break a plan, spec, or the current conversation into tracer-bullet tickets in Task, each declaring its blocking edges, its verify command, and the capabilities a runner needs to take it.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-06
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- to-tickets
- description
- Break a plan, spec, or the current conversation into tracer-bullet tickets in Task, each declaring its blocking edges, its verify command, and the capabilities a runner needs to take it.
- disable-model-invocation
- true
03 SKILL.md 正文
Break the work into tickets — tracer-bullet vertical slices, each declaring what blocks it.
Read ../ISSUE-TRACKER.md first.
Process
1. Gather context
Work from what is already in the conversation. If given a reference,
fetch it: task issue show <id>.
2. Explore the codebase
Use the project's vocabulary in titles and bodies, and respect ADRs in the area. Look for prefactoring that makes the change easy — "make the change easy, then make the easy change."
3. Draft vertical slices
- Each slice cuts a narrow but complete path through every layer. Vertical, not a horizontal slice of one layer.
- A completed slice is demoable or verifiable on its own.
- Each fits one fresh context window.
- Prefactoring goes first.
Wide refactors are the exception. One mechanical change whose blast radius fans across the tree cannot land green as a tracer bullet. Sequence it expand → migrate in batches → contract, each batch its own ticket blocked by the expand, so CI stays green batch to batch.
4. Give every ticket a verdict
This is the part upstream does not have, and it is not optional: a ticket an agent may take must resolve to a verify command, or nobody can tell when it is done.
Most tickets inherit their project's verifyCommand and need nothing.
Set --verify only when a ticket needs a narrower or wider check.
Declare capabilities with --cap when the ticket needs more than
records: build for anything that compiles, repo:<owner>/<name> for
a ticket that needs a clone. A ticket that needs none is takeable by
any runner.
5. Quiz the user
Present the breakdown as a numbered list — title, blocked by, what it delivers. Ask:
- Does the granularity feel right?
- Are the blocking edges real, or just a guessed order?
- Should any be merged or split?
Iterate until approved. Do not publish before this.
6. Publish
In dependency order, so blockers exist before the tickets naming them:
task issue create "<title>" \
--parent <spec-or-map> \
--project <project> \
--tag ready-for-agent \
--estimate <xs|s|m|l|xl> \
--blocker <id> \
--cap build \
--body - <<'EOF'
## What to build
<the end-to-end behaviour this makes work, from the user's
perspective — not a layer-by-layer implementation list>
## Acceptance criteria
- [ ] …
## Blocked by
- <title of each blocker, or "None — can start immediately">
EOF
Avoid file paths and code snippets; they go stale fast. The exception is a snippet from a prototype that encodes a decision more precisely than prose — a state machine, a schema, a type shape. Trim it to the decision-rich part.
Do not close or modify the parent.
7. Check what you published
task issue subtasks <parent>
The rollup should show your blocked count. If everything is unblocked, your edges did not land — that is the common failure, and it lets agents take work out of order.
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a chunk of work too big for one agent session as a map of workstreams in Task, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land — re-pitch it.
triage
Move issues into the agent lane — decide who does it, what proves it done, and which machine can take it. Agents triage; humans get surfaced only what needs them.
to-spec
Turn the current conversation into a spec and publish it to Task — no interview, just synthesis of what you have already discussed.