[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78F69WNZQHX6YP18EVGE8JG":3,"skill-same:01M78F69WNZQHX6YP18EVGE8JG":50},{"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":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M78F69WNZQHX6YP18EVGE8JG","copilot-review",null,"Spawns a background subagent that babysits the GitHub Copilot reviewer on the current PR: each tick it fixes unaddressed findings against HEAD, re-requests review, and exits on convergence. Triggers: '\u002Fcopilot-review', 'watch copilot', 'babysit copilot review', 'keep re-requesting copilot'.","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\u002Fpackages\u002Fclaude-dev-env\u002F.agents\u002Fskills-archived\u002Fcopilot-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: copilot-review\ndescription: >-\n  Spawns a background subagent that babysits the GitHub Copilot reviewer on the\n  current PR: each tick it fixes unaddressed findings against HEAD, re-requests\n  review, and exits on convergence. Triggers: '\u002Fcopilot-review', 'watch\n  copilot', 'babysit copilot review', 'keep re-requesting copilot'.\n---\n\n# Copilot Review\n\nDelegates Copilot babysitting to a background subagent so the main session stays free. The subagent loops internally and closes itself on convergence.\n\n## Transport check (before any GitHub step)\n\nRun `command -v gh`; when it succeeds, run `gh auth status`; once the PR scope is resolved, run `gh api repos\u002F\u003Cowner>\u002F\u003Crepo> --jq .permissions.push` and take `true` as the pass. When any check fails, run the `pr-loop-cloud-transport` skill first, route every `gh` operation in this skill through its substitution matrix, and carry the same routing into the subagent prompt so the spawned watcher inherits it.\n\n## When this skill applies\n\nThe user is on a PR branch, wants Copilot (the GitHub Copilot reviewer bot) to keep re-reviewing after each push, and wants findings auto-addressed between ticks — but does not want the main conversation consumed by polling.\n\n## The Process\n\n### Step 0: Opt-out check\n\nBefore any other work, run:\n\n```bash\npython \"$HOME\u002F.claude\u002F_shared\u002Fpr-loop\u002Fscripts\u002Freviews_disabled.py\" --reviewer copilot\n```\n\nExit 0 — Copilot reviews are disabled: respond with the literal line\n`\u002Fcopilot-review is disabled via CLAUDE_REVIEWS_DISABLED.` and stop — do not\nspawn the subagent, do not call the Copilot reviewer API, do not run any\nother step of this skill. Exit 1 — continue. Gate semantics live in the\n`reviewer-gates` skill ([..\u002Freviewer-gates\u002FSKILL.md](..\u002Freviewer-gates\u002FSKILL.md)).\n\n### Step 1: Gather PR context\n\nFrom the current repo:\n\n```bash\n# MCP: pull_request_read(method=\"get\") returns {number, url, head.sha, base.ref, head.ref, isDraft}\n```\n\nCapture `number`, `head.sha`, owner\u002Frepo (from `url`), and branch name. Pass these to the subagent so it does not rediscover them.\n\n### Step 2: Spawn the background subagent\n\nInvoke the `Agent` tool with:\n\n- `subagent_type: \"general-purpose\"`\n- `run_in_background: true`\n- `description: \"Copilot review loop for PR #\u003CN>\"`\n- `prompt`: the full instructions in **Step 3 (Subagent prompt template)**, with placeholders filled in from Step 1.\n\nRecord the returned agent ID. Report to the user in one or two lines:\n\n- The subagent is running in the background.\n- It self-terminates on convergence.\n- To stop it early, the user says \"stop the copilot loop\" and you call `TaskStop \u003Cagent_id>`.\n- The main session stays free; completion arrives as a notification.\n\nLet the subagent own the cadence. The skill's job in the main session ends once the subagent is spawned and reported.\n\n### Step 3: Subagent prompt template\n\nPass the prompt in\n[`templates\u002Fsubagent-prompt.md`](templates\u002Fsubagent-prompt.md) to the subagent\nword for word, filling in the bracketed values ([NUMBER], [OWNER], [REPO],\n[BRANCH], [HEAD_SHA]) from Step 1. It carries the per-tick work, the escalation\nrule (three consecutive no-review ticks), the fix protocol, the stop conditions,\nand the 20-tick safety cap.\n\n### Step 4: Report back to the user\n\nAfter spawning, tell the user in one or two lines: subagent ID, PR URL, that it will notify on convergence or blocker. Nothing else.\n\n## Stopping the subagent\n\n- Convergence → subagent stops itself.\n- Blocker → subagent reports and stops.\n- User says stop → `TaskStop \u003Cagent_id>`.\n- User asks what loops are running → `TaskList`.\n\n## Ground rules (for the subagent)\n\n- **Append commits.** Each tick adds one new commit on the existing branch with `git commit` and `git push origin [BRANCH]`.\n- **Honor pre-push and pre-commit hooks.** When a hook rejects the change, read its output, fix the underlying issue (the failing test, the missing constant, the broken import), and retry. Solve, do not punt.\n- **Respect the PR's current state.** Whatever draft-vs-ready state the PR has when the loop starts is the state the subagent preserves. The user decides when to flip it.\n- **One fix commit per tick.** Batch all of the current tick's findings into a single commit; the next tick handles the next review round.\n- **Use `copilot-pull-request-reviewer[bot]` with the `[bot]` suffix for the reviewer ID.** That exact spelling is load-bearing — it is the only form the API accepts.\n\n## Examples\n\n\u003Cexample>\nUser: `\u002Fcopilot-review`\nClaude: [reads PR context, spawns background subagent with the Step 3 template, reports \"subagent X watching PR #123; will notify on convergence\"]\n\u003C\u002Fexample>\n\n\u003Cexample>\nUser: \"babysit copilot on this PR until it's clean\"\nClaude: [same as above]\n\u003C\u002Fexample>\n\n\u003Cexample>\nSubagent tick fires, latest Copilot review is against an older commit.\nSubagent: [re-requests review, schedules next wakeup, returns]\n\u003C\u002Fexample>\n\n\u003Cexample>\nSubagent tick fires, Copilot has 2 unaddressed inline findings on HEAD.\nSubagent: [TDD-fixes both, one commit, pushes, replies inline on both threads, resolves both threads, re-requests review, schedules next wakeup]\n\u003C\u002Fexample>\n\n\u003Cexample>\nSubagent tick fires, latest review is clean against HEAD.\nSubagent: [reports convergence to parent, terminates — no further wakeups]\n\u003C\u002Fexample>\n","# Copilot Review\n\nDelegates Copilot babysitting to a background subagent so the main session stays free. The subagent loops internally and closes itself on convergence.\n\n## Transport check (before any GitHub step)\n\nRun `command -v gh`; when it succeeds, run `gh auth status`; once the PR scope is resolved, run `gh api repos\u002F\u003Cowner>\u002F\u003Crepo> --jq .permissions.push` and take `true` as the pass. When any check fails, run the `pr-loop-cloud-transport` skill first, route every `gh` operation in this skill through its substitution matrix, and carry the same routing into the subagent prompt so the spawned watcher inherits it.\n\n## When this skill applies\n\nThe user is on a PR branch, wants Copilot (the GitHub Copilot reviewer bot) to keep re-reviewing after each push, and wants findings auto-addressed between ticks — but does not want the main conversation consumed by polling.\n\n## The Process\n\n### Step 0: Opt-out check\n\nBefore any other work, run:\n\n```bash\npython \"$HOME\u002F.claude\u002F_shared\u002Fpr-loop\u002Fscripts\u002Freviews_disabled.py\" --reviewer copilot\n```\n\nExit 0 — Copilot reviews are disabled: respond with the literal line\n`\u002Fcopilot-review is disabled via CLAUDE_REVIEWS_DISABLED.` and stop — do not\nspawn the subagent, do not call the Copilot reviewer API, do not run any\nother step of this skill. Exit 1 — continue. Gate semantics live in the\n`reviewer-gates` skill ([..\u002Freviewer-gates\u002FSKILL.md](..\u002Freviewer-gates\u002FSKILL.md)).\n\n### Step 1: Gather PR context\n\nFrom the current repo:\n\n```bash\n# MCP: pull_request_read(method=\"get\") returns {number, url, head.sha, base.ref, head.ref, isDraft}\n```\n\nCapture `number`, `head.sha`, owner\u002Frepo (from `url`), and branch name. Pass these to the subagent so it does not rediscover them.\n\n### Step 2: Spawn the background subagent\n\nInvoke the `Agent` tool with:\n\n- `subagent_type: \"general-purpose\"`\n- `run_in_background: true`\n- `description: \"Copilot review loop for PR #\u003CN>\"`\n- `prompt`: the full instructions in **Step 3 (Subagent prompt template)**, with placeholders filled in from Step 1.\n\nRecord the returned agent ID. Report to the user in one or two lines:\n\n- The subagent is running in the background.\n- It self-terminates on convergence.\n- To stop it early, the user says \"stop the copilot loop\" and you call `TaskStop \u003Cagent_id>`.\n- The main session stays free; completion arrives as a notification.\n\nLet the subagent own the cadence. The skill's job in the main session ends once the subagent is spawned and reported.\n\n### Step 3: Subagent prompt template\n\nPass the prompt in\n[`templates\u002Fsubagent-prompt.md`](templates\u002Fsubagent-prompt.md) to the subagent\nword for word, filling in the bracketed values ([NUMBER], [OWNER], [REPO],\n[BRANCH], [HEAD_SHA]) from Step 1. It carries the per-tick work, the escalation\nrule (three consecutive no-review ticks), the fix protocol, the stop conditions,\nand the 20-tick safety cap.\n\n### Step 4: Report back to the user\n\nAfter spawning, tell the user in one or two lines: subagent ID, PR URL, that it will notify on convergence or blocker. Nothing else.\n\n## Stopping the subagent\n\n- Convergence → subagent stops itself.\n- Blocker → subagent reports and stops.\n- User says stop → `TaskStop \u003Cagent_id>`.\n- User asks what loops are running → `TaskList`.\n\n## Ground rules (for the subagent)\n\n- **Append commits.** Each tick adds one new commit on the existing branch with `git commit` and `git push origin [BRANCH]`.\n- **Honor pre-push and pre-commit hooks.** When a hook rejects the change, read its output, fix the underlying issue (the failing test, the missing constant, the broken import), and retry. Solve, do not punt.\n- **Respect the PR's current state.** Whatever draft-vs-ready state the PR has when the loop starts is the state the subagent preserves. The user decides when to flip it.\n- **One fix commit per tick.** Batch all of the current tick's findings into a single commit; the next tick handles the next review round.\n- **Use `copilot-pull-request-reviewer[bot]` with the `[bot]` suffix for the reviewer ID.** That exact spelling is load-bearing — it is the only form the API accepts.\n\n## Examples\n\n\u003Cexample>\nUser: `\u002Fcopilot-review`\nClaude: [reads PR context, spawns background subagent with the Step 3 template, reports \"subagent X watching PR #123; will notify on convergence\"]\n\u003C\u002Fexample>\n\n\u003Cexample>\nUser: \"babysit copilot on this PR until it's clean\"\nClaude: [same as above]\n\u003C\u002Fexample>\n\n\u003Cexample>\nSubagent tick fires, latest Copilot review is against an older commit.\nSubagent: [re-requests review, schedules next wakeup, returns]\n\u003C\u002Fexample>\n\n\u003Cexample>\nSubagent tick fires, Copilot has 2 unaddressed inline findings on HEAD.\nSubagent: [TDD-fixes both, one commit, pushes, replies inline on both threads, resolves both threads, re-requests review, schedules next wakeup]\n\u003C\u002Fexample>\n\n\u003Cexample>\nSubagent tick fires, latest review is clean against HEAD.\nSubagent: [reports convergence to parent, terminates — no further wakeups]\n\u003C\u002Fexample>\n",{"name":5,"description":7},"main","974284b42eeb4609e94d4ebc1f6e36df400d54ca","packages\u002Fclaude-dev-env\u002F.agents\u002Fskills-archived\u002Fcopilot-review",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":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add jl-cmd-projects\u002Fclaude-dev-env --skill copilot-review",{"tool":36,"command":37},"bunx","bunx skills add jl-cmd-projects\u002Fclaude-dev-env --skill copilot-review",{"tool":39,"command":40},"pnpm","pnpm dlx skills add jl-cmd-projects\u002Fclaude-dev-env --skill copilot-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fpackages\u002Fclaude-dev-env\u002F.agents\u002Fskills-archived\u002Fcopilot-review\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"templates\u002Fsubagent-prompt.md","REFERENCE","参考文档",4774,"https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fpackages\u002Fclaude-dev-env\u002F.agents\u002Fskills-archived\u002Fcopilot-review\u002Ftemplates\u002Fsubagent-prompt.md",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"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":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"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":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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",[],[]]