[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E5RTDE2EHAATX30ZV7C5NX":3,"skill-same:01M6E5RTDE2EHAATX30ZV7C5NX":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":13,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M6E5RTDE2EHAATX30ZV7C5NX","close-stale-issues",null,"Audit and close issues resolved by merged PRs","parametrization\u002F2real-team-framework","parametrization","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1111097?v=4","01M6E5MC117M94CEXKX3C96PPX","01M6E5MC7YWG5N3VV4792VFK85",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fclose-stale-issues\u002FSKILL.md",[],[18,19,20,21,22,23],"issues","stale","close","close stale issues","audit","repo","2026-11-10 10:12:30",false,"---\nname: close-stale-issues\ndescription: Audit and close issues resolved by merged PRs\nargs: repo (optional, defaults to current repo)\n---\n\nAudit all open GitHub issues against merged PRs and close orphans that were resolved but not auto-closed.\n\n## Instructions\n\n### 1. List all open issues\n\n```bash\ngh issue list --state open --limit 500 --json number,title,labels,body,createdAt\n```\n\n### 2. List all merged PRs (last 90 days)\n\n```bash\ngh pr list --state merged --limit 500 --json number,title,body,headRefName,mergedAt\n```\n\n### 3. Build the resolution map\n\nFor each merged PR, extract issue references from the body:\n- `Closes #N`, `Fixes #N`, `Resolves #N` (case-insensitive)\n- Also match branch name patterns: `{FirstInitial}.{LastName}\u002F{ISSUE_NUMBER}-*`\n\nBuild a map: `{issue_number → [{pr_number, pr_title, mergedAt}]}`.\n\n### 4. Cross-reference open issues\n\nFor each open issue, check:\n- **Directly referenced:** A merged PR body contains `Closes #N` \u002F `Fixes #N` \u002F `Resolves #N` for this issue\n- **Branch-matched:** A merged PR branch name starts with `*\u002F{ISSUE_NUMBER}-`\n- **Label-matched:** The issue has a wave label (`p*-wave-*` or `wave-*`) and the corresponding deployment branch has been merged to main\n\nClassify each open issue as:\n| Category | Criteria | Action |\n|----------|----------|--------|\n| **Resolved (direct)** | Referenced by merged PR body | Close with comment |\n| **Resolved (branch)** | Matched by branch name | Close with comment (note: inferred match) |\n| **Stale tracker** | All sub-issues\u002Fcheckboxes are closed | Close with comment |\n| **No match** | No implementing PR found | Keep open |\n\n### 5. Check tech-debt tracker issues\n\nFor issues labeled `tech-debt` that contain a task list (checkboxes), check if all referenced sub-issues are closed:\n\n```bash\ngh issue view {NUMBER} --json body\n```\n\nParse `- [x] #N` and `- [ ] #N` patterns. If all checkboxes are checked or all referenced issues are closed, mark the tracker as a candidate for closure.\n\n### 6. Present findings for approval\n\n**Do NOT close any issues until the user confirms.** Present:\n\n```\n**Stale Issue Audit**\n\n| Issue | Title | Category | Implementing PR | Proposed Action |\n|-------|-------|----------|-----------------|-----------------|\n| #123  | ...   | Resolved (direct) | PR #456 (merged 2026-04-01) | Close |\n| #789  | ...   | Resolved (branch) | PR #790 (branch matched) | Close |\n| #100  | ...   | Stale tracker | All 3\u002F3 sub-issues closed | Close |\n| #200  | ...   | No match | — | Keep open |\n\n**Summary:** {resolved_count} issues to close, {no_match_count} issues to keep open\n```\n\nWait for user approval before proceeding.\n\n### 7. Close confirmed issues\n\nFor each approved closure:\n\n```bash\ngh issue close {NUMBER} --comment \"$(cat \u003C\u003C'COMMENT'\nClosed by stale-issue audit. Resolved by PR #{PR_NUMBER} ({PR_TITLE}), merged {MERGED_DATE}.\n\nIf this issue is not actually resolved, please reopen it.\nCOMMENT\n)\"\n```\n\nFor tracker issues:\n\n```bash\ngh issue close {NUMBER} --comment \"$(cat \u003C\u003C'COMMENT'\nClosed by stale-issue audit. All tracked sub-issues have been resolved.\nCOMMENT\n)\"\n```\n\n### 8. Report summary\n\n```\n**Audit complete:**\n- Issues closed: {count}\n- Issues remaining open (no implementing PR): {count}\n- Tracker issues closed: {count}\n- Total open issues after audit: {count}\n```\n\n## Differences from wave-audit\n\n- **wave-audit** operates on a specific wave's deployment branch and uses wave labels\n- **close-stale-issues** operates repo-wide across all open issues regardless of wave\n- Use `wave-audit` during wave wrapup; use `close-stale-issues` for periodic repo hygiene\n\n## What remains manual\n\n- User must approve all closures before they execute\n- Issues with no implementing PR require manual triage\n- The skill does not verify that a PR actually implemented the issue — it relies on references and branch naming\n","Audit all open GitHub issues against merged PRs and close orphans that were resolved but not auto-closed.\n\n## Instructions\n\n### 1. List all open issues\n\n```bash\ngh issue list --state open --limit 500 --json number,title,labels,body,createdAt\n```\n\n### 2. List all merged PRs (last 90 days)\n\n```bash\ngh pr list --state merged --limit 500 --json number,title,body,headRefName,mergedAt\n```\n\n### 3. Build the resolution map\n\nFor each merged PR, extract issue references from the body:\n- `Closes #N`, `Fixes #N`, `Resolves #N` (case-insensitive)\n- Also match branch name patterns: `{FirstInitial}.{LastName}\u002F{ISSUE_NUMBER}-*`\n\nBuild a map: `{issue_number → [{pr_number, pr_title, mergedAt}]}`.\n\n### 4. Cross-reference open issues\n\nFor each open issue, check:\n- **Directly referenced:** A merged PR body contains `Closes #N` \u002F `Fixes #N` \u002F `Resolves #N` for this issue\n- **Branch-matched:** A merged PR branch name starts with `*\u002F{ISSUE_NUMBER}-`\n- **Label-matched:** The issue has a wave label (`p*-wave-*` or `wave-*`) and the corresponding deployment branch has been merged to main\n\nClassify each open issue as:\n| Category | Criteria | Action |\n|----------|----------|--------|\n| **Resolved (direct)** | Referenced by merged PR body | Close with comment |\n| **Resolved (branch)** | Matched by branch name | Close with comment (note: inferred match) |\n| **Stale tracker** | All sub-issues\u002Fcheckboxes are closed | Close with comment |\n| **No match** | No implementing PR found | Keep open |\n\n### 5. Check tech-debt tracker issues\n\nFor issues labeled `tech-debt` that contain a task list (checkboxes), check if all referenced sub-issues are closed:\n\n```bash\ngh issue view {NUMBER} --json body\n```\n\nParse `- [x] #N` and `- [ ] #N` patterns. If all checkboxes are checked or all referenced issues are closed, mark the tracker as a candidate for closure.\n\n### 6. Present findings for approval\n\n**Do NOT close any issues until the user confirms.** Present:\n\n```\n**Stale Issue Audit**\n\n| Issue | Title | Category | Implementing PR | Proposed Action |\n|-------|-------|----------|-----------------|-----------------|\n| #123  | ...   | Resolved (direct) | PR #456 (merged 2026-04-01) | Close |\n| #789  | ...   | Resolved (branch) | PR #790 (branch matched) | Close |\n| #100  | ...   | Stale tracker | All 3\u002F3 sub-issues closed | Close |\n| #200  | ...   | No match | — | Keep open |\n\n**Summary:** {resolved_count} issues to close, {no_match_count} issues to keep open\n```\n\nWait for user approval before proceeding.\n\n### 7. Close confirmed issues\n\nFor each approved closure:\n\n```bash\ngh issue close {NUMBER} --comment \"$(cat \u003C\u003C'COMMENT'\nClosed by stale-issue audit. Resolved by PR #{PR_NUMBER} ({PR_TITLE}), merged {MERGED_DATE}.\n\nIf this issue is not actually resolved, please reopen it.\nCOMMENT\n)\"\n```\n\nFor tracker issues:\n\n```bash\ngh issue close {NUMBER} --comment \"$(cat \u003C\u003C'COMMENT'\nClosed by stale-issue audit. All tracked sub-issues have been resolved.\nCOMMENT\n)\"\n```\n\n### 8. Report summary\n\n```\n**Audit complete:**\n- Issues closed: {count}\n- Issues remaining open (no implementing PR): {count}\n- Tracker issues closed: {count}\n- Total open issues after audit: {count}\n```\n\n## Differences from wave-audit\n\n- **wave-audit** operates on a specific wave's deployment branch and uses wave labels\n- **close-stale-issues** operates repo-wide across all open issues regardless of wave\n- Use `wave-audit` during wave wrapup; use `close-stale-issues` for periodic repo hygiene\n\n## What remains manual\n\n- User must approve all closures before they execute\n- Issues with no implementing PR require manual triage\n- The skill does not verify that a PR actually implemented the issue — it relies on references and branch naming\n",{"args":29,"name":5,"description":7},"repo (optional, defaults to current repo)","main","53ec1032b93d41533a48603e8fae7a92f56cc66c","intake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fclose-stale-issues","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework","https:\u002F\u002Fgithub.com\u002Fparametrization","2026-09-21 01:06:30",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add parametrization\u002F2real-team-framework --skill close-stale-issues",{"tool":42,"command":43},"bunx","bunx skills add parametrization\u002F2real-team-framework --skill close-stale-issues",{"tool":45,"command":46},"pnpm","pnpm dlx skills add parametrization\u002F2real-team-framework --skill close-stale-issues","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fclose-stale-issues\u002FSKILL.md",true,[50,56,60,64,68,72,76,80],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"research.template.md","REFERENCE","参考文档",581,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Fresearch.template.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"technical-steps\u002Fstep-01-init.md",5581,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Ftechnical-steps\u002Fstep-01-init.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"technical-steps\u002Fstep-02-technical-overview.md",9447,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Ftechnical-steps\u002Fstep-02-technical-overview.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"technical-steps\u002Fstep-03-integration-patterns.md",9995,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Ftechnical-steps\u002Fstep-03-integration-patterns.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"technical-steps\u002Fstep-04-architectural-patterns.md",7212,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Ftechnical-steps\u002Fstep-04-architectural-patterns.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"technical-steps\u002Fstep-05-implementation-research.md",7774,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Ftechnical-steps\u002Fstep-05-implementation-research.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"technical-steps\u002Fstep-06-research-synthesis.md",21056,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Ftechnical-steps\u002Fstep-06-research-synthesis.md",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"workflow.md",2422,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbmad-technical-research\u002Fworkflow.md",[85,107,124,140,155,168],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":24},"01M6E5VG1R7FF1025BZAV6BDTS","wave-wrapup","Finalize a wave — PR review, merge sequencing, issue cleanup, worktree cleanup, and handoff to retro","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-wrapup\u002FSKILL.md",[],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106],"wave wrapup","wrapup","review","handoff","merge","pr review","pr","cleanup","worktree","retro","team","issue","worktree cleanup","name","sequencing",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":24},"01M6E5V9GDF75GV4YD2WPSH912","wave-start","Initialize a new wave — worktree cleanup, branch creation, label setup, status file update","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-start\u002FSKILL.md",[],[114,115,116,99,117,100,118,102,119,120,121,104,122,105,123],"wave start","start","setup","update","file","branch","file update","initialize","creation","status",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":24},"01M6E5V4VXEJ39V87VHN1A3AW9","wave-scope","Reconcile declared-vs-labeled wave scope between \u002Fwave-retro and \u002Fwave-kickoff — collect dispositions, fold in retro carry-forwards and memory must-includes, and refresh the meta-issue","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-scope\u002FSKILL.md",[],[131,132,133,134,135,101,136,137,138,103,139],"wave scope","scope","memory","collect","Meta","refresh","reconcile","Fold","kickoff",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":24},"01M6E5TZNPGG5EXZEN1FKJJT6K","wave-retro","Automated wave retrospective — PR analysis, assessments, trust matrix updates, feedback log, charter change proposals","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-retro\u002FSKILL.md",[],[147,101,148,149,98,150,151,102,152,153,154,105],"wave retro","log","change","retrospective","analysis","feedback","proposals","trust",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":24},"01M6E5TR8XB3Z10A9SD4ZYNV45","wave-kickoff","Automated wave planning — branch creation, label management, issue labeling, kickoff comments, and execution plan","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-kickoff\u002FSKILL.md",[],[162,139,163,103,122,105,164,102,165,119,166,167],"wave kickoff","management","plan","execution","planning","execution plan",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":24},"01M6E5TMZAFB6MTVYT750FZDVY","wave-audit","Audit open issues against merged PRs — find and close orphaned issues with proper comments","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-audit\u002FSKILL.md",[],[22,175,20,176,177,18],"wave audit","find","open"]