[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72VZGKV8C11AZ2JPZ71R2T0":3,"skill-same:01M72VZGKV8C11AZ2JPZ71R2T0":56},{"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},"01M72VZGKV8C11AZ2JPZ71R2T0","comet-archive",null,"Archive and deliver a Classic change. Use when the user invokes \u002Fcomet-archive or Classic Runtime enters Archive or resumes delivery.","rpamis\u002Fcomet","rpamis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153429891?v=4","01M72VXBR7EQYMM7KN8C19244V","01M72VXBRYC06QG0ZH0JBGV09V",3298,"MIT","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fcomet-archive\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: comet-archive\ndescription: 'Archive and deliver a Classic change. Use when the user invokes \u002Fcomet-archive or Classic Runtime enters Archive or resumes delivery.'\n---\n\n# Comet Phase 5: Archive\n\nOn first entering a phase, handing off to a new Agent, or restoring context, read and follow [Task Context and Artifact Language](..\u002Fcomet-classic\u002Freference\u002Fscripts.md#task-context-and-artifact-language). Prefer the current continuation or claimed Action's `contextRequest`; do not retrieve repeatedly during uninterrupted work in the same phase.\n\nAfter entry returns layout, follow the [shared phase entry](..\u002Fcomet-classic\u002Freference\u002Fscripts.md#shared-phase-entry) when receiving a phase for the first time or when its binding changes. Reuse the valid [layout](..\u002Fcomet-classic\u002Freference\u002Fclassic-layout.md); do not run an extra root show first. When edits require judgement, load edit continuation through the shared entry.\n\n## SDK Run path\n\nOn first entering the current SDK phase, handing off to a new Agent, or restoring context, read [phase entry and recovery](..\u002Fcomet-classic\u002Freference\u002Fsdk-methods.md#phase-entry-and-recovery) and the current phase's section in that reference. Reuse them when already available and still valid in this session. Continue with the phase below; recovery routes based on `nextAction.kind` apply only to older responses without a continuation mode.\n\nReuse the latest valid response for the same change, workspace, and Run: `agent.continuation`, `data.nextAction`, phase, revision, and path summaries. Run `comet state next \u003Cchange-name> --json` only for cold recovery, workspace or external state changes, a stale response version, or missing information needed for the current step; loading the next Skill is not a reason to query again. Runtime still validates current versions and evidence on writes; cached context cannot bypass checks or approval. Confirm `data.runtimeFormat: sdk`, phase, and `nextAction.kind`, and work in the bound `projectRoot`; run `comet classic workspace resolve \u003Cchange-name> --json` only when paths are missing or the binding has changed. Verify receipts must still be valid; the state file and a report file do not authorize delivery. For `reconcile`, use `comet state check \u003Cchange-name> archive --recover --json` to inspect the original Action and disk\u002FGit evidence. Do not repeat archive, commit, push, or PR while the result is unknown.\n\n1. Reuse current valid state, workspace, and evidence summaries; run `comet state check \u003Cchange-name> archive --json` only when they are missing. Under SDK execution methods, inspect verification, the bound branch, archive impact, and unrelated edits. For push or PR, confirm remote and PR base; do not guess among alternatives. Run `comet state propose-archive \u003Cchange-name> --summary \"\u003Cdelivery-summary>\"`, adding `--remote \u003Cname>` and `--pr-base \u003Cbranch>` as needed. Save `data.wait.proposalHash` as `\u003CproposalHash>`. Reuse an existing pending Wait.\n2. Present the current proposal and delivery options under decision-point.md and the Archive and Git delivery section of SDK execution methods. Reuse explicit authorization covering the current archive effects and same delivery target; otherwise await the user choice. Run `comet state decide-archive \u003Cchange-name> --proposal-hash \u003CproposalHash> --choice \u003Clocal|push|pr|reverify|later>`: local archives and commits, push additionally pushes, pr pushes and creates the PR, reverify returns to Verify, and later preserves work and stops this invocation. Recheck and obtain a new decision if target or Verify evidence changes; never reuse a stale proposal hash.\n3. Only with a valid `local|push|pr` decision, apply directly `comet guard \u003Cchange-name> archive --apply`. Guard checks authorization, branch, and Verify receipts and archives OpenSpec once in the Run. After interruption inspect `state next --json` and `--recover`; do not apply an already completed archive again.\n4. Under the Archive and Git delivery section of SDK execution methods, inspect dirty-worktree ownership and explicitly stage this change's implementation, archive directory, main spec, and Design Doc\u002FPlan annotations. Inspect the staged diff, then create one archive commit. SDK Guard does not perform Git operations. Do not use legacy `state set branch_status`, `state delivery`, or `archive-confirm`. For push, push only the approved remote\u002Fbranch. For PR, push first, then create a PR with the approved target. On an unknown result, read the remote or PR before retrying.\n5. Run `comet state complete-delivery \u003Cchange-name> --commit \u003Csha>` with the real commit; for PR add `--pr-url \u003Curl>`. It validates the archive commit and approved remote\u002FPR delivery and completes the Run; it does not commit, push, or create a PR. On failure preserve the Run and decision and address the reported gap. Claim delivery complete only when that response shows a completed Run and a done continuation; run `comet state next \u003Cchange-name> --json` only if the terminal state is missing.\n\n## Compat path\n\nThe remaining original Runtime steps apply only to `runtimeFormat: compat`. Read [Compat operations](reference\u002Fcompat.md) and continue its current phase. SDK does not load that reference.\n\nThe project enables `change_walkthrough` by default. Archive an existing `walkthrough.html` with the change materials and link to its actual archived file in the completion response. Preserve existing pages when disabled too. A missing page does not trigger generation or block Archive; presentation adds no checks, phases or confirmation.\n","# Comet Phase 5: Archive\n\nOn first entering a phase, handing off to a new Agent, or restoring context, read and follow [Task Context and Artifact Language](..\u002Fcomet-classic\u002Freference\u002Fscripts.md#task-context-and-artifact-language). Prefer the current continuation or claimed Action's `contextRequest`; do not retrieve repeatedly during uninterrupted work in the same phase.\n\nAfter entry returns layout, follow the [shared phase entry](..\u002Fcomet-classic\u002Freference\u002Fscripts.md#shared-phase-entry) when receiving a phase for the first time or when its binding changes. Reuse the valid [layout](..\u002Fcomet-classic\u002Freference\u002Fclassic-layout.md); do not run an extra root show first. When edits require judgement, load edit continuation through the shared entry.\n\n## SDK Run path\n\nOn first entering the current SDK phase, handing off to a new Agent, or restoring context, read [phase entry and recovery](..\u002Fcomet-classic\u002Freference\u002Fsdk-methods.md#phase-entry-and-recovery) and the current phase's section in that reference. Reuse them when already available and still valid in this session. Continue with the phase below; recovery routes based on `nextAction.kind` apply only to older responses without a continuation mode.\n\nReuse the latest valid response for the same change, workspace, and Run: `agent.continuation`, `data.nextAction`, phase, revision, and path summaries. Run `comet state next \u003Cchange-name> --json` only for cold recovery, workspace or external state changes, a stale response version, or missing information needed for the current step; loading the next Skill is not a reason to query again. Runtime still validates current versions and evidence on writes; cached context cannot bypass checks or approval. Confirm `data.runtimeFormat: sdk`, phase, and `nextAction.kind`, and work in the bound `projectRoot`; run `comet classic workspace resolve \u003Cchange-name> --json` only when paths are missing or the binding has changed. Verify receipts must still be valid; the state file and a report file do not authorize delivery. For `reconcile`, use `comet state check \u003Cchange-name> archive --recover --json` to inspect the original Action and disk\u002FGit evidence. Do not repeat archive, commit, push, or PR while the result is unknown.\n\n1. Reuse current valid state, workspace, and evidence summaries; run `comet state check \u003Cchange-name> archive --json` only when they are missing. Under SDK execution methods, inspect verification, the bound branch, archive impact, and unrelated edits. For push or PR, confirm remote and PR base; do not guess among alternatives. Run `comet state propose-archive \u003Cchange-name> --summary \"\u003Cdelivery-summary>\"`, adding `--remote \u003Cname>` and `--pr-base \u003Cbranch>` as needed. Save `data.wait.proposalHash` as `\u003CproposalHash>`. Reuse an existing pending Wait.\n2. Present the current proposal and delivery options under decision-point.md and the Archive and Git delivery section of SDK execution methods. Reuse explicit authorization covering the current archive effects and same delivery target; otherwise await the user choice. Run `comet state decide-archive \u003Cchange-name> --proposal-hash \u003CproposalHash> --choice \u003Clocal|push|pr|reverify|later>`: local archives and commits, push additionally pushes, pr pushes and creates the PR, reverify returns to Verify, and later preserves work and stops this invocation. Recheck and obtain a new decision if target or Verify evidence changes; never reuse a stale proposal hash.\n3. Only with a valid `local|push|pr` decision, apply directly `comet guard \u003Cchange-name> archive --apply`. Guard checks authorization, branch, and Verify receipts and archives OpenSpec once in the Run. After interruption inspect `state next --json` and `--recover`; do not apply an already completed archive again.\n4. Under the Archive and Git delivery section of SDK execution methods, inspect dirty-worktree ownership and explicitly stage this change's implementation, archive directory, main spec, and Design Doc\u002FPlan annotations. Inspect the staged diff, then create one archive commit. SDK Guard does not perform Git operations. Do not use legacy `state set branch_status`, `state delivery`, or `archive-confirm`. For push, push only the approved remote\u002Fbranch. For PR, push first, then create a PR with the approved target. On an unknown result, read the remote or PR before retrying.\n5. Run `comet state complete-delivery \u003Cchange-name> --commit \u003Csha>` with the real commit; for PR add `--pr-url \u003Curl>`. It validates the archive commit and approved remote\u002FPR delivery and completes the Run; it does not commit, push, or create a PR. On failure preserve the Run and decision and address the reported gap. Claim delivery complete only when that response shows a completed Run and a done continuation; run `comet state next \u003Cchange-name> --json` only if the terminal state is missing.\n\n## Compat path\n\nThe remaining original Runtime steps apply only to `runtimeFormat: compat`. Read [Compat operations](reference\u002Fcompat.md) and continue its current phase. SDK does not load that reference.\n\nThe project enables `change_walkthrough` by default. Archive an existing `walkthrough.html` with the change materials and link to its actual archived file in the completion response. Preserve existing pages when disabled too. A missing page does not trigger generation or block Archive; presentation adds no checks, phases or confirmation.\n",{"name":5,"description":7},"master","9b2c15a8cbb321ae4e36d48849676e14d90eba24","assets\u002Fskills\u002Fcomet-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\u002Fassets\u002Fskills\u002Fcomet-archive\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",173,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fcomet-archive\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"reference\u002Fcompat.md",16994,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fcomet-archive\u002Freference\u002Fcompat.md",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"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":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"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":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":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"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":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"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":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"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":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"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",[],[]]