[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZ63THJCZ9FNCR7CWDGCJZ":3,"skill-same:01M6BZ63THJCZ9FNCR7CWDGCJZ":76},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":6,"updatedAt":44,"install":45,"resources":57},"01M6BZ63THJCZ9FNCR7CWDGCJZ","triage",null,"Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","hareki\u002Fdotfiles","hareki","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81374684?v=4","01M6BZ3YB4KETETCGKZEVQ9J5N","Tu Nguyen","01M6BZ3YEQMMTMJ6E8TW6AV5RJ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Ftriage\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31],"state","issues","verify","write","ready","grill","roles","machine","move","briefs","true","state machine","prs","2026-11-10 10:12:30",false,"---\nname: triage\ndescription: Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.\ndisable-model-invocation: true\n---\n\n# Triage\n\nMove issues on the project issue tracker through a small state machine of triage roles.\n\nIf this repo treats external pull requests as a request surface (see the issue-tracker config), triage covers them too: **a PR is an issue with attached code**, using the same roles, same states, and same machine, with a few deltas marked \"for a PR\" below. Resolve a bare `#42` to an issue or PR per the tracker config.\n\nEvery comment or issue posted to the issue tracker during triage **must** start with this disclaimer:\n\n```\n> *This was generated by AI during triage.*\n```\n\n## Reference docs\n\n- [AGENT-BRIEF.md](AGENT-BRIEF.md): how to write durable agent briefs\n- [OUT-OF-SCOPE.md](OUT-OF-SCOPE.md): how the `.out-of-scope\u002F` knowledge base works\n\n## Roles\n\nTwo **category** roles:\n\n- `bug`: something is broken\n- `enhancement`: new feature or improvement\n\nFive **state** roles:\n\n- `needs-triage`: maintainer needs to evaluate\n- `needs-info`: waiting on reporter for more information\n- `ready-for-agent`: fully specified, ready for an AFK agent\n- `ready-for-human`: needs human implementation\n- `wontfix`: will not be actioned\n\nFor a PR, the same states read against the attached code: `ready-for-agent` means a brief is attached and an agent should take the next step on the diff; `ready-for-human` means it's ready for a human to merge.\n\nEvery triaged issue should carry exactly one category role and one state role. If state roles conflict, flag it and ask the maintainer before doing anything else.\n\nThese are canonical role names. The actual label strings used in the issue tracker may differ. The mapping should have been provided to you. If not, tell the user to run `\u002Fsetup-matt-pocock-skills`.\n\nState transitions: an unlabeled issue normally goes to `needs-triage` first; from there it moves to `needs-info`, `ready-for-agent`, `ready-for-human`, or `wontfix`. `needs-info` returns to `needs-triage` once the reporter replies. The maintainer can override at any time; flag transitions that look unusual and ask before proceeding.\n\n## Invocation\n\nThe maintainer invokes `\u002Ftriage` and describes what they want in natural language. Interpret the request and act. Examples:\n\n- \"Show me anything that needs my attention\"\n- \"Let's look at #42\" (issue or PR)\n- \"Move #42 to ready-for-agent\"\n- \"What's ready for agents to pick up?\"\n\n## Show what needs attention\n\nQuery the issue tracker and present three buckets, oldest first:\n\n1. **Unlabeled**: never triaged.\n2. **`needs-triage`**: evaluation in progress.\n3. **`needs-info` with reporter activity since the last triage notes**: needs re-evaluation.\n\nWhen PRs are in scope, include external PRs in these buckets and tag each line `[PR]` or `[issue]`. Discovery surfaces only *external* PRs (the tracker config defines who counts as external), so a collaborator's in-flight PR is not triage work. This filter is discovery-only; an explicitly named PR is always triaged regardless of author.\n\nShow counts and a one-line summary per item. Let the maintainer pick.\n\n## Triage a specific issue or PR\n\n1. **Gather context.** Read the full issue or PR (body, comments, labels, author, dates; for a PR, the diff too). Parse any prior triage notes so you don't re-ask resolved questions. Explore the codebase using the project's domain glossary, respecting ADRs in the area. Run two checks against the codebase: (a) **redundancy**: search for an existing implementation of the requested behavior by domain concept (not just the request's wording), and report where you looked. If found, it's an already-implemented `wontfix` (step 5). (b) **prior rejection**: read `.out-of-scope\u002F*.md` and surface any that resembles this request.\n\n2. **Recommend.** Tell the maintainer your category and state recommendation with reasoning, plus a brief codebase summary relevant to the request (including whether it's already implemented). Wait for direction.\n\n3. **Verify the claim.** Before any grilling, check that the claim holds up. For a bug, reproduce it from the reporter's steps. For a PR, confirm the diff does what it claims: check it out, run the relevant tests or commands. Report what happened: confirmed (with code path), failed, or insufficient detail (a strong `needs-info` signal). A confirmed verification makes a much stronger agent brief.\n\n4. **Grill (if needed).** If the request needs fleshing out, call the Skill tool twice, for \"grilling\" and \"domain-modeling\", and grill it into shape a round of questions at a time, sharpening domain terms and updating `GLOSSARY.md`\u002FADRs inline as decisions land.\n\n5. **Apply the outcome:**\n   - `ready-for-agent`: post an agent brief comment ([AGENT-BRIEF.md](AGENT-BRIEF.md)).\n   - `ready-for-human`: same structure as an agent brief, but note why it can't be delegated (judgment calls, external access, design decisions, manual testing).\n   - `needs-info`: post triage notes (template below).\n   - For `wontfix`, close the issue, with the comment depending on *why*:\n     - **Already implemented**: the change already exists in the codebase. Point to where it lives; do **not** write to `.out-of-scope\u002F` (that KB is for *rejected* requests, not built ones).\n     - **Rejected (bug)**: give a polite explanation, then close.\n     - **Rejected (enhancement)**: write to `.out-of-scope\u002F`, link to it from a comment, then close ([OUT-OF-SCOPE.md](OUT-OF-SCOPE.md)).\n   - `needs-triage`: apply the role. Optional comment if there's partial progress.\n\n## Quick state override\n\nIf the maintainer says \"move #42 to ready-for-agent\", trust them and apply the role directly. Confirm what you're about to do (role changes, comment, close), then act. Skip grilling. If moving to `ready-for-agent` without a grilling session, ask whether they want to write an agent brief.\n\n## Needs-info template\n\n```markdown\n## Triage Notes\n\n**What we've established so far:**\n\n- point 1\n- point 2\n\n**What we still need from you (@reporter):**\n\n- question 1\n- question 2\n```\n\nCapture everything resolved during grilling under \"established so far\" so the work isn't lost. Questions must be specific and actionable, not \"please provide more info\".\n\n## Resuming a previous session\n\nIf prior triage notes exist on the issue or PR, read them, check whether the reporter has answered any outstanding questions, and present an updated picture before continuing. Don't re-ask resolved questions.\n","# Triage\n\nMove issues on the project issue tracker through a small state machine of triage roles.\n\nIf this repo treats external pull requests as a request surface (see the issue-tracker config), triage covers them too: **a PR is an issue with attached code**, using the same roles, same states, and same machine, with a few deltas marked \"for a PR\" below. Resolve a bare `#42` to an issue or PR per the tracker config.\n\nEvery comment or issue posted to the issue tracker during triage **must** start with this disclaimer:\n\n```\n> *This was generated by AI during triage.*\n```\n\n## Reference docs\n\n- [AGENT-BRIEF.md](AGENT-BRIEF.md): how to write durable agent briefs\n- [OUT-OF-SCOPE.md](OUT-OF-SCOPE.md): how the `.out-of-scope\u002F` knowledge base works\n\n## Roles\n\nTwo **category** roles:\n\n- `bug`: something is broken\n- `enhancement`: new feature or improvement\n\nFive **state** roles:\n\n- `needs-triage`: maintainer needs to evaluate\n- `needs-info`: waiting on reporter for more information\n- `ready-for-agent`: fully specified, ready for an AFK agent\n- `ready-for-human`: needs human implementation\n- `wontfix`: will not be actioned\n\nFor a PR, the same states read against the attached code: `ready-for-agent` means a brief is attached and an agent should take the next step on the diff; `ready-for-human` means it's ready for a human to merge.\n\nEvery triaged issue should carry exactly one category role and one state role. If state roles conflict, flag it and ask the maintainer before doing anything else.\n\nThese are canonical role names. The actual label strings used in the issue tracker may differ. The mapping should have been provided to you. If not, tell the user to run `\u002Fsetup-matt-pocock-skills`.\n\nState transitions: an unlabeled issue normally goes to `needs-triage` first; from there it moves to `needs-info`, `ready-for-agent`, `ready-for-human`, or `wontfix`. `needs-info` returns to `needs-triage` once the reporter replies. The maintainer can override at any time; flag transitions that look unusual and ask before proceeding.\n\n## Invocation\n\nThe maintainer invokes `\u002Ftriage` and describes what they want in natural language. Interpret the request and act. Examples:\n\n- \"Show me anything that needs my attention\"\n- \"Let's look at #42\" (issue or PR)\n- \"Move #42 to ready-for-agent\"\n- \"What's ready for agents to pick up?\"\n\n## Show what needs attention\n\nQuery the issue tracker and present three buckets, oldest first:\n\n1. **Unlabeled**: never triaged.\n2. **`needs-triage`**: evaluation in progress.\n3. **`needs-info` with reporter activity since the last triage notes**: needs re-evaluation.\n\nWhen PRs are in scope, include external PRs in these buckets and tag each line `[PR]` or `[issue]`. Discovery surfaces only *external* PRs (the tracker config defines who counts as external), so a collaborator's in-flight PR is not triage work. This filter is discovery-only; an explicitly named PR is always triaged regardless of author.\n\nShow counts and a one-line summary per item. Let the maintainer pick.\n\n## Triage a specific issue or PR\n\n1. **Gather context.** Read the full issue or PR (body, comments, labels, author, dates; for a PR, the diff too). Parse any prior triage notes so you don't re-ask resolved questions. Explore the codebase using the project's domain glossary, respecting ADRs in the area. Run two checks against the codebase: (a) **redundancy**: search for an existing implementation of the requested behavior by domain concept (not just the request's wording), and report where you looked. If found, it's an already-implemented `wontfix` (step 5). (b) **prior rejection**: read `.out-of-scope\u002F*.md` and surface any that resembles this request.\n\n2. **Recommend.** Tell the maintainer your category and state recommendation with reasoning, plus a brief codebase summary relevant to the request (including whether it's already implemented). Wait for direction.\n\n3. **Verify the claim.** Before any grilling, check that the claim holds up. For a bug, reproduce it from the reporter's steps. For a PR, confirm the diff does what it claims: check it out, run the relevant tests or commands. Report what happened: confirmed (with code path), failed, or insufficient detail (a strong `needs-info` signal). A confirmed verification makes a much stronger agent brief.\n\n4. **Grill (if needed).** If the request needs fleshing out, call the Skill tool twice, for \"grilling\" and \"domain-modeling\", and grill it into shape a round of questions at a time, sharpening domain terms and updating `GLOSSARY.md`\u002FADRs inline as decisions land.\n\n5. **Apply the outcome:**\n   - `ready-for-agent`: post an agent brief comment ([AGENT-BRIEF.md](AGENT-BRIEF.md)).\n   - `ready-for-human`: same structure as an agent brief, but note why it can't be delegated (judgment calls, external access, design decisions, manual testing).\n   - `needs-info`: post triage notes (template below).\n   - For `wontfix`, close the issue, with the comment depending on *why*:\n     - **Already implemented**: the change already exists in the codebase. Point to where it lives; do **not** write to `.out-of-scope\u002F` (that KB is for *rejected* requests, not built ones).\n     - **Rejected (bug)**: give a polite explanation, then close.\n     - **Rejected (enhancement)**: write to `.out-of-scope\u002F`, link to it from a comment, then close ([OUT-OF-SCOPE.md](OUT-OF-SCOPE.md)).\n   - `needs-triage`: apply the role. Optional comment if there's partial progress.\n\n## Quick state override\n\nIf the maintainer says \"move #42 to ready-for-agent\", trust them and apply the role directly. Confirm what you're about to do (role changes, comment, close), then act. Skip grilling. If moving to `ready-for-agent` without a grilling session, ask whether they want to write an agent brief.\n\n## Needs-info template\n\n```markdown\n## Triage Notes\n\n**What we've established so far:**\n\n- point 1\n- point 2\n\n**What we still need from you (@reporter):**\n\n- question 1\n- question 2\n```\n\nCapture everything resolved during grilling under \"established so far\" so the work isn't lost. Questions must be specific and actionable, not \"please provide more info\".\n\n## Resuming a previous session\n\nIf prior triage notes exist on the issue or PR, read them, check whether the reporter has answered any outstanding questions, and present an updated picture before continuing. Don't re-ask resolved questions.\n",{"name":5,"description":7,"disable-model-invocation":37},true,"main","f714d3d8682a9757dc831ad92cb25b71a05ef895","agents\u002F.agents\u002Fskills\u002Ftriage","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fhareki","https:\u002F\u002Fhareki.dev","2026-11-10 08:36:15",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":37},[47,50,53],{"tool":48,"command":49},"npx","npx skills add hareki\u002Fdotfiles --skill triage",{"tool":51,"command":52},"bunx","bunx skills add hareki\u002Fdotfiles --skill triage",{"tool":54,"command":55},"pnpm","pnpm dlx skills add hareki\u002Fdotfiles --skill triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Ftriage\u002FSKILL.md",[58,64,68,72],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"AGENT-BRIEF.md","REFERENCE","参考文档",7942,"https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Ftriage\u002FAGENT-BRIEF.md",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"agents\u002Fopenai.yaml",135,"https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Ftriage\u002Fagents\u002Fopenai.yaml",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"OUT-OF-SCOPE.md",4667,"https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Ftriage\u002FOUT-OF-SCOPE.md",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Frepository-entrypoints.md",8921,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fdocument-release\u002Freferences\u002Frepository-entrypoints.md",[77,101,126,150,166,183],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":93,"publishedAt":32},"01M6BZ6B9Q73RKDJE34FRCKHX3","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[83,88],{"categoryNo":84,"categoryName":85,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":89,"categoryName":90,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[94,95,96,97,98,99,100],"writing","writing for agents","for","when","use","editing","documents",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":32},"01M6BZ697R108MDV5YDSRJK978","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Fwizard\u002FSKILL.md",[],[103,108,109,110,111,112,113,114,97,115,116,96,117,118,119,120,121,122,98,123,124,125],"ci","generate","infrastructure","provisioning","dashboard","human","running","invoke","party","can","credentials","provisioning infrastructure","migration","up","only","interactive","Bash","secrets",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":32},"01M6BZ67ZGZ4CPZSXVMYWWFS5P","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[128,133,134,135,117,29,136,137,138,139,140,141,142,143,144,145,146,147,148,149],"map","agent session","at","more","tickets","clear","as","shared","time","issue","session","one at a time","work","decision","plan","chunk","tracker",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":32},"01M6BZ66S9SVKE0K845NT5EGVR","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[157,158,159,29,160,161,162,163,164,165],"wait","wait what","re","last","it","pitch","message","stop","land",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":32},"01M6BZ627X8Y85ASTMA4F5WBN9","to-tickets","Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[173,137,139,174,149,175,147,176,177,178,179,180,29,181,182],"to tickets","conversation","text","SET","file","spec","ticket","break","links","native",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":32},"01M6BZ60WDA9E8D2HCC2EEG79J","to-spec","Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.","https:\u002F\u002Fgithub.com\u002Fhareki\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002F.agents\u002Fskills\u002Fto-spec\u002FSKILL.md",[],[190,178,191,29,192,161,193,174,149,142,194,195,196,197],"to spec","you","issue tracker","project","Synthesis","interview","just","publish"]