gherkin-ticket
БесплатноЗапускает вложенные скриптыНе проверен"Shape every ticket around a scannable use-case before it's filed. **ALWAYS use when** the user says 'file a ticket', 'create a ticket', 'file tickets for'…
от coalesce-labs★ 20 звёзд на GitHubОб этом скилле
Gherkin Ticket — Use-Case-First Ticket Authoring
Every ticket must open with a use case a stranger can understand: who gets what outcome, under what condition, and why. Most tickets fail this — they dive straight into implementation ("Wire HRW ownership into dispatchTriage") and the reader has to reverse-engineer the point. This skill fixes that at authoring time.
This skill owns ticket format (title voice + body structure). It does not own the Linear CLI mechanics — once a draft is ready, hand off to the /catalyst-dev:linear skill to actually create or update the issue. CLI syntax lives in /catalyst-dev:linearis.
Paths. Commands below name files inside this skill's own directory as ${CLAUDE_SKILL_DIR}/…. Claude Code fills that in. On any other harness, set CLAUDE_SKILL_DIR to the absolute directory that contains this SKILL.md before running them. If you cannot, stop and report skill_dir_unresolved.
When this fires
Auto-invoked whenever a ticket is being born or rewritten — you do not need to say "gherkin":
- "file a ticket for X", "create tickets for A and B", "open an issue", "log this bug"
- breaking a PRD/plan into tickets
- "rewrite this ticket", "clean up these ticket titles", "this backlog is unreadable"
If the user is mid-creation in another skill (linear, phase-triage), apply these rules to the title and body before the issue is written.
The two parts of every ticket
Part 1 — The title IS the use case (the scannable line)
The title must let a reader who didn't write the ticket understand, in one glance, what it is and what the expected outcome of doing it is — enough to judge whether and when it should be done.
A useful starting shape (not a template to force) is:
<Actor> should <outcome> [when <condition>] [so that <benefit>].
where the actor is whoever gets value — not always a human: Operators, Developers, The scheduler, The reaper, A phase worker, The daemon, The dashboard.
But bias hard toward concise and scannable. Do not force the formula.
- Prefer the shortest title that still conveys context + expected outcome. Drop
so that…the moment the benefit is obvious; dropwhen…unless the trigger is the point. A 90-char title that reads cleanly beats a 150-char one that recites every clause. Vary the phrasing — identical "X should Y so that Z" scaffolding on every ticket becomes noise the reader tunes out. - Length is earned by clarity, never spent on mechanism. Soft cap ~120 characters. Go longer only if the extra words remove ambiguity.
- No jargon in the title — hard rule. No symbol, function, event, file, or flag names
(
reap-complete,bootReplay,schedulerTick,layoutId,--label-mode). The title is for someone deciding whether to care, not implementing. If you can't state the outcome without naming an internal mechanism, you don't yet understand the outcome — go figure out what the work is for, then write that. The mechanism belongs in the body. - Component does NOT go in the title. Put it in a Linear label (CTL uses component labels:
orchestrator / phase-agent / broker / monitor / cli / …). No
[API]/[Frontend]prefixes.
The hardest case is deep-internals work (a reaper fix, a scheduler reorder). The temptation is to title it by its mechanism because the outcome feels invisible. It isn't — every change exists to make something better for someone (the operator, the daemon, the next developer). Name that. "The reaper should record an already-gone session as reaped so the daemon stops re-checking it every boot" beats "Reap echo on already-gone bg session" even though both describe the same patch.
Title: before → after
| ❌ Implementation-first (cryptic) | ✅ Outcome-first (scannable) |
|---|---|
Wire HRW ownership + claim into monitor dispatchTriage |
The orchestrator should claim a ticket before triaging it so that two workers never grab the same job |
Fix CTL-874 preflight label scope |
catalyst-monitor preflight should pass in workspaces that have no team-level labels |
Add stale-worker detection to dispatcher |
The dispatcher should skip workers that have gone silent when assigning new work |
Dashboard needs-attention banner |
Humans should see an indication on the dashboard when something needs their attention so that they can react to it |
Refactor: extract dispatchAndVerify |
Developers should change dispatch-and-verify logic in one place so that the three sweeps can't silently diverge |
Notice the actor varies (orchestrator, monitor, dispatcher, humans, developers) and the so that is present only when it adds information.
Part 2 — The body: tiered Gherkin
Match the ceremony to the work. Forcing a full Given/When/Then block onto a pure chore produces vacuous Gherkin (Then the code is cleaner) — a known anti-pattern. Use the tier that fits:
**Always wrap scenarios in a ```gherkin fenced
Установить gherkin-ticket в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGrepGlobBash(linearis *)Bash(jq *)Bash(source *)Bash(linear_read_ticket *)Вложенные файлы
FAQ
Что делает скилл gherkin-ticket?
"Shape every ticket around a scannable use-case before it's filed. **ALWAYS use when** the user says 'file a ticket', 'create a ticket', 'file tickets for', 'open an issue', 'add a ticket', 'log a bug', or whenever drafting, titling, or rewriting a ticket. Turns vague, implementation-first tickets into an outcome title (`<actor> should <outcome> so that <benefit>`) plus tiered Gherkin (Given/When/Then) acceptance criteria — even for backend bugs and chores."
Как установить скилл gherkin-ticket?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gherkin-ticket запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic