[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E5QNHKCZ2Q1DEKTT43WABX":3,"skill-same:01M6E5QNHKCZ2Q1DEKTT43WABX":51},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":13,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M6E5QNHKCZ2Q1DEKTT43WABX","wave-audit",null,"Audit open wave issues against merged PRs — find and close orphaned issues with proper comments. Requires user confirmation before closing anything.","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\u002Fframework\u002Fassets\u002Fskills\u002Fwave-audit\u002FSKILL.md",[],[18,19,20,21,22,23,24,25],"audit","wave audit","issues","open","find","confirmation","user","close","2026-11-10 10:12:30",false,"---\nname: wave-audit\ndescription: \"Audit open wave issues against merged PRs — find and close orphaned issues with proper comments. Requires user confirmation before closing anything.\"\n---\n\n# Wave Audit\n\nAudit open issues for a wave (`args`: phase number `{N}`, wave number `{M}`) and close any\nthat were resolved by a merged PR but not auto-closed.\n\n> Config-driven + fail-open: reads `.claude\u002Fframework.config.json` via `jq`; missing keys fall\n> back to the documented branch\u002Flabel grammar. Nothing here mutates state until the user\n> confirms closures in Step 5.\n\n## Instructions\n\n### 0. Resolve config + wave grammar\n\n```bash\nREPO_ROOT=\"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\"\nCFG=\"$REPO_ROOT\u002F.claude\u002Fframework.config.json\"\nget() { jq -r \"$1 \u002F\u002F empty\" \"$CFG\" 2>\u002Fdev\u002Fnull; }   # fail-open dotted read\n\nN={phase}; M={wave}\n# Branch + label grammar from config (tokens: {phase} {wave}); fall back to the defaults.\nBRANCH_TMPL=\"$(get '.branch.integration')\"; : \"${BRANCH_TMPL:=deployments\u002Fphase{phase}\u002Fwave-{wave}}\"\nLABEL_TMPL=\"$(get '.labels.wave')\";        : \"${LABEL_TMPL:=phase{phase}-wave-{wave}}\"\nWAVE_BRANCH=\"$(printf '%s' \"$BRANCH_TMPL\" | sed \"s\u002F{phase}\u002F$N\u002Fg; s\u002F{wave}\u002F$M\u002Fg\")\"\nWAVE_LABEL=\"$(printf '%s' \"$LABEL_TMPL\"   | sed \"s\u002F{phase}\u002F$N\u002Fg; s\u002F{wave}\u002F$M\u002Fg; s\u002F{id}\u002F$M\u002Fg\")\"\necho \"Auditing branch $WAVE_BRANCH \u002F label $WAVE_LABEL\"\n```\n\n### 1. List merged PRs for the wave\n\n```bash\ngh pr list --state merged --base \"$WAVE_BRANCH\" --json number,title,body,headRefName --limit 100\n```\n\n### 2. Extract issue references from PRs\n\nFor each merged PR, parse the body for:\n\n- `Closes #N`\n- `Fixes #N`\n- `Resolves #N`\n\nBuild a map: `{issue_number → [PR_number, PR_title]}`.\n\n### 3. List open issues for the wave\n\n```bash\ngh issue list --state open --label \"$WAVE_LABEL\" --json number,title,labels --limit 100\n```\n\nIf the project carries additional wave-label spellings (legacy conventions), query each and\nunion the results — `gh` ANDs multiple `--label` flags, so run them as separate queries.\n\n### 4. Identify orphans\n\nAn orphan is an open issue that:\n\n- Is labeled with the wave label (`$WAVE_LABEL`)\n- Was referenced by a merged PR's `Closes`\u002F`Fixes`\u002F`Resolves` but was not auto-closed\n  (auto-close only fires on merges to the default branch, so wave-branch merges routinely\n  strand their issues)\n\nCross-reference the two lists. Also check for issues that were implemented but whose PR forgot\nthe `Closes` reference — match by feature-branch name (config `branch.feature`, default\n`{FirstInitial}.{LastName}\u002F{IIII}-{slug}`): a merged PR whose `headRefName` contains\n`\u002F{ISSUE_NUMBER}-` implements that issue. Match the issue number **zero-padded per the\n`{IIII}` branch grammar** — real branches pad, so issue 65's branch is\n`P.Gupta\u002F0065-meta-child-install`, which contains `\u002F0065-`, not `\u002F65-`. Use `0*{ISSUE}-`\nas the regex (e.g. `0*74-` hits both `\u002F74-` and `\u002F0074-`) so an executor matching the raw\nnumber verbatim does not miss every padded branch.\n\n### 5. Report findings to user — MANDATORY confirmation gate\n\nPresent a table before taking action:\n\n```\n**Wave Audit: Phase {N} Wave {M}** (branch `$WAVE_BRANCH`, label `$WAVE_LABEL`)\n\n| Issue | Title | Status | Implementing PR | Action |\n|-------|-------|--------|-----------------|--------|\n| #123  | ...   | Open   | PR #456         | Close  |\n| #789  | ...   | Open   | (none found)    | Keep   |\n\n**Orphans found:** {count}\n**Issues with no implementing PR:** {count}\n```\n\n**Do NOT close any issues until the user confirms.** Present the list and wait for explicit\napproval. This gate is mandatory — there is no batch\u002Fauto mode.\n\n### 6. Close confirmed orphans\n\nFor each confirmed orphan, close with a comment (message via a file\u002Fheredoc, never inline `-m`\npiping):\n\n```bash\ngh issue close {NUMBER} --comment \"$(cat \u003C\u003CEOF\nClosed by wave audit. This issue was resolved by PR #{PR_NUMBER} ({PR_TITLE}) which merged to \\`$WAVE_BRANCH\\`.\nEOF\n)\"\n```\n\nOptionally tag the closure wave (create the label first if missing):\n\n```bash\ngh label create \"fixed-in-$WAVE_LABEL\" --description \"Resolved in $WAVE_LABEL\" --color \"8B5CF6\" 2>\u002Fdev\u002Fnull || true\ngh issue edit {NUMBER} --add-label \"fixed-in-$WAVE_LABEL\"\n```\n\n### 7. Report summary\n\n```\n**Audit complete:**\n- Issues closed: {count}\n- Issues remaining open: {count} (no implementing PR found)\n- Issues already closed: {count} (correctly auto-closed)\n```\n\n## What remains manual\n\n- User must approve all closures before they execute\n- Issues with no implementing PR require manual triage (defer, reassign, or close as won't-fix)\n- The skill does not verify that the PR actually implemented the issue — it relies on\n  `Closes #N` references and the branch-naming convention\n","# Wave Audit\n\nAudit open issues for a wave (`args`: phase number `{N}`, wave number `{M}`) and close any\nthat were resolved by a merged PR but not auto-closed.\n\n> Config-driven + fail-open: reads `.claude\u002Fframework.config.json` via `jq`; missing keys fall\n> back to the documented branch\u002Flabel grammar. Nothing here mutates state until the user\n> confirms closures in Step 5.\n\n## Instructions\n\n### 0. Resolve config + wave grammar\n\n```bash\nREPO_ROOT=\"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\"\nCFG=\"$REPO_ROOT\u002F.claude\u002Fframework.config.json\"\nget() { jq -r \"$1 \u002F\u002F empty\" \"$CFG\" 2>\u002Fdev\u002Fnull; }   # fail-open dotted read\n\nN={phase}; M={wave}\n# Branch + label grammar from config (tokens: {phase} {wave}); fall back to the defaults.\nBRANCH_TMPL=\"$(get '.branch.integration')\"; : \"${BRANCH_TMPL:=deployments\u002Fphase{phase}\u002Fwave-{wave}}\"\nLABEL_TMPL=\"$(get '.labels.wave')\";        : \"${LABEL_TMPL:=phase{phase}-wave-{wave}}\"\nWAVE_BRANCH=\"$(printf '%s' \"$BRANCH_TMPL\" | sed \"s\u002F{phase}\u002F$N\u002Fg; s\u002F{wave}\u002F$M\u002Fg\")\"\nWAVE_LABEL=\"$(printf '%s' \"$LABEL_TMPL\"   | sed \"s\u002F{phase}\u002F$N\u002Fg; s\u002F{wave}\u002F$M\u002Fg; s\u002F{id}\u002F$M\u002Fg\")\"\necho \"Auditing branch $WAVE_BRANCH \u002F label $WAVE_LABEL\"\n```\n\n### 1. List merged PRs for the wave\n\n```bash\ngh pr list --state merged --base \"$WAVE_BRANCH\" --json number,title,body,headRefName --limit 100\n```\n\n### 2. Extract issue references from PRs\n\nFor each merged PR, parse the body for:\n\n- `Closes #N`\n- `Fixes #N`\n- `Resolves #N`\n\nBuild a map: `{issue_number → [PR_number, PR_title]}`.\n\n### 3. List open issues for the wave\n\n```bash\ngh issue list --state open --label \"$WAVE_LABEL\" --json number,title,labels --limit 100\n```\n\nIf the project carries additional wave-label spellings (legacy conventions), query each and\nunion the results — `gh` ANDs multiple `--label` flags, so run them as separate queries.\n\n### 4. Identify orphans\n\nAn orphan is an open issue that:\n\n- Is labeled with the wave label (`$WAVE_LABEL`)\n- Was referenced by a merged PR's `Closes`\u002F`Fixes`\u002F`Resolves` but was not auto-closed\n  (auto-close only fires on merges to the default branch, so wave-branch merges routinely\n  strand their issues)\n\nCross-reference the two lists. Also check for issues that were implemented but whose PR forgot\nthe `Closes` reference — match by feature-branch name (config `branch.feature`, default\n`{FirstInitial}.{LastName}\u002F{IIII}-{slug}`): a merged PR whose `headRefName` contains\n`\u002F{ISSUE_NUMBER}-` implements that issue. Match the issue number **zero-padded per the\n`{IIII}` branch grammar** — real branches pad, so issue 65's branch is\n`P.Gupta\u002F0065-meta-child-install`, which contains `\u002F0065-`, not `\u002F65-`. Use `0*{ISSUE}-`\nas the regex (e.g. `0*74-` hits both `\u002F74-` and `\u002F0074-`) so an executor matching the raw\nnumber verbatim does not miss every padded branch.\n\n### 5. Report findings to user — MANDATORY confirmation gate\n\nPresent a table before taking action:\n\n```\n**Wave Audit: Phase {N} Wave {M}** (branch `$WAVE_BRANCH`, label `$WAVE_LABEL`)\n\n| Issue | Title | Status | Implementing PR | Action |\n|-------|-------|--------|-----------------|--------|\n| #123  | ...   | Open   | PR #456         | Close  |\n| #789  | ...   | Open   | (none found)    | Keep   |\n\n**Orphans found:** {count}\n**Issues with no implementing PR:** {count}\n```\n\n**Do NOT close any issues until the user confirms.** Present the list and wait for explicit\napproval. This gate is mandatory — there is no batch\u002Fauto mode.\n\n### 6. Close confirmed orphans\n\nFor each confirmed orphan, close with a comment (message via a file\u002Fheredoc, never inline `-m`\npiping):\n\n```bash\ngh issue close {NUMBER} --comment \"$(cat \u003C\u003CEOF\nClosed by wave audit. This issue was resolved by PR #{PR_NUMBER} ({PR_TITLE}) which merged to \\`$WAVE_BRANCH\\`.\nEOF\n)\"\n```\n\nOptionally tag the closure wave (create the label first if missing):\n\n```bash\ngh label create \"fixed-in-$WAVE_LABEL\" --description \"Resolved in $WAVE_LABEL\" --color \"8B5CF6\" 2>\u002Fdev\u002Fnull || true\ngh issue edit {NUMBER} --add-label \"fixed-in-$WAVE_LABEL\"\n```\n\n### 7. Report summary\n\n```\n**Audit complete:**\n- Issues closed: {count}\n- Issues remaining open: {count} (no implementing PR found)\n- Issues already closed: {count} (correctly auto-closed)\n```\n\n## What remains manual\n\n- User must approve all closures before they execute\n- Issues with no implementing PR require manual triage (defer, reassign, or close as won't-fix)\n- The skill does not verify that the PR actually implemented the issue — it relies on\n  `Closes #N` references and the branch-naming convention\n",{"name":5,"description":7},"main","53ec1032b93d41533a48603e8fae7a92f56cc66c","framework\u002Fassets\u002Fskills\u002Fwave-audit","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework","https:\u002F\u002Fgithub.com\u002Fparametrization","2026-09-21 01:06:30",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add parametrization\u002F2real-team-framework --skill wave-audit",{"tool":43,"command":44},"bunx","bunx skills add parametrization\u002F2real-team-framework --skill wave-audit",{"tool":46,"command":47},"pnpm","pnpm dlx skills add parametrization\u002F2real-team-framework --skill wave-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fframework\u002Fassets\u002Fskills\u002Fwave-audit\u002FSKILL.md",true,[],[52,74,91,107,122,135],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":26},"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",[],[59,60,61,62,63,64,65,66,67,68,69,70,71,72,73],"wave wrapup","wrapup","review","handoff","merge","pr review","pr","cleanup","worktree","retro","team","issue","worktree cleanup","name","sequencing",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":26},"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",[],[81,82,83,66,84,67,85,69,86,87,88,71,89,72,90],"wave start","start","setup","update","file","branch","file update","initialize","creation","status",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":26},"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",[],[98,99,100,101,102,68,103,104,105,70,106],"wave scope","scope","memory","collect","Meta","refresh","reconcile","Fold","kickoff",{"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":26},"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",[],[114,68,115,116,65,117,118,69,119,120,121,72],"wave retro","log","change","retrospective","analysis","feedback","proposals","trust",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":26},"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",[],[129,106,130,70,89,72,131,69,132,86,133,134],"wave kickoff","management","plan","execution","planning","execution plan",{"skillNo":136,"name":5,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":26},"01M6E5TMZAFB6MTVYT750FZDVY","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",[],[18,19,25,22,21,20]]