[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD746F7K4FQG99EE8CZ6DT":3,"skill-same:01M6AD746F7K4FQG99EE8CZ6DT":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":17,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6AD746F7K4FQG99EE8CZ6DT","refactor-pipeline","大规模代码重构流水线","Runs a huge, mechanical refactor (crate or package splits, module extraction, API migrations, dead-code removal) as three independent lanes, producer, packager and shepherd, that coordinate only through git and a PR stack. It pushes branches and opens PRs, so it runs only on `\u002Flever refactor` or an explicit ask (\"split this crate\", \"break up this monolith\", \"this module is huge, cut it down\", \"migrate every caller\").","以三个独立通道——生产者（producer）、打包者（packager）和牧羊人（shepherd）——运行大规模的机械式重构（crate 或 package 拆分、模块提取、API 迁移、死代码删除），这些通道仅通过 git 和 PR 栈进行协调。它会推送分支并创建 PR，因此仅在 `\u002Flever refactor` 或明确要求（“拆分此 crate”“拆分这个单体”“这个模块太大了，把它精简一下”“迁移所有调用方”）时运行。","github\u002Flever","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD6AQD82NPA8BVHR3MZKS2",292,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frefactor-pipeline\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现","SCENARIO","使用场景",[31,32,33,34,35,36,37],"refactor pipeline","pr","code","git","package","extraction","lever","2026-11-10 10:12:30",false,"---\nname: refactor-pipeline\nuser-invocable: false\ndescription: Runs a huge, mechanical refactor (crate or package splits, module extraction, API migrations, dead-code removal) as three independent lanes, producer, packager and shepherd, that coordinate only through git and a PR stack. It pushes branches and opens PRs, so it runs only on `\u002Flever refactor` or an explicit ask (\"split this crate\", \"break up this monolith\", \"this module is huge, cut it down\", \"migrate every caller\").\n---\n\n# Refactor pipeline\n\nSome refactors matter a lot and nobody wants to do them: splitting a crate that has grown to half a million lines, extracting modules, migrating every caller of an API. The work is mechanical but long. It's too big to review as one PR, and too tedious to babysit for a week.\n\nThis skill runs it as **three lanes that never talk to each other**. Each lane has one job and its own cadence. Git is the message bus, and the PR stack is the shared state.\n\n```\nPRODUCER  ──push every commit──▶  source branch  ──▶  PACKAGER  ──adds PRs──▶  PR stack  ◀──  SHEPHERD\n(one split per commit,                               (rebase, test,                        (conflicts, CI,\n reports vs a fixed baseline)                         reviewable PRs)                       review threads)\n                    ▲                                                                           │\n                    └──────── daily: rebase onto what landed, drop merged commits ◀─────────────┘\n```\n\nYou set the target, merge what's green, and route context between lanes when one of them needs to know something the others learned. The lanes do the rest.\n\n## When to use\n\n- The target is measurable and mechanical, for example \"cut non-test LoC of `core` by 50%\", \"no file in `src\u002Flegacy` imports `old_client`\", or \"zero callers of `v1::fetch`\".\n- The change splits naturally into many small, independently correct units.\n- The result has to land as reviewable PRs, not one giant diff.\n\n**Don't use it for:**\n- A refactor that needs design decisions at every step. Use [`brief`](..\u002Fbrief\u002FSKILL.md) and [`autonomous-delivery`](..\u002Fautonomous-delivery\u002FSKILL.md).\n- Making something measurably *better*, such as faster or less flaky. Use [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md) and [`experiment-arms`](..\u002Fexperiment-arms\u002FSKILL.md).\n- A single PR that needs babysitting. Use [`pr-shepherd`](..\u002Fpr-shepherd\u002FSKILL.md) directly.\n\n## The three lanes\n\nRun each lane in its own session, such as its own Copilot CLI process, app session or cloud session. Separate processes keep their context small and let one lane die without taking the others down.\n\n### 1. Producer: does the work\n\nA long-running goal with a measurable target and a heartbeat. The whole kickoff fits in one paragraph. It needs one sentence each for:\n\n| Part | Example |\n|---|---|\n| Target | \"bring the non-test LoC of this crate down by 50%\" |\n| Unit of work | \"one logical split per commit\" |\n| Baseline | \"measure the baseline now\" |\n| Heartbeat | \"report every 30 min against the goal, in absolute LoC and %\" |\n| Validation | \"run the tests for the affected crates before each commit\" |\n| Constraint | \"don't make other crates significantly bigger\" |\n\nRules the producer must follow:\n- **Push after every commit.** This one rule is what lets the packager consume work while the producer keeps going.\n- **The baseline never moves.** After each daily rebase, report against the *original* baseline. No shifting the goalposts.\n- **Never manufacture progress.** Don't delete, weaken or reclassify tests. Don't change what's counted. Don't leave backward-compatibility wrappers behind just to keep callers compiling.\n- **Move tests with the code.** Move whole test modules and their fixtures to the new owner, not only the code under test.\n- **Daily rebase:** rebase onto the latest landed state, drop commits that have already merged, and re-measure.\n\n### 2. Packager: makes it reviewable\n\nA scheduled lane that turns raw commits into a reviewable stack.\n\n- **Checkpoint, don't remember.** Save the last source commit you processed, plus a stable identity for every commit you've packaged: its `git patch-id --stable`, or a `Change-Id:` trailer if the producer writes one. Every run starts with a diff: \"Processed 8 new commits through `5bf1e1f`\", or \"No new commits since `d3137f5`. Nothing to do.\" The second answer is silent.\n- **Reconcile after the producer's rebase.** If the source branch moved non-fast-forward, the old checkpoint may not be an ancestor anymore, and packaged commits have new SHAs. Don't diff from the checkpoint. Match source commits to packaged ones by patch-id or Change-Id, skip what's already packaged, and package only the rest. A commit whose patch changed in the rebase gets flagged, not packaged twice.\n- Rebase new commits onto the top of the stack, run the tests, and fold fixups into commits that aren't in a PR yet. The packager only appends PRs on top. It never rewrites a PR that's already in the stack.\n- Size each PR for a human reviewer, for example **under 2,000 changed lines, excluding pure moves**. Add PRs to the stack with the repo's stacking tool (for example `gh stack`).\n- Cadence follows batch size. Start at every few hours. If runs keep finding only a commit or two, slow it down.\n\n### 3. Shepherd: keeps the stack mergeable\n\nA frequent lane that runs [`pr-shepherd`](..\u002Fpr-shepherd\u002FSKILL.md) across every PR in the stack.\n\n- **Rediscover stack membership on every run.** Another lane is adding PRs, and merges restack it.\n- **The shepherd is the only lane that rewrites the stack.** Restacks, conflict rebases and fixups to PRs already in the stack all go through it. The packager sends it a note instead of pushing.\n- **Check mergeability against the real target.** A stacked PR can say \"no conflicts\" against its stacked base and still conflict with `main` once the PRs below it merge. Verify with `git merge-tree` against the branch it will actually land on.\n- **On conflict, push the rebase immediately, then verify.** A stale PR that's waiting on local validation blocks everyone above it. CI on the pushed head is the real check.\n- **Stay armed, within budget.** A green stack is a checkpoint, not a finish line. Keep going until the stack is merged, a human says stop, the budget runs out, or 6 ticks in a row did nothing. Then post one line saying which, and stop the schedule.\n- Rerun a red check only after showing that the stack didn't cause it.\n\n## Shared rules\n\n- **One API budget.** All three lanes poll the same GitHub quota. Gate each PR to at most one status poll per ~10 minutes, combine queries (one GraphQL call per stack, not one per check), and back off until `resetAt` on 403 or 429. In one run, this cut a shepherd cycle from 11 GraphQL requests to 3.\n- **Merging is the human's call by default.** The shepherd keeps PRs green and the human merges whenever they like. Raise the [autonomy dial](..\u002F..\u002Fdocs\u002Fautonomy.md) if you want the shepherd to land green PRs itself.\n- **Corrections go into the standing order.** When you correct a lane (\"push immediately, *then* verify\"), the lane rewrites its own recurring prompt to include the rule, so you say it once. See [`steer-once`](..\u002Fsteer-once\u002FSKILL.md).\n- **The human routes context.** You're the only one who sees all three lanes. Tell a lane things like \"rebase onto `extract-projections`, it has most of your work adapted to a later main\" or \"another job is adding PRs to this stack\".\n\n## Running it\n\n**Copilot CLI:** one terminal per lane. Use `\u002Fgoal` for the producer's target and `\u002Fevery` for each lane's cadence, for example producer report `\u002Fevery 30m`, packager `\u002Fevery 3h` and shepherd `\u002Fevery 20m`. Put the terminals on a machine that stays awake (a dev box or VM), not a laptop that sleeps.\n\n**Copilot app:** one session per lane. `\u002Fgoal` works the same way. There's no `\u002Fevery`; give each lane a session automation with the same cadence and prompt instead. It wakes the same session, so the lane keeps its context and checkpoint between runs.\n\n**In the cloud:** the packager and shepherd are good [`automate-it`](..\u002Fautomate-it\u002FSKILL.md) candidates. They are scheduled, bounded and repeatable. Keep the producer as a long-running session that you check in on.\n\n## Dials\n\n| Dial | Default | Notes |\n|---|---|---|\n| `target` | required | metric + direction + amount, measured against a fixed baseline |\n| `pr_size` | \u003C 2,000 changed lines excluding moves | what your reviewers can actually read |\n| `cadence` | producer report 30 m · packager 3 h · shepherd 20 m · producer rebase 24 h | each lane runs at the speed of what it watches |\n| `autonomy` | shepherd L2 (keeps green, human merges) | see [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md) |\n| `api_budget` | ≤ 1 poll per PR per 10 min | shared across all lanes |\n| `spend` | your tier and budget, from `\u002Flever` | a multi-day run makes thousands of model calls; prompt caching matters a lot |\n\n## What good looks like\n\nIn one real five-day run on a ~564k-line Rust crate, three lanes made 135 splits and cut non-test LoC by about a third. 19 of 20 stacked PRs merged, and one of the slowest CI jobs got about 28% faster as a side effect. The human typed 38 messages, and scheduled runs fired 373 times. Most of those 38 messages were one-line corrections that the lanes wrote into their own standing orders, plus \"why did you stop the schedule?\"\n\n## This skill's own feedback loop\n\n- The producer's heartbeat is the loop. If the metric hasn't moved in three reports, stop and ask the human whether the target or the unit of work is wrong.\n- Every correction you have to type twice is a missing rule. Add it to the lane's standing order and, if it's general, to this file.\n","# Refactor pipeline\n\nSome refactors matter a lot and nobody wants to do them: splitting a crate that has grown to half a million lines, extracting modules, migrating every caller of an API. The work is mechanical but long. It's too big to review as one PR, and too tedious to babysit for a week.\n\nThis skill runs it as **three lanes that never talk to each other**. Each lane has one job and its own cadence. Git is the message bus, and the PR stack is the shared state.\n\n```\nPRODUCER  ──push every commit──▶  source branch  ──▶  PACKAGER  ──adds PRs──▶  PR stack  ◀──  SHEPHERD\n(one split per commit,                               (rebase, test,                        (conflicts, CI,\n reports vs a fixed baseline)                         reviewable PRs)                       review threads)\n                    ▲                                                                           │\n                    └──────── daily: rebase onto what landed, drop merged commits ◀─────────────┘\n```\n\nYou set the target, merge what's green, and route context between lanes when one of them needs to know something the others learned. The lanes do the rest.\n\n## When to use\n\n- The target is measurable and mechanical, for example \"cut non-test LoC of `core` by 50%\", \"no file in `src\u002Flegacy` imports `old_client`\", or \"zero callers of `v1::fetch`\".\n- The change splits naturally into many small, independently correct units.\n- The result has to land as reviewable PRs, not one giant diff.\n\n**Don't use it for:**\n- A refactor that needs design decisions at every step. Use [`brief`](..\u002Fbrief\u002FSKILL.md) and [`autonomous-delivery`](..\u002Fautonomous-delivery\u002FSKILL.md).\n- Making something measurably *better*, such as faster or less flaky. Use [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md) and [`experiment-arms`](..\u002Fexperiment-arms\u002FSKILL.md).\n- A single PR that needs babysitting. Use [`pr-shepherd`](..\u002Fpr-shepherd\u002FSKILL.md) directly.\n\n## The three lanes\n\nRun each lane in its own session, such as its own Copilot CLI process, app session or cloud session. Separate processes keep their context small and let one lane die without taking the others down.\n\n### 1. Producer: does the work\n\nA long-running goal with a measurable target and a heartbeat. The whole kickoff fits in one paragraph. It needs one sentence each for:\n\n| Part | Example |\n|---|---|\n| Target | \"bring the non-test LoC of this crate down by 50%\" |\n| Unit of work | \"one logical split per commit\" |\n| Baseline | \"measure the baseline now\" |\n| Heartbeat | \"report every 30 min against the goal, in absolute LoC and %\" |\n| Validation | \"run the tests for the affected crates before each commit\" |\n| Constraint | \"don't make other crates significantly bigger\" |\n\nRules the producer must follow:\n- **Push after every commit.** This one rule is what lets the packager consume work while the producer keeps going.\n- **The baseline never moves.** After each daily rebase, report against the *original* baseline. No shifting the goalposts.\n- **Never manufacture progress.** Don't delete, weaken or reclassify tests. Don't change what's counted. Don't leave backward-compatibility wrappers behind just to keep callers compiling.\n- **Move tests with the code.** Move whole test modules and their fixtures to the new owner, not only the code under test.\n- **Daily rebase:** rebase onto the latest landed state, drop commits that have already merged, and re-measure.\n\n### 2. Packager: makes it reviewable\n\nA scheduled lane that turns raw commits into a reviewable stack.\n\n- **Checkpoint, don't remember.** Save the last source commit you processed, plus a stable identity for every commit you've packaged: its `git patch-id --stable`, or a `Change-Id:` trailer if the producer writes one. Every run starts with a diff: \"Processed 8 new commits through `5bf1e1f`\", or \"No new commits since `d3137f5`. Nothing to do.\" The second answer is silent.\n- **Reconcile after the producer's rebase.** If the source branch moved non-fast-forward, the old checkpoint may not be an ancestor anymore, and packaged commits have new SHAs. Don't diff from the checkpoint. Match source commits to packaged ones by patch-id or Change-Id, skip what's already packaged, and package only the rest. A commit whose patch changed in the rebase gets flagged, not packaged twice.\n- Rebase new commits onto the top of the stack, run the tests, and fold fixups into commits that aren't in a PR yet. The packager only appends PRs on top. It never rewrites a PR that's already in the stack.\n- Size each PR for a human reviewer, for example **under 2,000 changed lines, excluding pure moves**. Add PRs to the stack with the repo's stacking tool (for example `gh stack`).\n- Cadence follows batch size. Start at every few hours. If runs keep finding only a commit or two, slow it down.\n\n### 3. Shepherd: keeps the stack mergeable\n\nA frequent lane that runs [`pr-shepherd`](..\u002Fpr-shepherd\u002FSKILL.md) across every PR in the stack.\n\n- **Rediscover stack membership on every run.** Another lane is adding PRs, and merges restack it.\n- **The shepherd is the only lane that rewrites the stack.** Restacks, conflict rebases and fixups to PRs already in the stack all go through it. The packager sends it a note instead of pushing.\n- **Check mergeability against the real target.** A stacked PR can say \"no conflicts\" against its stacked base and still conflict with `main` once the PRs below it merge. Verify with `git merge-tree` against the branch it will actually land on.\n- **On conflict, push the rebase immediately, then verify.** A stale PR that's waiting on local validation blocks everyone above it. CI on the pushed head is the real check.\n- **Stay armed, within budget.** A green stack is a checkpoint, not a finish line. Keep going until the stack is merged, a human says stop, the budget runs out, or 6 ticks in a row did nothing. Then post one line saying which, and stop the schedule.\n- Rerun a red check only after showing that the stack didn't cause it.\n\n## Shared rules\n\n- **One API budget.** All three lanes poll the same GitHub quota. Gate each PR to at most one status poll per ~10 minutes, combine queries (one GraphQL call per stack, not one per check), and back off until `resetAt` on 403 or 429. In one run, this cut a shepherd cycle from 11 GraphQL requests to 3.\n- **Merging is the human's call by default.** The shepherd keeps PRs green and the human merges whenever they like. Raise the [autonomy dial](..\u002F..\u002Fdocs\u002Fautonomy.md) if you want the shepherd to land green PRs itself.\n- **Corrections go into the standing order.** When you correct a lane (\"push immediately, *then* verify\"), the lane rewrites its own recurring prompt to include the rule, so you say it once. See [`steer-once`](..\u002Fsteer-once\u002FSKILL.md).\n- **The human routes context.** You're the only one who sees all three lanes. Tell a lane things like \"rebase onto `extract-projections`, it has most of your work adapted to a later main\" or \"another job is adding PRs to this stack\".\n\n## Running it\n\n**Copilot CLI:** one terminal per lane. Use `\u002Fgoal` for the producer's target and `\u002Fevery` for each lane's cadence, for example producer report `\u002Fevery 30m`, packager `\u002Fevery 3h` and shepherd `\u002Fevery 20m`. Put the terminals on a machine that stays awake (a dev box or VM), not a laptop that sleeps.\n\n**Copilot app:** one session per lane. `\u002Fgoal` works the same way. There's no `\u002Fevery`; give each lane a session automation with the same cadence and prompt instead. It wakes the same session, so the lane keeps its context and checkpoint between runs.\n\n**In the cloud:** the packager and shepherd are good [`automate-it`](..\u002Fautomate-it\u002FSKILL.md) candidates. They are scheduled, bounded and repeatable. Keep the producer as a long-running session that you check in on.\n\n## Dials\n\n| Dial | Default | Notes |\n|---|---|---|\n| `target` | required | metric + direction + amount, measured against a fixed baseline |\n| `pr_size` | \u003C 2,000 changed lines excluding moves | what your reviewers can actually read |\n| `cadence` | producer report 30 m · packager 3 h · shepherd 20 m · producer rebase 24 h | each lane runs at the speed of what it watches |\n| `autonomy` | shepherd L2 (keeps green, human merges) | see [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md) |\n| `api_budget` | ≤ 1 poll per PR per 10 min | shared across all lanes |\n| `spend` | your tier and budget, from `\u002Flever` | a multi-day run makes thousands of model calls; prompt caching matters a lot |\n\n## What good looks like\n\nIn one real five-day run on a ~564k-line Rust crate, three lanes made 135 splits and cut non-test LoC by about a third. 19 of 20 stacked PRs merged, and one of the slowest CI jobs got about 28% faster as a side effect. The human typed 38 messages, and scheduled runs fired 373 times. Most of those 38 messages were one-line corrections that the lanes wrote into their own standing orders, plus \"why did you stop the schedule?\"\n\n## This skill's own feedback loop\n\n- The producer's heartbeat is the loop. If the metric hasn't moved in three reports, stop and ask the human whether the target or the unit of work is wrong.\n- Every correction you have to type twice is a missing rule. Add it to the lane's standing order and, if it's general, to this file.\n",{"name":5,"description":7,"user-invocable":39},"main","f859d0aa2be96981157ee0480655c84877e3cd98","skills\u002Frefactor-pipeline",15,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-06 22:44:16",{"source":9,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add github\u002Flever --skill refactor-pipeline",{"tool":58,"command":59},"bunx","bunx skills add github\u002Flever --skill refactor-pipeline",{"tool":61,"command":62},"pnpm","pnpm dlx skills add github\u002Flever --skill refactor-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frefactor-pipeline\u002FSKILL.md",true,[],[67,92,112,128,148,167],{"skillNo":68,"name":69,"nameZh":70,"description":71,"descriptionZh":72,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":73,"categories":74,"keywords":81,"publishedAt":38},"01M6AD7862D8WH4576CB754ZQ5","steer-once","重复纠正根因修复","Turn a correction you keep repeating into a durable fix: mine your corrections, classify them, choose the cheapest layer that would have prevented them (instruction, skill, lint\u002FCI check, test, automation, or product bug report), open a PR with an evidence block, then re-measure after K days and keep, escalate or revert. Opens PRs, so it runs only on `\u002Flever steer` or an explicit ask (\"mine my corrections\", \"why do I keep telling you X\", \"didn't I give you a skill for this\"), or when prompt-mirror reports the same correction class in 3+ sessions and you say go.","将你反复重复的纠正转化为持久性修复：挖掘你的各类纠正并分类，选择能够预防这些纠正的最低成本层级（指令、技能、lint\u002FCI 检查、测试、自动化或产品 bug 报告），提交一个带证据块的 PR，然后在 K 天后重新度量，并决定保留、升级或回滚。由于会创建 PR，因此仅在 `\u002Flever steer` 或明确要求（“挖掘我的纠正”“为什么我总跟你说 X”“我不是给过你一个技能来做这个吗”），或当 prompt-mirror 在 3 个及以上会话中报告同一类纠正且你表示同意时才运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fsteer-once\u002FSKILL.md",[75,78],{"categoryNo":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[82,37,83,84,32,85,86,87,88,89,90,91],"steer once","ci","product","report","lint","go","automation","bug report","test","sessions",{"skillNo":93,"name":94,"nameZh":95,"description":96,"descriptionZh":97,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":106,"publishedAt":38},"01M6AD767J9CB04Y0FY7JFSKJJ","run-health-review","自动化运行健康审查","Stall watchdog and automation health review. Pulls recent runs, merges, no-op rate, failures, rate-limit hits and stuck PRs; classifies each stall; proposes exactly one change or \"no change\"; and takes over orphaned work. Use when unattended delivery stalled (\"why did it stall overnight\", \"no merges in N hours\", \"it was fast the first few days, now slow\"), when an automation fails or its output drops, when rate limits or quotas are hit, or on a schedule while agents run unattended.","停滞监视器与自动化健康审查。拉取近期运行、合并、无操作率、失败、速率限制命中以及卡住的 PR；对每种停滞进行分类；只提出一项变更或“不变更”；并接管被遗弃的工作。当无人值守交付停滞（“为什么一夜之间就卡住了”“N 小时没有合并”“前几天还很快，现在变慢了”）、某个自动化失败或其产出下降、遭遇速率限制或配额用尽，或在 agent 无人值守运行期间按计划执行时使用。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frun-health-review\u002FSKILL.md",[100,103],{"categoryNo":101,"categoryName":102,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警",{"categoryNo":104,"categoryName":105,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",[107,108,109,110,88,111],"review","run","run health review","change","fast",{"skillNo":113,"name":114,"nameZh":115,"description":116,"descriptionZh":117,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":124,"publishedAt":38},"01M6AD72CGZ51VEDN1PZZPB7VB","prompt-mirror","Copilot 提示词习惯分析","Mine your own local Copilot session history and return a scorecard of how you direct agents, plus three suggestions illustrated with your own before\u002Fafter messages. It reads your private history, so it runs only on `\u002Flever mirror` or an explicit ask (\"how am I prompting?\", \"coach me\", \"mine my sessions\", \"what do I keep repeating?\", a weekly self-retro).","挖掘本地 Copilot 会话历史，返回一份关于你如何指导智能体的评分卡，并附上三条建议，用你自己的前后对比消息加以说明。由于它读取你的私有历史，因此仅在 `\u002Flever mirror` 或明确请求（“我的提示词水平如何？”、“指导我改进”、“挖掘我的会话”、“我总是在重复什么？”、每周自我复盘）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-mirror\u002FSKILL.md",[120,121],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":122,"categoryName":123,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7EDVFXM320A73X49K3FEZ","提示词分析与优化",[125,91,126,127,37],"prompt mirror","copilot","messages",{"skillNo":129,"name":130,"nameZh":131,"description":132,"descriptionZh":133,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":134,"categories":135,"keywords":142,"publishedAt":38},"01M6AD70V6MPP4EE686C6TR4MG","progress-contract","长时任务进度契约跟踪","Pushes progress on long-running or delegated work so the human never has to poll. It publishes milestones with ETAs and the evidence each needs, sends reports only when something meaningful changed, labels every claim with an evidence level, logs ETA accuracy, watches time since last merge, and audits \"done\" against evidence before declaring it. Use for any delegated, multi-hour or overnight run, when a brief sets a report contract, or when the user asks \"status?\", \"ETA?\", \"where are we?\", \"what happened overnight?\", \"hour by hour\" or \"are you done?\".","推动长时间运行或委派的任务进展，让人类无需轮询。它会发布带有 ETA 及各自所需证据的里程碑，仅在发生重大变化时发送报告，为每项声明标注证据等级，记录 ETA 准确性，监控距上次合并的时间，并在宣布“完成”之前依据证据对“完成”状态进行审计。适用于任何委派的、耗时数小时或通宵运行的任务，当任务简报设定了报告契约时，或当用户询问“状态如何？”、“预计何时完成？”、“我们进行到哪了？”、“昨晚发生了什么？”、“逐小时汇报”或“你完成了吗？”时。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprogress-contract\u002FSKILL.md",[136,139],{"categoryNo":137,"categoryName":138,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",{"categoryNo":140,"categoryName":141,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C6Y8SPQXYX4HP4KTNCEXME","项目进度跟踪与状态报告",[143,144,145,146,147,108,85],"progress contract","logs","brief","merge","status",{"skillNo":149,"name":150,"nameZh":151,"description":152,"descriptionZh":153,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":154,"categories":155,"keywords":160,"publishedAt":38},"01M6AD6YMC170PX6A5VWDE4T2B","pr-shepherd","PR 落地合并驱动","Drives an open pull request to landed through an event-driven loop. On each wake it does one batched read, fixes root causes of red required checks, dispositions every review thread, and lands at the level set by the autonomy dial. It pushes and can merge, so it runs only on `\u002Flever shepherd`, a hand-off from a lever coordinator, a PR labeled for shepherding, or an explicit ask (\"monitor CI until green\", \"push fixes until green\", \"resolve the review threads\", \"merge when green\", \"babysit this PR\", \"shepherd","通过事件驱动循环推动开放的拉取请求直至落地。每次唤醒时执行一次批量读取，修复红色必填检查的根本原因，处理每一条审查讨论线程，并按照自主性拨盘设定的级别执行落地。由于它会推送代码并可能执行合并，因此仅在 `\u002Flever shepherd`、来自 lever 协调器的移交、被标记为 shepherding 的 PR，或明确请求（“监控 CI 直至通过”、“推送修复直到通过”、“解决审查讨论线程”、“通过即合并”、“照看这个 PR”、“shepherd”）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fpr-shepherd\u002FSKILL.md",[156,157],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":158,"categoryName":159,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[161,32,162,107,146,163,164,165,83,166,37],"pr shepherd","monitor","pull request","pull","push","autonomy dial",{"skillNo":168,"name":37,"nameZh":169,"description":170,"descriptionZh":171,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":172,"categories":173,"keywords":178,"publishedAt":38},"01M6AD6WNP2AN43C3HG4MBJH8B","Lever 技能统一入口","The one lever command. `\u002Flever \u003Cverb> [args]` runs a lever skill directly (loop, arms, review, brief, deliver, refactor, backlog, shepherd, land, status, automate, health, mirror, steer, autonomy, spend, setup, help). `\u002Flever \u003Cplain words>` picks the verb for you, says which in one line, then runs it. Also reads and writes the user's personal dials in `~\u002F.copilot\u002Flever.yml`. Use when the user types \u002Flever, asks \"which lever skill should I use?\", or wants to see or change their autonomy or spend dial.","统一的 lever 命令。`\u002Flever \u003Cverb> [args]` 直接运行某个 lever 技能（loop、arms、review、brief、deliver、refactor、backlog、shepherd、land、status、automate、health、mirror、steer、autonomy、spend、setup、help）。`\u002Flever \u003Cplain words>` 会为你挑选合适的动词，用一行说明所选动词，然后执行。该技能还会读取和写入 `~\u002F.copilot\u002Flever.yml` 中用户的个人拨盘设置。当用户键入 \u002Flever、询问“我应该使用哪个 lever 技能？”，或想查看或更改其自主性（autonomy）或支出（spend）拨盘时使用。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Flever\u002FSKILL.md",[174,175],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":176,"categoryName":177,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[37,107,110,147,126,179,180,181,145,182],"setup","help","land","personal"]