[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ES9J3BEGPSV6JH2YGFW24Q":3,"skill-same:01M6ES9J3BEGPSV6JH2YGFW24Q":65},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M6ES9J3BEGPSV6JH2YGFW24Q","flow-debugging",null,"4-phase systematic debugging for flow-fix. NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdimon94\u002Fflow-debugging\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"debugging","flow","flow debugging","systematic debugging","first","investigation","fix","systematic","2026-11-10 10:12:30",false,"---\nname: flow-debugging\ndescription: \"4-phase systematic debugging for flow-fix. NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.\"\n---\n\n# Flow Debugging - Systematic Debugging Method\n\n## The Iron Law\n\n```\nNO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST\n```\n\nBug fixing is not a guessing game. Systematic debugging = faster fixes + fewer regressions.\n\n## The 4-Phase Process\n\n```\nPhase 1: ROOT CAUSE INVESTIGATION (NO FIXES YET)\n    ↓\nPhase 2: PATTERN ANALYSIS\n    ↓\nPhase 3: HYPOTHESIS AND TESTING\n    ↓\nPhase 4: IMPLEMENTATION (TDD)\n```\n\n## Phase 1: Root Cause Investigation\n\n**Iron Law**: In this phase, **NO FIX CODE ALLOWED**.\n\n```yaml\nStep 1: Read Error Completely\n  - Don't skip any details\n  - Record: error type, message, stack trace\n  - Record: when it happens, frequency, impact\n\nStep 2: Stable Reproduction\n  - Find reliable reproduction steps\n  - Record: inputs, environment, preconditions\n  - If can't reproduce → gather more information\n\nStep 3: Check Recent Changes\n  - git log --oneline -20\n  - git diff HEAD~5\n  - Ask: What changed? When did it start failing?\n\nStep 4: Trace Data Flow Backwards\n  - Start from error point\n  - Trace upstream\n  - Find where data goes wrong\n```\n\n**Output**: Root cause hypothesis (evidence-based, not a guess)\n\n## Phase 2: Pattern Analysis\n\n```yaml\nStep 1: Find Working Examples\n  - Where does similar functionality work?\n  - Compare: working vs broken\n\nStep 2: Compare with Reference\n  - What does official documentation say?\n  - How do other projects do it?\n  - What's different?\n\nStep 3: Identify Patterns\n  - Is this a known bug pattern?\n  - Search: error message + framework name\n```\n\n**Output**: Confirmed or refined root cause hypothesis\n\n## Phase 3: Hypothesis and Testing\n\n```yaml\nStep 1: Form Single Hypothesis\n  - \"The problem is because X\"\n  - Hypothesis must be verifiable\n\nStep 2: Test One Variable at a Time\n  - Change only one factor\n  - Observe result\n  - Record: what changed, what happened\n\nStep 3: 3+ Failed Fixes → STOP\n  - If 3+ fix attempts fail\n  - Stop and question architecture\n  - Problem may be deeper than thought\n```\n\n**Red Flag**: If you're \"trying this, trying that\", you're guessing, not debugging.\n\n## Phase 4: Implementation (TDD)\n\n**Prerequisite**: Phases 1-3 complete, root cause confirmed\n\n```yaml\nStep 1: Write Failing Test First\n  - Test must reproduce the bug\n  - Run test, confirm it fails\n  - This is your \"red light\"\n\nStep 2: Implement Single Fix\n  - Fix only the root cause\n  - Don't \"while I'm here\" other things\n  - Minimal change\n\nStep 3: Verify\n  - Run test, confirm it passes\n  - Run related tests, confirm no regression\n  - Manual verify original issue resolved\n```\n\n## Rationalization Prevention\n\n| Excuse | Reality |\n|--------|---------|\n| \"I know where the problem is\" | Prove it. Investigate first. |\n| \"Quick fix\" | Quick fix = quick regression. Systematic debug. |\n| \"No time for tests\" | No tests = don't know if really fixed. |\n| \"Small change\" | Small changes can introduce big bugs. Test it. |\n| \"Fix first, investigate later\" | Fixing without understanding = guessing. |\n| \"Let me try this\" | \"Trying\" is not debugging. Form hypothesis, verify it. |\n| \"It's obvious\" | Nothing is obvious. Prove with evidence. |\n| \"I've seen this before\" | Every bug is unique. Investigate this one. |\n\n## Red Flags - STOP\n\nIf you find yourself:\n- Fixing without reproduction\n- \"Trying this, trying that\"\n- 3+ failed fix attempts\n- Saying \"fixed\" without tests\n- Changing many files for one bug\n\n**STOP. Go back to Phase 1. Investigate root cause.**\n\n## Debug Output Template\n\n```markdown\n# Bug Analysis - ${BUG_ID}\n\n## Phase 1: Root Cause Investigation\n\n### Error Details\n- Type: [error type]\n- Message: [error message]\n- Stack: [key stack frames]\n\n### Reproduction\n- Steps: [1, 2, 3...]\n- Frequency: [always\u002Fsometimes\u002Frare]\n- Environment: [conditions]\n\n### Recent Changes\n- [relevant commits]\n\n### Data Flow Analysis\n- [where data goes wrong]\n\n### Root Cause Hypothesis\n[Evidence-based hypothesis]\n\n## Phase 2: Pattern Analysis\n\n### Working Example\n[Where similar code works]\n\n### Comparison\n[Difference between working and broken]\n\n### Confirmed Root Cause\n[Refined hypothesis]\n\n## Phase 3: Hypothesis Testing\n\n### Hypothesis\n[Single testable hypothesis]\n\n### Test Results\n| Change | Result |\n|--------|--------|\n| [change 1] | [result] |\n\n## Phase 4: Implementation\n\n### Failing Test\n[Test code that reproduces bug]\n\n### Fix\n[Minimal fix code]\n\n### Verification\n- [ ] Test passes\n- [ ] No regression\n- [ ] Manual verification\n```\n\n## Integration with flow-fix\n\nThis skill is the core methodology for `\u002Fflow-fix` command:\n\n```yaml\n\u002Fflow-fix phases:\n  阶段 1: Root Cause Investigation → This skill Phase 1\n  阶段 2: Pattern Analysis & Planning → This skill Phase 2\n  阶段 3: 修复执行 (TDD) → This skill Phase 3-4\n  阶段 4: 验证与发布 → verification-before-completion\n```\n\n## Cross-Reference\n\n- [flow-fix.md](..\u002F..\u002Fcommands\u002Fflow-fix.md) - Bug fix command\n- [flow-tdd\u002FSKILL.md](..\u002Fflow-tdd\u002FSKILL.md) - TDD enforcement\n- [verification-before-completion](..\u002Fverification-before-completion\u002FSKILL.md) - Verification skill\n\n---\n\n**[PROTOCOL]**: 变更时更新此头部，然后检查 CLAUDE.md\n","# Flow Debugging - Systematic Debugging Method\n\n## The Iron Law\n\n```\nNO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST\n```\n\nBug fixing is not a guessing game. Systematic debugging = faster fixes + fewer regressions.\n\n## The 4-Phase Process\n\n```\nPhase 1: ROOT CAUSE INVESTIGATION (NO FIXES YET)\n    ↓\nPhase 2: PATTERN ANALYSIS\n    ↓\nPhase 3: HYPOTHESIS AND TESTING\n    ↓\nPhase 4: IMPLEMENTATION (TDD)\n```\n\n## Phase 1: Root Cause Investigation\n\n**Iron Law**: In this phase, **NO FIX CODE ALLOWED**.\n\n```yaml\nStep 1: Read Error Completely\n  - Don't skip any details\n  - Record: error type, message, stack trace\n  - Record: when it happens, frequency, impact\n\nStep 2: Stable Reproduction\n  - Find reliable reproduction steps\n  - Record: inputs, environment, preconditions\n  - If can't reproduce → gather more information\n\nStep 3: Check Recent Changes\n  - git log --oneline -20\n  - git diff HEAD~5\n  - Ask: What changed? When did it start failing?\n\nStep 4: Trace Data Flow Backwards\n  - Start from error point\n  - Trace upstream\n  - Find where data goes wrong\n```\n\n**Output**: Root cause hypothesis (evidence-based, not a guess)\n\n## Phase 2: Pattern Analysis\n\n```yaml\nStep 1: Find Working Examples\n  - Where does similar functionality work?\n  - Compare: working vs broken\n\nStep 2: Compare with Reference\n  - What does official documentation say?\n  - How do other projects do it?\n  - What's different?\n\nStep 3: Identify Patterns\n  - Is this a known bug pattern?\n  - Search: error message + framework name\n```\n\n**Output**: Confirmed or refined root cause hypothesis\n\n## Phase 3: Hypothesis and Testing\n\n```yaml\nStep 1: Form Single Hypothesis\n  - \"The problem is because X\"\n  - Hypothesis must be verifiable\n\nStep 2: Test One Variable at a Time\n  - Change only one factor\n  - Observe result\n  - Record: what changed, what happened\n\nStep 3: 3+ Failed Fixes → STOP\n  - If 3+ fix attempts fail\n  - Stop and question architecture\n  - Problem may be deeper than thought\n```\n\n**Red Flag**: If you're \"trying this, trying that\", you're guessing, not debugging.\n\n## Phase 4: Implementation (TDD)\n\n**Prerequisite**: Phases 1-3 complete, root cause confirmed\n\n```yaml\nStep 1: Write Failing Test First\n  - Test must reproduce the bug\n  - Run test, confirm it fails\n  - This is your \"red light\"\n\nStep 2: Implement Single Fix\n  - Fix only the root cause\n  - Don't \"while I'm here\" other things\n  - Minimal change\n\nStep 3: Verify\n  - Run test, confirm it passes\n  - Run related tests, confirm no regression\n  - Manual verify original issue resolved\n```\n\n## Rationalization Prevention\n\n| Excuse | Reality |\n|--------|---------|\n| \"I know where the problem is\" | Prove it. Investigate first. |\n| \"Quick fix\" | Quick fix = quick regression. Systematic debug. |\n| \"No time for tests\" | No tests = don't know if really fixed. |\n| \"Small change\" | Small changes can introduce big bugs. Test it. |\n| \"Fix first, investigate later\" | Fixing without understanding = guessing. |\n| \"Let me try this\" | \"Trying\" is not debugging. Form hypothesis, verify it. |\n| \"It's obvious\" | Nothing is obvious. Prove with evidence. |\n| \"I've seen this before\" | Every bug is unique. Investigate this one. |\n\n## Red Flags - STOP\n\nIf you find yourself:\n- Fixing without reproduction\n- \"Trying this, trying that\"\n- 3+ failed fix attempts\n- Saying \"fixed\" without tests\n- Changing many files for one bug\n\n**STOP. Go back to Phase 1. Investigate root cause.**\n\n## Debug Output Template\n\n```markdown\n# Bug Analysis - ${BUG_ID}\n\n## Phase 1: Root Cause Investigation\n\n### Error Details\n- Type: [error type]\n- Message: [error message]\n- Stack: [key stack frames]\n\n### Reproduction\n- Steps: [1, 2, 3...]\n- Frequency: [always\u002Fsometimes\u002Frare]\n- Environment: [conditions]\n\n### Recent Changes\n- [relevant commits]\n\n### Data Flow Analysis\n- [where data goes wrong]\n\n### Root Cause Hypothesis\n[Evidence-based hypothesis]\n\n## Phase 2: Pattern Analysis\n\n### Working Example\n[Where similar code works]\n\n### Comparison\n[Difference between working and broken]\n\n### Confirmed Root Cause\n[Refined hypothesis]\n\n## Phase 3: Hypothesis Testing\n\n### Hypothesis\n[Single testable hypothesis]\n\n### Test Results\n| Change | Result |\n|--------|--------|\n| [change 1] | [result] |\n\n## Phase 4: Implementation\n\n### Failing Test\n[Test code that reproduces bug]\n\n### Fix\n[Minimal fix code]\n\n### Verification\n- [ ] Test passes\n- [ ] No regression\n- [ ] Manual verification\n```\n\n## Integration with flow-fix\n\nThis skill is the core methodology for `\u002Fflow-fix` command:\n\n```yaml\n\u002Fflow-fix phases:\n  阶段 1: Root Cause Investigation → This skill Phase 1\n  阶段 2: Pattern Analysis & Planning → This skill Phase 2\n  阶段 3: 修复执行 (TDD) → This skill Phase 3-4\n  阶段 4: 验证与发布 → verification-before-completion\n```\n\n## Cross-Reference\n\n- [flow-fix.md](..\u002F..\u002Fcommands\u002Fflow-fix.md) - Bug fix command\n- [flow-tdd\u002FSKILL.md](..\u002Fflow-tdd\u002FSKILL.md) - TDD enforcement\n- [verification-before-completion](..\u002Fverification-before-completion\u002FSKILL.md) - Verification skill\n\n---\n\n**[PROTOCOL]**: 变更时更新此头部，然后检查 CLAUDE.md\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fdimon94\u002Fflow-debugging",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill flow-debugging",{"tool":47,"command":48},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill flow-debugging",{"tool":50,"command":51},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill flow-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdimon94\u002Fflow-debugging\u002FSKILL.md",true,[55,61],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"skill-report.json","REFERENCE","参考文档",9923,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdimon94\u002Fflow-debugging\u002Fskill-report.json",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"unit-test-generation.prompt.md",5569,"https:\u002F\u002Fgithub.com\u002FTorchiaHub\u002FSkills\u002Fblob\u002Fmaster\u002F01-Inbox\u002Fdownloads\u002Fgithub-awesome-copilot\u002F20260429T140243Z\u002Fsource\u002Fskills\u002Fpolyglot-test-agent\u002Funit-test-generation.prompt.md",[66,75,84,93,99,105],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":27},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[72,73,74],"model","model hierarchy","model hierarchy skill",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":27},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[81,82,83],"MCP","zoom","zoom mcp",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":27},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[90,91,92,82],"sdk","zoom apps sdk","apps",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":27},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[95],{"skillNo":100,"name":101,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":27},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[101],{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":27},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[107]]