[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C2YMMWNY8MQSEXV3DS19RF":3,"skill-same:01M7C2YMMWNY8MQSEXV3DS19RF":54},{"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":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7C2YMMWNY8MQSEXV3DS19RF","diagnosing-bugs",null,"Diagnose a concrete failure or performance regression from code, reproduction, logs, or run artifacts.","PhmnPh\u002Fclaude-config","PhmnPh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206572176?v=4","01M7C2Y3QW8QEWQYD46EM0WMSV","01M7C2Y3RG0T6ZRNN1QWMMVMXQ",0,"MIT","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fclaude\u002Fskills\u002Fdiagnosing-bugs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fclaude\u002Fskills\u002Fdiagnosing-bugs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: diagnosing-bugs\ndescription: Diagnose a concrete failure or performance regression from code, reproduction, logs, or run artifacts.\n---\n\n# Diagnose from evidence\n\nEstablish expected behavior, the observed symptom, affected version and scope.\nInspect the relevant code and available evidence before choosing a diagnostic\nmethod. Separate observations from hypotheses and test the most informative\nprediction next; do not manufacture a fixed number of competing explanations.\n\n## Redact diagnostic evidence\n\nBefore displaying commands, outputs, or artifact excerpts, replace secrets with\n`\u003CREDACTED>`. Keep credentials in environment variables rather than embedding\ntheir values in commands or scripts; do not expose them through shell tracing.\nLogs and captured requests can contain auth headers, cookies, and tokens: show\nonly the lines needed to support the diagnosis, with sensitive values removed.\nIf evidence is missing, request a redacted artifact or a specific safe observation.\nIn the HITL script, `capture` echoes observations; signing in stays a user `step`.\n\n## Choose the available evidence path\n\n- **Local reproduction:** use the smallest relevant existing test or command.\n  Confirm it catches the reported symptom, then simplify the reproducer when\n  that helps distinguish causes. Avoid spending longer building a diagnostic\n  framework than investigating the actual failure.\n- **Remote or costly failure:** follow the terminal traceback, effective config,\n  run identifiers, and available artifacts. Form explicit hypotheses from this\n  evidence even if the original environment cannot be reproduced locally.\n  Identify the smallest remote check needed to distinguish them. Continue all\n  useful read-only investigation before reporting a need for access.\n- **Performance or intermittent failure:** record a baseline and repeat enough\n  to distinguish signal from noise within the task's budget. Preserve relevant\n  timing, seeds, versions, and environmental differences. Use profiling or query\n  plans where they answer the question better than added logs.\n\nChoose probes that discriminate between plausible causes. Change one causal\nfactor at a time when practical. A retry needs either new evidence or a defined\nmeasurement purpose; do not repeatedly trigger the same expensive run.\nProduction instrumentation, state changes, and paid compute follow the user's\nexisting authorization and the environment's rules.\n\n## Fix and verify\n\nWhen a fix is authorized, apply the smallest change supported by the evidence.\nFor code behavior, call the Skill tool with \"tdd\": demonstrate a relevant failing regression test before\nchanging the implementation, then run the affected checks. Choose the public\nboundary from the code; ask only if the intended behavior is unresolved. For a\nconfiguration or infrastructure cause, verify the effective setting or original\nfailure path rather than inventing an unrelated unit test.\n\nRerun the original scenario when feasible. Local tests can verify the code change\nwithout proving that a remote deployment or job has recovered. Report those two\nclaims separately. Remove diagnostic artifacts you added when no longer needed;\nretain useful evidence at the project's normal location.\n\nFinish with the supported cause or remaining hypotheses, changes made, observed\nverification, and the exact missing evidence if remote confirmation is pending.\nIf the request was diagnosis-only, deliver the diagnosis and proposed fix without\nmutating application code. Use [the HITL script](scripts\u002Fhitl-loop.template.sh)\nonly when a human must perform the reproducing interaction.\n","# Diagnose from evidence\n\nEstablish expected behavior, the observed symptom, affected version and scope.\nInspect the relevant code and available evidence before choosing a diagnostic\nmethod. Separate observations from hypotheses and test the most informative\nprediction next; do not manufacture a fixed number of competing explanations.\n\n## Redact diagnostic evidence\n\nBefore displaying commands, outputs, or artifact excerpts, replace secrets with\n`\u003CREDACTED>`. Keep credentials in environment variables rather than embedding\ntheir values in commands or scripts; do not expose them through shell tracing.\nLogs and captured requests can contain auth headers, cookies, and tokens: show\nonly the lines needed to support the diagnosis, with sensitive values removed.\nIf evidence is missing, request a redacted artifact or a specific safe observation.\nIn the HITL script, `capture` echoes observations; signing in stays a user `step`.\n\n## Choose the available evidence path\n\n- **Local reproduction:** use the smallest relevant existing test or command.\n  Confirm it catches the reported symptom, then simplify the reproducer when\n  that helps distinguish causes. Avoid spending longer building a diagnostic\n  framework than investigating the actual failure.\n- **Remote or costly failure:** follow the terminal traceback, effective config,\n  run identifiers, and available artifacts. Form explicit hypotheses from this\n  evidence even if the original environment cannot be reproduced locally.\n  Identify the smallest remote check needed to distinguish them. Continue all\n  useful read-only investigation before reporting a need for access.\n- **Performance or intermittent failure:** record a baseline and repeat enough\n  to distinguish signal from noise within the task's budget. Preserve relevant\n  timing, seeds, versions, and environmental differences. Use profiling or query\n  plans where they answer the question better than added logs.\n\nChoose probes that discriminate between plausible causes. Change one causal\nfactor at a time when practical. A retry needs either new evidence or a defined\nmeasurement purpose; do not repeatedly trigger the same expensive run.\nProduction instrumentation, state changes, and paid compute follow the user's\nexisting authorization and the environment's rules.\n\n## Fix and verify\n\nWhen a fix is authorized, apply the smallest change supported by the evidence.\nFor code behavior, call the Skill tool with \"tdd\": demonstrate a relevant failing regression test before\nchanging the implementation, then run the affected checks. Choose the public\nboundary from the code; ask only if the intended behavior is unresolved. For a\nconfiguration or infrastructure cause, verify the effective setting or original\nfailure path rather than inventing an unrelated unit test.\n\nRerun the original scenario when feasible. Local tests can verify the code change\nwithout proving that a remote deployment or job has recovered. Report those two\nclaims separately. Remove diagnostic artifacts you added when no longer needed;\nretain useful evidence at the project's normal location.\n\nFinish with the supported cause or remaining hypotheses, changes made, observed\nverification, and the exact missing evidence if remote confirmation is pending.\nIf the request was diagnosis-only, deliver the diagnosis and proposed fix without\nmutating application code. Use [the HITL script](scripts\u002Fhitl-loop.template.sh)\nonly when a human must perform the reproducing interaction.\n",{"name":5,"description":7},"main","2e487cdaeb989b9f77052c38e05a9a32a21d9f12","claude\u002Fskills\u002Fdiagnosing-bugs","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config","https:\u002F\u002Fgithub.com\u002FPhmnPh","2026-09-16 22:26:04",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add PhmnPh\u002Fclaude-config --skill diagnosing-bugs",{"tool":36,"command":37},"bunx","bunx skills add PhmnPh\u002Fclaude-config --skill diagnosing-bugs",{"tool":39,"command":40},"pnpm","pnpm dlx skills add PhmnPh\u002Fclaude-config --skill diagnosing-bugs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fclaude\u002Fskills\u002Fdiagnosing-bugs\u002FSKILL.md",true,[44,48],{"path":45,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":15},"LICENSE","许可证",1068,{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"scripts\u002Fhitl-loop.template.sh","SCRIPT","脚本",1316,"https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fclaude\u002Fskills\u002Fdiagnosing-bugs\u002Fscripts\u002Fhitl-loop.template.sh",[55,63,71,79,87,95],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7C33F4HEPNCDR2RNG62YZX4","wayfinder","Map unresolved decisions for a large initiative and work through their dependencies until a plan is actionable.","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fwayfinder\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7C338XN7376BKCGTKFBQ583","to-tickets","Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fto-tickets\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7C336B4KYZGGMKPNKEFPV00","to-spec","Turn an agreed feature or plan into a proportionate, testable specification at the requested destination.","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fto-spec\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fto-spec\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7C32Y5F6M2SQ675YK6679E9","tdd","Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions \"red-green-refactor\", or wants integration tests.","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Ftdd\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7C32TNN391FBBA7NQHDX3MQ","setup-matt-pocock-skills","Configure missing tracker and domain-document conventions for the Matt Pocock workflows in a repository.","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fsetup-matt-pocock-skills\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fsetup-matt-pocock-skills\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7C32R800TF424Y0SHWGR9BB","research","Investigate a specific technical question using primary sources and save a cited research note.","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fresearch\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FPhmnPh\u002Fclaude-config\u002Fblob\u002Fmain\u002Fcodex\u002Fskills\u002Fresearch\u002FSKILL.md",[],[]]