autospec: Command for Claude Code

.claude/commands/execute-ticket.md

execute-ticket is a command for Claude Code from Hundia/autospec. It costs 0 tokens per session (981 once invoked), scanned A, original, MIT.

A command that takes a numbered backlog ticket and guides the coding agent through its specified work process.

In plain words
What is it for?
Use it to start and track implementation of a specific ticket from a backlog.
Why use it?
It keeps ticket work tied to documented requirements, dependencies, and project documentation before code is changed.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is Hundia/autospec's own configuration. It tells Claude Code how to work on autospec itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything autospec configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hundia/autospec. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Hundia/autospec/main/.claude/commands/execute-ticket.md
Clone the repo
git clone --depth 1 https://github.com/Hundia/autospec

Made for: Claude Code.

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/commands/hundia/autospec/execute-ticket/github.svg)](https://agentmods.dev/commands/hundia/autospec/execute-ticket)
Your own site
<a href="https://agentmods.dev/commands/hundia/autospec/execute-ticket"><img src="https://agentmods.dev/badge/commands/hundia/autospec/execute-ticket/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for execute-ticket

Your own site · 80×15
<a href="https://agentmods.dev/commands/hundia/autospec/execute-ticket"><img src="https://agentmods.dev/badge/commands/hundia/autospec/execute-ticket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 981 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00981
Opus 5.5 $0.00000 $0.00392
Sonnet 5.5 $0.00000 $0.00196
Haiku 4.5 $0.00000 $0.00098

Measured 2mo ago against content hash c5ce284c77fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

execute-ticket scanned grade A with 1 finding 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 2mo ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| API change | Run API test suite. If new endpoint, demonstrate it works via curl/fetch |
.claude/commands/execute-ticket.md · 122 lines

How it starts

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

Execute Ticket

Execute a ticket from the backlog following Spec-Driven Development methodology.

Usage

/execute-ticket [ticket_number]

Example: /execute-ticket 4.3

Instructions

Note: When running inside an Orchestrator+Agent session, the agent briefing file (agents/sprint-X-brief.md) takes precedence over interactive backlog discovery. Read it first.

When this command is invoked:

  1. Read the backlog to find the specified ticket:

    • Read specs/backlog.md
    • Locate the ticket by number (e.g., 4.3 = Sprint 4, Ticket 3)
    • Note the ticket's owner, model recommendation, status, and dependencies
  2. Check dependencies:

    • Verify prerequisite tickets are marked ✅ Done
    • If dependencies are incomplete, notify the user and stop
  3. Read relevant docs FIRST (before touching code):

    • Check docs/ for existing documentation related to this ticket's subsystem
    • Understanding existing architecture prevents rework and regressions
  4. Update backlog status:

    • Change ticket status from 🔲 Todo to 🔄 In Progress
    • Edit specs/backlog.md with the status change
  5. Read relevant spec file based on ticket type:

    • Backend tickets → specs/02_backend_lead.md
    • Frontend tickets → specs/03_frontend_lead.md
    • Database tickets → specs/04_db_architect.md
    • DevOps tickets → specs/06_devops_lead.md
    • QA tickets → specs/05_qa_lead.md
    • UI tickets → specs/10_ui_designer.md
    • Check for linked feature specs mentioned in the sprint
  6. Implement the ticket:

    • Follow patterns and conventions from the relevant spec files
    • Write clean, typed code following project standards
    • Add appropriate error handling
  7. QA Verification (MANDATORY — scale to change type):

    Change Type QA Required
    Bug fix Reproduce bug first, apply fix, verify the exact user flow passes
    API change Run API test suite. If new endpoint, demonstrate it works via curl/fetch
    UI change Run UI tests. Verify page renders correctly
    Database migration Verify migration applies cleanly, test affected endpoints
    Docs/config only No QA needed — mark ✅ directly
    Full-stack feature Run full test suite. Add test cases if needed

Read the full file on GitHub · 122 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. 2mo ago First seen · 122 lines · 0 tokens per session scan A c5ce284c77fe

Subscribe to this mod's changes

execute-ticket is a command published in the GitHub repository Hundia/autospec (4 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 981 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.