Skip to skill documentation
dotfilesGitHub

matt-pocock / skill instructions

to-tickets

Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).

Invoked by user and agentCategory: general
No how-to guide publishedView SKILL.md ↗

Language

All agent-authored prose MUST follow ASD-STE100 Simplified Technical English. Apply it to questions, explanations, recommendations, issue text, reports, handoffs, and procedures.

  • Use short, complete sentences and active voice.
  • Use one term for one meaning.
  • Put conditions before commands.
  • Use imperative sentences for procedures.
  • Keep code, identifiers, commands, quoted text, product names, and exact domain terms unchanged.
  • Use the iso-24495-1 skill for the full rule set.

Context resolution

Before reading or writing workflow or domain artifacts, use the agent-core:shared-context skill from the repository root. Use the root that the skill resolves as ALIGNMENT_ROOT. Use the repository root for source code and ordinary project files. Do not inspect the prompt or environment, or derive an alignment path by hand.

For a write under a shared ALIGNMENT_ROOT, use the agent-core:shared-context skill to resolve tracker, workflow, source, and ADR targets. Use that skill to update the source index only after a source directory changes and to apply the publishing procedure after the write. Follow ALIGNMENT-ROOT.md for the complete rule.

Markdown access

Use agent-core:mq-query for every local Markdown search, read, filter, selection, list, summary, validation, transformation, or creation. Load its matching task reference and required upstream reference first. Use explicit input and output formats. Do not use grep, find, rg, fd, ls, shell globs, or an ad hoc Markdown parser for specs, workflow records, or ticket content. Use reading-and-writing-tickets for tracker-owned records.

To Tickets

Break a plan, spec, or conversation into a set of tickets: tracer-bullet vertical slices, each declaring the tickets that block it.

The issue tracker and triage label vocabulary should have been provided to you. If not, tell the user to run /setup-matt-pocock-skills.

Process

1. Gather context

Work from whatever is already in the conversation context. If the user passes a reference (a spec path, an issue number or URL) as an argument, fetch it and read its full body and comments.

Treat a specification as an initiative. Read its canonical record through reading-and-writing-tickets, including discussion and existing children. Retain its ID and reference. For a conversation or standalone plan without an initiative, include initiative publication in the proposed breakdown and obtain approval before writing it. A legacy specification ticket or separate spec.md requires an explicit migration decision; do not silently use it as a new parent or duplicate it.

2. Explore the codebase (optional)

If you have not already explored the codebase, do so to understand the current state of the code. Ticket titles and descriptions should use the project's domain glossary vocabulary, and respect ADRs in the area you're touching.

Look for opportunities to prefactor the code to make 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 is sized to fit in a single fresh context window
  • Any prefactoring should be done first

Give each ticket its blocking edges: the other tickets that must complete before it can start. A ticket with no blockers can start immediately.

Wide refactors are the exception to vertical slicing. 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 at once and no vertical slice can land green. Don't force it into a tracer bullet; sequence it as expand–contract. First expand: add the new form beside the old so nothing breaks. Then migrate the call sites over in batches sized by blast radius (per package, per directory), each batch its own ticket blocked by the expand, keeping CI green batch to batch because the old form still exists. Finally contract: delete the old form once no caller remains, in a ticket blocked by every migrate batch. When even the batches can't stay green alone, keep the sequence but let them share an integration branch that all block a final integrate-and-verify ticket; green is promised only there.

Plan documentation closeout

Assess how the initiative changes what users need to know.

If user-facing documentation needs to change, include a final documentation ticket in the proposed breakdown. Cover the relevant README, documentation website, guides, and examples. Create missing documentation when users need it. Do not create a website unless the initiative requires one.

The ticket MUST:

  • Describe the audience, affected workflows, and required content.
  • Depend on the tickets that determine the documented behaviour.
  • Require documentation to match the delivered behaviour.
  • Require verification of documented commands, examples, and links.

Keep documentation needed to use or verify each vertical slice within that slice. Use the final ticket to check completeness and consistency across the initiative, not to defer essential instructions.

If no documentation changes are needed, explain why in the proposed breakdown instead of creating an empty ticket.

4. Quiz the user

Present the proposed breakdown as a numbered list. For each ticket, show:

  • Title: short descriptive name
  • Blocked by: which other tickets (if any) must complete first
  • What it delivers: the end-to-end behaviour this ticket makes work

Ask the user:

  • Does the granularity feel right? (too coarse / too fine)
  • Are the blocking edges correct: does each ticket only depend on tickets that genuinely gate it?
  • Should any tickets be merged or split further?

Iterate until the user approves the breakdown.

5. Publish the tickets to the configured tracker

After the user approves the breakdown, use /reading-and-writing-tickets to publish any approved new initiative and create its child tickets. Pass the initiative ID as each child's parent, plus the approved title, end-to-end behaviour, acceptance criteria, ticket type, sequence, and direct blocking edges. Ask that skill to update the initiative's child links and validate both sides of membership through normal tracker discovery. That skill owns schema, paths, fields, labels, dependency validation, and publication. Creating children authorizes membership updates only; preserve the specification and discussion, and do not close the initiative.

Request tracker-ticket/v1 for new Local Markdown children and tracker-initiative/v1 for a new parent. The ticket skill validates these contracts and produces tracker-result/v1. Use the agent-core result-delivery skill for the result. Show a human session the created records, dependency summary, validation and publication state. Preserve required parent handoffs; do not paste raw JSON unless the selected machine output requires it. Legacy parent or membership records require an approved migration before publication; ticket-decomposition approval is not migration approval.

Work the frontier: any ticket whose blockers are all done. For a purely linear chain that means top to bottom.

Ticket bodies should describe user-facing behaviour and acceptance criteria. Avoid specific file paths or code snippets because they go stale. Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it and note briefly that it came from a prototype. Trim to the decision-rich parts, not a working demo, just the important bits.