[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73595KV65EQTKZ29G1F5GC0":3,"skill-same:01M73595KV65EQTKZ29G1F5GC0":48},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":47},"01M73595KV65EQTKZ29G1F5GC0","resolve-pr-threads",null,"Resolve settled review threads.","Morrison-Lab\u002Fai-config","Morrison-Lab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104235520?v=4","01M734G0451S2G35MN4HFQK7XP","Morrison Lab","01M734G059BYFDFQA8YTPDGPMH",4,"MIT","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fresolve-pr-threads\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: resolve-pr-threads\ndescription: \"Resolve settled review threads.\"\nuser-invocable: true\nallowed-tools:\n  - Bash\n---\n\n# resolve-pr-threads\n\nA narrow, standalone sweep: resolve inline review threads that are already\nsettled, without running a full `ard`\u002F`ardi` pass. Useful when threads were\nreplied to in an earlier round but never resolved (a rebuttal the reviewer\nstopped re-raising, a fix that landed after the reply), or before\nre-requesting review so stale threads don't clutter the new round.\n\nThis skill does **not** invent dispositions. The settlement rules — what\ncounts as Address \u002F Rebut \u002F Defer \u002F Acknowledge, and exactly when each is safe\nto resolve — are defined once, in [`ard`](..\u002Fard\u002FSKILL.md) step 4b. This skill\nonly applies those existing rules to threads that already carry a reply.\n\n## When this fires\n\n- \"resolve pr threads\", \"clean up the threads\", \"resolve stale threads\",\n  \"sweep the review threads\".\n- At the start of a fresh `ardi` round, to resolve any rebuttal threads the\n  latest review didn't re-raise (already covered inline by `ard`, but callable\n  standalone here too).\n- Before re-requesting review, so the reviewer isn't looking at threads that\n  are already settled.\n\n## Procedure\n\n### 1. List every inline review thread\n\n**GitHub** — pull threads with their resolution state and last reply\n(`READ_PR_REVIEW_COMMENTS` — abstract operation token; resolve to your\nmodel's tool via [`tool-mappings.md`](..\u002F..\u002Ftool-mappings.md)):\n\n```bash\ngh api graphql -f query='query {\n  repository(owner:\"\u003Cowner>\", name:\"\u003Crepo>\") {\n    pullRequest(number:\u003CN>) {\n      reviewThreads(first:100) {\n        totalCount\n        nodes {\n          id\n          isResolved\n          comments(last:5) { nodes { databaseId body author { login } } }\n        }\n      }\n    }\n  }\n}'\n```\n\nIf `totalCount` exceeds the returned node count, say so in the report instead\nof silently sweeping a partial list (same cap caveat as `pr-status`).\n\n**GitLab**:\n\n```bash\nglab api \"projects\u002F:id\u002Fmerge_requests\u002F\u003CN>\u002Fdiscussions\"\n```\n\n### 2. Classify each unresolved thread\n\nFor every thread where `isResolved` is false:\n\n- **No reply yet from this side** (the last comment is the reviewer's, with no\n  Address\u002FRebut\u002FDefer\u002FAcknowledge response) — **leave it open**. This is a\n  fresh finding; it needs an `ard` pass, not a resolve.\n- **Replied, and settled per `ard`'s resolve-only-when-settled rules**:\n  - Address — the reply names a commit SHA, and that SHA (or a later one) is\n    on the branch.\n  - Defer — the reply links a tracked issue.\n  - Acknowledge — a reply exists at all.\n  - Rebut — a reply with falsifiable evidence exists, **and** the reviewer's\n    most recent review round did not re-raise the same point.\n  - -> **resolve it**.\n- **Replied, but not actually settled** (an Address whose fix isn't pushed\n  yet, a Rebut the reviewer just re-raised, an ambiguous partial fix awaiting\n  reviewer confirmation) — **leave it open**.\n\nDon't resolve a thread that has no reply on it — that skips straight past\n`ard`'s dispositioning step, and the reviewer never sees a response.\n\n### 3. Resolve the settled ones\n\n**GitHub**:\n\n```bash\ngh api graphql -f query='mutation {\n  resolveReviewThread(input:{threadId:\"\u003Cthread_node_id>\"}) { thread { isResolved } } }'   # RESOLVE_REVIEW_THREAD\n```\n\n**GitLab**:\n\n```bash\nglab api -X PUT \"projects\u002F:id\u002Fmerge_requests\u002F\u003CN>\u002Fdiscussions\u002F\u003Cdiscussion_id>?resolved=true\"\n```\n\nIn a remote\u002Fweb session without `gh`\u002F`glab`, use\n`mcp__github__resolve_review_thread` (see `tool-mappings.md`).\n\n### 4. Report\n\nState plainly, per thread: resolved (with the settlement reason) or left open\n(with why — no reply \u002F fix not pushed \u002F re-raised \u002F needs confirmation). If\nany thread lacks a reply, note that a full `ard` pass is needed for those\nbefore they can be swept.\n\n## Relationship to `ard` \u002F `ardi`\n\n`ard` step 4b already runs this exact sweep as part of every review round —\nthis skill exists so the sweep is callable on its own, without re-running the\nwhole Address\u002FRebut\u002FDefer pass. The settlement criteria live in one place\n(`ard`); this skill and `ard` both point to it rather than each keeping a\nseparate copy.\n","# resolve-pr-threads\n\nA narrow, standalone sweep: resolve inline review threads that are already\nsettled, without running a full `ard`\u002F`ardi` pass. Useful when threads were\nreplied to in an earlier round but never resolved (a rebuttal the reviewer\nstopped re-raising, a fix that landed after the reply), or before\nre-requesting review so stale threads don't clutter the new round.\n\nThis skill does **not** invent dispositions. The settlement rules — what\ncounts as Address \u002F Rebut \u002F Defer \u002F Acknowledge, and exactly when each is safe\nto resolve — are defined once, in [`ard`](..\u002Fard\u002FSKILL.md) step 4b. This skill\nonly applies those existing rules to threads that already carry a reply.\n\n## When this fires\n\n- \"resolve pr threads\", \"clean up the threads\", \"resolve stale threads\",\n  \"sweep the review threads\".\n- At the start of a fresh `ardi` round, to resolve any rebuttal threads the\n  latest review didn't re-raise (already covered inline by `ard`, but callable\n  standalone here too).\n- Before re-requesting review, so the reviewer isn't looking at threads that\n  are already settled.\n\n## Procedure\n\n### 1. List every inline review thread\n\n**GitHub** — pull threads with their resolution state and last reply\n(`READ_PR_REVIEW_COMMENTS` — abstract operation token; resolve to your\nmodel's tool via [`tool-mappings.md`](..\u002F..\u002Ftool-mappings.md)):\n\n```bash\ngh api graphql -f query='query {\n  repository(owner:\"\u003Cowner>\", name:\"\u003Crepo>\") {\n    pullRequest(number:\u003CN>) {\n      reviewThreads(first:100) {\n        totalCount\n        nodes {\n          id\n          isResolved\n          comments(last:5) { nodes { databaseId body author { login } } }\n        }\n      }\n    }\n  }\n}'\n```\n\nIf `totalCount` exceeds the returned node count, say so in the report instead\nof silently sweeping a partial list (same cap caveat as `pr-status`).\n\n**GitLab**:\n\n```bash\nglab api \"projects\u002F:id\u002Fmerge_requests\u002F\u003CN>\u002Fdiscussions\"\n```\n\n### 2. Classify each unresolved thread\n\nFor every thread where `isResolved` is false:\n\n- **No reply yet from this side** (the last comment is the reviewer's, with no\n  Address\u002FRebut\u002FDefer\u002FAcknowledge response) — **leave it open**. This is a\n  fresh finding; it needs an `ard` pass, not a resolve.\n- **Replied, and settled per `ard`'s resolve-only-when-settled rules**:\n  - Address — the reply names a commit SHA, and that SHA (or a later one) is\n    on the branch.\n  - Defer — the reply links a tracked issue.\n  - Acknowledge — a reply exists at all.\n  - Rebut — a reply with falsifiable evidence exists, **and** the reviewer's\n    most recent review round did not re-raise the same point.\n  - -> **resolve it**.\n- **Replied, but not actually settled** (an Address whose fix isn't pushed\n  yet, a Rebut the reviewer just re-raised, an ambiguous partial fix awaiting\n  reviewer confirmation) — **leave it open**.\n\nDon't resolve a thread that has no reply on it — that skips straight past\n`ard`'s dispositioning step, and the reviewer never sees a response.\n\n### 3. Resolve the settled ones\n\n**GitHub**:\n\n```bash\ngh api graphql -f query='mutation {\n  resolveReviewThread(input:{threadId:\"\u003Cthread_node_id>\"}) { thread { isResolved } } }'   # RESOLVE_REVIEW_THREAD\n```\n\n**GitLab**:\n\n```bash\nglab api -X PUT \"projects\u002F:id\u002Fmerge_requests\u002F\u003CN>\u002Fdiscussions\u002F\u003Cdiscussion_id>?resolved=true\"\n```\n\nIn a remote\u002Fweb session without `gh`\u002F`glab`, use\n`mcp__github__resolve_review_thread` (see `tool-mappings.md`).\n\n### 4. Report\n\nState plainly, per thread: resolved (with the settlement reason) or left open\n(with why — no reply \u002F fix not pushed \u002F re-raised \u002F needs confirmation). If\nany thread lacks a reply, note that a full `ard` pass is needed for those\nbefore they can be swept.\n\n## Relationship to `ard` \u002F `ardi`\n\n`ard` step 4b already runs this exact sweep as part of every review round —\nthis skill exists so the sweep is callable on its own, without re-running the\nwhole Address\u002FRebut\u002FDefer pass. The settlement criteria live in one place\n(`ard`); this skill and `ard` both point to it rather than each keeping a\nseparate copy.\n",{"name":5,"description":7,"allowed-tools":24,"user-invocable":26},[25],"Bash",true,"main","0f720481f8ce3b3d9fef485f6e230d8b3035748e","skills\u002Fresolve-pr-threads",1,"https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config","https:\u002F\u002Fmorrison-lab.github.io\u002Fai-config\u002F","https:\u002F\u002Fgithub.com\u002FMorrison-Lab","2026-11-15 04:39:15",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Morrison-Lab\u002Fai-config --skill resolve-pr-threads",{"tool":41,"command":42},"bunx","bunx skills add Morrison-Lab\u002Fai-config --skill resolve-pr-threads",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Morrison-Lab\u002Fai-config --skill resolve-pr-threads","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fresolve-pr-threads\u002FSKILL.md",[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M735BVYCGR5VEC65AFDVSNKW","wrap-up","End-of-session verification and UMS.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M735BTH469T1CQ8G2Q9GENCR","workaround-watcher","Watch upstream issue for fix.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fworkaround-watcher\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M735BRKZWFANSQ0GM380B4TD","wn","→ whats-next.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwn\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M735BPE9V830B3B6NGXQ56J6","whats-next","Recommend concrete next step or action.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwhats-next\u002FSKILL.md",[],[],{"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":83,"publishedAt":19},"01M735BMHQ60EAD5B7QAWXC5A0","wait-for-results","Wait for pipeline\u002FCI results.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwait-for-results\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M735BKGZHPN1PEMJ7YBD5VJ8","wai","→ send-notes.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwai\u002FSKILL.md",[],[]]