AGENT SKILL

check-tickets

Chat and Claude Code: Step 5 of the product-discovery journey: reviews the drafted tickets for plain prose, story structure and duplicates, and flags fixes before anything is posted. Use when the journey directs it to step 5, not directly.

License 许可
MIT
所属仓库
Eliyce/paqad-ai
最近更新
2026-11-13
Stars
★ 8
Forks
0

01 前言 Front Matter

name
check-tickets
description
Chat and Claude Code: Step 5 of the product-discovery journey: reviews the drafted tickets for plain prose, story structure and duplicates, and flags fixes before anything is posted. Use when the journey directs it to step 5, not directly.
compatibility
claude.ai chat, Cowork or Claude Code; reads project docs and code through a connector, uploaded files or the open folder

02 资源文件 3

03 SKILL.md 正文

check-tickets

How to talk: follow references/voice.md. Short, answer first, plain business words, no narration, one short sources line. Those rules win.

When this runs

Directed by the product-discovery journey, not started directly: the checking half of step 5, after write-tickets drafts ticket-set.json. Say the status on entry ("Step 5 of 6: checking the tickets.").

What it does

Check the drafted set three ways, then report readiness.

  1. Prose check. If you have a tool that runs scripts, run scripts/check_prose.py --ticket-set <ticket-set.json>. It flags em and en dashes (TKT-1), code words in the title, goal, the story lines (As a, I want, So that) and the acceptance criteria (TKT-2; a confirmed permission key in inline code is allowed), and jargon from the shared references/plain-language.md deny-list (TKT-3), each with a line and a suggested fix. Quotes, code blocks and URLs are skipped. Fix and rerun until clean.
  2. Structure check. Run scripts/check_ticket_set.py --ticket-set <ticket-set.json>. It validates the set against the schema, recomputes the digest, and fails on a stale digest, an epic with no tickets, a ticket with no epic or in two epics, acceptance criteria (done_when) outside 2 to 8, duplicate titles, a dependency pointing nowhere, or a dependency loop. Add --record <record.json> so a set that no longer matches the recorded epic choice is refused. An existing epic must keep its key, an empty body and no labels; its live title is free of the title rules.
  3. Duplicate search. Search the tracker for issues similar to each epic and ticket, by key phrases. Show the matches before anything is posted; the user decides through the host's choice prompt whether a ticket is new, a duplicate, or extends an existing issue (AC-9). Read only. Never flag a chosen existing epic as its own duplicate. Compare the new tickets with that epic's current tickets, at most 25 and inside the run's read total (references/ground-from-tracker.md); when the total is used up, reuse what was read and say so.
  4. Judgment checks. Apply references/review-checklist.md: each ticket serves its epic's goal, a developer would know when it is done, nothing in "what exists today" contradicts the docs, the split is sensible, no similar issue exists, and each ticket is a real user story (references/user-stories.md).

If the checks cannot run

Do the same checks by hand:

  • Prose, by hand: read every title, goal, story line and acceptance criterion for em or en dashes, for code words (paths, function or class names, camelCase or snake_case, backtick code, web request verbs, database terms, library names), and for any deny-list jargon in plain-language.md. Ignore quoted text, code blocks and URLs; a confirmed permission key in inline code is allowed. Propose a fix for each and re-read until clean.
  • Structure, by hand: every epic has at least one ticket; every ticket has exactly one epic; every ticket has 2 to 8 Given/When/Then acceptance criteria; no two titles match; every dependency points to a ticket in the set or a real issue; no dependency loop.
  • Duplicate search, by hand: search the tracker for similar issues by key phrases and show the matches before posting. Leave a chosen existing epic out, and compare the new tickets with its current tickets, at most 25.
  • Judgment, by hand: work through references/review-checklist.md, including the story shape (As a, I want, So that) from references/user-stories.md.

Output

The readiness block of the discovery record: status (passed or open), checks run, reviewer, and notes including the duplicate matches shown. post-tickets proceeds only once readiness is passed.

04 同仓库更多 Skills

Eliyce
Eliyce/paqad-ai

sample-skill

Sample bundled skill fixture

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

understand-idea

Chat and Claude Code: Step 1 of the discover journey: clarifies the goal, who benefits, success and constraints into the idea block. Use when the journey directs it to step 1, not directly.

★ 8
Eliyce
Eliyce/paqad-ai

size-work

Chat and Claude Code: Suggest a size for a ticket from comparable finished work, as a labelled suggestion the team still owns. Use it when someone asks "how big is this?", "roughly how much work is ABC-12?", or wants a backlog item sized. It finds the team's sizing scale at first use, picks two to five of the closest finished tickets with links, and gives a size or range with the drivers behind it and a confidence of low, medium or high, lowered and explained when the area's documents are template text. Every result is labelled a suggested size, never a date or a commitment. It writes nothing into the size field unless the user says "set it", and it refuses to overwrite an existing size unless the user asks to replace it. Produces the sizing block of the record.

★ 8
Eliyce
Eliyce/paqad-ai

refine-ticket

Chat and Claude Code: Improve one or more existing tracker tickets without losing the author's intent. Use it when someone wants a ticket read, diagnosed and tidied up ("this ticket is vague", "fix up ABC-12", "split this, it's too big"). It reads each ticket in full and snapshots it with its last-updated time, says what is wrong with evidence, and proposes a field-by-field before and after change set limited to summary, description, labels, parent, links and new child tickets on a split. It writes nothing until an explicit "apply it" bound to that exact change set, re-checks the ticket for conflicting edits just before writing, never replaces rich descriptions with plain text, never deletes or closes a ticket, and reads each ticket back after applying. Produces the existing and changes blocks of the record.

★ 8