[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73591R6XNYRBY3MARXJZFWT":3,"skill-same:01M73591R6XNYRBY3MARXJZFWT":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":50},"01M73591R6XNYRBY3MARXJZFWT","rescue-closed",null,"Revive worthy closed issues\u002FPRs.","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\u002Frescue-closed\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: rescue-closed\ndescription: \"Revive worthy closed issues\u002FPRs.\"\nuser-invocable: true\nallowed-tools:\n  - Bash\n  - Read\n  - Edit\n  - Write\n---\n\n# rescue-closed — comb the graveyard for work worth reviving\n\nClosed is not the same as resolved. Issues get auto-closed by stale bots, closed\nas \"not planned\" while the need still stands, or superseded by a PR that itself\nnever merged. PRs get abandoned a hair from the finish line. This skill searches\nthose closed items, ranks the ones still worth doing, and reopens or re-files the\nkeepers — without re-litigating calls that were settled on purpose.\n\n## When this fires\n\n- \"rescue closed issues\", \"revive a closed PR\", \"reopen abandoned work\"\n- \"what closed issues\u002FPRs should we revisit\", \"comb the graveyard\"\n- \"resurrect stale issues\", \"salvage abandoned PRs\", \"rescue-closed\"\n- Proactively: after clearing the open backlog (`gi` \u002F `gii`), or during\n  planning, when you want to recover threads that fell through.\n\nDistinct from its sibling sweep:\n\n- **`recover-followups`** mines the *content* of closed PRs\u002Fissues for promised\n  sub-tasks that were never filed, then files **new** issues for them. It never\n  reopens anything.\n- **`rescue-closed`** (this skill) brings back the closed *item itself* — it\n  **reopens** the abandoned PR or stale-closed issue as a whole unit.\n\nReach for `recover-followups` when a closed PR promised work it never tracked;\nreach for `rescue-closed` when the closed PR or issue itself should not have\nstayed closed.\n\n## Procedure\n\n### 1. Search — don't touch anything yet\n\nPull closed issues and unmerged-closed PRs along with the signals you'll triage\non.\n\n**GitHub — closed issues** (the not-planned ones are prime candidates):\n\n```bash\ngh issue list --state closed --limit 100 \\\n  --json number,title,closedAt,stateReason,labels,url \\\n  --jq 'sort_by(.closedAt) | reverse\n        | .[] | \"\\(.stateReason \u002F\u002F \"?\")\\t#\\(.number)\\t\\(.title)\\t\\(.url)\"'   # LIST_ISSUES\n```\n\n`NOT_PLANNED` means closed without being done — stale, dropped, or wontfix-for-now\n— so it is the most likely to be worth a second look. `COMPLETED` means finished;\nusually leave those closed.\n\n**GitHub — closed PRs that never merged** (abandoned work):\n\n```bash\ngh pr list --state closed --limit 100 \\\n  --json number,title,closedAt,mergedAt,headRefName,labels,url \\\n  --jq 'map(select(.mergedAt == null)) | sort_by(.closedAt) | reverse\n        | .[] | \"#\\(.number)\\t\\(.headRefName)\\t\\(.title)\\t\\(.url)\"'   # LIST_PRS\n```\n\n**GitLab equivalents:**\n\n```bash\nglab issue list --closed --per-page 100 2>&1 | cat\n# GitLab keeps \"closed\" and \"merged\" as separate MR states, so --closed already\n# excludes merged MRs — no extra filtering needed (unlike gh, where closed\n# includes merged):\nglab mr list --closed --per-page 100 2>&1 | cat\n```\n\n### 2. Score what's worth reviving\n\nFor each candidate, weigh:\n\n- **Closed by a stale bot or as not-planned**, not by a deliberate \"won't do\"\n  → revive.\n- **Still-live need** — the underlying problem still reproduces on current\n  `main`. Run `check-history` to confirm it wasn't already fixed elsewhere.\n- **Interest** — reactions, several commenters, or later issues\u002FPRs that\n  reference it (`gh issue view \u003CN>` \u002F look for \"referenced this\").\n- **PRs near the finish** — had an approving review or only minor findings, and\n  closed for inactivity rather than rejection. These are the cheapest to land.\n- **Not a true duplicate** of something since merged.\n\nDrop anything closed by an explicit human decision — \"won't fix\", \"out of scope\nby design\", or \"superseded\" where the replacement actually merged. Reopening\nthose re-litigates a settled call.\n\n### 3. Present a ranked shortlist\n\nReport a table to the user: link, type (issue \u002F PR), why it closed, why it's\nworth reviving, recommended action. Link every `#N` as a markdown link to its\nURL. Don't act yet — let the user pick from the shortlist.\n\n### 4. Rescue the picks\n\nBefore touching any item, **claim it** (`claim-pr`) so parallel sessions or the\n`@claude` bot don't collide, and **check history** (`check-history`).\n\n**Issue:**\n\n```bash\ngh issue reopen \u003CN> --comment \"Reviving: \u003Cwhy it still matters>.\n\n_Posted by Claude Code (AI agent) --- not written by a human._\"   # REOPEN_ISSUE\n```\n\nIf reopening is wrong — a messy thread, or scope has shifted — file a fresh issue\nthat links the old one, then hand off to `st` \u002F `gi`.\n\n**PR — branch still exists:**\n\n```bash\ngh pr reopen \u003CN>                          # REOPEN_PR\ngit fetch origin                          # FETCH\ngit switch --track origin\u002F\u003CheadRefName>   # explicit remote; on older Git:\n                                          # checkout -b \u003CheadRefName> origin\u002F\u003CheadRefName>\ngit merge origin\u002Fmain                     # resync onto current main; resolve, run checks  # MERGE_BRANCH\n```\n\n**PR — branch still exists, but drifted far behind `main`:** when the branch is months stale,\nmerging `origin\u002Fmain` is a huge, mostly-irrelevant conflict (a regenerated\nlockfile, hundreds of files) and the real change is small — don't fight the\nmerge. Rebuild just the intended diff as one clean commit on current `main` and\nforce-push it to the PR's branch. This keeps the PR number, assignees, and review\nhistory while dropping the branch's incidental churn (stale lockfiles, merge\ncommits, \"test\" commits):\n\n```bash\ngh pr reopen \u003CN>                          # REOPEN_PR\ngit fetch origin                          # FETCH\ngit checkout -B rescue-\u003CN> origin\u002Fmain\n# re-apply only the intended change by hand (not the old branch's byproducts), commit\ngit push --force-with-lease origin rescue-\u003CN>:\u003CheadRefName>\n```\n\nAfter reopening, GitHub will likely flag the PR as having merge conflicts\n(`mergeableState: dirty`). That state reflects the stale branch, not the real\nchange — the clean rebuild resolves it. Also re-bump the version if the stale branch's\nbump now trails `main`. (If the session can only push to its own branch — see\nCLAUDE.md's \"Use the existing PR branch\" exception — fall back to a new\nsuperseding PR instead of the force-push.)\n\n**PR — branch was deleted:** recreate it from the old diff, then open a fresh PR\nthat says \"Revives #\u003CN>\":\n\n```bash\ngh pr diff \u003CN> > \u002Ftmp\u002Fpr-\u003CN>.patch   # DIFF_PR\ngit fetch origin main && git checkout -b revive-\u003CN> origin\u002Fmain\ngit apply \u002Ftmp\u002Fpr-\u003CN>.patch   # resolve any rejects, run the repo's checks\n```\n\n### 5. Hand off\n\n- Reopened issue → `gi` \u002F `st` to implement.\n- Reopened or recreated PR → `ardi` to drive to clean.\n\n## Relationship to other skills\n\n- **`check-history`** — read-only look back at merged + closed history before\n  acting. `rescue-closed` is its action counterpart: it brings the worthwhile\n  closed items back rather than just reading them.\n- **`recover-followups`** — the sweep that mines closed items' *content* for\n  untracked follow-up sub-tasks and files fresh issues, instead of reopening\n  the item itself. Use it when the value is a buried promise, not the whole\n  closed item.\n- **`gi` \u002F `gii` \u002F `st`** — implement a revived issue.\n- **`ardi`** — drive a reopened or recreated PR to clean.\n- **`claim-pr`** — claim the issue\u002FPR before working it.\n- **`clean-branches` \u002F `prune`** — the opposite sweep: retire dead branches.\n  Cross-check so you don't recreate a branch `prune` just deleted on purpose.\n- **`workaround-watcher`** — for an upstream item you're blocked on, watch and\n  auto-revert when it resolves, instead of manually reviving it later.\n- **`defer-issue`** — the forward path (push work to a tracked issue);\n  `rescue-closed` recovers the ones that still fell through.\n\n## Anti-patterns\n\n- ❌ Reopening items closed by deliberate decision (won't-fix, or\n  superseded-and-landed) — re-litigates settled calls.\n- ❌ Reviving without confirming the need still exists on current `main`\n  (skipping `check-history`).\n- ❌ Acting before claiming — colliding with `@claude` or another session.\n- ❌ Recreating a PR branch that `clean-branches` just retired on purpose.\n- ❌ Bulk-reopening everything closed-as-not-planned. Triage to a shortlist and\n  let the user choose.\n","# rescue-closed — comb the graveyard for work worth reviving\n\nClosed is not the same as resolved. Issues get auto-closed by stale bots, closed\nas \"not planned\" while the need still stands, or superseded by a PR that itself\nnever merged. PRs get abandoned a hair from the finish line. This skill searches\nthose closed items, ranks the ones still worth doing, and reopens or re-files the\nkeepers — without re-litigating calls that were settled on purpose.\n\n## When this fires\n\n- \"rescue closed issues\", \"revive a closed PR\", \"reopen abandoned work\"\n- \"what closed issues\u002FPRs should we revisit\", \"comb the graveyard\"\n- \"resurrect stale issues\", \"salvage abandoned PRs\", \"rescue-closed\"\n- Proactively: after clearing the open backlog (`gi` \u002F `gii`), or during\n  planning, when you want to recover threads that fell through.\n\nDistinct from its sibling sweep:\n\n- **`recover-followups`** mines the *content* of closed PRs\u002Fissues for promised\n  sub-tasks that were never filed, then files **new** issues for them. It never\n  reopens anything.\n- **`rescue-closed`** (this skill) brings back the closed *item itself* — it\n  **reopens** the abandoned PR or stale-closed issue as a whole unit.\n\nReach for `recover-followups` when a closed PR promised work it never tracked;\nreach for `rescue-closed` when the closed PR or issue itself should not have\nstayed closed.\n\n## Procedure\n\n### 1. Search — don't touch anything yet\n\nPull closed issues and unmerged-closed PRs along with the signals you'll triage\non.\n\n**GitHub — closed issues** (the not-planned ones are prime candidates):\n\n```bash\ngh issue list --state closed --limit 100 \\\n  --json number,title,closedAt,stateReason,labels,url \\\n  --jq 'sort_by(.closedAt) | reverse\n        | .[] | \"\\(.stateReason \u002F\u002F \"?\")\\t#\\(.number)\\t\\(.title)\\t\\(.url)\"'   # LIST_ISSUES\n```\n\n`NOT_PLANNED` means closed without being done — stale, dropped, or wontfix-for-now\n— so it is the most likely to be worth a second look. `COMPLETED` means finished;\nusually leave those closed.\n\n**GitHub — closed PRs that never merged** (abandoned work):\n\n```bash\ngh pr list --state closed --limit 100 \\\n  --json number,title,closedAt,mergedAt,headRefName,labels,url \\\n  --jq 'map(select(.mergedAt == null)) | sort_by(.closedAt) | reverse\n        | .[] | \"#\\(.number)\\t\\(.headRefName)\\t\\(.title)\\t\\(.url)\"'   # LIST_PRS\n```\n\n**GitLab equivalents:**\n\n```bash\nglab issue list --closed --per-page 100 2>&1 | cat\n# GitLab keeps \"closed\" and \"merged\" as separate MR states, so --closed already\n# excludes merged MRs — no extra filtering needed (unlike gh, where closed\n# includes merged):\nglab mr list --closed --per-page 100 2>&1 | cat\n```\n\n### 2. Score what's worth reviving\n\nFor each candidate, weigh:\n\n- **Closed by a stale bot or as not-planned**, not by a deliberate \"won't do\"\n  → revive.\n- **Still-live need** — the underlying problem still reproduces on current\n  `main`. Run `check-history` to confirm it wasn't already fixed elsewhere.\n- **Interest** — reactions, several commenters, or later issues\u002FPRs that\n  reference it (`gh issue view \u003CN>` \u002F look for \"referenced this\").\n- **PRs near the finish** — had an approving review or only minor findings, and\n  closed for inactivity rather than rejection. These are the cheapest to land.\n- **Not a true duplicate** of something since merged.\n\nDrop anything closed by an explicit human decision — \"won't fix\", \"out of scope\nby design\", or \"superseded\" where the replacement actually merged. Reopening\nthose re-litigates a settled call.\n\n### 3. Present a ranked shortlist\n\nReport a table to the user: link, type (issue \u002F PR), why it closed, why it's\nworth reviving, recommended action. Link every `#N` as a markdown link to its\nURL. Don't act yet — let the user pick from the shortlist.\n\n### 4. Rescue the picks\n\nBefore touching any item, **claim it** (`claim-pr`) so parallel sessions or the\n`@claude` bot don't collide, and **check history** (`check-history`).\n\n**Issue:**\n\n```bash\ngh issue reopen \u003CN> --comment \"Reviving: \u003Cwhy it still matters>.\n\n_Posted by Claude Code (AI agent) --- not written by a human._\"   # REOPEN_ISSUE\n```\n\nIf reopening is wrong — a messy thread, or scope has shifted — file a fresh issue\nthat links the old one, then hand off to `st` \u002F `gi`.\n\n**PR — branch still exists:**\n\n```bash\ngh pr reopen \u003CN>                          # REOPEN_PR\ngit fetch origin                          # FETCH\ngit switch --track origin\u002F\u003CheadRefName>   # explicit remote; on older Git:\n                                          # checkout -b \u003CheadRefName> origin\u002F\u003CheadRefName>\ngit merge origin\u002Fmain                     # resync onto current main; resolve, run checks  # MERGE_BRANCH\n```\n\n**PR — branch still exists, but drifted far behind `main`:** when the branch is months stale,\nmerging `origin\u002Fmain` is a huge, mostly-irrelevant conflict (a regenerated\nlockfile, hundreds of files) and the real change is small — don't fight the\nmerge. Rebuild just the intended diff as one clean commit on current `main` and\nforce-push it to the PR's branch. This keeps the PR number, assignees, and review\nhistory while dropping the branch's incidental churn (stale lockfiles, merge\ncommits, \"test\" commits):\n\n```bash\ngh pr reopen \u003CN>                          # REOPEN_PR\ngit fetch origin                          # FETCH\ngit checkout -B rescue-\u003CN> origin\u002Fmain\n# re-apply only the intended change by hand (not the old branch's byproducts), commit\ngit push --force-with-lease origin rescue-\u003CN>:\u003CheadRefName>\n```\n\nAfter reopening, GitHub will likely flag the PR as having merge conflicts\n(`mergeableState: dirty`). That state reflects the stale branch, not the real\nchange — the clean rebuild resolves it. Also re-bump the version if the stale branch's\nbump now trails `main`. (If the session can only push to its own branch — see\nCLAUDE.md's \"Use the existing PR branch\" exception — fall back to a new\nsuperseding PR instead of the force-push.)\n\n**PR — branch was deleted:** recreate it from the old diff, then open a fresh PR\nthat says \"Revives #\u003CN>\":\n\n```bash\ngh pr diff \u003CN> > \u002Ftmp\u002Fpr-\u003CN>.patch   # DIFF_PR\ngit fetch origin main && git checkout -b revive-\u003CN> origin\u002Fmain\ngit apply \u002Ftmp\u002Fpr-\u003CN>.patch   # resolve any rejects, run the repo's checks\n```\n\n### 5. Hand off\n\n- Reopened issue → `gi` \u002F `st` to implement.\n- Reopened or recreated PR → `ardi` to drive to clean.\n\n## Relationship to other skills\n\n- **`check-history`** — read-only look back at merged + closed history before\n  acting. `rescue-closed` is its action counterpart: it brings the worthwhile\n  closed items back rather than just reading them.\n- **`recover-followups`** — the sweep that mines closed items' *content* for\n  untracked follow-up sub-tasks and files fresh issues, instead of reopening\n  the item itself. Use it when the value is a buried promise, not the whole\n  closed item.\n- **`gi` \u002F `gii` \u002F `st`** — implement a revived issue.\n- **`ardi`** — drive a reopened or recreated PR to clean.\n- **`claim-pr`** — claim the issue\u002FPR before working it.\n- **`clean-branches` \u002F `prune`** — the opposite sweep: retire dead branches.\n  Cross-check so you don't recreate a branch `prune` just deleted on purpose.\n- **`workaround-watcher`** — for an upstream item you're blocked on, watch and\n  auto-revert when it resolves, instead of manually reviving it later.\n- **`defer-issue`** — the forward path (push work to a tracked issue);\n  `rescue-closed` recovers the ones that still fell through.\n\n## Anti-patterns\n\n- ❌ Reopening items closed by deliberate decision (won't-fix, or\n  superseded-and-landed) — re-litigates settled calls.\n- ❌ Reviving without confirming the need still exists on current `main`\n  (skipping `check-history`).\n- ❌ Acting before claiming — colliding with `@claude` or another session.\n- ❌ Recreating a PR branch that `clean-branches` just retired on purpose.\n- ❌ Bulk-reopening everything closed-as-not-planned. Triage to a shortlist and\n  let the user choose.\n",{"name":5,"description":7,"allowed-tools":24,"user-invocable":29},[25,26,27,28],"Bash","Read","Edit","Write",true,"main","0f720481f8ce3b3d9fef485f6e230d8b3035748e","skills\u002Frescue-closed",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":39,"prompt":49,"zipAvailable":29},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Morrison-Lab\u002Fai-config --skill rescue-closed",{"tool":44,"command":45},"bunx","bunx skills add Morrison-Lab\u002Fai-config --skill rescue-closed",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Morrison-Lab\u002Fai-config --skill rescue-closed","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Frescue-closed\u002FSKILL.md",[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"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":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M735BRKZWFANSQ0GM380B4TD","wn","→ whats-next.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwn\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"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},"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M735BKGZHPN1PEMJ7YBD5VJ8","wai","→ send-notes.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwai\u002FSKILL.md",[],[]]