[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F4RKGC26F7GFXDK3P87S26":3,"skill-same:01M6F4RKGC26F7GFXDK3P87S26":87},{"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":27,"publishedAt":58,"linkOnly":59,"markdownContent":60,"markdownBody":61,"frontMatter":62,"refName":40,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":6,"ownerHtmlUrl":71,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":72,"install":73,"resources":86},"01M6F4RKGC26F7GFXDK3P87S26","code-showcase-systematic-debugging",null,"Four-phase debugging methodology with root cause analysis. Use when investigating bugs, fixing test failures, or troubleshooting unexpected behavior. Emphasizes NO FIXES WITHOUT ROOT CAUSE FIRST.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-code-showcase-systematic-debugging\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57],"systematic","systematic debugging","debugging","code","code showcase systematic debugging","showcase","four-phase","critical","with","tree","bugs","fixes","main","systematic-debugging","phase","when","2026","wed","github","community","debugging methodology","root cause first","use","behavior","analysis","first","methodology","https","license","test","2026-11-10 10:12:30",false,"---\nname: code-showcase-systematic-debugging\ndescription: Four-phase debugging methodology with root cause analysis. Use when investigating bugs, fixing test failures, or troubleshooting unexpected behavior. Emphasizes NO FIXES WITHOUT ROOT CAUSE FIRST.\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FChrisWiles\u002Fclaude-code-showcase\u002Ftree\u002Fmain\u002F.claude\u002Fskills\u002Fsystematic-debugging\nsource_repo: ChrisWiles\u002Fclaude-code-showcase\nsource_type: community\ndate_added: 2026-07-01\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FChrisWiles\u002Fclaude-code-showcase\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# Systematic Debugging\n## When to Use\n\nUse this skill when you need four-phase debugging methodology with root cause analysis. Use when investigating bugs, fixing test failures, or troubleshooting unexpected behavior. Emphasizes NO FIXES WITHOUT ROOT CAUSE FIRST.\n\n\n## Core Principle\n\n**NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.**\n\nNever apply symptom-focused patches that mask underlying problems. Understand WHY something fails before attempting to fix it.\n\n## The Four-Phase Framework\n\n### Phase 1: Root Cause Investigation\n\nBefore touching any code:\n\n1. **Read error messages thoroughly** - Every word matters\n2. **Reproduce the issue consistently when possible** - If unavailable, state the gap and use scoped static\u002Fevidence-based checks without claiming runtime reproduction\n3. **Examine recent changes** - What changed before this started failing?\n4. **Gather diagnostic evidence** - Scoped redacted logs\u002Fstack traces; avoid secret-bearing full state dumps\n5. **Trace data flow** - Follow the call chain to find where bad values originate\n\n**Root Cause Tracing Technique:**\n```\n1. Observe the symptom - Where does the error manifest?\n2. Find immediate cause - Which code directly produces the error?\n3. Ask \"What called this?\" - Map the call chain upward\n4. Keep tracing up - Follow invalid data backward through the stack\n5. Find original trigger - Where did the problem actually start?\n```\n\n**Key principle:** Never fix problems solely where errors appear—always trace to the original trigger.\n\n### Phase 2: Pattern Analysis\n\n1. **Locate working examples** - Find similar code that works correctly\n2. **Compare implementations completely** - Don't just skim\n3. **Identify differences** - What's different between working and broken?\n4. **Understand dependencies** - What does this code depend on?\n\n### Phase 3: Hypothesis and Testing\n\nApply the scientific method:\n\n1. **Formulate ONE clear hypothesis** - \"The error occurs because X\"\n2. **Design minimal test** - Change ONE variable at a time\n3. **Predict the outcome** - What should happen if hypothesis is correct?\n4. **Run the test** - Execute and observe\n5. **Verify results** - Did it behave as predicted?\n6. **Iterate or proceed** - Refine hypothesis if wrong, implement if right\n\n### Phase 4: Implementation\n\n1. **Create failing test case** - Captures the bug behavior\n2. **Implement single fix** - Address root cause, not symptoms\n3. **Verify test passes** - Confirms fix works\n4. **Run full test suite** - Ensure no regressions\n5. **If fix fails, STOP** - Re-evaluate hypothesis\n\n**Critical rule:** If THREE or more fixes fail consecutively, STOP. This signals architectural problems requiring discussion, not more patches.\n\n## Red Flags - Process Violations\n\nStop immediately if you catch yourself thinking:\n\n- \"Quick fix for now, investigate later\"\n- \"One more fix attempt\" (after multiple failures)\n- \"This should work\" (without understanding why)\n- \"Let me just try...\" (without hypothesis)\n- \"It works on my machine\" (without investigating difference)\n\n## Warning Signs of Deeper Problems\n\n**Consecutive fixes revealing new problems in different areas** indicates architectural issues:\n\n- Stop patching\n- Document what you've found\n- Discuss with team before proceeding\n- Consider if the design needs rethinking\n\n## Common Debugging Scenarios\n\n### Test Failures\n\n```\n1. Read the FULL error message and stack trace\n2. Identify which assertion failed and why\n3. Check test setup - is the test environment correct?\n4. Check test data - are mocks\u002Ffixtures correct?\n5. Trace to the source of unexpected value\n```\n\n### Runtime Errors\n\n```\n1. Capture the full stack trace\n2. Identify the line that throws\n3. Check what values are undefined\u002Fnull\n4. Trace backward to find where bad value originated\n5. Add validation at the source\n```\n\n### \"It worked before\"\n\n```\n1. Use git bisect to find the breaking commit\n2. Compare the change with previous working version\n3. Identify what assumption changed\n4. Fix at the source of the assumption violation\n```\n\n### Intermittent Failures\n\n```\n1. Look for race conditions\n2. Check for shared mutable state\n3. Examine async operation ordering\n4. Look for timing dependencies\n5. Add deterministic waits or proper synchronization\n```\n\n## Debugging Checklist\n\nBefore claiming a bug is fixed:\n\n- [ ] Root cause identified and documented\n- [ ] Hypothesis formed and tested\n- [ ] Fix addresses root cause, not symptoms\n- [ ] Failing test created that reproduces bug\n- [ ] Test now passes with fix\n- [ ] Full test suite passes\n- [ ] No \"quick fix\" rationalization used\n- [ ] Fix is minimal and focused\n\n## Success Metrics\n\nNo comparative fix-rate measurement is established by this guide. Track actual reproductions, attempted fixes and regression results for the project.\n\nSigns you're doing it right:\n- Fixes don't create new bugs\n- You can explain WHY the bug occurred\n- Similar bugs don't recur\n- Code is better after the fix, not just \"working\"\n\n## Integration with Other Skills\n\n- **testing-patterns**: Create test that reproduces the bug before fixing\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream source and local project context.\n- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.\n- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n","# Systematic Debugging\n## When to Use\n\nUse this skill when you need four-phase debugging methodology with root cause analysis. Use when investigating bugs, fixing test failures, or troubleshooting unexpected behavior. Emphasizes NO FIXES WITHOUT ROOT CAUSE FIRST.\n\n\n## Core Principle\n\n**NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.**\n\nNever apply symptom-focused patches that mask underlying problems. Understand WHY something fails before attempting to fix it.\n\n## The Four-Phase Framework\n\n### Phase 1: Root Cause Investigation\n\nBefore touching any code:\n\n1. **Read error messages thoroughly** - Every word matters\n2. **Reproduce the issue consistently when possible** - If unavailable, state the gap and use scoped static\u002Fevidence-based checks without claiming runtime reproduction\n3. **Examine recent changes** - What changed before this started failing?\n4. **Gather diagnostic evidence** - Scoped redacted logs\u002Fstack traces; avoid secret-bearing full state dumps\n5. **Trace data flow** - Follow the call chain to find where bad values originate\n\n**Root Cause Tracing Technique:**\n```\n1. Observe the symptom - Where does the error manifest?\n2. Find immediate cause - Which code directly produces the error?\n3. Ask \"What called this?\" - Map the call chain upward\n4. Keep tracing up - Follow invalid data backward through the stack\n5. Find original trigger - Where did the problem actually start?\n```\n\n**Key principle:** Never fix problems solely where errors appear—always trace to the original trigger.\n\n### Phase 2: Pattern Analysis\n\n1. **Locate working examples** - Find similar code that works correctly\n2. **Compare implementations completely** - Don't just skim\n3. **Identify differences** - What's different between working and broken?\n4. **Understand dependencies** - What does this code depend on?\n\n### Phase 3: Hypothesis and Testing\n\nApply the scientific method:\n\n1. **Formulate ONE clear hypothesis** - \"The error occurs because X\"\n2. **Design minimal test** - Change ONE variable at a time\n3. **Predict the outcome** - What should happen if hypothesis is correct?\n4. **Run the test** - Execute and observe\n5. **Verify results** - Did it behave as predicted?\n6. **Iterate or proceed** - Refine hypothesis if wrong, implement if right\n\n### Phase 4: Implementation\n\n1. **Create failing test case** - Captures the bug behavior\n2. **Implement single fix** - Address root cause, not symptoms\n3. **Verify test passes** - Confirms fix works\n4. **Run full test suite** - Ensure no regressions\n5. **If fix fails, STOP** - Re-evaluate hypothesis\n\n**Critical rule:** If THREE or more fixes fail consecutively, STOP. This signals architectural problems requiring discussion, not more patches.\n\n## Red Flags - Process Violations\n\nStop immediately if you catch yourself thinking:\n\n- \"Quick fix for now, investigate later\"\n- \"One more fix attempt\" (after multiple failures)\n- \"This should work\" (without understanding why)\n- \"Let me just try...\" (without hypothesis)\n- \"It works on my machine\" (without investigating difference)\n\n## Warning Signs of Deeper Problems\n\n**Consecutive fixes revealing new problems in different areas** indicates architectural issues:\n\n- Stop patching\n- Document what you've found\n- Discuss with team before proceeding\n- Consider if the design needs rethinking\n\n## Common Debugging Scenarios\n\n### Test Failures\n\n```\n1. Read the FULL error message and stack trace\n2. Identify which assertion failed and why\n3. Check test setup - is the test environment correct?\n4. Check test data - are mocks\u002Ffixtures correct?\n5. Trace to the source of unexpected value\n```\n\n### Runtime Errors\n\n```\n1. Capture the full stack trace\n2. Identify the line that throws\n3. Check what values are undefined\u002Fnull\n4. Trace backward to find where bad value originated\n5. Add validation at the source\n```\n\n### \"It worked before\"\n\n```\n1. Use git bisect to find the breaking commit\n2. Compare the change with previous working version\n3. Identify what assumption changed\n4. Fix at the source of the assumption violation\n```\n\n### Intermittent Failures\n\n```\n1. Look for race conditions\n2. Check for shared mutable state\n3. Examine async operation ordering\n4. Look for timing dependencies\n5. Add deterministic waits or proper synchronization\n```\n\n## Debugging Checklist\n\nBefore claiming a bug is fixed:\n\n- [ ] Root cause identified and documented\n- [ ] Hypothesis formed and tested\n- [ ] Fix addresses root cause, not symptoms\n- [ ] Failing test created that reproduces bug\n- [ ] Test now passes with fix\n- [ ] Full test suite passes\n- [ ] No \"quick fix\" rationalization used\n- [ ] Fix is minimal and focused\n\n## Success Metrics\n\nNo comparative fix-rate measurement is established by this guide. Track actual reproductions, attempted fixes and regression results for the project.\n\nSigns you're doing it right:\n- Fixes don't create new bugs\n- You can explain WHY the bug occurred\n- Similar bugs don't recur\n- Code is better after the fix, not just \"working\"\n\n## Integration with Other Skills\n\n- **testing-patterns**: Create test that reproduces the bug before fixing\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream source and local project context.\n- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.\n- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n",{"name":5,"risk":35,"source":63,"license":14,"date_added":64,"description":7,"source_repo":65,"source_type":47,"license_source":66},"https:\u002F\u002Fgithub.com\u002FChrisWiles\u002Fclaude-code-showcase\u002Ftree\u002Fmain\u002F.claude\u002Fskills\u002Fsystematic-debugging",1782864000000,"ChrisWiles\u002Fclaude-code-showcase","https:\u002F\u002Fgithub.com\u002FChrisWiles\u002Fclaude-code-showcase\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-code-showcase-systematic-debugging",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add boisenoise\u002Fskills-collections --skill code-showcase-systematic-debugging",{"tool":79,"command":80},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill code-showcase-systematic-debugging",{"tool":82,"command":83},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill code-showcase-systematic-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-code-showcase-systematic-debugging\u002FSKILL.md",true,[],[88,97,105,114,122,130],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":96},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":113},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":113},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":113},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":113},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]