[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75VRRVZ3KRPRZR4YJQFWEW4":3,"skill-same:01M75VRRVZ3KRPRZR4YJQFWEW4":45},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75VRRVZ3KRPRZR4YJQFWEW4","debugging",null,"Systematically find the root cause of a bug instead of guessing at fixes","hobbestherat\u002Fgogent","hobbestherat","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7561053?v=4","01M75VRJRTX8CVGSA1Z3ZHZ5A3","Thomas Frey","01M75VRJSDWGNM00TEG7V8CW7Y",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhobbestherat\u002Fgogent\u002Fblob\u002Fmain\u002Fskills\u002Fdebugging\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: debugging\ndescription: Systematically find the root cause of a bug instead of guessing at fixes\n---\n\n# Debugging\n\nUse this skill when investigating a bug, crash, test failure, or unexpected\nbehavior. The aim is to find the *root cause*, not to paper over a symptom.\n\n## Method\n\n1. **Reproduce.** Establish a reliable, minimal way to trigger the bug. If you\n   can't reproduce it, you can't confirm a fix. Capture the exact command, input,\n   and environment.\n2. **Read the evidence.** Stack trace, error message, and logs point at the\n   failure site. Read the *first* error, not the last — later errors are often\n   cascades.\n3. **Form one hypothesis.** State what you think is wrong and why, in terms of\n   specific code. Avoid changing several things at once.\n4. **Locate.** Narrow the failing region: bisect the input, add targeted logging\n   or assertions, or use a debugger. Confirm the actual values at the boundary,\n   not what you assume they are.\n5. **Test the hypothesis.** Make the smallest change that would prove or disprove\n   it. If disproved, discard it and form a new one — don't pile on patches.\n6. **Fix the cause.** Address the underlying defect. Then check for sibling\n   instances of the same mistake elsewhere.\n7. **Verify.** Reproduce again to confirm the bug is gone, and run the surrounding\n   tests\u002Fbuild to confirm you didn't break anything.\n8. **Guard it.** Add or extend a test that fails before the fix and passes after.\n\n## Useful tactics\n\n- **Bisect** a regression with `git bisect` (or by reverting suspect changes) to\n  find the commit that introduced it.\n- **Binary-search the data**: halve the input until the smallest failing case\n  remains.\n- **Check the boundaries**: nil\u002Fempty\u002Fzero, first\u002Flast element, off-by-one,\n  unicode, timezones, concurrency interleavings.\n- **Question assumptions**: print or assert the value you're \"sure\" about. Bugs\n  hide where you stopped looking.\n- **Read the source of the dependency** rather than guessing its behavior.\n\n## Anti-patterns to avoid\n\n- Shotgun debugging: changing many things hoping one helps.\n- Adding `try\u002Fcatch`\u002F`recover` to silence an error without understanding it.\n- Declaring it fixed without reproducing the original failure first.\n","# Debugging\n\nUse this skill when investigating a bug, crash, test failure, or unexpected\nbehavior. The aim is to find the *root cause*, not to paper over a symptom.\n\n## Method\n\n1. **Reproduce.** Establish a reliable, minimal way to trigger the bug. If you\n   can't reproduce it, you can't confirm a fix. Capture the exact command, input,\n   and environment.\n2. **Read the evidence.** Stack trace, error message, and logs point at the\n   failure site. Read the *first* error, not the last — later errors are often\n   cascades.\n3. **Form one hypothesis.** State what you think is wrong and why, in terms of\n   specific code. Avoid changing several things at once.\n4. **Locate.** Narrow the failing region: bisect the input, add targeted logging\n   or assertions, or use a debugger. Confirm the actual values at the boundary,\n   not what you assume they are.\n5. **Test the hypothesis.** Make the smallest change that would prove or disprove\n   it. If disproved, discard it and form a new one — don't pile on patches.\n6. **Fix the cause.** Address the underlying defect. Then check for sibling\n   instances of the same mistake elsewhere.\n7. **Verify.** Reproduce again to confirm the bug is gone, and run the surrounding\n   tests\u002Fbuild to confirm you didn't break anything.\n8. **Guard it.** Add or extend a test that fails before the fix and passes after.\n\n## Useful tactics\n\n- **Bisect** a regression with `git bisect` (or by reverting suspect changes) to\n  find the commit that introduced it.\n- **Binary-search the data**: halve the input until the smallest failing case\n  remains.\n- **Check the boundaries**: nil\u002Fempty\u002Fzero, first\u002Flast element, off-by-one,\n  unicode, timezones, concurrency interleavings.\n- **Question assumptions**: print or assert the value you're \"sure\" about. Bugs\n  hide where you stopped looking.\n- **Read the source of the dependency** rather than guessing its behavior.\n\n## Anti-patterns to avoid\n\n- Shotgun debugging: changing many things hoping one helps.\n- Adding `try\u002Fcatch`\u002F`recover` to silence an error without understanding it.\n- Declaring it fixed without reproducing the original failure first.\n",{"name":5,"description":7},"main","837a553426658dce327d57c213f909c023d1d5f9","skills\u002Fdebugging",1,"https:\u002F\u002Fgithub.com\u002Fhobbestherat\u002Fgogent","https:\u002F\u002Fgithub.com\u002Fhobbestherat","2026-07-01 05:57:22",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add hobbestherat\u002Fgogent --skill debugging",{"tool":37,"command":38},"bunx","bunx skills add hobbestherat\u002Fgogent --skill debugging",{"tool":40,"command":41},"pnpm","pnpm dlx skills add hobbestherat\u002Fgogent --skill debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhobbestherat\u002Fgogent\u002Fblob\u002Fmain\u002Fskills\u002Fdebugging\u002FSKILL.md",true,[],[46,53,60,67],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M75VRW96AGS98WPXS6XT2GZY","parallel-research","Delegate independent research and verification to sub-agents in parallel to cut wall-clock latency","https:\u002F\u002Fgithub.com\u002Fhobbestherat\u002Fgogent\u002Fblob\u002Fmain\u002Fskills\u002Fparallel-research\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M75VRT1MJRPZ32AMAW6T3GN3","git-commit","Write clear Conventional Commits messages and stage changes safely","https:\u002F\u002Fgithub.com\u002Fhobbestherat\u002Fgogent\u002Fblob\u002Fmain\u002Fskills\u002Fgit-commit\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M75VRPWDBTTNKQV2EPC3WPFG","code-review","Review code changes for bugs, security, and correctness with a high signal-to-noise checklist","https:\u002F\u002Fgithub.com\u002Fhobbestherat\u002Fgogent\u002Fblob\u002Fmain\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M75VRN07G4RWSKHM1RTCH4FT","calc","Calculate mathematical expressions","https:\u002F\u002Fgithub.com\u002Fhobbestherat\u002Fgogent\u002Fblob\u002Fmain\u002Finternal\u002Fskill\u002Ftest_skills\u002Fcalc\u002FSKILL.md",[],[]]