Refine Ticket
Move a ticket from "raw idea" to "implementation-ready" in one run.
Produces a rewritten ticket, Top-5 risks, and persona voices.
Orchestrates
validate-feature-fitandthreat-modelingas sub-skills
— never duplicates their logic. Output is copy-paste ready; the user
decides write-back.
When to use
- The user hands over a Jira / Linear ticket key, URL, branch name, or
pasted ticket text and asks for a sanity check before planning.
- A ticket looks too vague, too broad, or smells wrong.
- Before
/feature-planor/feature-exploreon a ticket-anchored scope. - The user says "tighten the AC", "poke holes in this ticket",
"is this ready to plan?", "ist das Ticket klar genug?",
"verbessere das Ticket".
When NOT to use (near-misses)
| Phrasing | Route to |
|---|---|
| "plan this feature" | /feature-plan (downstream) |
| "estimate this ticket" | /estimate-ticket (sibling, Phase 4) |
| "is this a duplicate feature?" | validate-feature-fit (sub-skill) |
| "threat-model this change" | threat-modeling (sub-skill) |
| "investigate this bug" | /bug-investigate (bug-focused) |
/refine-ticket orchestrates these — it does not replace them.
Language strategy
The refined output's prose language is picked once, up front, and
applied to every section (refined description, risks, persona voices,
orchestration notes, close-prompt). Fallback order — first hit wins:
- User-message language. If the latest user message is in
German, the entire output is German; if English, English; etc.
This honours the global language-and-tone iron law.
- Ticket body language. When the user's message is ambiguous
(one-word /refine-ticket PROJ-123), mirror the language the
ticket is written in — detected from the summary + description.
.agent-settings.ymldefault. If both are silent or unclear,
fall back to the project default in .agent-settings.yml
(personal.language or equivalent). If that is also missing,
default to English.
Quoted identifiers (ticket keys, file paths, command names, code
snippets) stay in their native form. Only the prose mirrors the
selected language.
Inputs (four equivalent paths)
Reuses the jira-ticket command's loader. Accepts:
- Ticket key —
/refine-ticket PROJ-123 - Branch detection —
/refine-ticketwith no arg;agent-config git:convention ticket