agentleFS
AhmedTmorganAhmedTmorgan/crew/skills/tickets/SKILL.md

tickets

Skill1 starsChanged 3 months agoMITView on GitHub

Break an approved crew spec into tracer-bullet tickets: small vertical slices through every layer, each with acceptance criteria, blocking edges, the layers it touches (which decides whether Codex or Opus builds it), and the areas it touches (which decides what can run in parallel). Writes one file per ticket under .crew/tasks/<slug>/tickets/ and validates the graph. Use after crew:spec, or when the user says "split this into tasks" / "قسّم الشغل".

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use interview, grilling and 2 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.
  • dazuckSkill

    interview

    Interview me about a plan to flesh out requirements before implementation. Asks non-obvious questions one at a time until all ambiguities are resolved.

    Also in 3 projects that use this

  • GoogleSkill

    grilling

    Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

    Also in 5 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 5 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Blocked by: only the tickets that genuinely gate this one.

    line 38
  2. Distinctive:

    Contract first: when a ticket's backend and frontend parts go to different implementers, its Notes must pin the contract exactly (types, …

    line 46
  3. Very specific:

    Blocked by: use None for a ticket that can start immediately.

    line 71
  4. Distinctive:

    Avoid file paths and code snippets.

    line 74
  5. Very specific:

    If .crew/config.json has "tracker": "github":

    line 102
  6. Very specific:

    Create one issue per ticket, in dependency order, labelled crew:ticket.

    line 103
  7. Very specific:

    Write Issue: #N into each ticket file.

    line 105

“Common” is measured: kept by at least 6 in 10 of the 17 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

crew:tickets

Adapted from Matt Pocock's to-tickets (MIT).

Input: .crew/tasks/<slug>/spec.md. Output: .crew/tasks/<slug>/tickets/NN-<kebab-title>.md, numbered from 01 in dependency order (blockers first).

1. Draft vertical slices

  • Each slice cuts a narrow but complete path through every layer it needs (schema, API, UI, tests). It is vertical, never one horizontal layer on its own.
  • A finished slice can be demoed or verified on its own.
  • Each slice fits a single fresh context window. When in doubt, split it.
  • Size honestly, because size picks the model and the budget. S is a couple of files, M a handful, L a slice that genuinely spans the stack. An implementer is expected to finish inside ~100 tool calls; on the first real run, the one oversized ticket ran 308 turns and cost 85M tokens — a quarter of the whole run — while every review together cost 10M. If you hesitate between M and L, split it into two tickets instead.
  • Prefactoring comes first: make the change easy, then make the easy change.
  • Wide refactors are the exception. A wide refactor is one mechanical change whose blast radius crosses the codebase (renaming a column, retyping a shared symbol). Sequence it as expand → migrate in batches → contract, with each batch its own ticket blocked by the expand ticket, and the contract ticket blocked by every batch.

2. Wire the graph

  • Blocked by: only the tickets that genuinely gate this one. Fewer edges means more parallelism.
  • Layers: these decide who builds the ticket.
    • backend or db → the backend role (Codex gpt-5.6-sol by default).
    • frontend → the frontend role (Opus 5).
    • Both → the backend part first, then the frontend part, on the same ticket branch.
  • Touches: the directories, modules, and tables the slice will change. Two tickets that could run at the same time must not share a Touches entry. If they have to, add a blocking edge between them.
  • Contract first: when a ticket's backend and frontend parts go to different implementers, its Notes must pin the contract exactly (types, route or action names, response shape).

3. Write one file per ticket

# 03: <Ticket title>

**Status:** todo
**Blocked by:** 01, 02
**Layers:** backend, frontend
**Touches:** changelog page, release-records search index
**Size:** M

## What to build
The end-to-end behaviour this ticket makes work, from the user's perspective.

## Acceptance criteria
- [ ] Criterion (testable: a command, a click path, or a query)

## Notes
Spec decisions that bind this ticket (D-numbers), the contract it defines or consumes, the seams
to test at, and security notes.
  • Blocked by: use None for a ticket that can start immediately.
  • Layers: any of backend, frontend, db, infra, docs.
  • Size: S, M, or L.
  • Avoid file paths and code snippets. The only exception is a snippet that pins a contract.

Validate, then list:

T="${CLAUDE_PLUGIN_ROOT}/scripts/tickets.mjs"
node "$T" validate --task <slug>   # unknown blockers, cycles, missing fields, overlapping parallel Touches
node "$T" list --task <slug>

Fix everything validate reports before going on.

4. One question round, then the autonomous run

Show the breakdown as a numbered list, one line per ticket: title · blocked by · layers · what it delivers. Say how many can run in parallel at the start.

Then ask one grilling round (❓/➡️) that covers:

  • the granularity (too coarse or too fine)
  • the blocking edges
  • any merges or splits
  • the go for the autonomous run

From the go onwards, crew:run works through every ticket without stopping to check in. It stops only for the four stop classes defined in crew:run.

Optional: mirror to GitHub

If .crew/config.json has "tracker": "github":

  • Create one issue per ticket, in dependency order, labelled crew:ticket.
  • Reference the blockers by issue number.
  • Write **Issue:** #N into each ticket file.

The local files stay the source of truth for the run. The orchestrator closes each issue when its ticket merges.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.