[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CPA61CKTH5BY0BC1HA07X1":3,"skill-same:01M7CPA61CKTH5BY0BC1HA07X1":48},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7CPA61CKTH5BY0BC1HA07X1","design",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\u002Fdesign\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: design\nmode: interactive\nskippable: false\nnext: [tasks]\n---\n\n# design\n\nDecide how the specification will be satisfied. One approach, chosen deliberately, with the\nalternatives that were rejected recorded next to it.\n\n`spec` says what the system must do. This phase says how this codebase will do it. It\nwrites no code.\n\n## Before deciding\n\n```\nthe spec artifact, or diagnose when the change is a bug\nthe refine artifact          for Architectural direction, when refine ran\narchitecture, conventions\nrecall                       the types the workflow declares, for decisions already made in this area\n```\n\nThe architecture document constrains this phase. A design that contradicts it is either\nwrong or is proposing to change the architecture, and those are different conversations.\nProposing the second one is legitimate; doing it without saying so is not.\n\n## Inherited direction\n\n`Architectural direction` in the proposal is what the user already decided during `refine`.\nIt enters this phase the same way `architecture.md` does: as given.\n\nIt is not reopened. A user who settled an approach in the interview and is asked about it\nagain learns that answering carefully changes nothing, and starts answering carelessly.\n\nWhere an inherited direction turns out to conflict with the specification or with\n`architecture.md`, say so and ask. Stating the conflict is the job; resolving it silently in\neither direction is not.\n\n```\nask(\"You chose events over polling during refine, but the spec requires a\n     synchronous confirmation to the caller. Which one gives?\",\n    [\"keep events, confirm asynchronously\", \"synchronous call\", \"other\"])\n```\n\n## Two scopes\n\nAt workspace level, this phase decides **which repository does what**, and produces the\nallocation that workspace `tasks` distributes. It does not decide implementation inside any\nrepository.\n\nAt repository level, it decides **how this repository implements its part**.\n\nBoth exist because they answer different questions. See\n`skills\u002F_shared\u002Fworkspace-protocol.md`.\n\n## Interaction\n\nThis phase runs `interactive`, and asks only when an answer changes the design.\n\n```\nask when   the specification admits two approaches with materially different consequences\n           an unrecorded architectural decision is required\n           a trade-off costs something the user should choose to pay\n\ndo not ask when   architecture.md or conventions already answer it\n                  one approach is clearly better and the reason can be written down\n                  the choice is reversible and cheap\n```\n\nAsking about a decision already recorded teaches the user that the documents are not read.\nDeciding silently on something expensive to reverse hands them a consequence they never\nagreed to.\n\n## What it writes\n\n```markdown\n## Approach\n## Components affected\n## Interfaces\n## Data\n## Trade-offs considered\n## Risks\n## Out of scope\n```\n\n`Approach` is the chosen design in prose, stated so a reader can tell whether it satisfies\neach requirement.\n\n`Interfaces` names the contracts that change or appear: signatures, endpoints, events,\nmessage shapes. These are what other tasks depend on, so `tasks` reads this section to\norder the work.\n\n`Trade-offs considered` records what was rejected and why. Without it the next change\nreopens a settled decision, because nothing recorded that it was settled. One line per\nalternative is enough.\n\n`Out of scope` names what this design deliberately does not solve, so `review` does not\nreport it as missing.\n\n## Decisions that outlive the change\n\nA decision that will constrain future work does not belong here. It belongs in\n`architecture.md`, and this phase proposes the addition.\n\n```\n\"use Postgres for this feature\"        this document\n\"all persistence goes through Postgres\" architecture.md\n```\n\nBuried in a change document, a durable decision is invisible to every future change and\ngets re-decided differently.\n\n## What this phase does not do\n\nNo code, no file contents, no task breakdown. Naming a file that will be created is fine;\nwriting what goes in it is `apply`.\n\nNo new requirements. Behaviour that the specification does not describe is out of scope,\nand discovering that the specification is incomplete escalates to `spec` rather than being\nfilled in here.\n\n## Completion\n\nFollow `skills\u002F_shared\u002Fphase-protocol.md`: write the artifact with its `## Handoff`, update state, notify `phase_completed`.\n","# design\n\nDecide how the specification will be satisfied. One approach, chosen deliberately, with the\nalternatives that were rejected recorded next to it.\n\n`spec` says what the system must do. This phase says how this codebase will do it. It\nwrites no code.\n\n## Before deciding\n\n```\nthe spec artifact, or diagnose when the change is a bug\nthe refine artifact          for Architectural direction, when refine ran\narchitecture, conventions\nrecall                       the types the workflow declares, for decisions already made in this area\n```\n\nThe architecture document constrains this phase. A design that contradicts it is either\nwrong or is proposing to change the architecture, and those are different conversations.\nProposing the second one is legitimate; doing it without saying so is not.\n\n## Inherited direction\n\n`Architectural direction` in the proposal is what the user already decided during `refine`.\nIt enters this phase the same way `architecture.md` does: as given.\n\nIt is not reopened. A user who settled an approach in the interview and is asked about it\nagain learns that answering carefully changes nothing, and starts answering carelessly.\n\nWhere an inherited direction turns out to conflict with the specification or with\n`architecture.md`, say so and ask. Stating the conflict is the job; resolving it silently in\neither direction is not.\n\n```\nask(\"You chose events over polling during refine, but the spec requires a\n     synchronous confirmation to the caller. Which one gives?\",\n    [\"keep events, confirm asynchronously\", \"synchronous call\", \"other\"])\n```\n\n## Two scopes\n\nAt workspace level, this phase decides **which repository does what**, and produces the\nallocation that workspace `tasks` distributes. It does not decide implementation inside any\nrepository.\n\nAt repository level, it decides **how this repository implements its part**.\n\nBoth exist because they answer different questions. See\n`skills\u002F_shared\u002Fworkspace-protocol.md`.\n\n## Interaction\n\nThis phase runs `interactive`, and asks only when an answer changes the design.\n\n```\nask when   the specification admits two approaches with materially different consequences\n           an unrecorded architectural decision is required\n           a trade-off costs something the user should choose to pay\n\ndo not ask when   architecture.md or conventions already answer it\n                  one approach is clearly better and the reason can be written down\n                  the choice is reversible and cheap\n```\n\nAsking about a decision already recorded teaches the user that the documents are not read.\nDeciding silently on something expensive to reverse hands them a consequence they never\nagreed to.\n\n## What it writes\n\n```markdown\n## Approach\n## Components affected\n## Interfaces\n## Data\n## Trade-offs considered\n## Risks\n## Out of scope\n```\n\n`Approach` is the chosen design in prose, stated so a reader can tell whether it satisfies\neach requirement.\n\n`Interfaces` names the contracts that change or appear: signatures, endpoints, events,\nmessage shapes. These are what other tasks depend on, so `tasks` reads this section to\norder the work.\n\n`Trade-offs considered` records what was rejected and why. Without it the next change\nreopens a settled decision, because nothing recorded that it was settled. One line per\nalternative is enough.\n\n`Out of scope` names what this design deliberately does not solve, so `review` does not\nreport it as missing.\n\n## Decisions that outlive the change\n\nA decision that will constrain future work does not belong here. It belongs in\n`architecture.md`, and this phase proposes the addition.\n\n```\n\"use Postgres for this feature\"        this document\n\"all persistence goes through Postgres\" architecture.md\n```\n\nBuried in a change document, a durable decision is invisible to every future change and\ngets re-decided differently.\n\n## What this phase does not do\n\nNo code, no file contents, no task breakdown. Naming a file that will be created is fine;\nwriting what goes in it is `apply`.\n\nNo new requirements. Behaviour that the specification does not describe is out of scope,\nand discovering that the specification is incomplete escalates to `spec` rather than being\nfilled in here.\n\n## Completion\n\nFollow `skills\u002F_shared\u002Fphase-protocol.md`: write the artifact with its `## Handoff`, update state, notify `phase_completed`.\n",{"mode":23,"name":5,"next":24,"skippable":19},"interactive",[25],"tasks","main","e68ffe68ac604c91a9738f0ce2acc1c7585f88f2","skills\u002Fdesign","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":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add markosAMO\u002FAlfred --skill design",{"tool":40,"command":41},"bunx","bunx skills add markosAMO\u002FAlfred --skill design",{"tool":43,"command":44},"pnpm","pnpm dlx skills add markosAMO\u002FAlfred --skill design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fdesign\u002FSKILL.md",true,[],[49,55,61,66,72,78],{"skillNo":50,"name":51,"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":52,"categories":53,"keywords":54,"publishedAt":18},"01M7CPAPB4796E8W31MQFMTC9N","{phase=null}","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Ftemplates\u002Fworkflow\u002Fskills\u002Fexample\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"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":58,"categories":59,"keywords":60,"publishedAt":18},"01M7CPAMS85JH7H8X17G9PM3YB","verify","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":62,"name":25,"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":63,"categories":64,"keywords":65,"publishedAt":18},"01M7CPAK5CR387ZSMVAH47CRW4","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Ftasks\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"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":69,"categories":70,"keywords":71,"publishedAt":18},"01M7CPAHZ9ZD1DNM3S5PS2RS9E","spec","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fspec\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"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":75,"categories":76,"keywords":77,"publishedAt":18},"01M7CPAGF0MDNQKSCE61F5QJ6C","review","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"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":81,"categories":82,"keywords":83,"publishedAt":18},"01M7CPAF9ETJMQVXT4Q4TJQ2HN","research","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002FSKILL.md",[],[]]