KAZE

How to write tickets AI coding agents can actually execute

The ticket is now the prompt. A practical template for specs that agents follow and reviewers can check.

· 5 minute read

When an agent picks up a ticket, the ticket is the prompt. As one Hacker News thread put it, "the ticket description IS the prompt." Every gap you leave, the agent fills with a guess.

Atlassian makes the same point: "every assumption we leave for the agent to fill in is a cost we pay later" (Atlassian , a vendor source). It also costs money: one developer who tracked 26 agent tasks found clear specs were the main way to keep the cost per task down (dev.to ).

The six parts of an agent-ready ticket

  1. A title that says the result, not the activity. "Show the VAT line on the invoice PDF", not "VAT work".
  2. Why it matters, in a sentence or two. Agents make better choices when they know the goal.
  3. Acceptance criteria someone could test. Two to six of them. "Given an invoice for an Irish customer, when it is exported, then the PDF shows 23% VAT."
  4. What is out of scope. "No changes to other modules. No new dependencies." This stops well-meant sprawl.
  5. How it will be verified. A test command, a CI job, or what a person will check on staging.
  6. Guardrails. Files to leave alone, rules to follow, systems never to touch, such as production.

Keep it short

Spec-first tools have been criticised for producing "too much text". Long specs are skipped by people and misread by agents. Six short sections beat three pages.

Give agents the context once, not on every ticket

What your team builds with, your environments and your rules should not be repeated in every ticket. Write them down once for the team, so every agent reads them first.

Check the spec before work starts

Before a ticket reaches an agent, check it: does it have testable criteria, an owner, a way to verify it? Catching a missing criterion before the work costs nothing. Catching it in review costs a rewrite.

How Kaze does this

Kaze checks every spec against a rubric before an agent may start, offers a Given, When, Then builder for criteria, and gives every agent the team's context, hard rules and definition of done before it touches any work. Writing a spec an agent cannot misread.

More guides