[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FCR2MHZAD176YN76K5BRJ":3,"skill-same:01M78FCR2MHZAD176YN76K5BRJ":54},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":43},"01M78FCR2MHZAD176YN76K5BRJ","pr-cleanup",null,"Refine pull requests through parallel placement and capability-name audits, focused delivery sizing, and a final simplify and code-review loop. Triggers: \u002Fpr-cleanup, run PR cleanup, full PR cleanup, extraction audit, capability naming audit, simplify and review a PR, and split a cleaned PR.","jl-cmd-projects\u002Fclaude-dev-env","jl-cmd-projects","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F338158757?v=4","01M78F4M55P4QY5YPN27XBQA9N","01M78F4M65AGEYC88NV6PW4715",7,"MIT","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fpr-cleanup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pr-cleanup\ndisable-model-invocation: true\ndescription: >-\n  Refine pull requests through parallel placement and capability-name audits,\n  focused delivery sizing, and a final simplify and code-review loop. Triggers:\n  \u002Fpr-cleanup, run PR cleanup, full PR cleanup, extraction audit, capability\n  naming audit, simplify and review a PR, and split a cleaned PR.\n---\n\n# PR cleanup\n\n## Contents\n\n- [Principle](#principle)\n- [When this applies](#when-this-applies)\n- [Composition](#composition)\n- [Task seeding](#task-seeding)\n- [Process](#process)\n- [Promotion gates](#promotion-gates)\n- [Finish report](#finish-report)\n- [File index](#file-index)\n\n## Principle\n\nOne coding agent owns the cleanup outcome. `pr-refinement` coordinates parallel\npreflight audits and produces findings, tested proposals, a combined change map,\nand a delivery decision for the cleanup owner. Parent-to-child promotion uses\nexact commit ancestry and fresh child-head checks.\n\n## When this applies\n\nUse this skill for a pull request that needs placement review, capability\nnaming, cleanup convergence, and a focused delivery boundary.\n\nRequired input: a pull request URL, number, or branch. If the target is missing,\nrespond exactly: `Give a GitHub PR number, URL, or branch for pr-cleanup.`\n\nUse the repository that owns the target pull request. Keep every pull request in\ndraft state until its applicable Ready gate is complete.\n\n## Composition\n\n| Skill | Role | Evidence |\n|---|---|---|\n| `pr-refinement` | Run the parallel audits, combine findings, and coordinate implementation shape | Change map and delivery decision |\n| `pr-shared-extraction` | Find reusable behavior that belongs in `shared_utils` | Placement findings and tested proposal |\n| `pr-name-by-capability` | Find driver or motive words on reusable capability surfaces | Naming findings and rename directions |\n| `pr-small-cl` | Choose one coherent pull request or an ordered replacement stack | Focused boundary and dependencies |\n| `source-command-sr-loop` | Run `e-simplify`, then `e-code-review low --fix` until clean | Review passes, fixes, and validation |\n| `pr-summarizer` (repo-local) | When the repository under cleanup ships `.claude\u002Fskills\u002Fpr-summarizer\u002F`, run it after Ready and post the secret-gist preview comment | Preview URL and comment confirmation |\n\n## Task seeding\n\nAt skill start, register every item in `reference\u002Ftask-seeds.md` as a session\ntask through `TaskCreate`, `TodoWrite`, or the host task equivalent. Work from\nthat task list. Mark each task complete with `PASS`, `FAIL` plus file and line\nevidence, or `N\u002FA` plus the reason.\n\n## Process\n\n### 1. Resolve the target\n\nResolve the pull request, repository, parent head SHA, and intended child\nboundary. Record the immutable parent preflight SHA before creating worktrees.\n\n### 2. Run `pr-refinement`\n\nRun [pr-refinement](..\u002Fpr-refinement\u002FSKILL.md). Record its combined change map,\naudit findings, locations, priorities, destinations or rename directions,\nvalidation evidence, and worker worktrees.\n\n### 3. Choose the delivery shape\n\nUse [pr-small-cl](..\u002Fpr-small-cl\u002FSKILL.md) after the audit findings are\ncombined. Record the first pull request boundary, dependencies, tests, and\nfollow-up work.\n\n### 4. Implement the selected shape\n\nApply every actionable finding in dependency order. Keep preflight parent scope\nread-only until the cleanup owner selects and reapplies tested proposals.\nValidate each changed surface with its production-path tests. Commit each\nvalidated concern and keep the resulting pull request in draft state.\n\n### 5. Run `source-command-sr-loop`\n\nRun [source-command-sr-loop](..\u002Fsource-command-sr-loop\u002FSKILL.md). Record the\nreview passes, fixes, skips, tests, and commit SHAs.\n\n### 6. Promote and report\n\nAfter the applicable gate passes, when the repository under cleanup includes\n`.claude\u002Fskills\u002Fpr-summarizer\u002FSKILL.md`, load and run that skill for each pull\nrequest promoted to Ready in this cleanup run. Post the secret gist preview as a\npull request comment before completing the [Finish report](#finish-report).\n\nWhen the skill is absent, record `N\u002FA` for the summary step and continue.\n\n## Promotion gates\n\nRun preflight work in isolated worktrees from the recorded parent SHA. Apply\nselected changes in the parent cleanup worktree after the owner selects the\ntested proposals.\n\nPromote the parent only after every actionable finding has an applied fix or an\nexact disposition. Record the remote parent Ready state and exact\n`parent_ready_sha`.\n\nCreate the child from its intended pre-parent base and merge the exact\n`parent_ready_sha`. Prove that SHA is an ancestor of the child head with\n`git merge-base --is-ancestor \u003Cparent_ready_sha> \u003Cchild_head>` and record exit\ncode `0`.\n\nReapply every relevant fix to the child. Rerun child tests, `e-simplify`, and\n`e-code-review` after the merge. Record the new child head and every validation\nresult before promoting the child to Ready.\n\nWhen the repository ships `pr-summarizer`, run it on the child after child Ready\npromotion if the child is in scope for this cleanup run.\n\nUse `reference\u002Ftask-seeds.md` and `reference\u002Fprocess-inventory.md` to record promotion evidence.\n\n## Finish report\n\n- Pull request or stack URLs.\n- `pr-refinement` outcome.\n- `source-command-sr-loop` passes, commits, and validation results.\n- Parent-ready and child-ready SHAs when a child is promoted.\n- `pr-summarizer` preview URLs and comment confirmation for each Ready pull request, or `N\u002FA` when the repo does not ship the skill.\n- Remaining hard block, or `null`.\n\n## File index\n\n| Path | Purpose |\n|---|---|\n| `SKILL.md` | Hub for refinement, cleanup convergence, promotion gates, and reporting |\n| `reference\u002Ftask-seeds.md` | Ordered session tasks for audits, delivery, validation, promotion, and summary |\n| `reference\u002Fprocess-inventory.md` | Process classes, evidence homes, and paired task checks |\n","# PR cleanup\n\n## Contents\n\n- [Principle](#principle)\n- [When this applies](#when-this-applies)\n- [Composition](#composition)\n- [Task seeding](#task-seeding)\n- [Process](#process)\n- [Promotion gates](#promotion-gates)\n- [Finish report](#finish-report)\n- [File index](#file-index)\n\n## Principle\n\nOne coding agent owns the cleanup outcome. `pr-refinement` coordinates parallel\npreflight audits and produces findings, tested proposals, a combined change map,\nand a delivery decision for the cleanup owner. Parent-to-child promotion uses\nexact commit ancestry and fresh child-head checks.\n\n## When this applies\n\nUse this skill for a pull request that needs placement review, capability\nnaming, cleanup convergence, and a focused delivery boundary.\n\nRequired input: a pull request URL, number, or branch. If the target is missing,\nrespond exactly: `Give a GitHub PR number, URL, or branch for pr-cleanup.`\n\nUse the repository that owns the target pull request. Keep every pull request in\ndraft state until its applicable Ready gate is complete.\n\n## Composition\n\n| Skill | Role | Evidence |\n|---|---|---|\n| `pr-refinement` | Run the parallel audits, combine findings, and coordinate implementation shape | Change map and delivery decision |\n| `pr-shared-extraction` | Find reusable behavior that belongs in `shared_utils` | Placement findings and tested proposal |\n| `pr-name-by-capability` | Find driver or motive words on reusable capability surfaces | Naming findings and rename directions |\n| `pr-small-cl` | Choose one coherent pull request or an ordered replacement stack | Focused boundary and dependencies |\n| `source-command-sr-loop` | Run `e-simplify`, then `e-code-review low --fix` until clean | Review passes, fixes, and validation |\n| `pr-summarizer` (repo-local) | When the repository under cleanup ships `.claude\u002Fskills\u002Fpr-summarizer\u002F`, run it after Ready and post the secret-gist preview comment | Preview URL and comment confirmation |\n\n## Task seeding\n\nAt skill start, register every item in `reference\u002Ftask-seeds.md` as a session\ntask through `TaskCreate`, `TodoWrite`, or the host task equivalent. Work from\nthat task list. Mark each task complete with `PASS`, `FAIL` plus file and line\nevidence, or `N\u002FA` plus the reason.\n\n## Process\n\n### 1. Resolve the target\n\nResolve the pull request, repository, parent head SHA, and intended child\nboundary. Record the immutable parent preflight SHA before creating worktrees.\n\n### 2. Run `pr-refinement`\n\nRun [pr-refinement](..\u002Fpr-refinement\u002FSKILL.md). Record its combined change map,\naudit findings, locations, priorities, destinations or rename directions,\nvalidation evidence, and worker worktrees.\n\n### 3. Choose the delivery shape\n\nUse [pr-small-cl](..\u002Fpr-small-cl\u002FSKILL.md) after the audit findings are\ncombined. Record the first pull request boundary, dependencies, tests, and\nfollow-up work.\n\n### 4. Implement the selected shape\n\nApply every actionable finding in dependency order. Keep preflight parent scope\nread-only until the cleanup owner selects and reapplies tested proposals.\nValidate each changed surface with its production-path tests. Commit each\nvalidated concern and keep the resulting pull request in draft state.\n\n### 5. Run `source-command-sr-loop`\n\nRun [source-command-sr-loop](..\u002Fsource-command-sr-loop\u002FSKILL.md). Record the\nreview passes, fixes, skips, tests, and commit SHAs.\n\n### 6. Promote and report\n\nAfter the applicable gate passes, when the repository under cleanup includes\n`.claude\u002Fskills\u002Fpr-summarizer\u002FSKILL.md`, load and run that skill for each pull\nrequest promoted to Ready in this cleanup run. Post the secret gist preview as a\npull request comment before completing the [Finish report](#finish-report).\n\nWhen the skill is absent, record `N\u002FA` for the summary step and continue.\n\n## Promotion gates\n\nRun preflight work in isolated worktrees from the recorded parent SHA. Apply\nselected changes in the parent cleanup worktree after the owner selects the\ntested proposals.\n\nPromote the parent only after every actionable finding has an applied fix or an\nexact disposition. Record the remote parent Ready state and exact\n`parent_ready_sha`.\n\nCreate the child from its intended pre-parent base and merge the exact\n`parent_ready_sha`. Prove that SHA is an ancestor of the child head with\n`git merge-base --is-ancestor \u003Cparent_ready_sha> \u003Cchild_head>` and record exit\ncode `0`.\n\nReapply every relevant fix to the child. Rerun child tests, `e-simplify`, and\n`e-code-review` after the merge. Record the new child head and every validation\nresult before promoting the child to Ready.\n\nWhen the repository ships `pr-summarizer`, run it on the child after child Ready\npromotion if the child is in scope for this cleanup run.\n\nUse `reference\u002Ftask-seeds.md` and `reference\u002Fprocess-inventory.md` to record promotion evidence.\n\n## Finish report\n\n- Pull request or stack URLs.\n- `pr-refinement` outcome.\n- `source-command-sr-loop` passes, commits, and validation results.\n- Parent-ready and child-ready SHAs when a child is promoted.\n- `pr-summarizer` preview URLs and comment confirmation for each Ready pull request, or `N\u002FA` when the repo does not ship the skill.\n- Remaining hard block, or `null`.\n\n## File index\n\n| Path | Purpose |\n|---|---|\n| `SKILL.md` | Hub for refinement, cleanup convergence, promotion gates, and reporting |\n| `reference\u002Ftask-seeds.md` | Ordered session tasks for audits, delivery, validation, promotion, and summary |\n| `reference\u002Fprocess-inventory.md` | Process classes, evidence homes, and paired task checks |\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","974284b42eeb4609e94d4ebc1f6e36df400d54ca","skill-archive\u002Fpr-cleanup",1,"https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects","2026-11-15 05:02:47",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":23},[33,36,39],{"tool":34,"command":35},"npx","npx skills add jl-cmd-projects\u002Fclaude-dev-env --skill pr-cleanup",{"tool":37,"command":38},"bunx","bunx skills add jl-cmd-projects\u002Fclaude-dev-env --skill pr-cleanup",{"tool":40,"command":41},"pnpm","pnpm dlx skills add jl-cmd-projects\u002Fclaude-dev-env --skill pr-cleanup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fpr-cleanup\u002FSKILL.md",[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"reference\u002Fprocess-inventory.md","REFERENCE","参考文档",2015,"https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fpr-cleanup\u002Freference\u002Fprocess-inventory.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"reference\u002Ftask-seeds.md",1729,"https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fpr-cleanup\u002Freference\u002Ftask-seeds.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M78FER7S09AE87MMJFT1E87E","update","Fast-forwards a local repository's main branch to a remote's main after confirming the repo path and source remote through AskUserQuestion. Use when the user says '\u002Fupdate', 'update main', 'fast-forward main', 'sync main from origin', 'pull latest main into \u003Cpath>', or 'bring main up to date'.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fupdate\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M78FENWZS01MB4PMGX6801X6","source-command-sr-loop","Converging cleanup loop: repeat \u002Fsimplify until clean, then repeat \u002Fcode-review --fix until clean","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fsource-command-sr-loop\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M78FEGZ7JDWEG3RM78M9Y8F8","skill-builder","Skill lifecycle: classify, scaffold, write via the skill-writer-agent, self-audit, compose sub-skills, polish description triggers, enforce deterministic scripts. Triggers: build a skill, new skill workflow, improve this skill, optimize skill description, skill development lifecycle, skill modularity, skill composition, description trigger catalog, deterministic skill scripts.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fskill-builder\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M78FEDEYHJYKTER9S566DMEZ","session-tidy","Audit, clean, and consolidate session logs in the Obsidian vault. Fixes format drift, resolves orphaned next-steps, updates stale statuses, and generates project rollup summaries. Use when session logs feel cluttered or before starting a new project milestone. Triggers on '\u002Fsession-tidy', 'tidy sessions', 'clean up session logs', 'session audit'.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fsession-tidy\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M78FE8QR789SKBF3A78N2T13","session-log","Logs a session report as an HTML page, tracks vault context, extracts decisions, and outputs a \u002Frename command. Use for \u002Fsession-log, 'journal this session', 'log this work', 'session report', 'summarize\u002Flog\u002Frecord this session', 'save session', 'capture session', or 'document what we did'.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fsession-log\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M78FE4JDJHKTJPWRWNQEX2HT","run-claude-dev-env","Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~\u002F.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Frun-claude-dev-env\u002FSKILL.md",[],[]]