[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CPA7H2Y104036CD9XKEQCX":3,"skill-same:01M7CPA7H2Y104036CD9XKEQCX":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CPA7H2Y104036CD9XKEQCX","diagnose",null,"markosAMO\u002FAlfred","markosAMO","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F51459843?v=4","01M7CP9J22V3QPXPRGE3MJZ091","Markos Moscoso Ocampo","01M7CP9J33G8P7T5TBN51PST9G",0,"MIT","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fdiagnose\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: diagnose\nmode: interactive\n---\n\n# diagnose\n\nFind why something fails. Not what fails, and not how to fix it.\n\nThis phase writes no fix. Understanding the cause and choosing the remedy are separate, and\nmerging them produces a change that makes the symptom disappear.\n\n## Materialise the inputs first\n\nA defect usually arrives with material attached: a ticket, an error report, a log, a\nconversation. Read each one once and write it to `.alfred\u002Fchanges\u002F{change}\u002Finputs\u002F` in full,\nper `skills\u002F_shared\u002Fexternal-inputs.md`.\n\nLogs and stack traces are materialised verbatim. A summarised trace is a trace with the\nline that mattered removed.\n\n## Search memory first\n\n```\nrecall each type the workflow declares, with the symptom in the terms someone would search for\n```\n\nPostmortems are written by `archive` for exactly this moment. A class of failure is\ndiagnosed once: a timeout in payments and a timeout in notifications caused by the same\nmissing backoff is one investigation, not two.\n\nA match is a lead, not a conclusion. It is confirmed against this failure before being\nacted on.\n\n## Reproduce\n\nThis phase is `interactive` because reproduction usually needs the user.\n\n```\nask(\"How do you reproduce it?\",\n    [\"exact steps\", \"a failing request or payload\", \"when it started\", \"who it affects\"])\n```\n\nA failure that cannot be reproduced cannot be confirmed fixed. Where reproduction is\nimpossible, say so and record what evidence exists instead: logs, traces, reports. A\ndiagnosis built on an unreproduced failure is a hypothesis, and is labelled as one.\n\nWrite the failing test before the cause is known, when possible. It is the reproduction,\nand `apply` will require it anyway per `skills\u002F_shared\u002Ftesting-protocol.md`.\n\n## Root cause, not symptom\n\nKeep asking why until the answer stops being a consequence of something else.\n\n```\nsymptom        the payment endpoint times out\nbecause        the retry loop never exits\nbecause        there is no backoff and no attempt limit\nbecause        the retry helper was written for a service that could not fail\nroot cause     the retry helper has no termination condition\n```\n\nStopping at the first line produces a timeout raise. Stopping at the last one fixes every\ncaller of that helper.\n\nWhere a root cause would take longer to reach than the failure allows, record the symptom\nfix as deliberate, with the cause still open. A workaround recorded as a workaround can be\nrevisited. One recorded as a fix cannot.\n\n## The judgement this phase makes\n\n```\ndoes the correct behaviour differ from what the master specs describe?\n  yes  -> the fix changes behaviour, and that is a requirement\n  no   -> the fix makes the code do what it already claimed\n```\n\nBehaviour was always meant to work this way and did not: the code was wrong, the\nspecification was right, nothing to write. Behaviour is now meant to differ: that is a\nrequirement, and it is written down.\n\nThis phase answers the question and records the answer. Where each answer goes next is the\nrunning workflow's routing, written in its rules file; the decision is stated and confirmed\nrather than applied silently, per `skills\u002F_shared\u002Frouting.md`.\n\n## What it writes\n\n```markdown\n## Symptom\n## Reproduction\n## Investigation\n## Root cause\n## Affected scope\n## Correct behaviour\n## Confidence\n```\n\n`Affected scope` names everything else reaching the same cause. A root cause found in one\ncaller usually has others, and they fail next week.\n\n`Correct behaviour` is what should happen instead, stated concretely enough for whichever\nphase the route reaches next to work from.\n\n`Confidence` is `confirmed` when reproduced and proven, `probable` when the evidence is\nconsistent but unreproduced. It carries into the postmortem, so a fix that was a good guess\nis not remembered as a certainty.\n\n## Completion\n\nFollow `skills\u002F_shared\u002Fphase-protocol.md`: write the artifact with its `## Handoff`, update state with the chosen route, notify `phase_completed`.\n","# diagnose\n\nFind why something fails. Not what fails, and not how to fix it.\n\nThis phase writes no fix. Understanding the cause and choosing the remedy are separate, and\nmerging them produces a change that makes the symptom disappear.\n\n## Materialise the inputs first\n\nA defect usually arrives with material attached: a ticket, an error report, a log, a\nconversation. Read each one once and write it to `.alfred\u002Fchanges\u002F{change}\u002Finputs\u002F` in full,\nper `skills\u002F_shared\u002Fexternal-inputs.md`.\n\nLogs and stack traces are materialised verbatim. A summarised trace is a trace with the\nline that mattered removed.\n\n## Search memory first\n\n```\nrecall each type the workflow declares, with the symptom in the terms someone would search for\n```\n\nPostmortems are written by `archive` for exactly this moment. A class of failure is\ndiagnosed once: a timeout in payments and a timeout in notifications caused by the same\nmissing backoff is one investigation, not two.\n\nA match is a lead, not a conclusion. It is confirmed against this failure before being\nacted on.\n\n## Reproduce\n\nThis phase is `interactive` because reproduction usually needs the user.\n\n```\nask(\"How do you reproduce it?\",\n    [\"exact steps\", \"a failing request or payload\", \"when it started\", \"who it affects\"])\n```\n\nA failure that cannot be reproduced cannot be confirmed fixed. Where reproduction is\nimpossible, say so and record what evidence exists instead: logs, traces, reports. A\ndiagnosis built on an unreproduced failure is a hypothesis, and is labelled as one.\n\nWrite the failing test before the cause is known, when possible. It is the reproduction,\nand `apply` will require it anyway per `skills\u002F_shared\u002Ftesting-protocol.md`.\n\n## Root cause, not symptom\n\nKeep asking why until the answer stops being a consequence of something else.\n\n```\nsymptom        the payment endpoint times out\nbecause        the retry loop never exits\nbecause        there is no backoff and no attempt limit\nbecause        the retry helper was written for a service that could not fail\nroot cause     the retry helper has no termination condition\n```\n\nStopping at the first line produces a timeout raise. Stopping at the last one fixes every\ncaller of that helper.\n\nWhere a root cause would take longer to reach than the failure allows, record the symptom\nfix as deliberate, with the cause still open. A workaround recorded as a workaround can be\nrevisited. One recorded as a fix cannot.\n\n## The judgement this phase makes\n\n```\ndoes the correct behaviour differ from what the master specs describe?\n  yes  -> the fix changes behaviour, and that is a requirement\n  no   -> the fix makes the code do what it already claimed\n```\n\nBehaviour was always meant to work this way and did not: the code was wrong, the\nspecification was right, nothing to write. Behaviour is now meant to differ: that is a\nrequirement, and it is written down.\n\nThis phase answers the question and records the answer. Where each answer goes next is the\nrunning workflow's routing, written in its rules file; the decision is stated and confirmed\nrather than applied silently, per `skills\u002F_shared\u002Frouting.md`.\n\n## What it writes\n\n```markdown\n## Symptom\n## Reproduction\n## Investigation\n## Root cause\n## Affected scope\n## Correct behaviour\n## Confidence\n```\n\n`Affected scope` names everything else reaching the same cause. A root cause found in one\ncaller usually has others, and they fail next week.\n\n`Correct behaviour` is what should happen instead, stated concretely enough for whichever\nphase the route reaches next to work from.\n\n`Confidence` is `confirmed` when reproduced and proven, `probable` when the evidence is\nconsistent but unreproduced. It carries into the postmortem, so a fix that was a good guess\nis not remembered as a certainty.\n\n## Completion\n\nFollow `skills\u002F_shared\u002Fphase-protocol.md`: write the artifact with its `## Handoff`, update state with the chosen route, notify `phase_completed`.\n",{"mode":23,"name":5},"interactive","main","e68ffe68ac604c91a9738f0ce2acc1c7585f88f2","skills\u002Fdiagnose","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred","https:\u002F\u002Fgithub.com\u002FmarkosAMO","marmoscoso1@gmail.com","Dev","2026-10-13 14:30:03",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add markosAMO\u002FAlfred --skill diagnose",{"tool":38,"command":39},"bunx","bunx skills add markosAMO\u002FAlfred --skill diagnose",{"tool":41,"command":42},"pnpm","pnpm dlx skills add markosAMO\u002FAlfred --skill diagnose","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fdiagnose\u002FSKILL.md",true,[],[47,53,59,65,71,77],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7CPAPB4796E8W31MQFMTC9N","{phase=null}","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Ftemplates\u002Fworkflow\u002Fskills\u002Fexample\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7CPAMS85JH7H8X17G9PM3YB","verify","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7CPAK5CR387ZSMVAH47CRW4","tasks","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Ftasks\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7CPAHZ9ZD1DNM3S5PS2RS9E","spec","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fspec\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7CPAGF0MDNQKSCE61F5QJ6C","review","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7CPAF9ETJMQVXT4Q4TJQ2HN","research","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002FSKILL.md",[],[]]