[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EH1EDYCXTMD38Q280KPV8M":3,"skill-same:01M7EH1EDYCXTMD38Q280KPV8M":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7EH1EDYCXTMD38Q280KPV8M","diagnose",null,"Use when told to fix a bug or that X should do Y but does Z, something broken or a test failing unexpectedly, even if rushed or trivial; reproduce it red, then find the root cause before fixing it. Do NOT use for a vague request (use `grill`) or an approved task (use `build`).","Wet-Ink-Corporation\u002Fanneal","Wet-Ink-Corporation","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F262218335?v=4","01M7EGRZ5B7BQ8HBSQQZV2BW83","Wet Ink Corporation","01M7EGRZ6077Q3Y3E1ZDASP5JR",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fdiagnose\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: diagnose\ndescription: Use when told to fix a bug or that X should do Y but does Z, something broken or a test failing unexpectedly, even if rushed or trivial; reproduce it red, then find the root cause before fixing it. Do NOT use for a vague request (use `grill`) or an approved task (use `build`).\n---\n\n# Diagnose\n\n## Overview\n\nFinds a failure's root cause from a loop that shows it on demand. In `anneal mode diagnose` the `preconditions` hook refuses source edits until a red reproduction is recorded.\n\n- You MUST record a failing reproduction with `anneal repro record --id \u003Cbug> -- \u003Ccommand>` before changing source; exit 3 means it passed and reproduces nothing.\n- You MUST tag every temporary probe `[DEBUG-\u003Cid>]` and run `anneal repro leftovers` until it exits 0.\n- You MUST run `anneal task done \u003Cbug> -- \u003Ccommand>` before reporting a fix, the reproduction as `\u003Ccommand>` if no test is wanted; the `completeness` hook blocks a fixed claim without it.\n- You MUST NOT route around a `preconditions` denial (writing source through Bash, say); record the reproduction instead.\n\n## When to use\n\n- A test fails, a command errors or a behaviour is wrong, and the cause is not yet known.\n\n## Process\n\n1. **Build the loop.** Find the fastest command that shows the failure, ideally a test you keep. If none can run here (the fix is already in, a tool is blocked), say so, fix nothing and go to step 8. It's working if two runs fail the same way, or you said why none can.\n2. **Record it red.** Run `anneal mode diagnose`, then `anneal repro record --id \u003Cbug> -- \u003Ccommand>`. It's working if it exits 0 with `data.recorded` true.\n3. **Read the evidence.** Read the whole error, the trace and recent changes (`git log`, `git diff`); compare a working case. It's working if you can say where the paths part.\n4. **Rank hypotheses.** List three to five causes, most likely first. It's working if each names the observation that would rule it out.\n5. **Test one at a time.** Change one thing or add a tagged probe, run the loop, drop what it refutes. It's working if every run removes or confirms a hypothesis.\n6. **Fix the cause.** One change at the cause, not the symptom; after three failed fixes, ask the human about the design. It's working if the loop and the suite are green.\n7. **Clean up.** Remove tagged lines; keep the reproduction as a test. It's working if `anneal repro leftovers` exits 0.\n8. **Report.** With a fix, run `anneal task done \u003Cbug> -- \u003Ccommand>`, then lead with the reproduction (red before the edit, green after), then the cause, ruled-out hypotheses and fix. With no loop, report the ranked hypotheses, each with the check that would rule it out, and no fix. It's working if the report opens with the reproduction or the list.\n\n## Rationalizations\n\n| Excuse | Reality |\n|---|---|\n| \"I can see the bug, I'll just fix it\" | Without a red loop, nothing shows the fix worked. |\n| \"It's too hard to reproduce\" | Try a narrower loop; if none runs, rank hypotheses instead of guessing. |\n| \"One more fix will do it\" | Repeated failed fixes mean your model is wrong. |\n| \"The debug prints are harmless\" | Untagged prints ship. |\n| \"It passes now, so it was flaky\" | A failure that vanished unexplained comes back. |\n| \"The lead said skip the tests\" | The reproduction is the test. Run `task done` with it. |\n\n## Red flags\n\n- Editing source before `anneal repro record` has exited 0.\n- Changing several things in one run.\n- A fix that hides the symptom: a catch, a retry, a skipped test.\n\n## Verification\n\n- `anneal ledger query --type repro_red` shows the reproduction, with this worktree.\n- The reproduction passes and stays in the suite.\n","# Diagnose\n\n## Overview\n\nFinds a failure's root cause from a loop that shows it on demand. In `anneal mode diagnose` the `preconditions` hook refuses source edits until a red reproduction is recorded.\n\n- You MUST record a failing reproduction with `anneal repro record --id \u003Cbug> -- \u003Ccommand>` before changing source; exit 3 means it passed and reproduces nothing.\n- You MUST tag every temporary probe `[DEBUG-\u003Cid>]` and run `anneal repro leftovers` until it exits 0.\n- You MUST run `anneal task done \u003Cbug> -- \u003Ccommand>` before reporting a fix, the reproduction as `\u003Ccommand>` if no test is wanted; the `completeness` hook blocks a fixed claim without it.\n- You MUST NOT route around a `preconditions` denial (writing source through Bash, say); record the reproduction instead.\n\n## When to use\n\n- A test fails, a command errors or a behaviour is wrong, and the cause is not yet known.\n\n## Process\n\n1. **Build the loop.** Find the fastest command that shows the failure, ideally a test you keep. If none can run here (the fix is already in, a tool is blocked), say so, fix nothing and go to step 8. It's working if two runs fail the same way, or you said why none can.\n2. **Record it red.** Run `anneal mode diagnose`, then `anneal repro record --id \u003Cbug> -- \u003Ccommand>`. It's working if it exits 0 with `data.recorded` true.\n3. **Read the evidence.** Read the whole error, the trace and recent changes (`git log`, `git diff`); compare a working case. It's working if you can say where the paths part.\n4. **Rank hypotheses.** List three to five causes, most likely first. It's working if each names the observation that would rule it out.\n5. **Test one at a time.** Change one thing or add a tagged probe, run the loop, drop what it refutes. It's working if every run removes or confirms a hypothesis.\n6. **Fix the cause.** One change at the cause, not the symptom; after three failed fixes, ask the human about the design. It's working if the loop and the suite are green.\n7. **Clean up.** Remove tagged lines; keep the reproduction as a test. It's working if `anneal repro leftovers` exits 0.\n8. **Report.** With a fix, run `anneal task done \u003Cbug> -- \u003Ccommand>`, then lead with the reproduction (red before the edit, green after), then the cause, ruled-out hypotheses and fix. With no loop, report the ranked hypotheses, each with the check that would rule it out, and no fix. It's working if the report opens with the reproduction or the list.\n\n## Rationalizations\n\n| Excuse | Reality |\n|---|---|\n| \"I can see the bug, I'll just fix it\" | Without a red loop, nothing shows the fix worked. |\n| \"It's too hard to reproduce\" | Try a narrower loop; if none runs, rank hypotheses instead of guessing. |\n| \"One more fix will do it\" | Repeated failed fixes mean your model is wrong. |\n| \"The debug prints are harmless\" | Untagged prints ship. |\n| \"It passes now, so it was flaky\" | A failure that vanished unexplained comes back. |\n| \"The lead said skip the tests\" | The reproduction is the test. Run `task done` with it. |\n\n## Red flags\n\n- Editing source before `anneal repro record` has exited 0.\n- Changing several things in one run.\n- A fix that hides the symptom: a catch, a retry, a skipped test.\n\n## Verification\n\n- `anneal ledger query --type repro_red` shows the reproduction, with this worktree.\n- The reproduction passes and stays in the suite.\n",{"name":5,"description":7},"main","664aaa542e41db596ee2e40e789f58bd7ff032f9","plugin\u002Fskills\u002Fdiagnose","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation","2026-11-09 11:10:26",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Wet-Ink-Corporation\u002Fanneal --skill diagnose",{"tool":36,"command":37},"bunx","bunx skills add Wet-Ink-Corporation\u002Fanneal --skill diagnose",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Wet-Ink-Corporation\u002Fanneal --skill diagnose","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fdiagnose\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7EH28S1Z30TZZQ3TKKF4XCG","write-skill","Use to write or change a skill test-first, even if the change looks like a wording fix; watch a case fail with no guidance, then pass Tiers 0 to 3 before merge. Do NOT use for turning a correction into a check (use `correct`) or building code (use `build`).","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fwrite-skill\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7EH25Y4ARGFK38VKWAQJ7G8","verify","Use when asked \"is it fixed?\", \"tested?\" or \"can we close it?\", or to check a claim, and before calling work done or fixed, even if told to skip tests; prove it fresh, failing before the fix and passing after, and doubt it. Do NOT use for an unknown failure (use `diagnose`) or the PR (use `ship`).","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7EH222AGEKS6GEVV7K9GHNQ","spec","Use when requirements are agreed, even if the spec seems obvious; write the spec or its acceptance criteria (EARS, SHALL), Out of Scope and the constitution check of its gates. Do NOT use for a new or vague request (use `grill`) or splitting a spec into tasks (use `plan`).","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fspec\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7EH1Z6JPM20KZBHRHHHZ344","ship","Use when a change needs a pull request, review verdict or depth, merge, schema migration, rollout, canary or rollback, even if it looks safe; decide GO or NO-GO only with a rollback ready. Do NOT use for proving work done or passing (use `verify`) or a failure with an unknown cause (use `diagnose`).","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fship\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7EH1WBQPD5S2KNT2JH9EY10","plan","Use when a spec is ready, even if the work seems obvious; split it into tasks, each with its files, one test command and which tasks block it, then get the plan approved. Do NOT use for writing the spec (use `spec`), a new or vague request (use `grill`) or building an approved task (use `build`).","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fplan\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7EH1QY95KXJYXT43MQ11H3R","orchestrate","Use to run an approved plan's ready tickets across subagents, even when fanning out looks obvious; park one-way calls in weigh-in and rule on the rest. Do NOT use for one task (use `build`) or splitting work into tickets (use `plan`).","https:\u002F\u002Fgithub.com\u002FWet-Ink-Corporation\u002Fanneal\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Forchestrate\u002FSKILL.md",[],[]]