agentleFS
mthinesmthines/agent-skills/skills/delivery/ticket/SKILL.md

ticket

Skill22 starsChanged 33 days agoMITView on GitHub

Connects work to the repo's ticket tracker — Linear, GitHub issues, or none — from a committed `.agents/aw/tracker.yml`: `setup` writes it, `create` opens a ticket (or hands off to a configured skill such as a Linear planning skill), `link` ties a ticket to a PR, and `move` sets its state for a pipeline stage; a script decides whether to link, ask, create, or skip. Triggers on "create a ticket for this", "link this to AI-123", "set up the tracker", "/ticket".

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use orchestrate, retro and 6 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.
  • varun29ankuSSkill

    orchestrate

    This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.

    Also in 3 projects that use this

  • AWSSkill

    retro

    Conduct a retrospective on a coding session.

    Also in 3 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • GoogleSkill

    prototype

    Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    verify

    End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask in one batched question: the provider (linear, github, none).

    line 65
  2. Very specific:

    Write tracker.yml per rules/config.md with only the keys that differ from the defaults.

    line 66
  3. Very specific:

    Never create a second ticket for a request that already has one: check the request text with --decide first.

    line 77

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

ticket

Ties work to a ticket in the repo's tracker, so every PR points at the ticket that asked for it and the ticket follows the PR. scripts/ticket.mjs makes every decision: link, ask, create, or skip; which state a stage maps to; which PR line links. This skill does the tracker calls the script cannot make. Config format: rules/config.md.

T="${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/ticket}/scripts/ticket.mjs"
node "$T" --decide --request "<the request>" [--ticket <id|url>] [--unattended]   # TICKET: link <id> | ask | create | skip — <why>
--decide printsDo
TICKET: link <id>Use that ticket; never create a second one
TICKET: askAsk once: "Create a <provider> ticket for this?" — yes → create; no → no ticket, and say so
TICKET: createRun create without asking (require: always)
TICKET: skip — <why>No ticket; repeat <why> to the caller

A repo without tracker.yml never gets a ticket created: the script links a ticket the request names and skips otherwise, because creating one is visible to other people and there is no team to put it in.

✗ no tracker.yml, "add a dark-mode toggle" → create a Linear ticket in the first team the MCP lists
✓ no tracker.yml, "add a dark-mode toggle" → TICKET: skip — no .agents/aw/tracker.yml; /atelier setup configures a tracker

A request names a ticket by a Linear or GitHub issue URL, by #n under provider: github, or by a bare key only under the configured linear.team; --ticket links any key.

✗ no tracker.yml, "add SHA-256 checksums" → TICKET: link SHA-256
✓ no tracker.yml, "add SHA-256 checksums" → TICKET: skip; team AI, "fix AI-3112" → TICKET: link AI-3112

Modes

setup

Interactive only. Writes .agents/aw/tracker.yml once, validates it on re-runs.

  1. Detect: Linear MCP tools present (save_issue, list_teams), gh authenticated for the repo's origin, and an existing tracker.yml.
  2. Ask in one batched question: the provider (linear, github, none); for Linear the team (from list_teams) and an optional project; require (ask recommended, always when every change must have a ticket, never); labels; and an optional skills.create pointer (for example project-management:linear-planning).
  3. Write tracker.yml per rules/config.md with only the keys that differ from the defaults; put a personal value (another workspace's team, a token variable) in ~/.agents/aw/config.yml → repos.<owner/repo>.tracker.
  4. Validate: node "$T" --check prints tracker.yml ok: …. Commit nothing; print the path for the user to review.

create

Open one ticket for a request, then print TICKET: <id> <url>.

  1. skills.create set → Skill("<skills.create>", "<request> — create exactly one ticket and print its id and URL"), and take the id from its output; the pointed skill owns titles, estimates, and templates.
  2. Otherwise, by provider:
    • linear: save_issue with team (and project, labels from config), a one-line title from the request, and the request as the description.
    • github: gh issue create --title "<title>" --body "<request>" with --label per configured label.
  3. Never create a second ticket for a request that already has one: check the request text with --decide first.

link

Tie a ticket to a PR.

  1. node "$T" --pr-line --ticket <id> prints the line (Closes AI-3112, Closes #12); the PR body carries it once — add it with gh pr edit only when it is missing.
  2. Linear: attach the PR URL to the issue (create_attachment) when the issue does not already show it.

move

Set the ticket's state for a pipeline stage.

  1. node "$T" --state --stage <build|ready|merge> prints the state; none → do nothing.
  2. Linear: save_issue with that state. GitHub: closed at merge is done by the PR's Closes #n; confirm the issue closed, never close it by hand before the merge.

Hard rules

  • The script decides. Link, ask, create, or skip comes from --decide; never from your judgment.
  • Never create unattended under require: ask. The script prints skip there; report it as Needs you: no ticket.
  • One ticket per request. A named ticket is linked, never duplicated.
  • A tracker failure never blocks the caller. Report it as one Degraded: line; the work goes on.

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.