[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D7P6X91V9D613MEP1NA400":3,"skill-same:01M6D7P6X91V9D613MEP1NA400":60},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6D7P6X91V9D613MEP1NA400","debug",null,"Investigate a problem, log it to the debug changelog, cross-check past issues, and suggest a non-duplicate fix","GeorgeQLe\u002Fagentic-skills","GeorgeQLe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21134126?v=4","01M6D2JP418S0VGJGF8M93EC3H","George Le","01M6D2JPBAKYD82TA5FS6HKQ3D",1,"MIT","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-debug\u002Fclaude\u002Fdebug\u002Farchive\u002Fv0.1\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28],"debugging","issues","changelog","investigate","check","fix","v0","log","bug","message","2026-11-10 10:12:30",false,"---\nname: debug\ndescription: Investigate a problem, log it to the debug changelog, cross-check past issues, and suggest a non-duplicate fix\ntype: debugging\nversion: v0.1\nargument-hint: \u003Cerror message, bug description, or symptom>\n---\n\n# Debug\n\nInvestigate a reported problem, maintain a persistent debug changelog (`docs\u002Fdebug-changelog.md`), and propose a fix that avoids repeating past solutions.\n\n## Process\n\n1. **Parse the input** from `$ARGUMENTS`:\n   - Error message or stack trace → extract file paths, line numbers, error types.\n   - Bug description → identify expected vs. actual behavior.\n   - If no arguments provided, ask the user what to debug.\n\n2. **Capture environment snapshot:**\n   - Current git branch, last 5 commits (`git log --oneline -5`), and any uncommitted changes (`git status --short`).\n   - Note the date and working directory.\n   - Read `CLAUDE.md` for project conventions.\n\n3. **Ensure the debug changelog exists:**\n   - If `docs\u002F` does not exist, create it.\n   - If `docs\u002Fdebug-changelog.md` does not exist, create it with this template:\n\n   ```markdown\n   # Debug Changelog\n\n   Persistent log of investigated issues, root causes, and applied fixes.\n\n   \u003C!-- Entries are prepended below in reverse-chronological order -->\n   ```\n\n4. **Check for prior occurrences:**\n   - Read `docs\u002Fdebug-changelog.md` in full.\n   - Search for entries matching the current symptom — look for similar error messages, affected files, root cause areas, or categories.\n   - If a match is found:\n     - Report what was tried before (the fix, whether it worked, any notes).\n     - Flag if the recurrence suggests a **systemic issue** that needs deeper attention beyond a point fix.\n   - If no match is found, note this is a new issue.\n\n5. **Investigate the problem:**\n   - Follow the execution path from the symptom to the source.\n   - Read only the files in the chain — do not explore the full codebase.\n   - Check for common causes: null\u002Fundefined, wrong types, missing env vars, stale imports, race conditions, schema mismatches, config drift.\n   - Check `git log --oneline -20` for recent changes that may have introduced the issue.\n   - If relevant tests exist, run them to confirm the current broken state.\n\n6. **Propose a fix:**\n   - Write the minimal code change that fixes the root cause.\n   - **Cross-check the changelog**: if a similar fix was attempted before and failed or recurred, choose a different approach or escalate to a broader refactor.\n   - If tests exist, update them. If not, write a test that would have caught this.\n   - Run the relevant tests to confirm the fix works.\n\n7. **Log the entry** by prepending a new entry to `docs\u002Fdebug-changelog.md` immediately below the header comment:\n\n   ```markdown\n   ## [YYYY-MM-DD] Short title of the problem\n\n   - **Symptom**: What was observed\n   - **Category**: regression | logic | config | dependency | types | infra | performance\n   - **Severity**: critical | high | medium | low\n   - **Environment**: branch, relevant commit(s)\n   - **Root Cause**: `file:line` — one-sentence explanation\n   - **Fix Applied**: What was changed (files, approach)\n   - **Tests**: Pass\u002Ffail status after fix\n   - **Related Entries**: Links to prior changelog entries if applicable, or \"None\"\n   - **Systemic?**: Yes\u002FNo — if yes, describe what recurring pattern this reveals\n   - **Notes**: Anything else useful for future debugging\n   ```\n\n8. **Report to the user** using the output format below.\n\n## Output\n\n### Problem\n- **Symptom**: What was reported\n- **New or recurring**: First occurrence \u002F Seen before on [date] — [what was tried]\n\n### Investigation\n- **Root Cause**: `file:line` — explanation\n- **Introduced by**: commit hash or \"pre-existing\"\n\n### Fix\n- **Approach**: What was changed and why this approach (especially if a different approach was tried before)\n- **Files modified**: List\n- **Test results**: Pass\u002Ffail\n\n### Changelog Updated\n- Entry added to `docs\u002Fdebug-changelog.md`\n- Related entries: [any cross-references]\n\n### Prevention\n- What test, lint rule, or check would have caught this earlier\n- If systemic: recommended follow-up action\n\n## Constraints\n- Always read the full debug changelog before proposing a fix — never skip the cross-check.\n- Do not refactor unrelated code while fixing the bug.\n- Do not guess — if you can't trace the root cause, say so and list what you've ruled out.\n- Always run tests after applying the fix.\n- Never duplicate a previously failed fix without a clear reason why it will work this time.\n- If the fix requires changes outside the current project (infra, env vars, external service), document what's needed in the changelog entry instead of attempting it.\n- Keep changelog entries concise but complete — they are the institutional memory for debugging.\n\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n","# Debug\n\nInvestigate a reported problem, maintain a persistent debug changelog (`docs\u002Fdebug-changelog.md`), and propose a fix that avoids repeating past solutions.\n\n## Process\n\n1. **Parse the input** from `$ARGUMENTS`:\n   - Error message or stack trace → extract file paths, line numbers, error types.\n   - Bug description → identify expected vs. actual behavior.\n   - If no arguments provided, ask the user what to debug.\n\n2. **Capture environment snapshot:**\n   - Current git branch, last 5 commits (`git log --oneline -5`), and any uncommitted changes (`git status --short`).\n   - Note the date and working directory.\n   - Read `CLAUDE.md` for project conventions.\n\n3. **Ensure the debug changelog exists:**\n   - If `docs\u002F` does not exist, create it.\n   - If `docs\u002Fdebug-changelog.md` does not exist, create it with this template:\n\n   ```markdown\n   # Debug Changelog\n\n   Persistent log of investigated issues, root causes, and applied fixes.\n\n   \u003C!-- Entries are prepended below in reverse-chronological order -->\n   ```\n\n4. **Check for prior occurrences:**\n   - Read `docs\u002Fdebug-changelog.md` in full.\n   - Search for entries matching the current symptom — look for similar error messages, affected files, root cause areas, or categories.\n   - If a match is found:\n     - Report what was tried before (the fix, whether it worked, any notes).\n     - Flag if the recurrence suggests a **systemic issue** that needs deeper attention beyond a point fix.\n   - If no match is found, note this is a new issue.\n\n5. **Investigate the problem:**\n   - Follow the execution path from the symptom to the source.\n   - Read only the files in the chain — do not explore the full codebase.\n   - Check for common causes: null\u002Fundefined, wrong types, missing env vars, stale imports, race conditions, schema mismatches, config drift.\n   - Check `git log --oneline -20` for recent changes that may have introduced the issue.\n   - If relevant tests exist, run them to confirm the current broken state.\n\n6. **Propose a fix:**\n   - Write the minimal code change that fixes the root cause.\n   - **Cross-check the changelog**: if a similar fix was attempted before and failed or recurred, choose a different approach or escalate to a broader refactor.\n   - If tests exist, update them. If not, write a test that would have caught this.\n   - Run the relevant tests to confirm the fix works.\n\n7. **Log the entry** by prepending a new entry to `docs\u002Fdebug-changelog.md` immediately below the header comment:\n\n   ```markdown\n   ## [YYYY-MM-DD] Short title of the problem\n\n   - **Symptom**: What was observed\n   - **Category**: regression | logic | config | dependency | types | infra | performance\n   - **Severity**: critical | high | medium | low\n   - **Environment**: branch, relevant commit(s)\n   - **Root Cause**: `file:line` — one-sentence explanation\n   - **Fix Applied**: What was changed (files, approach)\n   - **Tests**: Pass\u002Ffail status after fix\n   - **Related Entries**: Links to prior changelog entries if applicable, or \"None\"\n   - **Systemic?**: Yes\u002FNo — if yes, describe what recurring pattern this reveals\n   - **Notes**: Anything else useful for future debugging\n   ```\n\n8. **Report to the user** using the output format below.\n\n## Output\n\n### Problem\n- **Symptom**: What was reported\n- **New or recurring**: First occurrence \u002F Seen before on [date] — [what was tried]\n\n### Investigation\n- **Root Cause**: `file:line` — explanation\n- **Introduced by**: commit hash or \"pre-existing\"\n\n### Fix\n- **Approach**: What was changed and why this approach (especially if a different approach was tried before)\n- **Files modified**: List\n- **Test results**: Pass\u002Ffail\n\n### Changelog Updated\n- Entry added to `docs\u002Fdebug-changelog.md`\n- Related entries: [any cross-references]\n\n### Prevention\n- What test, lint rule, or check would have caught this earlier\n- If systemic: recommended follow-up action\n\n## Constraints\n- Always read the full debug changelog before proposing a fix — never skip the cross-check.\n- Do not refactor unrelated code while fixing the bug.\n- Do not guess — if you can't trace the root cause, say so and list what you've ruled out.\n- Always run tests after applying the fix.\n- Never duplicate a previously failed fix without a clear reason why it will work this time.\n- If the fix requires changes outside the current project (infra, env vars, external service), document what's needed in the changelog entry instead of attempting it.\n- Keep changelog entries concise but complete — they are the institutional memory for debugging.\n\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n",{"name":5,"type":19,"version":34,"description":7,"argument-hint":35},"v0.1","\u003Cerror message, bug description, or symptom>","master","96e2912af886dd1606b1b97df707715aef062b02","packs\u002Fcode-debug\u002Fclaude\u002Fdebug\u002Farchive\u002Fv0.1",0,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills","https:\u002F\u002Fagentic-skills-blush.vercel.app","https:\u002F\u002Fgithub.com\u002FGeorgeQLe","georgeqle.com","George Le is a futurist and serial tech entrepreneur who wants to work toward a world where humanity is free from robotic tasks.","2026-11-10 04:07:24",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add GeorgeQLe\u002Fagentic-skills --skill debug",{"tool":52,"command":53},"bunx","bunx skills add GeorgeQLe\u002Fagentic-skills --skill debug",{"tool":55,"command":56},"pnpm","pnpm dlx skills add GeorgeQLe\u002Fagentic-skills --skill debug","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-debug\u002Fclaude\u002Fdebug\u002Farchive\u002Fv0.1\u002FSKILL.md",true,[],[61,73,83,95,105,115],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":29},"01M6G0NJES15RJKZE6YZ0TSYGF","source-checkout-allowed","Valid source-checkout-only fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fsource-checkout-allowed\u002FSKILL.md",[],[68,69,70,71,25,72],"source checkout allowed","checkout","fixture","only","valid",{"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":29},"01M6G0NFZ3R1MNB1E3DVTM0WB7","deck-install-valid","Valid deck install fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fdeck-install\u002FSKILL.md",[],[80,81,82,72,70,25],"deck install valid","deck","install",{"skillNo":84,"name":85,"nameZh":6,"description":86,"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":29},"01M6G0ND3QZQC4MDZ9NVB97PT2","codex-pack-guard-valid","Valid Codex Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-pack-guard\u002FSKILL.md",[],[90,91,92,72,93,94,70,25],"codex pack guard valid","pack","guard","codex","availability",{"skillNo":96,"name":97,"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":29},"01M6G0NA9YB3NKGZKD3S96JMNB","codex-missing-skill-valid","Valid Codex missing skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-missing-skill-fallback\u002FSKILL.md",[],[102,103,72,93,25,104,70],"codex missing skill valid","missing","fallback",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":29},"01M6G0N7PC0EKFD40ZWQAXSAQ9","codex-base-skill-fallback-valid","Valid Codex base skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-base-skill-fallback\u002FSKILL.md",[],[72,93,104,112,113,114,25,70],"base skill","codex base skill fallback valid","base",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":29},"01M6G0N4VRR2YKZQ6N3Y6S2BQA","claude-pack-guard-valid","Valid Claude Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fclaude-pack-guard\u002FSKILL.md",[],[72,92,91,122,94,25,70],"claude pack guard valid"]