[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FK1DACW5PSVAZTNKW1JC7":3,"skill-same:01M78FK1DACW5PSVAZTNKW1JC7":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M78FK1DACW5PSVAZTNKW1JC7","ticket",null,"Use when a bug, regression, robustness fix or wording defect arrives that stays inside an approved commitment — it becomes a ticket file that records the evidence, the expected behaviour's source and the commitment, and serves as the brief a coding agent fixes it from. Also `list` for the open tickets and `T-\u003Cn> \u003Cstate>` for a state change. A change that alters an approved commitment is handed to intake instead.","dsnger\u002Fdev-workflow-kit","dsnger","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20968534?v=4","01M78FHTGAGTZA6DKD64DA3S8W","Daniel","01M78FHTHEKSD2GQWB3HPNY3W7",6,"MIT","https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-workflow\u002Fskills\u002Fticket\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ticket\ndescription: Use when a bug, regression, robustness fix or wording defect arrives that stays inside an approved commitment — it becomes a ticket file that records the evidence, the expected behaviour's source and the commitment, and serves as the brief a coding agent fixes it from. Also `list` for the open tickets and `T-\u003Cn> \u003Cstate>` for a state change. A change that alters an approved commitment is handed to intake instead.\n---\n\n# ticket\n\n## Overview\n\nThe entrance for work that stays inside what is already approved. A report goes in; a ticket file\ncomes out at `docs\u002Fsuperpowers\u002Ftickets\u002F\u003CYYYY-MM-DD>-T\u003Cn>-\u003Cslug>.md`, committed on its own. The\nticket is the plan for its fix: it quotes the commitment the fix stays inside, records the\nevidence, and carries the brief. It opens no spec and no Gate-A cycle, because the commitment it\nstays inside was already reviewed. A change to a commitment is not a ticket: it goes to\n`dev-workflow:intake`.\n\n**Done when** one ticket file is committed on its own and its hand-off or questions are printed —\nor nothing is written and the intake hand-off is printed.\n\nTarget model: Claude via Claude Code.\nThis skill is a prompt artifact and follows the checklist in `docs\u002Fprompt-standards.md`.\n\n**This skill is one file on purpose.** A route file behind a prose pointer is not re-read after\ncontext compaction (finding F7, PR #60), so every step lives here. A single short invocation is less\nexposed to compaction than a multi-turn route; that is a reason, not evidence.\n\n## When to use\n\n- A bug, a regression, a robustness gap or a wording defect is reported, and the expected behaviour\n  is already written down in a story criterion, a spec section, an `AGENTS.md` invariant or a\n  `docs\u002FPRD.md` feature-map row.\n- An improvement is requested that stays inside such a commitment.\n- `list`: see what is open. `T-\u003Cn> \u003Cstate>`: move a ticket.\n\nNot for new behaviour or a changed commitment (that is `dev-workflow:intake`), and not for hardening\na review finding (that is `dev-workflow:harden-finding`, which keeps owning the finding).\n\n## Invocation\n\n| Form | Does |\n|---|---|\n| `\u002Fdev-workflow:ticket \u003Ctext>` or `\u003Cpath to evidence>` | captures a new ticket (Flow) |\n| `\u002Fdev-workflow:ticket list` | prints the buckets (§ list) |\n| `\u002Fdev-workflow:ticket T-\u003Cn>` | shows that ticket |\n| `\u002Fdev-workflow:ticket T-\u003Cn> \u003Cstate> [reason or commit]` | changes its state (§ State changes) |\n\nAny other argument shape: stop and ask which form was meant, because guessing would write a file\nnobody asked for. A change to a field other than the state is an ordinary edit of the file.\n\n## Flow — a new ticket\n\nFollow in order. Each step says why it exists.\n\n1. **Read the input and the project.** Requires `AGENTS.md` (the invariants); if it is missing, stop\n   and offer `\u002Fdev-workflow:workflow-init`, since step 2 cannot quote an invariant it cannot read.\n   Read the stories, specs and `docs\u002FPRD.md` feature-map rows the input plausibly touches.\n\n2. **Commitment check.** Decide whether the requested change alters an approved commitment —\n   behaviour, a contract, a security guarantee or scope — of a story criterion, a spec section, an\n   invariant or a feature-map row. Three outcomes:\n   - **Inside a commitment:** quote it and its source (path plus `AC-\u003Cn>`, `§` or row), continue.\n     An improvement that sets no new limit and breaks no commitment stays inside the commitment of\n     the feature it improves: quote that feature's criterion. A missing target is a `needs-info`\n     question, not a reason to hand off.\n   - **Alters a commitment, or none can be quoted:** write nothing, print the hand-off and stop.\n     The human starts intake; this skill does not invoke it, as intake leaves its own hand-off to\n     the human.\n     - changed commitment of a story or spec:\n       `\u002Fdev-workflow:intake Amend the approved \u003Cpath>. Decision: \u003Cthe human decision, quoted>. \u003Ccaptured text>`.\n       When the input names no decision, write `Decision: open — a human decides before running\n       this` and name the open decision above the line. Intake's amendment route starts from a\n       decision already made, so the human decides first.\n     - new behaviour, or a change to a commitment only a `docs\u002FPRD.md` row carries (intake's\n       amendment route amends only a story or spec): `\u002Fdev-workflow:intake \u003Ccaptured text>`\n   - **The texts cannot decide it:** write the ticket in state `needs-triage` with a filled\n     `Decision needed:` line naming the two readings, and ask. No rule decides it, because a guess\n     here is a commitment change made without anyone choosing it.\n\n3. **Capture, evidence first.** Fill observed (with its evidence: a command and its output, a log\n   line, a failing test, a screenshot path), expected (with its source), repro steps, affected\n   feature, severity and first seen (version or commit). Severity is one of\n   `blocker|major|minor|nit`: blocker = wrong, unsafe or breaks an invariant; major = a design flaw\n   needing rework; minor and nit = below that. A field the input cannot support is written\n   `unknown — \u003Creason>`, severity included; take nothing from a similar case, because a filled\n   field reads as a fact.\n\n4. **Category and state.** Exactly one category, `bug|regression|improvement|docs`, and exactly one\n   state, `needs-triage|needs-info|ready|in-progress|done|wontfix`. The **readiness fields** are\n   observed with evidence, expected with its source, the commitment and the severity. A new ticket\n   is `ready` when all four are filled, `needs-info` when any is `unknown` (it then lists a question\n   for the reporter per unknown field), `needs-triage` when a decision is needed. Repro, feature and\n   first seen may stay `unknown` in a `ready` ticket. For an `improvement`, the expected behaviour's\n   source is the commitment it stays inside, with the request recorded beside it (who asked,\n   where); write no target the input does not state. When no category can be grounded, or the input\n   names two categories or two states, ask one question and wait before writing anything — a\n   category cannot be left `unknown`.\n\n5. **Brief.** Fix scope; out of scope; the feedback loop that goes red on exactly this defect, as the\n   first feasible entry of this ordered list — failing test at the nearest seam, HTTP or CLI script\n   with fixture, headless-browser script, replayed captured trace, throwaway harness, property or\n   fuzz loop, bisection harness — with one clause on why earlier entries were not feasible and the\n   observation that is red before the fix; files to read first (the commitment's story or spec, the\n   `AGENTS.md` sections it touches, `docs\u002FTECH-STACK.md` only for a dependency change).\n\n6. **Review header.** A ticket carries no profile of its own: its story holds it. When a story\n   stands behind the commitment (directly, or through a spec's `**Story:**` line), write a\n   `**Story:**` line: ``**Story:** `docs\u002Fsuperpowers\u002Fstories\u002F\u003Cfile>.md` `` — one backticked path per\n   entry, so the fix's Gate-B provenance line can name it. When none does, write the `**No story:**`\n   line instead, never a `**Story:**` line holding prose, because the provenance line takes story\n   paths, not prose.\n\n7. **Number and path.** `T-\u003Cn>` is the highest `n` among `docs\u002Fsuperpowers\u002Ftickets\u002F*-T\u003Cn>-*.md` in\n   the working tree **and** on every local and remote-tracking branch, plus one; `T-1` when there\n   are none. Scanning every branch covers the default branch without deciding which one it is:\n   list the refs with `git for-each-ref --format='%(refname)' refs\u002Fheads refs\u002Fremotes`, then run\n   `git ls-tree --name-only \"$ref\" docs\u002Fsuperpowers\u002Ftickets\u002F` once per ref, the ref held in a\n   quoted variable so no branch name becomes shell text. If the listing or any read fails, stop,\n   write nothing and name the failure: a partial scan can hand out a number already taken. A number is never reused; `done` and `wontfix` keep theirs.\n   - **Slug** from the title: lowercase; `ä`→`ae`, `ö`→`oe`, `ü`→`ue`, `ß`→`ss`, strip other\n     diacritics; replace every non-`[a-z0-9]` run with one hyphen; trim hyphens; cap at 40\n     characters at the last whole word (a single longer token is hard-truncated to 40, then\n     re-trimmed); an empty result becomes `ticket`.\n   - **Path** `docs\u002Fsuperpowers\u002Ftickets\u002F\u003CYYYY-MM-DD>-T\u003Cn>-\u003Cslug>.md`, the local project date.\n     Create the folder on the first ticket.\n   - **Never overwrite:** if the path exists when you are about to write, stop and name it, because\n     it is another ticket's record.\n   - The tickets folder is the backlog; no other file records the ticket.\n\n8. **Commit.** If the index already holds staged changes (`git diff --cached --name-only` is\n   non-empty), stop and ask, so no unrelated work rides along. Stage only the ticket file by name;\n   confirm the staged set is exactly that path and `git show :\u003Cpath> | diff - \u003Cpath>` prints\n   nothing; otherwise `git restore --staged \u003Cpath>` and stop. Commit `docs(ticket): T-\u003Cn> \u003Cslug>`.\n   The path is explanatory Markdown under `docs\u002F`, docs-only under the gate rules' \"Docs-only\n   means…\", so this commit owes no Gate B.\n\n9. **Hand off and stop.** A `ready` ticket ends with the build hand-off (§ Hand-off). A\n   `needs-info` or `needs-triage` ticket ends with its questions and the line\n   `Not ready to build: answer the questions, then \u002Fdev-workflow:ticket T-\u003Cn> ready` — never with\n   the build hand-off, because nobody should start a fix whose target is unknown.\n\n## Ticket template\n\nWrite exactly these lines and sections; drop the lines marked \"only\".\n\n```markdown\n# T-\u003Cn> — \u003Ctitle>\n\n**Category:** \u003Cone> · **State:** \u003Cone> · **Severity:** \u003Cone | unknown — reason> · **First seen:** \u003Cversion\u002Fcommit | unknown — reason>\n**Story:** `\u003Cstory path>`\n**No story:** the commitment comes from \u003Csource>; the fix's Gate-B provenance line names `none`\n**Feature:** \u003CPRD feature-map row, story or spec section | unknown — reason>\n**From finding:** \u003Chardening-log row, or SLOT:n with \"ledger row: none yet — harden-finding owns it\">\n\n## Commitment\n\"\u003Cquoted commitment>\" — \u003Csource path + AC-n \u002F § \u002F row>\nDecision needed: \u003Creading A> \u002F \u003Creading B>\n\n## Observed\n\u003Cbehaviour> — evidence: \u003Ccommand+output | log line | failing test | screenshot path>\n\n## Expected\n\u003Cbehaviour> — source: \u003Cpath + AC-n \u002F § \u002F row>; requested by: \u003Cwho, where>\n\n## Repro\n1. …\n\n## Brief\n- Fix scope: …\n- Out of scope: …\n- Feedback loop: \u003Centry> — \u003Cwhy earlier entries were not feasible>; red before the fix: \u003Cobservation>\n- Read first: …\n\n## Questions for the reporter\n- …\n\n## Log\n- \u003CYYYY-MM-DD> · created · \u003Cstate>\n```\n\nExactly one of `**Story:**` \u002F `**No story:**`. `**From finding:**` only for a ticket raised from a\nreview finding. `Decision needed:` only in `needs-triage`. `requested by:` only for an\n`improvement`. `## Questions for the reporter` only in `needs-info` (and `needs-triage`, holding\nthe decision question).\n\n**Example** (an invoice PDF service), head of a `ready` bug:\n\n```markdown\n# T-7 — Invoice PDF drops the VAT line for reverse-charge customers\n\n**Category:** bug · **State:** ready · **Severity:** blocker · **First seen:** 2.3.0\n**Story:** `docs\u002Fsuperpowers\u002Fstories\u002F2026-05-02-invoice-pdf-story.md`\n**Feature:** invoice PDF, docs\u002Fsuperpowers\u002Fstories\u002F2026-05-02-invoice-pdf-story.md AC-4\n\n## Commitment\n\"Every invoice PDF shows a VAT line, reading 'reverse charge' when no VAT is charged.\" — docs\u002Fsuperpowers\u002Fstories\u002F2026-05-02-invoice-pdf-story.md AC-4\n```\n\n## State changes\n\n`\u002Fdev-workflow:ticket T-\u003Cn> \u003Cnew state> [reason]` rewrites the `**State:**` value and appends\n`- \u003Cdate> · \u003Cstate> · \u003Creason or commit>` to `## Log`; `wontfix` and `done` require the reason or\nthe fix commit. A `wontfix` ticket stays in the folder as the project's out-of-scope record, with\nits reason.\n\n**A move into `ready` or `in-progress`, from any state, is a re-capture:** run Flow steps 2–6 on the\nticket as it now stands, answers included, and rewrite it from the result — commitment, readiness\nfields, Brief and review header alike. It enters the requested state only if that run would have\nmade it `ready`; otherwise it takes the state the run gives (`needs-info`, `needs-triage`), and on a\ncommitment change it becomes `wontfix` with the reason \"handed to intake\" and the step-2 hand-off is\nprinted. Why: answers can change the commitment, and a stale brief sends a fix the wrong way.\n\nEvery state change is committed as in Flow step 8. A lookup or state change on a `T-\u003Cn>` carried by\ntwo files stops and names both paths for a human, who renumbers one and its references.\n\n## list\n\nRead the `**State:**` line of every file in `docs\u002Fsuperpowers\u002Ftickets\u002F` and print, in this order:\n\n```text\nneeds-triage\n(none)\n\nneeds-info\nT-2 · bug · unknown — impact not known · Missing e-mail · docs\u002Fsuperpowers\u002Ftickets\u002F2026-06-03-T2-missing-e-mail.md\n\nready\nT-5 · docs · minor · Old size in help text · docs\u002Fsuperpowers\u002Ftickets\u002F2026-06-01-T5-old-size-in-help-text.md\n```\n\nEach bucket oldest first by the date in the file name, then by `n`; one line per ticket,\n`T-\u003Cn> · \u003Ccategory> · \u003Cseverity> · \u003Ctitle> · \u003Cpath>`; an empty bucket prints `(none)`.\n`in-progress`, `done` and `wontfix` are not shown. Add a fourth heading, `needs repair`, only when a\nfile has a defect, one line each with the path and which defect: the `**State:**` line is missing;\nit appears twice; its value is outside the six states; or its `T-\u003Cn>` is carried by another file\ntoo. Why: a malformed ticket must stay visible rather than drop out of every bucket. `list` is\nread-only; the human repairs the file: one `**State:**` line with one of the six values, or a\nrenumbering for a shared `T-\u003Cn>` (§ State changes).\n\n## Hand-off\n\nFor a `ready` ticket, end with the ticket path and this route:\n\n1. `\u002Fdev-workflow:ticket T-\u003Cn> in-progress`.\n2. Make the Brief's feedback loop red on this defect.\n3. Fix; the loop goes green; run the project's quality command from `AGENTS.md`.\n4. Gate B on the diff per the project's gate rules, the call carrying the ticket path and, when the\n   ticket has a `**Story:**` line, that story path; otherwise the call says the ticket has no story\n   and the provenance line names `none`.\n5. The closing act per the gate rules; then `\u002Fdev-workflow:ticket T-\u003Cn> done \u003Cfix commit>`.\n\nA fix whose staged paths are all docs-only under the gate rules' \"Docs-only means…\" (explanatory\nMarkdown under `docs\u002F`, `README.md`, `MANIFEST.md`, `todos.md`) owes no Gate B — say so in those\nwords. A `docs` ticket whose fix touches a skill, command, template or anything under `plugins\u002F` is\na prompt change and owes Gate B. A\nticket raised from a review finding keeps its ledger link; `harden-finding` owns the finding and\nthis skill logs no ledger row. This skill does not start the fix.\n\n## Stop and ask\n\n| Situation | Do |\n|---|---|\n| `AGENTS.md` missing | stop; offer `\u002Fdev-workflow:workflow-init` |\n| argument shape unknown | ask which form was meant |\n| no grounded category, or two categories or states | one question, write nothing |\n| change alters a commitment, or none can be quoted | print the intake hand-off, write nothing |\n| texts cannot decide the commitment question | `needs-triage` ticket with `Decision needed:` |\n| computed path already exists | stop, name it |\n| index already holds staged changes | stop and ask |\n| staged set or content differs after staging | unstage the ticket, stop |\n| `T-\u003Cn>` carried by two files (lookup or state change) | stop, name both paths |\n\n## Common mistakes\n\n- A \"bug\" asking for another file format, a new field or a different limit moves a commitment:\n  print the intake hand-off.\n- Stage the ticket by name, so unrelated work stays out of its commit.\n","# ticket\n\n## Overview\n\nThe entrance for work that stays inside what is already approved. A report goes in; a ticket file\ncomes out at `docs\u002Fsuperpowers\u002Ftickets\u002F\u003CYYYY-MM-DD>-T\u003Cn>-\u003Cslug>.md`, committed on its own. The\nticket is the plan for its fix: it quotes the commitment the fix stays inside, records the\nevidence, and carries the brief. It opens no spec and no Gate-A cycle, because the commitment it\nstays inside was already reviewed. A change to a commitment is not a ticket: it goes to\n`dev-workflow:intake`.\n\n**Done when** one ticket file is committed on its own and its hand-off or questions are printed —\nor nothing is written and the intake hand-off is printed.\n\nTarget model: Claude via Claude Code.\nThis skill is a prompt artifact and follows the checklist in `docs\u002Fprompt-standards.md`.\n\n**This skill is one file on purpose.** A route file behind a prose pointer is not re-read after\ncontext compaction (finding F7, PR #60), so every step lives here. A single short invocation is less\nexposed to compaction than a multi-turn route; that is a reason, not evidence.\n\n## When to use\n\n- A bug, a regression, a robustness gap or a wording defect is reported, and the expected behaviour\n  is already written down in a story criterion, a spec section, an `AGENTS.md` invariant or a\n  `docs\u002FPRD.md` feature-map row.\n- An improvement is requested that stays inside such a commitment.\n- `list`: see what is open. `T-\u003Cn> \u003Cstate>`: move a ticket.\n\nNot for new behaviour or a changed commitment (that is `dev-workflow:intake`), and not for hardening\na review finding (that is `dev-workflow:harden-finding`, which keeps owning the finding).\n\n## Invocation\n\n| Form | Does |\n|---|---|\n| `\u002Fdev-workflow:ticket \u003Ctext>` or `\u003Cpath to evidence>` | captures a new ticket (Flow) |\n| `\u002Fdev-workflow:ticket list` | prints the buckets (§ list) |\n| `\u002Fdev-workflow:ticket T-\u003Cn>` | shows that ticket |\n| `\u002Fdev-workflow:ticket T-\u003Cn> \u003Cstate> [reason or commit]` | changes its state (§ State changes) |\n\nAny other argument shape: stop and ask which form was meant, because guessing would write a file\nnobody asked for. A change to a field other than the state is an ordinary edit of the file.\n\n## Flow — a new ticket\n\nFollow in order. Each step says why it exists.\n\n1. **Read the input and the project.** Requires `AGENTS.md` (the invariants); if it is missing, stop\n   and offer `\u002Fdev-workflow:workflow-init`, since step 2 cannot quote an invariant it cannot read.\n   Read the stories, specs and `docs\u002FPRD.md` feature-map rows the input plausibly touches.\n\n2. **Commitment check.** Decide whether the requested change alters an approved commitment —\n   behaviour, a contract, a security guarantee or scope — of a story criterion, a spec section, an\n   invariant or a feature-map row. Three outcomes:\n   - **Inside a commitment:** quote it and its source (path plus `AC-\u003Cn>`, `§` or row), continue.\n     An improvement that sets no new limit and breaks no commitment stays inside the commitment of\n     the feature it improves: quote that feature's criterion. A missing target is a `needs-info`\n     question, not a reason to hand off.\n   - **Alters a commitment, or none can be quoted:** write nothing, print the hand-off and stop.\n     The human starts intake; this skill does not invoke it, as intake leaves its own hand-off to\n     the human.\n     - changed commitment of a story or spec:\n       `\u002Fdev-workflow:intake Amend the approved \u003Cpath>. Decision: \u003Cthe human decision, quoted>. \u003Ccaptured text>`.\n       When the input names no decision, write `Decision: open — a human decides before running\n       this` and name the open decision above the line. Intake's amendment route starts from a\n       decision already made, so the human decides first.\n     - new behaviour, or a change to a commitment only a `docs\u002FPRD.md` row carries (intake's\n       amendment route amends only a story or spec): `\u002Fdev-workflow:intake \u003Ccaptured text>`\n   - **The texts cannot decide it:** write the ticket in state `needs-triage` with a filled\n     `Decision needed:` line naming the two readings, and ask. No rule decides it, because a guess\n     here is a commitment change made without anyone choosing it.\n\n3. **Capture, evidence first.** Fill observed (with its evidence: a command and its output, a log\n   line, a failing test, a screenshot path), expected (with its source), repro steps, affected\n   feature, severity and first seen (version or commit). Severity is one of\n   `blocker|major|minor|nit`: blocker = wrong, unsafe or breaks an invariant; major = a design flaw\n   needing rework; minor and nit = below that. A field the input cannot support is written\n   `unknown — \u003Creason>`, severity included; take nothing from a similar case, because a filled\n   field reads as a fact.\n\n4. **Category and state.** Exactly one category, `bug|regression|improvement|docs`, and exactly one\n   state, `needs-triage|needs-info|ready|in-progress|done|wontfix`. The **readiness fields** are\n   observed with evidence, expected with its source, the commitment and the severity. A new ticket\n   is `ready` when all four are filled, `needs-info` when any is `unknown` (it then lists a question\n   for the reporter per unknown field), `needs-triage` when a decision is needed. Repro, feature and\n   first seen may stay `unknown` in a `ready` ticket. For an `improvement`, the expected behaviour's\n   source is the commitment it stays inside, with the request recorded beside it (who asked,\n   where); write no target the input does not state. When no category can be grounded, or the input\n   names two categories or two states, ask one question and wait before writing anything — a\n   category cannot be left `unknown`.\n\n5. **Brief.** Fix scope; out of scope; the feedback loop that goes red on exactly this defect, as the\n   first feasible entry of this ordered list — failing test at the nearest seam, HTTP or CLI script\n   with fixture, headless-browser script, replayed captured trace, throwaway harness, property or\n   fuzz loop, bisection harness — with one clause on why earlier entries were not feasible and the\n   observation that is red before the fix; files to read first (the commitment's story or spec, the\n   `AGENTS.md` sections it touches, `docs\u002FTECH-STACK.md` only for a dependency change).\n\n6. **Review header.** A ticket carries no profile of its own: its story holds it. When a story\n   stands behind the commitment (directly, or through a spec's `**Story:**` line), write a\n   `**Story:**` line: ``**Story:** `docs\u002Fsuperpowers\u002Fstories\u002F\u003Cfile>.md` `` — one backticked path per\n   entry, so the fix's Gate-B provenance line can name it. When none does, write the `**No story:**`\n   line instead, never a `**Story:**` line holding prose, because the provenance line takes story\n   paths, not prose.\n\n7. **Number and path.** `T-\u003Cn>` is the highest `n` among `docs\u002Fsuperpowers\u002Ftickets\u002F*-T\u003Cn>-*.md` in\n   the working tree **and** on every local and remote-tracking branch, plus one; `T-1` when there\n   are none. Scanning every branch covers the default branch without deciding which one it is:\n   list the refs with `git for-each-ref --format='%(refname)' refs\u002Fheads refs\u002Fremotes`, then run\n   `git ls-tree --name-only \"$ref\" docs\u002Fsuperpowers\u002Ftickets\u002F` once per ref, the ref held in a\n   quoted variable so no branch name becomes shell text. If the listing or any read fails, stop,\n   write nothing and name the failure: a partial scan can hand out a number already taken. A number is never reused; `done` and `wontfix` keep theirs.\n   - **Slug** from the title: lowercase; `ä`→`ae`, `ö`→`oe`, `ü`→`ue`, `ß`→`ss`, strip other\n     diacritics; replace every non-`[a-z0-9]` run with one hyphen; trim hyphens; cap at 40\n     characters at the last whole word (a single longer token is hard-truncated to 40, then\n     re-trimmed); an empty result becomes `ticket`.\n   - **Path** `docs\u002Fsuperpowers\u002Ftickets\u002F\u003CYYYY-MM-DD>-T\u003Cn>-\u003Cslug>.md`, the local project date.\n     Create the folder on the first ticket.\n   - **Never overwrite:** if the path exists when you are about to write, stop and name it, because\n     it is another ticket's record.\n   - The tickets folder is the backlog; no other file records the ticket.\n\n8. **Commit.** If the index already holds staged changes (`git diff --cached --name-only` is\n   non-empty), stop and ask, so no unrelated work rides along. Stage only the ticket file by name;\n   confirm the staged set is exactly that path and `git show :\u003Cpath> | diff - \u003Cpath>` prints\n   nothing; otherwise `git restore --staged \u003Cpath>` and stop. Commit `docs(ticket): T-\u003Cn> \u003Cslug>`.\n   The path is explanatory Markdown under `docs\u002F`, docs-only under the gate rules' \"Docs-only\n   means…\", so this commit owes no Gate B.\n\n9. **Hand off and stop.** A `ready` ticket ends with the build hand-off (§ Hand-off). A\n   `needs-info` or `needs-triage` ticket ends with its questions and the line\n   `Not ready to build: answer the questions, then \u002Fdev-workflow:ticket T-\u003Cn> ready` — never with\n   the build hand-off, because nobody should start a fix whose target is unknown.\n\n## Ticket template\n\nWrite exactly these lines and sections; drop the lines marked \"only\".\n\n```markdown\n# T-\u003Cn> — \u003Ctitle>\n\n**Category:** \u003Cone> · **State:** \u003Cone> · **Severity:** \u003Cone | unknown — reason> · **First seen:** \u003Cversion\u002Fcommit | unknown — reason>\n**Story:** `\u003Cstory path>`\n**No story:** the commitment comes from \u003Csource>; the fix's Gate-B provenance line names `none`\n**Feature:** \u003CPRD feature-map row, story or spec section | unknown — reason>\n**From finding:** \u003Chardening-log row, or SLOT:n with \"ledger row: none yet — harden-finding owns it\">\n\n## Commitment\n\"\u003Cquoted commitment>\" — \u003Csource path + AC-n \u002F § \u002F row>\nDecision needed: \u003Creading A> \u002F \u003Creading B>\n\n## Observed\n\u003Cbehaviour> — evidence: \u003Ccommand+output | log line | failing test | screenshot path>\n\n## Expected\n\u003Cbehaviour> — source: \u003Cpath + AC-n \u002F § \u002F row>; requested by: \u003Cwho, where>\n\n## Repro\n1. …\n\n## Brief\n- Fix scope: …\n- Out of scope: …\n- Feedback loop: \u003Centry> — \u003Cwhy earlier entries were not feasible>; red before the fix: \u003Cobservation>\n- Read first: …\n\n## Questions for the reporter\n- …\n\n## Log\n- \u003CYYYY-MM-DD> · created · \u003Cstate>\n```\n\nExactly one of `**Story:**` \u002F `**No story:**`. `**From finding:**` only for a ticket raised from a\nreview finding. `Decision needed:` only in `needs-triage`. `requested by:` only for an\n`improvement`. `## Questions for the reporter` only in `needs-info` (and `needs-triage`, holding\nthe decision question).\n\n**Example** (an invoice PDF service), head of a `ready` bug:\n\n```markdown\n# T-7 — Invoice PDF drops the VAT line for reverse-charge customers\n\n**Category:** bug · **State:** ready · **Severity:** blocker · **First seen:** 2.3.0\n**Story:** `docs\u002Fsuperpowers\u002Fstories\u002F2026-05-02-invoice-pdf-story.md`\n**Feature:** invoice PDF, docs\u002Fsuperpowers\u002Fstories\u002F2026-05-02-invoice-pdf-story.md AC-4\n\n## Commitment\n\"Every invoice PDF shows a VAT line, reading 'reverse charge' when no VAT is charged.\" — docs\u002Fsuperpowers\u002Fstories\u002F2026-05-02-invoice-pdf-story.md AC-4\n```\n\n## State changes\n\n`\u002Fdev-workflow:ticket T-\u003Cn> \u003Cnew state> [reason]` rewrites the `**State:**` value and appends\n`- \u003Cdate> · \u003Cstate> · \u003Creason or commit>` to `## Log`; `wontfix` and `done` require the reason or\nthe fix commit. A `wontfix` ticket stays in the folder as the project's out-of-scope record, with\nits reason.\n\n**A move into `ready` or `in-progress`, from any state, is a re-capture:** run Flow steps 2–6 on the\nticket as it now stands, answers included, and rewrite it from the result — commitment, readiness\nfields, Brief and review header alike. It enters the requested state only if that run would have\nmade it `ready`; otherwise it takes the state the run gives (`needs-info`, `needs-triage`), and on a\ncommitment change it becomes `wontfix` with the reason \"handed to intake\" and the step-2 hand-off is\nprinted. Why: answers can change the commitment, and a stale brief sends a fix the wrong way.\n\nEvery state change is committed as in Flow step 8. A lookup or state change on a `T-\u003Cn>` carried by\ntwo files stops and names both paths for a human, who renumbers one and its references.\n\n## list\n\nRead the `**State:**` line of every file in `docs\u002Fsuperpowers\u002Ftickets\u002F` and print, in this order:\n\n```text\nneeds-triage\n(none)\n\nneeds-info\nT-2 · bug · unknown — impact not known · Missing e-mail · docs\u002Fsuperpowers\u002Ftickets\u002F2026-06-03-T2-missing-e-mail.md\n\nready\nT-5 · docs · minor · Old size in help text · docs\u002Fsuperpowers\u002Ftickets\u002F2026-06-01-T5-old-size-in-help-text.md\n```\n\nEach bucket oldest first by the date in the file name, then by `n`; one line per ticket,\n`T-\u003Cn> · \u003Ccategory> · \u003Cseverity> · \u003Ctitle> · \u003Cpath>`; an empty bucket prints `(none)`.\n`in-progress`, `done` and `wontfix` are not shown. Add a fourth heading, `needs repair`, only when a\nfile has a defect, one line each with the path and which defect: the `**State:**` line is missing;\nit appears twice; its value is outside the six states; or its `T-\u003Cn>` is carried by another file\ntoo. Why: a malformed ticket must stay visible rather than drop out of every bucket. `list` is\nread-only; the human repairs the file: one `**State:**` line with one of the six values, or a\nrenumbering for a shared `T-\u003Cn>` (§ State changes).\n\n## Hand-off\n\nFor a `ready` ticket, end with the ticket path and this route:\n\n1. `\u002Fdev-workflow:ticket T-\u003Cn> in-progress`.\n2. Make the Brief's feedback loop red on this defect.\n3. Fix; the loop goes green; run the project's quality command from `AGENTS.md`.\n4. Gate B on the diff per the project's gate rules, the call carrying the ticket path and, when the\n   ticket has a `**Story:**` line, that story path; otherwise the call says the ticket has no story\n   and the provenance line names `none`.\n5. The closing act per the gate rules; then `\u002Fdev-workflow:ticket T-\u003Cn> done \u003Cfix commit>`.\n\nA fix whose staged paths are all docs-only under the gate rules' \"Docs-only means…\" (explanatory\nMarkdown under `docs\u002F`, `README.md`, `MANIFEST.md`, `todos.md`) owes no Gate B — say so in those\nwords. A `docs` ticket whose fix touches a skill, command, template or anything under `plugins\u002F` is\na prompt change and owes Gate B. A\nticket raised from a review finding keeps its ledger link; `harden-finding` owns the finding and\nthis skill logs no ledger row. This skill does not start the fix.\n\n## Stop and ask\n\n| Situation | Do |\n|---|---|\n| `AGENTS.md` missing | stop; offer `\u002Fdev-workflow:workflow-init` |\n| argument shape unknown | ask which form was meant |\n| no grounded category, or two categories or states | one question, write nothing |\n| change alters a commitment, or none can be quoted | print the intake hand-off, write nothing |\n| texts cannot decide the commitment question | `needs-triage` ticket with `Decision needed:` |\n| computed path already exists | stop, name it |\n| index already holds staged changes | stop and ask |\n| staged set or content differs after staging | unstage the ticket, stop |\n| `T-\u003Cn>` carried by two files (lookup or state change) | stop, name both paths |\n\n## Common mistakes\n\n- A \"bug\" asking for another file format, a new field or a different limit moves a commitment:\n  print the intake hand-off.\n- Stage the ticket by name, so unrelated work stays out of its commit.\n",{"name":5,"description":7},"main","28243c3fee8bf173a0f3bf4a71c054368dc837a4","plugins\u002Fdev-workflow\u002Fskills\u002Fticket",0,"https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit","https:\u002F\u002Fgithub.com\u002Fdsnger","smilefx.io","Passionate web designer and web developer always looking for inspiration and exchange for fascinating technical and design-focused solutions.","2026-10-31 00:03:50",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add dsnger\u002Fdev-workflow-kit --skill ticket",{"tool":39,"command":40},"bunx","bunx skills add dsnger\u002Fdev-workflow-kit --skill ticket",{"tool":42,"command":43},"pnpm","pnpm dlx skills add dsnger\u002Fdev-workflow-kit --skill ticket","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-workflow\u002Fskills\u002Fticket\u002FSKILL.md",true,[],[48,55,62,69,75,81],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M78FK8Z85YE61NZR47NHTDQP","intake","Use at the very start of the workflow, when a raw idea, voice transcript (German or English), or backlog line needs capturing before superpowers:brainstorming. Use before design begins — not after an approved story or spec exists, and not to design the solution.","https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fsource-files\u002Fskills\u002Fintake\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M78FK5RD5SD0DVRWB0VAK5WC","harden-finding","Use when a review finding (Codex Gate A\u002FB, CodeRabbit, or manual review) has been surfaced and you want it to never silently return — turning a one-off fix into a lint rule, type constraint, test, or documented convention. Use also when a finding you've seen before recurs.","https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fsource-files\u002Fskills\u002Fharden-finding\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M78FJW8WF8ZVBBQQSWHS46SK","sparring","Use when you want an advisory second opinion in a chat you opened for that purpose — investigating a question read-only, checking an agent's report against the current files, weighing options before committing to one, or drafting a bounded prompt for a coding agent to run elsewhere. Invoke it by name. It advises; it does not implement, commit, or run review gates.","https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-workflow\u002Fskills\u002Fsparring\u002FSKILL.md",[],[],{"skillNo":70,"name":50,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M78FJQ0VGFABNJ7P923HE7S7","Use at the very start of the workflow, when a raw idea, voice transcript (German or English), or backlog line needs capturing before superpowers:brainstorming — or later, when an approved story or spec must change after a decision to change it, to write a change record that accounts for every earlier condition. Not for designing the solution, nor for a bug or defect inside an approved commitment (that is `ticket`).","https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-workflow\u002Fskills\u002Fintake\u002FSKILL.md",[],[],{"skillNo":76,"name":57,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M78FJK9E3FNE4KHNSPEXTQHM","Use when a review finding (Codex Gate A\u002FB, a PR bot, or manual review) has been surfaced and you want it to never silently return — turning a one-off fix into a lint rule, type constraint, test, or documented convention. Use also when a finding you've seen before recurs.","https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-workflow\u002Fskills\u002Fharden-finding\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M78FJHZTAGM2WXB9XGKX11NA","graders","https:\u002F\u002Fgithub.com\u002Fdsnger\u002Fdev-workflow-kit\u002Fblob\u002Fmain\u002Fevals\u002Fticket-quiet\u002Fgraders\u002Fskill.md",[],[]]