[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DEZX05SMG51FDF45VZRH4E":3,"skill-same:01M6DEZX05SMG51FDF45VZRH4E":75},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6DEZX05SMG51FDF45VZRH4E","systematic-debugging",null,"4-phase root cause debugging: understand bugs before fixing.","zapabob\u002FSkills","zapabob","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130830376?v=4","01M6DBMYZAGRTFQDSQYW3W764P","峯岸 亮","01M6DBMZ3GKDSJ01NZ9XTZD7JD",2,"MIT","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F44\u002F440c4dea07c7cf78b9a93f0feee72e393e8095ad64bb5657df8b8a19a780c6fe\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"systematic","systematic debugging","debugging","subagent","driven","plans","problem-solving","root-cause","superpowers","hermes agent","hermes","troubleshooting","writing","investigation","development","windows","test","linux","macos","2026-11-10 10:12:30",false,"---\r\nname: systematic-debugging\r\ndescription: \"4-phase root cause debugging: understand bugs before fixing.\"\r\nversion: 1.1.0\r\nauthor: Hermes Agent (adapted from obra\u002Fsuperpowers)\r\nlicense: MIT\r\nplatforms: [linux, macos, windows]\r\nmetadata:\r\n  hermes:\r\n    tags: [debugging, troubleshooting, problem-solving, root-cause, investigation]\r\n    related_skills: [test-driven-development, writing-plans, subagent-driven-development]\r\n---\r\n\r\n# Systematic Debugging\r\n\r\n## Overview\r\n\r\nRandom fixes waste time and create new bugs. Quick patches mask underlying issues.\r\n\r\n**Core principle:** ALWAYS find root cause before attempting fixes. Symptom fixes are failure.\r\n\r\n**Violating the letter of this process is violating the spirit of debugging.**\r\n\r\n## The Iron Law\r\n\r\n```\r\nNO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST\r\n```\r\n\r\nIf you haven't completed Phase 1, you cannot propose fixes.\r\n\r\n## When to Use\r\n\r\nUse for ANY technical issue:\r\n- Test failures\r\n- Bugs in production\r\n- Unexpected behavior\r\n- Performance problems\r\n- Build failures\r\n- Integration issues\r\n\r\n**Use this ESPECIALLY when:**\r\n- Under time pressure (emergencies make guessing tempting)\r\n- \"Just one quick fix\" seems obvious\r\n- You've already tried multiple fixes\r\n- Previous fix didn't work\r\n- You don't fully understand the issue\r\n\r\n**Don't skip when:**\r\n- Issue seems simple (simple bugs have root causes too)\r\n- You're in a hurry (rushing guarantees rework)\r\n- Someone wants it fixed NOW (systematic is faster than thrashing)\r\n\r\n## The Four Phases\r\n\r\nYou MUST complete each phase before proceeding to the next.\r\n\r\n---\r\n\r\n## Phase 1: Root Cause Investigation\r\n\r\n**BEFORE attempting ANY fix:**\r\n\r\n### 1. Read Error Messages Carefully\r\n\r\n- Don't skip past errors or warnings\r\n- They often contain the exact solution\r\n- Read stack traces completely\r\n- Note line numbers, file paths, error codes\r\n\r\n**Action:** Use `read_file` on the relevant source files. Use `search_files` to find the error string in the codebase.\r\n\r\n### 2. Reproduce Consistently\r\n\r\n- Can you trigger it reliably?\r\n- What are the exact steps?\r\n- Does it happen every time?\r\n- If not reproducible → gather more data, don't guess\r\n\r\n**Action:** Use the `terminal` tool to run the failing test or trigger the bug:\r\n\r\n```bash\r\n# Run specific failing test\r\npytest tests\u002Ftest_module.py::test_name -v\r\n\r\n# Run with verbose output\r\npytest tests\u002Ftest_module.py -v --tb=long\r\n```\r\n\r\n### 3. Check Recent Changes\r\n\r\n- What changed that could cause this?\r\n- Git diff, recent commits\r\n- New dependencies, config changes\r\n\r\n**Action:**\r\n\r\n```bash\r\n# Recent commits\r\ngit log --oneline -10\r\n\r\n# Uncommitted changes\r\ngit diff\r\n\r\n# Changes in specific file\r\ngit log -p --follow src\u002Fproblematic_file.py | head -100\r\n```\r\n\r\n### 4. Gather Evidence in Multi-Component Systems\r\n\r\n**WHEN system has multiple components (API → service → database, CI → build → deploy):**\r\n\r\n**BEFORE proposing fixes, add diagnostic instrumentation:**\r\n\r\nFor EACH component boundary:\r\n- Log what data enters the component\r\n- Log what data exits the component\r\n- Verify environment\u002Fconfig propagation\r\n- Check state at each layer\r\n\r\nRun once to gather evidence showing WHERE it breaks.\r\nTHEN analyze evidence to identify the failing component.\r\nTHEN investigate that specific component.\r\n\r\n### 5. Trace Data Flow\r\n\r\n**WHEN error is deep in the call stack:**\r\n\r\n- Where does the bad value originate?\r\n- What called this function with the bad value?\r\n- Keep tracing upstream until you find the source\r\n- Fix at the source, not at the symptom\r\n\r\n**Action:** Use `search_files` to trace references:\r\n\r\n```python\r\n# Find where the function is called\r\nsearch_files(\"function_name(\", path=\"src\u002F\", file_glob=\"*.py\")\r\n\r\n# Find where the variable is set\r\nsearch_files(\"variable_name\\\\s*=\", path=\"src\u002F\", file_glob=\"*.py\")\r\n```\r\n\r\n### Phase 1 Completion Checklist\r\n\r\n- [ ] Error messages fully read and understood\r\n- [ ] Issue reproduced consistently\r\n- [ ] Recent changes identified and reviewed\r\n- [ ] Evidence gathered (logs, state, data flow)\r\n- [ ] Problem isolated to specific component\u002Fcode\r\n- [ ] Root cause hypothesis formed\r\n\r\n**STOP:** Do not proceed to Phase 2 until you understand WHY it's happening.\r\n\r\n---\r\n\r\n## Phase 2: Pattern Analysis\r\n\r\n**Find the pattern before fixing:**\r\n\r\n### 1. Find Working Examples\r\n\r\n- Locate similar working code in the same codebase\r\n- What works that's similar to what's broken?\r\n\r\n**Action:** Use `search_files` to find comparable patterns:\r\n\r\n```python\r\nsearch_files(\"similar_pattern\", path=\"src\u002F\", file_glob=\"*.py\")\r\n```\r\n\r\n### 2. Compare Against References\r\n\r\n- If implementing a pattern, read the reference implementation COMPLETELY\r\n- Don't skim — read every line\r\n- Understand the pattern fully before applying\r\n\r\n### 3. Identify Differences\r\n\r\n- What's different between working and broken?\r\n- List every difference, however small\r\n- Don't assume \"that can't matter\"\r\n\r\n### 4. Understand Dependencies\r\n\r\n- What other components does this need?\r\n- What settings, config, environment?\r\n- What assumptions does it make?\r\n\r\n---\r\n\r\n## Phase 3: Hypothesis and Testing\r\n\r\n**Scientific method:**\r\n\r\n### 1. Form a Single Hypothesis\r\n\r\n- State clearly: \"I think X is the root cause because Y\"\r\n- Write it down\r\n- Be specific, not vague\r\n\r\n### 2. Test Minimally\r\n\r\n- Make the SMALLEST possible change to test the hypothesis\r\n- One variable at a time\r\n- Don't fix multiple things at once\r\n\r\n### 3. Verify Before Continuing\r\n\r\n- Did it work? → Phase 4\r\n- Didn't work? → Form NEW hypothesis\r\n- DON'T add more fixes on top\r\n\r\n### 4. When You Don't Know\r\n\r\n- Say \"I don't understand X\"\r\n- Don't pretend to know\r\n- Ask the user for help\r\n- Research more\r\n\r\n---\r\n\r\n## Phase 4: Implementation\r\n\r\n**Fix the root cause, not the symptom:**\r\n\r\n### 1. Create Failing Test Case\r\n\r\n- Simplest possible reproduction\r\n- Automated test if possible\r\n- MUST have before fixing\r\n- Use the `test-driven-development` skill\r\n\r\n### 2. Implement Single Fix\r\n\r\n- Address the root cause identified\r\n- ONE change at a time\r\n- No \"while I'm here\" improvements\r\n- No bundled refactoring\r\n\r\n### 3. Verify Fix\r\n\r\n```bash\r\n# Run the specific regression test\r\npytest tests\u002Ftest_module.py::test_regression -v\r\n\r\n# Run full suite — no regressions\r\npytest tests\u002F -q\r\n```\r\n\r\n### 4. If Fix Doesn't Work — The Rule of Three\r\n\r\n- **STOP.**\r\n- Count: How many fixes have you tried?\r\n- If \u003C 3: Return to Phase 1, re-analyze with new information\r\n- **If ≥ 3: STOP and question the architecture (step 5 below)**\r\n- DON'T attempt Fix #4 without architectural discussion\r\n\r\n### 5. If 3+ Fixes Failed: Question Architecture\r\n\r\n**Pattern indicating an architectural problem:**\r\n- Each fix reveals new shared state\u002Fcoupling in a different place\r\n- Fixes require \"massive refactoring\" to implement\r\n- Each fix creates new symptoms elsewhere\r\n\r\n**STOP and question fundamentals:**\r\n- Is this pattern fundamentally sound?\r\n- Are we \"sticking with it through sheer inertia\"?\r\n- Should we refactor the architecture vs. continue fixing symptoms?\r\n\r\n**Discuss with the user before attempting more fixes.**\r\n\r\nThis is NOT a failed hypothesis — this is a wrong architecture.\r\n\r\n---\r\n\r\n## Red Flags — STOP and Follow Process\r\n\r\nIf you catch yourself thinking:\r\n- \"Quick fix for now, investigate later\"\r\n- \"Just try changing X and see if it works\"\r\n- \"Add multiple changes, run tests\"\r\n- \"Skip the test, I'll manually verify\"\r\n- \"It's probably X, let me fix that\"\r\n- \"I don't fully understand but this might work\"\r\n- \"Pattern says X but I'll adapt it differently\"\r\n- \"Here are the main problems: [lists fixes without investigation]\"\r\n- Proposing solutions before tracing data flow\r\n- **\"One more fix attempt\" (when already tried 2+)**\r\n- **Each fix reveals a new problem in a different place**\r\n\r\n**ALL of these mean: STOP. Return to Phase 1.**\r\n\r\n**If 3+ fixes failed:** Question the architecture (Phase 4 step 5).\r\n\r\n## Common Rationalizations\r\n\r\n| Excuse | Reality |\r\n|--------|---------|\r\n| \"Issue is simple, don't need process\" | Simple issues have root causes too. Process is fast for simple bugs. |\r\n| \"Emergency, no time for process\" | Systematic debugging is FASTER than guess-and-check thrashing. |\r\n| \"Just try this first, then investigate\" | First fix sets the pattern. Do it right from the start. |\r\n| \"I'll write test after confirming fix works\" | Untested fixes don't stick. Test first proves it. |\r\n| \"Multiple fixes at once saves time\" | Can't isolate what worked. Causes new bugs. |\r\n| \"Reference too long, I'll adapt the pattern\" | Partial understanding guarantees bugs. Read it completely. |\r\n| \"I see the problem, let me fix it\" | Seeing symptoms ≠ understanding root cause. |\r\n| \"One more fix attempt\" (after 2+ failures) | 3+ failures = architectural problem. Question the pattern, don't fix again. |\r\n\r\n## Quick Reference\r\n\r\n| Phase | Key Activities | Success Criteria |\r\n|-------|---------------|------------------|\r\n| **1. Root Cause** | Read errors, reproduce, check changes, gather evidence, trace data flow | Understand WHAT and WHY |\r\n| **2. Pattern** | Find working examples, compare, identify differences | Know what's different |\r\n| **3. Hypothesis** | Form theory, test minimally, one variable at a time | Confirmed or new hypothesis |\r\n| **4. Implementation** | Create regression test, fix root cause, verify | Bug resolved, all tests pass |\r\n\r\n## Hermes Agent Integration\r\n\r\n### Investigation Tools\r\n\r\nUse these Hermes tools during Phase 1:\r\n\r\n- **`search_files`** — Find error strings, trace function calls, locate patterns\r\n- **`read_file`** — Read source code with line numbers for precise analysis\r\n- **`terminal`** — Run tests, check git history, reproduce bugs\r\n- **`web_search`\u002F`web_extract`** — Research error messages, library docs\r\n\r\n### With delegate_task\r\n\r\nFor complex multi-component debugging, dispatch investigation subagents:\r\n\r\n```python\r\ndelegate_task(\r\n    goal=\"Investigate why [specific test\u002Fbehavior] fails\",\r\n    context=\"\"\"\r\n    Follow systematic-debugging skill:\r\n    1. Read the error message carefully\r\n    2. Reproduce the issue\r\n    3. Trace the data flow to find root cause\r\n    4. Report findings — do NOT fix yet\r\n\r\n    Error: [paste full error]\r\n    File: [path to failing code]\r\n    Test command: [exact command]\r\n    \"\"\",\r\n    toolsets=['terminal', 'file']\r\n)\r\n```\r\n\r\n### With test-driven-development\r\n\r\nWhen fixing bugs:\r\n1. Write a test that reproduces the bug (RED)\r\n2. Debug systematically to find root cause\r\n3. Fix the root cause (GREEN)\r\n4. The test proves the fix and prevents regression\r\n\r\n### Hermes computer-use \u002F cua-driver Windows PATH pitfall\r\n\r\nWhen `cua-driver` works by absolute path but Hermes says it is not installed, treat it as a resolver-parity bug rather than a reinstall problem. Centralize executable resolution in the backend and make `check_fn`, runtime startup, `doctor`, and `status` share it. See `references\u002Fcomputer-use-cua-driver-windows-path.md` for the concrete pattern and verification commands.\r\n\r\n## Real-World Impact\r\n\r\nFrom debugging sessions:\r\n- Systematic approach: 15-30 minutes to fix\r\n- Random fixes approach: 2-3 hours of thrashing\r\n- First-time fix rate: 95% vs 40%\r\n- New bugs introduced: Near zero vs common\r\n\r\n**No shortcuts. No guessing. Systematic always wins.**\r\n","# Systematic Debugging\r\n\r\n## Overview\r\n\r\nRandom fixes waste time and create new bugs. Quick patches mask underlying issues.\r\n\r\n**Core principle:** ALWAYS find root cause before attempting fixes. Symptom fixes are failure.\r\n\r\n**Violating the letter of this process is violating the spirit of debugging.**\r\n\r\n## The Iron Law\r\n\r\n```\r\nNO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST\r\n```\r\n\r\nIf you haven't completed Phase 1, you cannot propose fixes.\r\n\r\n## When to Use\r\n\r\nUse for ANY technical issue:\r\n- Test failures\r\n- Bugs in production\r\n- Unexpected behavior\r\n- Performance problems\r\n- Build failures\r\n- Integration issues\r\n\r\n**Use this ESPECIALLY when:**\r\n- Under time pressure (emergencies make guessing tempting)\r\n- \"Just one quick fix\" seems obvious\r\n- You've already tried multiple fixes\r\n- Previous fix didn't work\r\n- You don't fully understand the issue\r\n\r\n**Don't skip when:**\r\n- Issue seems simple (simple bugs have root causes too)\r\n- You're in a hurry (rushing guarantees rework)\r\n- Someone wants it fixed NOW (systematic is faster than thrashing)\r\n\r\n## The Four Phases\r\n\r\nYou MUST complete each phase before proceeding to the next.\r\n\r\n---\r\n\r\n## Phase 1: Root Cause Investigation\r\n\r\n**BEFORE attempting ANY fix:**\r\n\r\n### 1. Read Error Messages Carefully\r\n\r\n- Don't skip past errors or warnings\r\n- They often contain the exact solution\r\n- Read stack traces completely\r\n- Note line numbers, file paths, error codes\r\n\r\n**Action:** Use `read_file` on the relevant source files. Use `search_files` to find the error string in the codebase.\r\n\r\n### 2. Reproduce Consistently\r\n\r\n- Can you trigger it reliably?\r\n- What are the exact steps?\r\n- Does it happen every time?\r\n- If not reproducible → gather more data, don't guess\r\n\r\n**Action:** Use the `terminal` tool to run the failing test or trigger the bug:\r\n\r\n```bash\r\n# Run specific failing test\r\npytest tests\u002Ftest_module.py::test_name -v\r\n\r\n# Run with verbose output\r\npytest tests\u002Ftest_module.py -v --tb=long\r\n```\r\n\r\n### 3. Check Recent Changes\r\n\r\n- What changed that could cause this?\r\n- Git diff, recent commits\r\n- New dependencies, config changes\r\n\r\n**Action:**\r\n\r\n```bash\r\n# Recent commits\r\ngit log --oneline -10\r\n\r\n# Uncommitted changes\r\ngit diff\r\n\r\n# Changes in specific file\r\ngit log -p --follow src\u002Fproblematic_file.py | head -100\r\n```\r\n\r\n### 4. Gather Evidence in Multi-Component Systems\r\n\r\n**WHEN system has multiple components (API → service → database, CI → build → deploy):**\r\n\r\n**BEFORE proposing fixes, add diagnostic instrumentation:**\r\n\r\nFor EACH component boundary:\r\n- Log what data enters the component\r\n- Log what data exits the component\r\n- Verify environment\u002Fconfig propagation\r\n- Check state at each layer\r\n\r\nRun once to gather evidence showing WHERE it breaks.\r\nTHEN analyze evidence to identify the failing component.\r\nTHEN investigate that specific component.\r\n\r\n### 5. Trace Data Flow\r\n\r\n**WHEN error is deep in the call stack:**\r\n\r\n- Where does the bad value originate?\r\n- What called this function with the bad value?\r\n- Keep tracing upstream until you find the source\r\n- Fix at the source, not at the symptom\r\n\r\n**Action:** Use `search_files` to trace references:\r\n\r\n```python\r\n# Find where the function is called\r\nsearch_files(\"function_name(\", path=\"src\u002F\", file_glob=\"*.py\")\r\n\r\n# Find where the variable is set\r\nsearch_files(\"variable_name\\\\s*=\", path=\"src\u002F\", file_glob=\"*.py\")\r\n```\r\n\r\n### Phase 1 Completion Checklist\r\n\r\n- [ ] Error messages fully read and understood\r\n- [ ] Issue reproduced consistently\r\n- [ ] Recent changes identified and reviewed\r\n- [ ] Evidence gathered (logs, state, data flow)\r\n- [ ] Problem isolated to specific component\u002Fcode\r\n- [ ] Root cause hypothesis formed\r\n\r\n**STOP:** Do not proceed to Phase 2 until you understand WHY it's happening.\r\n\r\n---\r\n\r\n## Phase 2: Pattern Analysis\r\n\r\n**Find the pattern before fixing:**\r\n\r\n### 1. Find Working Examples\r\n\r\n- Locate similar working code in the same codebase\r\n- What works that's similar to what's broken?\r\n\r\n**Action:** Use `search_files` to find comparable patterns:\r\n\r\n```python\r\nsearch_files(\"similar_pattern\", path=\"src\u002F\", file_glob=\"*.py\")\r\n```\r\n\r\n### 2. Compare Against References\r\n\r\n- If implementing a pattern, read the reference implementation COMPLETELY\r\n- Don't skim — read every line\r\n- Understand the pattern fully before applying\r\n\r\n### 3. Identify Differences\r\n\r\n- What's different between working and broken?\r\n- List every difference, however small\r\n- Don't assume \"that can't matter\"\r\n\r\n### 4. Understand Dependencies\r\n\r\n- What other components does this need?\r\n- What settings, config, environment?\r\n- What assumptions does it make?\r\n\r\n---\r\n\r\n## Phase 3: Hypothesis and Testing\r\n\r\n**Scientific method:**\r\n\r\n### 1. Form a Single Hypothesis\r\n\r\n- State clearly: \"I think X is the root cause because Y\"\r\n- Write it down\r\n- Be specific, not vague\r\n\r\n### 2. Test Minimally\r\n\r\n- Make the SMALLEST possible change to test the hypothesis\r\n- One variable at a time\r\n- Don't fix multiple things at once\r\n\r\n### 3. Verify Before Continuing\r\n\r\n- Did it work? → Phase 4\r\n- Didn't work? → Form NEW hypothesis\r\n- DON'T add more fixes on top\r\n\r\n### 4. When You Don't Know\r\n\r\n- Say \"I don't understand X\"\r\n- Don't pretend to know\r\n- Ask the user for help\r\n- Research more\r\n\r\n---\r\n\r\n## Phase 4: Implementation\r\n\r\n**Fix the root cause, not the symptom:**\r\n\r\n### 1. Create Failing Test Case\r\n\r\n- Simplest possible reproduction\r\n- Automated test if possible\r\n- MUST have before fixing\r\n- Use the `test-driven-development` skill\r\n\r\n### 2. Implement Single Fix\r\n\r\n- Address the root cause identified\r\n- ONE change at a time\r\n- No \"while I'm here\" improvements\r\n- No bundled refactoring\r\n\r\n### 3. Verify Fix\r\n\r\n```bash\r\n# Run the specific regression test\r\npytest tests\u002Ftest_module.py::test_regression -v\r\n\r\n# Run full suite — no regressions\r\npytest tests\u002F -q\r\n```\r\n\r\n### 4. If Fix Doesn't Work — The Rule of Three\r\n\r\n- **STOP.**\r\n- Count: How many fixes have you tried?\r\n- If \u003C 3: Return to Phase 1, re-analyze with new information\r\n- **If ≥ 3: STOP and question the architecture (step 5 below)**\r\n- DON'T attempt Fix #4 without architectural discussion\r\n\r\n### 5. If 3+ Fixes Failed: Question Architecture\r\n\r\n**Pattern indicating an architectural problem:**\r\n- Each fix reveals new shared state\u002Fcoupling in a different place\r\n- Fixes require \"massive refactoring\" to implement\r\n- Each fix creates new symptoms elsewhere\r\n\r\n**STOP and question fundamentals:**\r\n- Is this pattern fundamentally sound?\r\n- Are we \"sticking with it through sheer inertia\"?\r\n- Should we refactor the architecture vs. continue fixing symptoms?\r\n\r\n**Discuss with the user before attempting more fixes.**\r\n\r\nThis is NOT a failed hypothesis — this is a wrong architecture.\r\n\r\n---\r\n\r\n## Red Flags — STOP and Follow Process\r\n\r\nIf you catch yourself thinking:\r\n- \"Quick fix for now, investigate later\"\r\n- \"Just try changing X and see if it works\"\r\n- \"Add multiple changes, run tests\"\r\n- \"Skip the test, I'll manually verify\"\r\n- \"It's probably X, let me fix that\"\r\n- \"I don't fully understand but this might work\"\r\n- \"Pattern says X but I'll adapt it differently\"\r\n- \"Here are the main problems: [lists fixes without investigation]\"\r\n- Proposing solutions before tracing data flow\r\n- **\"One more fix attempt\" (when already tried 2+)**\r\n- **Each fix reveals a new problem in a different place**\r\n\r\n**ALL of these mean: STOP. Return to Phase 1.**\r\n\r\n**If 3+ fixes failed:** Question the architecture (Phase 4 step 5).\r\n\r\n## Common Rationalizations\r\n\r\n| Excuse | Reality |\r\n|--------|---------|\r\n| \"Issue is simple, don't need process\" | Simple issues have root causes too. Process is fast for simple bugs. |\r\n| \"Emergency, no time for process\" | Systematic debugging is FASTER than guess-and-check thrashing. |\r\n| \"Just try this first, then investigate\" | First fix sets the pattern. Do it right from the start. |\r\n| \"I'll write test after confirming fix works\" | Untested fixes don't stick. Test first proves it. |\r\n| \"Multiple fixes at once saves time\" | Can't isolate what worked. Causes new bugs. |\r\n| \"Reference too long, I'll adapt the pattern\" | Partial understanding guarantees bugs. Read it completely. |\r\n| \"I see the problem, let me fix it\" | Seeing symptoms ≠ understanding root cause. |\r\n| \"One more fix attempt\" (after 2+ failures) | 3+ failures = architectural problem. Question the pattern, don't fix again. |\r\n\r\n## Quick Reference\r\n\r\n| Phase | Key Activities | Success Criteria |\r\n|-------|---------------|------------------|\r\n| **1. Root Cause** | Read errors, reproduce, check changes, gather evidence, trace data flow | Understand WHAT and WHY |\r\n| **2. Pattern** | Find working examples, compare, identify differences | Know what's different |\r\n| **3. Hypothesis** | Form theory, test minimally, one variable at a time | Confirmed or new hypothesis |\r\n| **4. Implementation** | Create regression test, fix root cause, verify | Bug resolved, all tests pass |\r\n\r\n## Hermes Agent Integration\r\n\r\n### Investigation Tools\r\n\r\nUse these Hermes tools during Phase 1:\r\n\r\n- **`search_files`** — Find error strings, trace function calls, locate patterns\r\n- **`read_file`** — Read source code with line numbers for precise analysis\r\n- **`terminal`** — Run tests, check git history, reproduce bugs\r\n- **`web_search`\u002F`web_extract`** — Research error messages, library docs\r\n\r\n### With delegate_task\r\n\r\nFor complex multi-component debugging, dispatch investigation subagents:\r\n\r\n```python\r\ndelegate_task(\r\n    goal=\"Investigate why [specific test\u002Fbehavior] fails\",\r\n    context=\"\"\"\r\n    Follow systematic-debugging skill:\r\n    1. Read the error message carefully\r\n    2. Reproduce the issue\r\n    3. Trace the data flow to find root cause\r\n    4. Report findings — do NOT fix yet\r\n\r\n    Error: [paste full error]\r\n    File: [path to failing code]\r\n    Test command: [exact command]\r\n    \"\"\",\r\n    toolsets=['terminal', 'file']\r\n)\r\n```\r\n\r\n### With test-driven-development\r\n\r\nWhen fixing bugs:\r\n1. Write a test that reproduces the bug (RED)\r\n2. Debug systematically to find root cause\r\n3. Fix the root cause (GREEN)\r\n4. The test proves the fix and prevents regression\r\n\r\n### Hermes computer-use \u002F cua-driver Windows PATH pitfall\r\n\r\nWhen `cua-driver` works by absolute path but Hermes says it is not installed, treat it as a resolver-parity bug rather than a reinstall problem. Centralize executable resolution in the backend and make `check_fn`, runtime startup, `doctor`, and `status` share it. See `references\u002Fcomputer-use-cua-driver-windows-path.md` for the concrete pattern and verification commands.\r\n\r\n## Real-World Impact\r\n\r\nFrom debugging sessions:\r\n- Systematic approach: 15-30 minutes to fix\r\n- Random fixes approach: 2-3 hours of thrashing\r\n- First-time fix rate: 95% vs 40%\r\n- New bugs introduced: Near zero vs common\r\n\r\n**No shortcuts. No guessing. Systematic always wins.**\r\n",{"name":5,"author":43,"license":15,"version":44,"metadata":45,"platforms":52,"description":7},"Hermes Agent (adapted from obra\u002Fsuperpowers)","1.1.0",{"hermes":46},{"tags":47,"related_skills":48},[21,30,25,26,32],[49,50,51],"test-driven-development","writing-plans","subagent-driven-development",[36,37,34],"main","0d1434f89f4bc6b07e9d272accd8c1013768820f","archive\u002Fskill-md-reviewed\u002Fsha256\u002F44\u002F440c4dea07c7cf78b9a93f0feee72e393e8095ad64bb5657df8b8a19a780c6fe",0,"https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills","https:\u002F\u002Fgithub.com\u002Fzapabob","The Open University of JAPAN　2019-now\r\n\r\nTokyo University of Science　2007-2010","2026-10-26 16:29:01",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add zapabob\u002FSkills --skill systematic-debugging",{"tool":67,"command":68},"bunx","bunx skills add zapabob\u002FSkills --skill systematic-debugging",{"tool":70,"command":71},"pnpm","pnpm dlx skills add zapabob\u002FSkills --skill systematic-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F44\u002F440c4dea07c7cf78b9a93f0feee72e393e8095ad64bb5657df8b8a19a780c6fe\u002FSKILL.md",true,[],[76,96,113,137,161,177],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":38},"01M6GJTE1GESGGF9K028Y7753E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fxurl\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[78,83,37,84,85,36,34,86,87,88,89,90,91,29,28,92,53,93,94,95],"openclaw","cli","github","official","search","https","social-media","api","Media","twitter","social","via","post",{"skillNo":97,"name":50,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":38},"01M6GJT8S1PXQ8WPXT1HSNBWH2","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwriting-plans\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[31,102,24,103,37,104,36,105,34,106,107,33,108,109,110,22,111,27,112,49],"writing plans","design","review","workflow","documentation","tasks","code","planning","code-review","write","paths",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":38},"01M6GJST0H5X7WHBJ3BZK0DVKH","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwhisper\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[115,37,36,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136],"openai","speech","multimodal","Transformers","ASR","Audio","text","model","speech recognition","use","general","multilingual","translation","english","identification","processing","Audio Processing",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":38},"01M6GJSMRQ8EETZTYMG72P70EA","weights-and-biases","W&B: log ML experiments, sweeps, model registry, dashboards.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fweights-and-biases\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[144,37,145,146,34,147,148,149,150,151,152,127,153,154,155,156,157,158,159,160],"weights and biases","tensorflow","experiments","pytorch","visualization","registry","real-time","tuning","dashboards","experiment","log","time","Experiment Tracking","Model Registry","Hyperparameter Tuning","WandB","Real-Time Visualization",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":38},"01M6GJS19KDPRY112JTR326S06","watchers","Poll RSS, JSON APIs, and GitHub with watermark dedup.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwatchers\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[163,37,168,85,36,169,170,171,172,173,174,29,28,175,176],"terminal","automation","http","monitoring","cron","json","rss","devops","with",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":38},"01M6GJRHJD2A6Q830SWF9W48BC","serving-llms-vllm","vLLM: high-throughput LLM serving, OpenAI API, quantization.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fvllm\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[184,185,186,36,187,120,188,189,190,123,191,90,192,193,194,195,196,197,198,199],"llms","vLLM","serving llms vllm","research","openai api","tensor","Inference Serving","Production","llm serving","High Throughput","PagedAttention","Continuous Batching","Quantization","Tensor Parallelism","high-throughput","throughput"]