Skip to content
Back to skills

To Tickets

ASecurity

Decomposes an approved /to-spec specification and its approved Discovery Context into an ordered, verifiable set of atomic tickets with explicit dependencies and verification criteria, then publishes them after the user approves the plan; with `--review <epic>`, rechecks the published tickets against the epic's acceptance criteria without writing. Use explicitly after /publish-epic, or on an agreed plan. Never changes production code, tests, CONTEXT.md, ADRs, or the specification's decisions.

  • 11 stars
  • 0 votes
  • 1 copy
  • 7 views
  • Added October 19, 2026
businessgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add PVMalove/claude-agent-harness --skill to-tickets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of To Tickets?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for To Tickets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pvmalove-to-tickets/badge)](https://www.skillsdirectory.com/skills/pvmalove-to-tickets)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: to-tickets
description: Decomposes an approved /to-spec specification and its approved Discovery Context into an ordered, verifiable set of atomic tickets with explicit dependencies and verification criteria, then publishes them after the user approves the plan; with `--review <epic>`, rechecks the published tickets against the epic's acceptance criteria without writing. Use explicitly after /publish-epic, or on an agreed plan. Never changes production code, tests, CONTEXT.md, ADRs, or the specification's decisions.
disable-model-invocation: true
---

Invoke only on an explicit request (`/to-tickets`, or `$to-tickets` in Codex). Read
`.harness/instructions/issue-tracker.md` and `.harness/instructions/triage-labels.md` first; if either is missing, tell
the user to run `harness update`. For decomposition, read the specification, its approved paths, and
the tracker. Before approval, write only local plan drafts. After approval, write ticket files,
tracker issues, and the epic appends in `references/publish.md`. Never edit production code, tests,
`CONTEXT.md`, ADRs, or the specification's decisions, and never start `/implement`.

## Check the input

1. For `--review <epic>`, follow `references/acceptance-review.md` and return before decomposition.
2. Take the epic from the user: an issue number or URL, `.scratch/<feature-slug>/spec.md`, or a spec
   path under `docs/tasks/`. Read the full body and comments.
3. Decompose a specification only when its status line is exactly `**Status** — Approved`. For any
   other status or an unresolved blocker in `## Open Questions & Risks`, list the blockers and ask
   the user to resolve them or return to `/to-spec`. Never settle a blocker yourself.
4. Child tickets need a published epic with `## Integration Branch`. If either is missing, stop
   and offer `/publish-epic`; never infer the branch.
5. Without a specification (an agreed plan or conversation only), first agree with the user on the
   missing requirements and on the Discovery Context path list. Such tickets have no parent epic,
   and their branches start from `base_branch`.

## Keep to the approved scope

- The allowlist is the spec's `## Relevant Files (Discovery Context)` plus the paths in
  `## Surgical File & Contract Changes`. Use `artifacts/discovery-context.md` only to cross-check it;
  report a mismatch and never widen the allowlist from that file.
- A ticket names only allowlisted paths. If a ticket needs another path, show the path and the
  reason in the plan and add it only after the user explicitly approves it.
- Never create a ticket for an item in `## Non-Goals & Rejected Alternatives`.
- Copy each applicable, verifiable non-goal from that section into the affected ticket's
  `## Out of scope`. Keep the rationale for rejected alternatives in the spec.

## Decompose

- Create the minimum number of tickets that implements every requirement. Do not add tickets for
  drive-by cleanup, abstractions for later, or a separate final "write all tests" step.
- Make each ticket a vertical slice that carries its change and the checks that prove it. The build
  and tests stay green after each ticket merges. For a wide blast radius, such as renaming a shared
  column, sequence expand-contract tickets: Expand, Migrate (in batches), Contract.
- Add a blocking edge only for a result dependency (the ticket uses what its predecessor delivers)
  or a known requirement incompatibility, and give its reason. File overlap alone is not a blocker.
  A blocker holds until its predecessor is merged into the integration branch and closed. Group the
  tickets into execution waves; Wave 1 has no blockers.
- When `## Goal & Scope` names a **First demonstrable scenario**, put its tickets in the earliest
  feasible wave, mark them in the wave plan, and show the check that proves its result on its own.
- Read references/ticket-template.md when formatting the decomposition plan and ticket cards.
  Estimate, assign Discovery Context, and run the advisory sub-agent passes as described there.
  If the runtime cannot dispatch a sub-agent, stop and report it.
- Draft the epic's `## Architecture invariants` and `## Implementation discipline` sections when the
  epic lacks them, using `.harness/instructions/agent-prompt.md`. Write only rules that hold for every ticket.

## Approve the plan

Before showing the plan, check that:

- every requirement `R<n>` and every acceptance criterion of the spec maps to at least one ticket
- the IDs in each ticket criterion agree with the traceability matrix
- the ticket criteria preserve the epic's obligations as checked in `references/acceptance-review.md`
- the blocking graph has no cycles
- no ticket names an unapproved path or implements a non-goal

Save the complete plan as a new `docs/tasks/<task-folder>/artifacts/ticket-plan-v<N>.md` (the epic
folder, or a descriptive slug for a standalone plan); keep prior revisions. It holds the cards,
waves, traceability matrix, paths awaiting approval, and drafted epic sections. Record its SHA-256
and link it by absolute path. Show the full plan first. On revision, update the requested cards and
affected dependencies or coverage, repeat the checks, rerun the acceptance review, and show only the
changed cards, dependencies, criteria, and decisions, linking the new revision. Ask to approve that
revision, including its paths, granularity, blocking edges, scores, labels, and epic sections; the
user may override a pipeline label without changing the score. Wait for explicit approval.

## Publish and finish

Verify the approved draft's SHA-256 before publishing; if it is missing or changed, show a new
revision for approval. Otherwise read `references/publish.md` and follow it with that file as the
source for the configured tracker. If a write fails or the tracker is unavailable, report the error
and leave the complete ticket cards in chat.
Finish with the summary table from `references/publish.md`. Offer to adjust the tickets or to start
a Wave 1 ticket manually with `/implement` or `/fast-implement`, matching its pipeline label. Never
invoke either skill, create branches or worktrees, or change code.

Files in this skill

  • SKILL.md15.8 KB
  • agents/openai.yaml146 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.