[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CNZ1KWW6XW8ZTRAZHYEC2D":3,"skill-same:01M7CNZ1KWW6XW8ZTRAZHYEC2D":50},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7CNZ1KWW6XW8ZTRAZHYEC2D","bug-fix",null,"Bug fixes. Use when the user asks to fix a bug, such as wrong behavior, a crash, a hang, or a failing test. For a slowdown, use perf-issue.","syanga\u002Fastack","syanga","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42523849?v=4","01M7CNYD2SW40HXC8R8CTVJPGE","Alan Yang","01M7CNYD3D0B0EYPA4AGXC1VC8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fbug-fix\u002FLICENSE-pstack","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fbug-fix\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bug-fix\ndescription: Bug fixes. Use when the user asks to fix a bug, such as wrong behavior, a crash, a hang, or a failing test. For a slowdown, use perf-issue.\n---\n\n# Bug fix\n\n**You own this task. Plan, review, verify.** Review the findings and diff yourself.\n\nBe scientific. Tie each fix to runtime evidence. When evidence refutes a hypothesis, remove the experimental changes it motivated while preserving unrelated work. Ship the smallest change the evidence justifies.\n\n0. Read [scale the workflow](..\u002Fprinciples\u002Fscale-the-workflow.md) before anything else in this skill.\n1. Reproduce the user's failure yourself through the affected UI, CLI, or API in an authorized environment. Use [diagnosing-bugs](..\u002Fdiagnosing-bugs\u002FSKILL.md) phases 1 through 4 for the feedback loop, minimization, and cause. This workflow owns implementation and delivery below. Use the available control tools. If access prevents reproduction, state what you tried and the specific missing access or artifact. Continue useful investigation with unverified hypotheses clearly labeled.\n2. Narrow the cause with the diagnosis loop. Use [how](..\u002Fhow\u002FSKILL.md) for the affected subsystem, unless you already hold a traced model of it. For a regression, use [why](..\u002Fwhy\u002FSKILL.md) for its history. When how and why both run, run them in parallel. Each experiment should distinguish the remaining hypotheses. Confirm the mechanism with runtime evidence before designing a fix.\n3. Plan the fix. If it crosses a function boundary, read [architect](..\u002Farchitect\u002FSKILL.md) first. Before implementation, follow [tdd's bug-fix workflow](..\u002Ftdd\u002FBUG-FIX.md) to establish failing-before evidence at a practical test boundary, or explain the alternative check. When you delegate the fix, give the worker the scope, confirmed mechanism, reproduction command, and acceptance criteria. Review the diff.\n4. Verify on the same UI, CLI, or API. Rerun the original reproduction, the regression check, and relevant adjacent checks. \"Inconclusive\" or a check of a different interface is not a pass. Apply diagnosing-bugs' cleanup and intermittent-failure criteria.\n5. Keep the failing-before and passing-after evidence. Follow [sequence-verifiable-units](..\u002Fprinciples\u002Fsequence-verifiable-units.md) for ordered commits when the work has several units.\n6. End with [review-pr](..\u002Freview-pr\u002FSKILL.md) in fix-and-review mode against the revision the fix started from. Run it for every fix, however small. Its reviewers are independent of you, so reviewing the diff yourself does not replace it. When the task's delivery scope includes a PR, use [open-pr](..\u002Fopen-pr\u002FSKILL.md) instead, which ends with review-pr. Merging is a separate action.\n\nFor a unit in a multi-phase plan, follow [the shared execution-state convention](..\u002Forchestrate\u002FSTATE.md). Reuse its store. For a session transfer, read [handoff](..\u002Fhandoff\u002FSKILL.md). Include the reproduction command, hypotheses ruled out, current instrumentation, and evidence paths.\n\n**Reply:** what was broken, root cause, fix, and verification. Include redacted failing-before and passing-after output, or state which evidence is unavailable.\n","# Bug fix\n\n**You own this task. Plan, review, verify.** Review the findings and diff yourself.\n\nBe scientific. Tie each fix to runtime evidence. When evidence refutes a hypothesis, remove the experimental changes it motivated while preserving unrelated work. Ship the smallest change the evidence justifies.\n\n0. Read [scale the workflow](..\u002Fprinciples\u002Fscale-the-workflow.md) before anything else in this skill.\n1. Reproduce the user's failure yourself through the affected UI, CLI, or API in an authorized environment. Use [diagnosing-bugs](..\u002Fdiagnosing-bugs\u002FSKILL.md) phases 1 through 4 for the feedback loop, minimization, and cause. This workflow owns implementation and delivery below. Use the available control tools. If access prevents reproduction, state what you tried and the specific missing access or artifact. Continue useful investigation with unverified hypotheses clearly labeled.\n2. Narrow the cause with the diagnosis loop. Use [how](..\u002Fhow\u002FSKILL.md) for the affected subsystem, unless you already hold a traced model of it. For a regression, use [why](..\u002Fwhy\u002FSKILL.md) for its history. When how and why both run, run them in parallel. Each experiment should distinguish the remaining hypotheses. Confirm the mechanism with runtime evidence before designing a fix.\n3. Plan the fix. If it crosses a function boundary, read [architect](..\u002Farchitect\u002FSKILL.md) first. Before implementation, follow [tdd's bug-fix workflow](..\u002Ftdd\u002FBUG-FIX.md) to establish failing-before evidence at a practical test boundary, or explain the alternative check. When you delegate the fix, give the worker the scope, confirmed mechanism, reproduction command, and acceptance criteria. Review the diff.\n4. Verify on the same UI, CLI, or API. Rerun the original reproduction, the regression check, and relevant adjacent checks. \"Inconclusive\" or a check of a different interface is not a pass. Apply diagnosing-bugs' cleanup and intermittent-failure criteria.\n5. Keep the failing-before and passing-after evidence. Follow [sequence-verifiable-units](..\u002Fprinciples\u002Fsequence-verifiable-units.md) for ordered commits when the work has several units.\n6. End with [review-pr](..\u002Freview-pr\u002FSKILL.md) in fix-and-review mode against the revision the fix started from. Run it for every fix, however small. Its reviewers are independent of you, so reviewing the diff yourself does not replace it. When the task's delivery scope includes a PR, use [open-pr](..\u002Fopen-pr\u002FSKILL.md) instead, which ends with review-pr. Merging is a separate action.\n\nFor a unit in a multi-phase plan, follow [the shared execution-state convention](..\u002Forchestrate\u002FSTATE.md). Reuse its store. For a session transfer, read [handoff](..\u002Fhandoff\u002FSKILL.md). Include the reproduction command, hypotheses ruled out, current instrumentation, and evidence paths.\n\n**Reply:** what was broken, root cause, fix, and verification. Include redacted failing-before and passing-after output, or state which evidence is unavailable.\n",{"name":5,"description":7},"main","ec1ea5dc71f382a2a09360a736d31b7294e5ecc2","skills\u002Fbug-fix","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack","https:\u002F\u002Fgithub.com\u002Fsyanga","2026-11-14 17:01:29",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add syanga\u002Fastack --skill bug-fix",{"tool":37,"command":38},"bunx","bunx skills add syanga\u002Fastack --skill bug-fix",{"tool":40,"command":41},"pnpm","pnpm dlx skills add syanga\u002Fastack --skill bug-fix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fbug-fix\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":16},"LICENSE-pstack","LICENSE","许可证",1067,[51,58,66,74,82,90],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":20},"01M7CP39S6D7662SFCC9K286T7","replace-with-skill-name","Replace with when this skill should be reached.","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":20},"01M7CP37YN62Z7VR6P2J7918ZA","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":20},"01M7CP353RP2S1M1ZMHFZ0F610","worktree-cleanup","Worktree cleanup. Use for cleanup, resource audits, close this lane, or close out.","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fworktree-cleanup\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fworktree-cleanup\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":20},"01M7CP32DSVPRTBAFHF1P6NZ1X","wizard","Generate an interactive Bash wizard that walks a human through steps only they can perform. Use when provisioning, credential setup, or a one-off migration needs such steps.","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FLICENSE-mattpocock","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":20},"01M7CP2YE3WABQE9MNY8RQD6MX","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Returns a cited read on decisions and tradeoffs.","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwhy\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":20},"01M7CP2VP8JA1HYDE8TJX2Y494","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwayfinder\u002FLICENSE-mattpocock","https:\u002F\u002Fgithub.com\u002Fsyanga\u002Fastack\u002Fblob\u002Fmain\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[]]