Skip to content
Back to skills

Review Ticket

ASecurity

Grade a ticket against the Ticket Authoring Standard and return READY, NEEDS_REFINEMENT, or BLOCKED with a score out of 12, naming exactly what stops safe execution. Also reports when a ticket holds more than one deliverable outcome and how it splits. Reports only, never edits the ticket. Use when saying "review this ticket", "is this issue ready", "can an agent pick this up", "should this be split", or "/review-ticket <#>".

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentspythongobashgitapidatabasefrontendbackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add SanvioLabs/sanvio-factory --skill review-ticket --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Ticket?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Ticket
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sanviolabs-review-ticket/badge)](https://www.skillsdirectory.com/skills/sanviolabs-review-ticket)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-ticket
description: Grade a ticket against the Ticket Authoring Standard and return READY, NEEDS_REFINEMENT, or BLOCKED with a score out of 12, naming exactly what stops safe execution. Also reports when a ticket holds more than one deliverable outcome and how it splits. Reports only, never edits the ticket. Use when saying "review this ticket", "is this issue ready", "can an agent pick this up", "should this be split", or "/review-ticket <#>".
license: MIT. From Stelliad, https://github.com/Stelliad/stelliad-skills, commit 65632a3. Notice in LICENSE beside this file
compatibility: Any repository. GitHub issues by default through the gh CLI, or a local markdown draft for any tracker. The checker is Python 3.9+ standard library. Adapt labels, tracker and risk levels via CUSTOMIZE.md.
metadata:
  version: "1.0"
  author: Sanvio Labs, Agentience
  source: https://github.com/Stelliad/stelliad-skills
  source-commit: "65632a3ba2c9610a672fe3806667e1ed52babb5e"
  argument-hint: "<issue-number | file-path> [--repo owner/repo]"
type: skill
scope: all
status: active
---

# review-ticket

The gate a ticket passes before a human or an unattended agent picks it up. It
reports and never edits. [create-ticket](../create-ticket/SKILL.md) does the
writing and calls this one to confirm it's finished, because a skill that
grades its own output isn't a gate.

The standard is [STANDARD.md](./STANDARD.md), in this folder. Read it before
running this. Don't reconstruct the rules from memory, and never invent a
criterion that isn't in it.

## In this factory

The Ready label is `loop-ready`, not `agent-ready`, and a person applies it
through [`loop-control`](../loop-control/SKILL.md), which checks the ticket first.
[`steering/tickets.md`](../../steering/tickets.md) has what a ticket for the loop needs on top of this
standard. `READY_LABEL` in [`scripts/review-ticket.py`](../review-ticket/scripts/review-ticket.py) is set to match.

## Arguments

- `$1`: an issue number, or a path to a markdown draft. Required.
- `--repo owner/repo`: required with an issue number. When you weren't told,
  resolve it from the current checkout's `origin` remote and say which repo you
  used.

## Procedure

Paths below are relative to this skill's folder.

### 1. Run the mechanical checks

```bash
python3 scripts/review-ticket.py --issue {n} --repo {owner/repo}
# or, for a draft or another tracker's export:
python3 scripts/review-ticket.py --file {path} --title "{title}" --label P2-high
```

Always run it. It decides everything that can be decided without judgement:
required sections for the ticket's shape, whether the acceptance criteria are a
flat checkbox list, vague verbs with no measurable target, an empty or `N/A`
section, a generic title, a missing out-of-scope half, a High or Critical risk
with no reason, an open `#N` dependency (resolved only with `--repo`; without
it the script warns and you check), a credential in the body.

A `BLOCKING` line isn't a judgement call you can overrule. Report it.

### 2. Read the repo before judging

The script can't tell an invented dependency from a real one. Before grading,
check what the ticket asserts about the codebase: does the named service
exist, does the API it references exist, is the constraint real. A ticket that
names an email provider in a repo that has never had one fails item 8, not
item 3.

Read the repo's README, its contributor or agent rules, and any spec the ticket
cites.

### 3. Grade the ten Ready items

Walk the Definition of Ready in the standard item by item, and record pass or
fail for each with the evidence. Then score:

| Dimension | Ready items | Max |
|---|---|---|
| Objective clarity | 1 | 2 |
| Context sufficiency | 2, 10 | 2 |
| Requirements clarity | 3 | 2 |
| Acceptance criteria | 4, 5 | 2 |
| Scope clarity | 6 | 2 |
| Dependencies | 7 | 1 |
| Risk and approval | 9 | 1 |

Full marks only where the dimension is genuinely complete. Half marks round
down. A dimension with a `BLOCKING` line against it can't score full.

### 4. Decide the verdict

| Verdict | When |
|---|---|
| `BLOCKED` | Ready item 8 fails: a decision that changes architecture, security, scope, or product behaviour hasn't been made. Report the score anyway |
| `NEEDS_REFINEMENT` | Any mechanical `BLOCKING` line, or a score of 9 or under |
| `READY` | No `BLOCKING` line and a score of 10 to 12 |

### 5. Check whether it's one ticket

A ticket holds more than one deliverable outcome when it spans unrelated
subsystems, needs more than one deployment, or has acceptance criteria that
would land in separate PRs. When it does, name the split: the titles, the
boundary between them, and the dependency order.

Don't split tightly coupled work to make the pieces smaller, and don't propose
a frontend, backend and database split when a vertical slice is available.
Where the requirements need reviewing and tracing, the answer is a spec and one
parent issue, not a pile of issues.

### 6. Report

```
Verdict:  READY | NEEDS_REFINEMENT | BLOCKED
Score:    X / 12

Strengths
  ...

Issues
  <what specifically stops safe execution, and why>

Missing information
  <the fact, not the section name>

Recommended changes
  <the concrete edit, not "add more detail">

Split
  <only when step 5 found more than one outcome>
```

Then a revised ticket, only when the verdict isn't READY and the fix is
editorial. Where the gap is a missing decision or a fact nobody in the session
holds, name the question and who owns it. Don't write a revised ticket that
invents the answer.

Where the verdict is READY, say so and stop. Don't rewrite a good ticket.

## Rules

- **Never edit the ticket.** Not the file, not the issue. Report the change and
  let `create-ticket` or a human apply it.
- **Never apply or remove a label**, the Ready label least of all. Applying it
  is a deliberate human act; this skill only says whether the checklist behind
  it is met.
- **"Vague" isn't a finding.** Name the sentence, say what a reader can't
  determine from it, and give the replacement.
- **Don't invent requirements** to fill a gap. A missing answer is a finding,
  not a drafting opportunity.
- **A credential in an issue body is a rotation event.** Report where it is,
  never reproduce the value, and say plainly that it needs rotating and a
  secret scan.
- This grades the ticket, not the work done against it.

See [SPEC.md](./SPEC.md) for the reasoning and limitations, and
[CUSTOMIZE.md](./CUSTOMIZE.md) to adapt this skill for your organization.

Files in this skill

  • CUSTOMIZE.md8.2 KB
  • LICENSE1 KB
  • README.md2.7 KB
  • SKILL.md6.4 KB
  • SPEC.md7.3 KB
  • STANDARD.md20.2 KB
  • fixtures/01-vague.md139 B
  • fixtures/02-well-defined.md1.8 KB
  • fixtures/03-bug.md1.4 KB
  • fixtures/04-security.md1.4 KB
  • fixtures/05-infra.md1.6 KB
  • fixtures/06-tech-debt.md1.3 KB
  • fixtures/07-spike.md1.1 KB
  • fixtures/08-blocked.md743 B
  • fixtures/09-human-approval.md1.6 KB
  • fixtures/10-form-task.md1.1 KB
  • fixtures/11-form-bug.md1 KB
  • fixtures/12-form-spike.md854 B
  • fixtures/13-critical-no-approval.md965 B
  • fixtures/14-word-boundaries.md939 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.