[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BK7Y1HVD06GA4T7CP4KJT4":3,"skill-same:01M7BK7Y1HVD06GA4T7CP4KJT4":57},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BK7Y1HVD06GA4T7CP4KJT4","triage",null,"Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","fderuiter\u002Fagy-skills","fderuiter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F127706008?v=4","01M6C40AWP9EPQBS3EG0RF5DRD","Frederick de Ruiter","01M7BK63K60DTR50H82SAHMYHK",1,"MIT","https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Ftriage\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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.\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-agy-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- \"Set up a background triage sweep every 2 hours\" (configure a recurring cron via `schedule` tool or `\u002Fschedule` slash command)\n\n### Background sweeps via `schedule`\n\nWhen the user asks to monitor issues continuously or perform recurring triage evaluations, configure a background cron schedule via `schedule` (e.g. `CronExpression: \"0 *\u002F2 * * *\"`, `Prompt: \"Perform triage sweep on unlabeled issues\"`, `IsDaemon: true`). When the cron fires, execute the **Show what needs attention** routine automatically.\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. Present candidate items as selectable choices via `ask_question` (or chat fallback) to 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.** Present your recommended category and state to the maintainer via `ask_question` (with your recommendation marked `(Recommended)` and reasoning summarized), 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 using `ask_question`, sharpening domain terms and updating `CONTEXT.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-agy-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- \"Set up a background triage sweep every 2 hours\" (configure a recurring cron via `schedule` tool or `\u002Fschedule` slash command)\n\n### Background sweeps via `schedule`\n\nWhen the user asks to monitor issues continuously or perform recurring triage evaluations, configure a background cron schedule via `schedule` (e.g. `CronExpression: \"0 *\u002F2 * * *\"`, `Prompt: \"Perform triage sweep on unlabeled issues\"`, `IsDaemon: true`). When the cron fires, execute the **Show what needs attention** routine automatically.\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. Present candidate items as selectable choices via `ask_question` (or chat fallback) to 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.** Present your recommended category and state to the maintainer via `ask_question` (with your recommendation marked `(Recommended)` and reasoning summarized), 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 using `ask_question`, sharpening domain terms and updating `CONTEXT.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},"main","97b7a56459bd17362bf4f075d60d92c1ae6cce33","skills\u002Fengineering\u002Ftriage",0,"https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills","https:\u002F\u002Ffderuiter.github.io\u002Fagy-skills\u002F","https:\u002F\u002Fgithub.com\u002Ffderuiter","Clinical Data Specialist at @Bright-Research \r\n\r\nInterests in Photogrammetry, Data Analytics + Pipelines, Mathematics, and AI\u002FML.\r\n\r\nPython, Rust, TS.","2026-08-29 02:26:25",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add fderuiter\u002Fagy-skills --skill triage",{"tool":39,"command":40},"bunx","bunx skills add fderuiter\u002Fagy-skills --skill triage",{"tool":42,"command":43},"pnpm","pnpm dlx skills add fderuiter\u002Fagy-skills --skill triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Ftriage\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"AGENT-BRIEF.md","REFERENCE","参考文档",7942,"https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Ftriage\u002FAGENT-BRIEF.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"OUT-OF-SCOPE.md",4667,"https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Ftriage\u002FOUT-OF-SCOPE.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7BK91P025C72NSC9NZTS4JF","writing-shape","Shape raw material into an article paragraph by paragraph, arguing format choices along the way.","https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7BK908F7QPQST3FKHAAVE87","writing-fragments","Mine raw writing fragments with no structure yet, capturing ideas into a single quarry file.","https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7BK8YJEBD31HR3GTYATQ6ZA","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7BK8WWERTYDTVVE95VMKZ2J","writing-beats","Assemble raw material into a narrative journey of beats, grounding concepts before leaning on them.","https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-beats\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7BK8VT41ZSQVB6TFM2KZRBZ","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7BK8T2V1J99DXH22Q304T4S","to-questionnaire","Turn a decision you can't fully answer into a questionnaire for someone else to fill in.","https:\u002F\u002Fgithub.com\u002Ffderuiter\u002Fagy-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fto-questionnaire\u002FSKILL.md",[],[]]