execute-ticket

execute-ticket is a cursor rule for coding agents from Hundia/autospec. It costs 0 tokens per session (660 once invoked), scanned A, original, MIT.

A procedure for implementing one feature or bug fix from a project backlog. It requires checking the ticket, reading relevant project context, updating its status, and following the project's coding and testing conventions.

In plain words
What is it for?
Use it to locate a ticket, check dependencies, read specifications and guides, implement the change, write tests, and update the ticket as work progresses.
Why use it?
It prevents development from starting without understanding the requirements, dependencies, existing documentation, or reproduction steps.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/hundia/autospec/execute-ticket
Clone the repo
git clone --depth 1 https://github.com/Hundia/autospec

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for execute-ticket

README.md
[![agentmods](https://agentmods.dev/badge/rules/hundia/autospec/execute-ticket.svg)](https://agentmods.dev/rules/hundia/autospec/execute-ticket)
Your own site
<a href="https://agentmods.dev/rules/hundia/autospec/execute-ticket"><img src="https://agentmods.dev/badge/rules/hundia/autospec/execute-ticket.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 660 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00660
Opus 5 $0.00000 $0.00330
Sonnet 5 $0.00000 $0.00132
Haiku 4.5 $0.00000 $0.00066

Measured today against content hash 9cf77105f0af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

execute-ticket scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/ai-support-ops/skills/cursor/rules/execute-ticket.mdc · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Execute Ticket

Follow this procedure to implement a single ticket from the backlog.

Step 1: Locate the Ticket

  1. Open specs/backlog.md
  2. Find the ticket by number (e.g., 16.3)
  3. Read the ticket description, acceptance criteria, and dependencies
  4. If the ticket has unresolved dependencies, stop and report them

Step 2: Read Context

Before writing any code, read the relevant documentation:

  • Always read: specs/backlog.md (full sprint context)
  • Feature work: the relevant spec file (specs/02-06, specs/10)
  • Bug fix: reproduce the bug first, understand the root cause
  • Viewer changes: docs/viewer/ for component patterns
  • CLI changes: docs/cli/ for command structure and patterns
  • Architecture questions: specs/04-architecture.md

Step 3: Update Status

In specs/backlog.md, change the ticket status:

🔲 → 🔄

This signals that work has started.

Step 4: Implement

Follow these patterns during implementation:

  • TypeScript strict — no any types, use Zod for validation
  • Repository → Service → Controller layering
  • Frontend: React components with Tailwind, Zustand for state
  • Tests: write or update tests alongside the implementation
  • Small commits: commit after each logical unit of work

File Organization

  • CLI source: cli/src/
  • Viewer source: viewer/src/
  • Specs: specs/
  • Docs: docs/

Step 5: QA Verification

Scale QA to the type of change:

Change Type QA Steps
Bug fix Reproduce → fix → verify the fix → run related tests
CLI change cd cli && npm run build && npm test
Viewer change cd viewer && npm run build + visual check
Docs/config only Review for accuracy — no build needed
New feature Full test suite + write new test cases

Step 6: Update Documentation

If your change affects behavior visible to users or developers:

  1. Update the relevant docs/ file(s)
  2. If no doc file exists for your subsystem, create one in docs/<subsystem>/
  3. Keep docs concise — focus on what changed and why

Read the full file on GitHub · 93 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 93 lines · 0 tokens per session scan A 9cf77105f0af

Subscribe to this mod's changes

execute-ticket is a cursor rule published in the GitHub repository Hundia/autospec (4 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 660 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.