ticket-enforcer
Audit a whole Jira project or sprint for ticket-quality compliance in bulk, producing per-ticket scores and a project-level health summary. Use to enforce…
от FuzeOne★ 18 звёзд на GitHub
Установить ticket-enforcer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Ticket Enforcer
Purpose
Audits an entire project or sprint for ticket quality compliance.
Applies the same completeness rules as the ticket-reviewer to every ticket in bulk.
Produces an aggregate compliance report with per-ticket scores and a project-level health summary.
Input
- A Jira project key (e.g.,
BLNG) — audits all open tickets - OR a sprint name + project key — audits all tickets in that sprint
- OR a comma-separated list of ticket IDs — audits those specific tickets
Step 1 — Fetch tickets
Use the Atlassian MCP tool to fetch tickets.
For a project audit:
JQL: project = [PROJECT_KEY] AND status != Closed ORDER BY issuetype ASC
Fields: summary, description, issuetype, status, assignee, priority, labels, parent, story_points, created, updated
For a sprint audit:
JQL: project = [PROJECT_KEY] AND sprint = "[SPRINT_NAME]"
Fields: same as above
Fetch in batches of up to 50. Continue paginating until all tickets are retrieved.
Step 2 — Group by type
Group tickets into these categories:
- Epic — Epic type
- Story — Story type
- Dev Task — Frontend Development, Backend Development, UX Task, Sub-task
- QA Task — Any QA or Testing type
- Documentation — Documentation type
- DevOps Task — DevOps type
- Bug — Bug type
- Unknown — Anything not in the above list (flag for type cleanup)
Step 3 — Apply rules per ticket
Universal rules (all types)
| Check | Green ✅ | Yellow 🟡 | Red 🔴 |
|---|---|---|---|
| Summary | Verb + specific outcome | Vague but present | Missing or just type name |
| Assignee | Set | — | Unassigned (if not Backlog/Ideation) |
| Priority | Set | — | None |
| Description | > 100 chars | > 30 chars | Empty or < 30 chars |
Epic-specific rules
| Check | Green ✅ | Red 🔴 |
|---|---|---|
| Problem Statement | Present and > 50 chars | Missing |
| Goal | Present | Missing |
| Features In Scope | ≥ 3 items | < 3 or missing |
| Success Metrics | ≥ 1 metric with target | Missing |
| Child Stories | ≥ 1 story linked (if past Ideation) | None linked + not in Ideation |
| Sizing | Duration ≤ N×D = 84 days | > 84 days in progress |
Story-specific rules
| Check | Green ✅ | Red 🔴 |
|---|---|---|
| Parent Epic | Linked | Not linked |
| User Story format | All 3 parts present | Missing or incomplete |
| Acceptance Criteria | ≥ 2 Given/When/Then | < 2 or no AC |
| Definition of Done | ≥ 5 items | < 3 items |
| Sub-Tasks | ≥ 1 dev + ≥ 1 QA | None |
| Story Points | Set and valid {2,4,8} sums | Not set or invalid |
| Sprint (if In Progress) | Assigned | Missing |
Dev Task-specific rules (Frontend / Backend / UX / Sub-task)
| Check | Green ✅ | Red 🔴 |
|---|---|---|
| Parent Story | Linked | Not linked |
| Story Points | In {2, 4, 8} | Not set or invalid |
| Implementation Tasks | ≥ 4 items | < 2 items |
| Acceptance Criteria | ≥ 3 items | Missing |
| Testing Requirements | ≥ 2 named tests | Missing |
| Backend: API Spec | Method + path + response present | Missing |
| Frontend: Figma link | Present | Missing |
QA Task-specific rules
| Check | Green ✅ | Red 🔴 |
|---|---|---|
| Test Type | Stated | Missing |
| Story Points | In {2, 4, 8} | Not set |
| Test Scenarios | ≥ 3 rows (Happy + Edge + Error) | Missing |
| Environment | Stated | Missing |
| Load/Stress: Perf targets | All 6 metrics present | Missing |
| Security: OWASP checklist | All 10 rows present | Missing |
Documentation-specific rules
| Check | Green ✅ | Red 🔴 |
|---|---|---|
| Doc Type | Stated | Missing |
| Audience | Named | Missing |
| Deliverables | ≥ 1 document with location | Missing |
| Acceptance Criteria | ≥ 3 items | Missing |
DevOps Task-specific rules
| Check | Green ✅ | Red 🔴 |
|---|---|---|
| Environment | Stated | Missing |
| Rollback Plan | Trigger + steps | Missing entirely |
| Security Checklist | All 4 items | Missing |
| Implementation Tasks | ≥ 4 specific steps | < 2 or vague |
Bug-specific rules
| Check | Green ✅ | Red 🔴 |
|---|---|---|
| Severity | Set | Not set |
| Steps to Reproduce | ≥ 3 steps | < 2 or missing |
| Expected + Actual | Both present > 20 chars | Either missing |
| Evidence | ≥ 1 item attached | All unchecked |
| Severity SLA | Assignee set within SLA window | Critical bug unassigned |
Step 4 — Score each ticket
For each ticket:
- 🟢 Green: 0 red flags + ≤ 1 yellow flag
- 🟡 Yellow: 0 red flags + 2–3 yellow flags
- 🔴 Red: ≥ 1 red flag OR ≥ 4 yellow flags
Step 5 — Generate compliance report
Output the report in this format:
# Ticket Compliance Report
**Project:** [PROJECT_KEY] **Sprint / Scope:** [SPRINT or "All open tickets"]
**Run date:** [YYYY-MM-DD] **Total tickets audited:** [N]
---
## Summary
| Score | Count | % |
|-------|-------|---|
| 🟢 Green | N | X% |
| 🟡 Yellow | N | X% |
| 🔴 Red | N | X% |
**Project health:** 🟢 Healthy / 🟡 Needs a
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ticket-enforcer?
Audit a whole Jira project or sprint for ticket-quality compliance in bulk, producing per-ticket scores and a project-level health summary. Use to enforce Jira ticket quality across many tickets.
Как установить скилл ticket-enforcer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ticket-enforcer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…