[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72W116SWWVJ360HN295VZC5":3,"skill-same:01M72W116SWWVJ360HN295VZC5":46},{"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":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M72W116SWWVJ360HN295VZC5","comet-archive",null,"Comet Phase 5: Archive. Invoke with \u002Fcomet-archive. Merge delta specs into main specs with OpenSpec semantics, archive change.","rpamis\u002Fcomet","rpamis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153429891?v=4","01M72VXBR7EQYMM7KN8C19244V","01M72VXBRYC06QG0ZH0JBGV09V",3298,"MIT","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039-archive\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: comet-archive\ndescription: \"Comet Phase 5: Archive. Invoke with \u002Fcomet-archive. Merge delta specs into main specs with OpenSpec semantics, archive change.\"\n---\n\n# Comet Phase 5: Archive (Archive)\n\n## Prerequisites\n\n- Verification passed (Phase 4 complete)\n- Branch handled\n- `verify_result: pass` in `openspec\u002Fchanges\u002F\u003Cname>\u002F.comet.yaml`\n\n## Steps\n\n### 0. Output Language Constraint\n\nArchive summaries and lifecycle closure notes must use the language of the user request that triggered this workflow.\n\n### 0. Entry State Verification (Entry Check)\n\nExecute entry verification:\n\n```bash\nCOMET_ENV=\"${COMET_ENV:-$(find . \"$HOME\"\u002F.*\u002Fskills \"$HOME\u002F.config\" \"$HOME\u002F.gemini\" -path '*\u002Fcomet\u002Fscripts\u002Fcomet-env.sh' -type f -print -quit 2>\u002Fdev\u002Fnull)}\"\nif [ -z \"$COMET_ENV\" ]; then\n  echo \"ERROR: comet-env.sh not found. Ensure the comet skill is installed.\" >&2\n  return 1\nfi\n. \"$COMET_ENV\"\n\"$COMET_BASH\" \"$COMET_STATE\" check \u003Cname> archive\n```\n\nProceed to Step 1 after verification passes. The script outputs specific failure reasons when verification fails.\n\n### 1. Final Archive Confirmation (Blocking Point)\n\nAfter entry verification passes, **must follow the `comet\u002Freference\u002Fdecision-point.md` protocol to pause and wait for the user to confirm whether to archive immediately**. Must not run `\"$COMET_BASH\" \"$COMET_ARCHIVE\" \"\u003Cchange-name>\"` before user confirmation.\n\nBefore confirmation, show the user a brief summary:\n- Change name\n- Verification report path and result\n- Branch handling status\n- Irreversible actions this archive will perform: merge main specs with OpenSpec delta semantics, annotate design doc \u002F plan, and move the change to the archive directory\n\nThe user confirmation question must be presented as a single-select question with these options:\n- \"Confirm archive\" — immediately run the archive script to complete spec merge and change movement\n- \"Needs adjustment or re-verification\" — do not archive; run `\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> archive-reopen` to return to `phase: verify`, then invoke `\u002Fcomet-verify`. If verification confirms fixes are needed, follow `\u002Fcomet-verify`'s verification-failure decision flow back to `\u002Fcomet-build`\n- \"Do not archive yet\" — do not archive; keep the current `phase: archive` state and wait for the user to invoke `\u002Fcomet-archive` again later\n\nOnly after the user selects \"Confirm archive\" may Step 2 continue. After the user selects \"Needs adjustment or re-verification\", must first run the `archive-reopen` state transition; do not edit `.comet.yaml` manually.\n\n### 2. Execute Archive\n\nRun the archive script to automatically complete all steps:\n\n```bash\n\"$COMET_BASH\" \"$COMET_ARCHIVE\" \"\u003Cchange-name>\"\n```\n\nThe script automatically executes:\n1. Entry state validation (phase=archive, verify_result=pass, archived=false)\n2. Design doc frontmatter annotation (archived-with, status)\n3. Plan frontmatter annotation (archived-with)\n4. OpenSpec archive for delta-merge semantics and moving the change to the archive directory\n5. Main spec guard against leaked delta-only section headings\n6. Update `archived: true` through `comet-state transition \u003Carchive-name> archived`\n\nIf script returns non-zero exit code, report error and stop.\nIf script returns zero exit code, archive is complete.\nThe summary `X\u002FY steps succeeded` counts real executed steps and does not double-count delta spec sync or document annotation.\n\nThe script calls OpenSpec archive to merge `ADDED\u002FMODIFIED\u002FREMOVED\u002FRENAMED` delta semantics into main specs, then verifies main specs do not contain delta-only section headings.\n\nUse `--dry-run` flag to preview without executing.\n\n### 3. Lifecycle Closed Loop\n\nSpec lifecycle completes here:\n```\nbrainstorming → delta spec → implementation → verification → main spec merge → design doc annotation → archive\n```\n\n## Exit Conditions\n\n- Archive script executed successfully (exit code 0)\n- Archive directory `openspec\u002Fchanges\u002Farchive\u002FYYYY-MM-DD-\u003Cchange-name>\u002F` exists\n- Archived `.comet.yaml` contains `archived: true`\n\nThe archive script moves `openspec\u002Fchanges\u002F\u003Cname>\u002F` to `openspec\u002Fchanges\u002Farchive\u002FYYYY-MM-DD-\u003Cname>\u002F`.\n\n> **WARNING**: After successful archive, **do not run** `\"$COMET_BASH\" \"$COMET_GUARD\" \u003Cchange-name> archive` against the old active change name; the active directory no longer exists. Doing so will cause the guard to error with \"change directory not found\". Archive completeness is determined by script exit code and archived directory state.\n\n## Complete\n\nComet workflow complete. To start new work, invoke `\u002Fcomet` or `\u002Fcomet-open`.\n\n## Context Compression Recovery\n\nFollow `comet\u002Freference\u002Fcontext-recovery.md` with phase set to `archive`. If `archived: true` and archive directory exists, archival is complete — do not re-execute archive operations.\n","# Comet Phase 5: Archive (Archive)\n\n## Prerequisites\n\n- Verification passed (Phase 4 complete)\n- Branch handled\n- `verify_result: pass` in `openspec\u002Fchanges\u002F\u003Cname>\u002F.comet.yaml`\n\n## Steps\n\n### 0. Output Language Constraint\n\nArchive summaries and lifecycle closure notes must use the language of the user request that triggered this workflow.\n\n### 0. Entry State Verification (Entry Check)\n\nExecute entry verification:\n\n```bash\nCOMET_ENV=\"${COMET_ENV:-$(find . \"$HOME\"\u002F.*\u002Fskills \"$HOME\u002F.config\" \"$HOME\u002F.gemini\" -path '*\u002Fcomet\u002Fscripts\u002Fcomet-env.sh' -type f -print -quit 2>\u002Fdev\u002Fnull)}\"\nif [ -z \"$COMET_ENV\" ]; then\n  echo \"ERROR: comet-env.sh not found. Ensure the comet skill is installed.\" >&2\n  return 1\nfi\n. \"$COMET_ENV\"\n\"$COMET_BASH\" \"$COMET_STATE\" check \u003Cname> archive\n```\n\nProceed to Step 1 after verification passes. The script outputs specific failure reasons when verification fails.\n\n### 1. Final Archive Confirmation (Blocking Point)\n\nAfter entry verification passes, **must follow the `comet\u002Freference\u002Fdecision-point.md` protocol to pause and wait for the user to confirm whether to archive immediately**. Must not run `\"$COMET_BASH\" \"$COMET_ARCHIVE\" \"\u003Cchange-name>\"` before user confirmation.\n\nBefore confirmation, show the user a brief summary:\n- Change name\n- Verification report path and result\n- Branch handling status\n- Irreversible actions this archive will perform: merge main specs with OpenSpec delta semantics, annotate design doc \u002F plan, and move the change to the archive directory\n\nThe user confirmation question must be presented as a single-select question with these options:\n- \"Confirm archive\" — immediately run the archive script to complete spec merge and change movement\n- \"Needs adjustment or re-verification\" — do not archive; run `\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> archive-reopen` to return to `phase: verify`, then invoke `\u002Fcomet-verify`. If verification confirms fixes are needed, follow `\u002Fcomet-verify`'s verification-failure decision flow back to `\u002Fcomet-build`\n- \"Do not archive yet\" — do not archive; keep the current `phase: archive` state and wait for the user to invoke `\u002Fcomet-archive` again later\n\nOnly after the user selects \"Confirm archive\" may Step 2 continue. After the user selects \"Needs adjustment or re-verification\", must first run the `archive-reopen` state transition; do not edit `.comet.yaml` manually.\n\n### 2. Execute Archive\n\nRun the archive script to automatically complete all steps:\n\n```bash\n\"$COMET_BASH\" \"$COMET_ARCHIVE\" \"\u003Cchange-name>\"\n```\n\nThe script automatically executes:\n1. Entry state validation (phase=archive, verify_result=pass, archived=false)\n2. Design doc frontmatter annotation (archived-with, status)\n3. Plan frontmatter annotation (archived-with)\n4. OpenSpec archive for delta-merge semantics and moving the change to the archive directory\n5. Main spec guard against leaked delta-only section headings\n6. Update `archived: true` through `comet-state transition \u003Carchive-name> archived`\n\nIf script returns non-zero exit code, report error and stop.\nIf script returns zero exit code, archive is complete.\nThe summary `X\u002FY steps succeeded` counts real executed steps and does not double-count delta spec sync or document annotation.\n\nThe script calls OpenSpec archive to merge `ADDED\u002FMODIFIED\u002FREMOVED\u002FRENAMED` delta semantics into main specs, then verifies main specs do not contain delta-only section headings.\n\nUse `--dry-run` flag to preview without executing.\n\n### 3. Lifecycle Closed Loop\n\nSpec lifecycle completes here:\n```\nbrainstorming → delta spec → implementation → verification → main spec merge → design doc annotation → archive\n```\n\n## Exit Conditions\n\n- Archive script executed successfully (exit code 0)\n- Archive directory `openspec\u002Fchanges\u002Farchive\u002FYYYY-MM-DD-\u003Cchange-name>\u002F` exists\n- Archived `.comet.yaml` contains `archived: true`\n\nThe archive script moves `openspec\u002Fchanges\u002F\u003Cname>\u002F` to `openspec\u002Fchanges\u002Farchive\u002FYYYY-MM-DD-\u003Cname>\u002F`.\n\n> **WARNING**: After successful archive, **do not run** `\"$COMET_BASH\" \"$COMET_GUARD\" \u003Cchange-name> archive` against the old active change name; the active directory no longer exists. Doing so will cause the guard to error with \"change directory not found\". Archive completeness is determined by script exit code and archived directory state.\n\n## Complete\n\nComet workflow complete. To start new work, invoke `\u002Fcomet` or `\u002Fcomet-open`.\n\n## Context Compression Recovery\n\nFollow `comet\u002Freference\u002Fcontext-recovery.md` with phase set to `archive`. If `archived: true` and archive directory exists, archival is complete — do not re-execute archive operations.\n",{"name":5,"description":7},"master","a61a2e5b4766e1ad62377dec598e402560a259b6","eval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039-archive",314,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet","https:\u002F\u002Fdocs.comet.rpamis.com","https:\u002F\u002Fgithub.com\u002Frpamis","More Efficient, Easier to Use, and Less Annoying","2026-11-15 00:26:58",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add rpamis\u002Fcomet --skill comet-archive",{"tool":38,"command":39},"bunx","bunx skills add rpamis\u002Fcomet --skill comet-archive",{"tool":41,"command":42},"pnpm","pnpm dlx skills add rpamis\u002Fcomet --skill comet-archive","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039-archive\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M72W3K6F0C2FKZ8DHABM49R7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M72W3HCPQ3GVMACX61QJTD4B","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M72W3F8EVD3EK4NXJG40P84K","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M72W3CA9YM0Y6CSXXTNCV1CA","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M72W3AEH0F548GTPRNYRR3H3","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M72W38EN8NEKX1YN4W9G19Y2","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fsystematic-debugging\u002FSKILL.md",[],[]]