[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CPA2G5RB0VFAKD45YC8N87":3,"skill-same:01M7CPA2G5RB0VFAKD45YC8N87":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},"01M7CPA2G5RB0VFAKD45YC8N87","apply",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\u002Fapply\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: apply\nmode: confirm\nskippable: false\nnext: [verify]\n---\n\n# apply\n\nExecute the task list. One subagent per task, each with an empty context.\n\nThis phase dispatches and records. The code is written by the subagents, and this phase\ndoes not write any of it itself.\n\n## Before dispatching\n\n```\nrecall each type the workflow declares, for the areas the task list touches\n```\n\nPast `should fix` findings are passed to the subagent whose task touches the file they are\nabout, as context rather than as work: a task does what its task says. A finding that is\ncheap to honour while already editing that file is honoured; anything larger stays a finding\nand is reported, not silently absorbed into an unrelated change.\n\nThis is the other half of what `archive` writes those findings for. `review` reads them to\nstop repeating itself; this phase reads them because it is the one that can actually fix\nthem, and the moment it is holding the file open is the only cheap moment there is.\n\n## Confirmation\n\nThis phase runs `confirm`. Before dispatching anything:\n\n```\nconfirm(\"Implement 8 tasks in login-google\", \"strict TDD, 3 can run in parallel\")\n```\n\nIt is the first phase that changes the repository, and the last point where the plan can be\nrejected while rejecting it is still free.\n\n## Dispatch\n\nEach subagent receives addresses, per `skills\u002F_shared\u002Fsubagent-protocol.md`.\n\n```\nSkill:       .alfred\u002Fskills\u002Fapply\u002FSKILL.md\nTask:        3 of the tasks artifact\nSpec:        the spec artifact\nDesign:      the design artifact\nConventions: docs\u002Fcode_conventions.md\n```\n\nThe subagent reads what its task needs. It does not receive the documents inline.\n\n## Running in parallel\n\nTwo tasks may run at the same time when **both** hold:\n\n```\nno dependency between them, directly or through another task\nno file in common, per the files each declares\n```\n\nDependencies alone are not enough. Two independent tasks that both edit `config\u002Froutes.rb`\nare two subagents writing the same file in the same working tree, and the second write\nsilently discards the first. Subagents share a checkout; they do not share a lock.\n\nFiles that almost every task touches are exclusive by nature and worth naming as such:\nroute tables, schema dumps, dependency manifests, generated configuration, locale files.\nA task touching one of those runs alone.\n\n`phases.apply.max_parallel` caps how many run at once. The limit is about review and\nrecovery, not machine capacity: when six subagents fail together, finding which one broke\nwhat costs more than the time saved.\n\nWhen in doubt, run sequentially. A wrong parallel decision costs a silent overwrite that\n`verify` may not catch; a wrong sequential decision costs time.\n\n## Detecting a collision\n\nEach subagent reports `files_changed`. If two tasks that ran together report the same file,\nthe run stops and reports it, even when tests pass.\n\n`tasks` predicted the file lists; the reports are what actually happened. A file that\nappears in a report and not in the declaration is a prediction that was wrong, and the next\nrun of that phase treats it as exclusive.\n\nFiles shared with *another change* are not this rule. Subagents of different changes write\ndifferent checkouts, so nothing is overwritten; what collides is the branches, later. A task\nreaching a file another change owns stops and reports, and which files those are is known\nbefore dispatch, per `skills\u002F_shared\u002Fworktree-protocol.md`.\n\n## Writing code\n\nFollow `docs\u002Fcode_conventions.md` for how this repository writes code, and\n`skills\u002F_shared\u002Ftesting-protocol.md` for what deserves a test.\n\nWith `testing.strategy: strict_tdd`, for each task:\n\n```\n1  write the test for each scenario the task claims\n2  run it, and confirm it fails\n3  write the smallest code that satisfies it\n4  run it, and confirm it passes\n5  refactor with the test still passing\n```\n\nStep 2 is the one that carries the value. A test written after the code passes because it\ndescribes what the code does, which is not the same as describing what the specification\nasked for. A test that passes before the code exists is testing nothing, and finding that\nout at step 2 costs a minute.\n\nWith `after`, tests follow the code for the same scenarios. With `none`, no tests are\nwritten and `verify` will report the coverage gap rather than pass silently.\n\n## Scope\n\nA subagent implements its task and nothing else. Code it notices that is wrong but unrelated\nis reported in its summary, never fixed.\n\nAn unrelated fix inside a feature commit is invisible in review, unreviewable on its own,\nand impossible to revert without reverting the feature.\n\n## Returning\n\n```yaml\ntask: 3\nstatus: completed | failed | blocked\nfiles_changed: [app\u002Fcontrollers\u002Fauth_controller.rb, spec\u002Fcontrollers\u002Fauth_spec.rb]\nsummary: one paragraph\nreason: only when failed or blocked\n```\n\n`files_changed` is what `archive` stages. A file changed and not reported will not be\ncommitted.\n\n## Failure\n\nA failed task stops the tasks that depend on it, which are marked `blocked` and never\nattempted. Independent tasks continue: stopping everything because one task failed discards\nwork that was going to succeed.\n\nState records which task failed and why. `continue` resumes from it rather than restarting\nthe phase.\n\nA task that fails twice for the same reason stops the phase and raises `error`. Retrying a\nthird time produces a third variation of the same misunderstanding.\n\n## Completion\n\nFollow `skills\u002F_shared\u002Fphase-protocol.md`: write the artifact with its `## Handoff`, update\nstate with per-task results, notify `phase_completed`.\n\nThe artifact is what the phases that judge the work start from, so they do not reconstruct\nit from the diff:\n\n```markdown\n## Tasks\n3  completed  app\u002Fauth\u002Fcallback.rb, spec\u002Fauth\u002Fcallback_spec.rb\n4  blocked    by 3's interface change; reason in state\n\n## Commands\nbundle exec rspec spec\u002Fauth      47 examples, 0 failures\nbundle exec rubocop app\u002Fauth     no offenses\n\n## Handoff\n```\n\nPer task, what it changed; the commands as run and what they printed; and in the handoff,\nthe places a reviewer should look first and any decision a subagent made that the design\ndid not.\n\nThis phase does not commit. The commit happens in `archive`, once `verify` and `review`\nhave passed, per `git.granularity: per_feature`.\n\n```\n8 tasks: 8 completed, 0 failed. 14 files changed.\n```\n","# apply\n\nExecute the task list. One subagent per task, each with an empty context.\n\nThis phase dispatches and records. The code is written by the subagents, and this phase\ndoes not write any of it itself.\n\n## Before dispatching\n\n```\nrecall each type the workflow declares, for the areas the task list touches\n```\n\nPast `should fix` findings are passed to the subagent whose task touches the file they are\nabout, as context rather than as work: a task does what its task says. A finding that is\ncheap to honour while already editing that file is honoured; anything larger stays a finding\nand is reported, not silently absorbed into an unrelated change.\n\nThis is the other half of what `archive` writes those findings for. `review` reads them to\nstop repeating itself; this phase reads them because it is the one that can actually fix\nthem, and the moment it is holding the file open is the only cheap moment there is.\n\n## Confirmation\n\nThis phase runs `confirm`. Before dispatching anything:\n\n```\nconfirm(\"Implement 8 tasks in login-google\", \"strict TDD, 3 can run in parallel\")\n```\n\nIt is the first phase that changes the repository, and the last point where the plan can be\nrejected while rejecting it is still free.\n\n## Dispatch\n\nEach subagent receives addresses, per `skills\u002F_shared\u002Fsubagent-protocol.md`.\n\n```\nSkill:       .alfred\u002Fskills\u002Fapply\u002FSKILL.md\nTask:        3 of the tasks artifact\nSpec:        the spec artifact\nDesign:      the design artifact\nConventions: docs\u002Fcode_conventions.md\n```\n\nThe subagent reads what its task needs. It does not receive the documents inline.\n\n## Running in parallel\n\nTwo tasks may run at the same time when **both** hold:\n\n```\nno dependency between them, directly or through another task\nno file in common, per the files each declares\n```\n\nDependencies alone are not enough. Two independent tasks that both edit `config\u002Froutes.rb`\nare two subagents writing the same file in the same working tree, and the second write\nsilently discards the first. Subagents share a checkout; they do not share a lock.\n\nFiles that almost every task touches are exclusive by nature and worth naming as such:\nroute tables, schema dumps, dependency manifests, generated configuration, locale files.\nA task touching one of those runs alone.\n\n`phases.apply.max_parallel` caps how many run at once. The limit is about review and\nrecovery, not machine capacity: when six subagents fail together, finding which one broke\nwhat costs more than the time saved.\n\nWhen in doubt, run sequentially. A wrong parallel decision costs a silent overwrite that\n`verify` may not catch; a wrong sequential decision costs time.\n\n## Detecting a collision\n\nEach subagent reports `files_changed`. If two tasks that ran together report the same file,\nthe run stops and reports it, even when tests pass.\n\n`tasks` predicted the file lists; the reports are what actually happened. A file that\nappears in a report and not in the declaration is a prediction that was wrong, and the next\nrun of that phase treats it as exclusive.\n\nFiles shared with *another change* are not this rule. Subagents of different changes write\ndifferent checkouts, so nothing is overwritten; what collides is the branches, later. A task\nreaching a file another change owns stops and reports, and which files those are is known\nbefore dispatch, per `skills\u002F_shared\u002Fworktree-protocol.md`.\n\n## Writing code\n\nFollow `docs\u002Fcode_conventions.md` for how this repository writes code, and\n`skills\u002F_shared\u002Ftesting-protocol.md` for what deserves a test.\n\nWith `testing.strategy: strict_tdd`, for each task:\n\n```\n1  write the test for each scenario the task claims\n2  run it, and confirm it fails\n3  write the smallest code that satisfies it\n4  run it, and confirm it passes\n5  refactor with the test still passing\n```\n\nStep 2 is the one that carries the value. A test written after the code passes because it\ndescribes what the code does, which is not the same as describing what the specification\nasked for. A test that passes before the code exists is testing nothing, and finding that\nout at step 2 costs a minute.\n\nWith `after`, tests follow the code for the same scenarios. With `none`, no tests are\nwritten and `verify` will report the coverage gap rather than pass silently.\n\n## Scope\n\nA subagent implements its task and nothing else. Code it notices that is wrong but unrelated\nis reported in its summary, never fixed.\n\nAn unrelated fix inside a feature commit is invisible in review, unreviewable on its own,\nand impossible to revert without reverting the feature.\n\n## Returning\n\n```yaml\ntask: 3\nstatus: completed | failed | blocked\nfiles_changed: [app\u002Fcontrollers\u002Fauth_controller.rb, spec\u002Fcontrollers\u002Fauth_spec.rb]\nsummary: one paragraph\nreason: only when failed or blocked\n```\n\n`files_changed` is what `archive` stages. A file changed and not reported will not be\ncommitted.\n\n## Failure\n\nA failed task stops the tasks that depend on it, which are marked `blocked` and never\nattempted. Independent tasks continue: stopping everything because one task failed discards\nwork that was going to succeed.\n\nState records which task failed and why. `continue` resumes from it rather than restarting\nthe phase.\n\nA task that fails twice for the same reason stops the phase and raises `error`. Retrying a\nthird time produces a third variation of the same misunderstanding.\n\n## Completion\n\nFollow `skills\u002F_shared\u002Fphase-protocol.md`: write the artifact with its `## Handoff`, update\nstate with per-task results, notify `phase_completed`.\n\nThe artifact is what the phases that judge the work start from, so they do not reconstruct\nit from the diff:\n\n```markdown\n## Tasks\n3  completed  app\u002Fauth\u002Fcallback.rb, spec\u002Fauth\u002Fcallback_spec.rb\n4  blocked    by 3's interface change; reason in state\n\n## Commands\nbundle exec rspec spec\u002Fauth      47 examples, 0 failures\nbundle exec rubocop app\u002Fauth     no offenses\n\n## Handoff\n```\n\nPer task, what it changed; the commands as run and what they printed; and in the handoff,\nthe places a reviewer should look first and any decision a subagent made that the design\ndid not.\n\nThis phase does not commit. The commit happens in `archive`, once `verify` and `review`\nhave passed, per `git.granularity: per_feature`.\n\n```\n8 tasks: 8 completed, 0 failed. 14 files changed.\n```\n",{"mode":23,"name":5,"next":24,"skippable":19},"confirm",[25],"verify","main","e68ffe68ac604c91a9738f0ce2acc1c7585f88f2","skills\u002Fapply","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 apply",{"tool":40,"command":41},"bunx","bunx skills add markosAMO\u002FAlfred --skill apply",{"tool":43,"command":44},"pnpm","pnpm dlx skills add markosAMO\u002FAlfred --skill apply","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fapply\u002FSKILL.md",true,[],[49,55,60,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":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":57,"categories":58,"keywords":59,"publishedAt":18},"01M7CPAMS85JH7H8X17G9PM3YB","https:\u002F\u002Fgithub.com\u002FmarkosAMO\u002FAlfred\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"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","tasks","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",[],[]]