[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75C2NAMM9M4647YEJ6C9JPR":3,"skill-same:01M75C2NAMM9M4647YEJ6C9JPR":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M75C2NAMM9M4647YEJ6C9JPR","openspec-archive-change",null,"Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a completed change after implementation is complete.","cp-yu\u002Federa","cp-yu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F68734436?v=4","01M75C1ERG2CGRZWJW3N60H5MM","01M75C1ESMHKGRE9NMZDS6Q8XW",2,"MIT","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fopenspec-archive-change\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"openspec-archive-change\"\ndescription: \"Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a completed change after implementation is complete.\"\nlicense: \"MIT\"\ncompatibility: \"Requires openspec CLI.\"\nmetadata:\n  author: \"openspec\"\n  version: \"1.0\"\n  generatedBy: \"1.4.1-cpyu.1\"\n---\n\nArchive a completed change in the experimental workflow.\n\n**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.\n\nBefore archiving, run `openspec config project --json` and consume git policy from its normalized project config: `git.commitMessage.archive`, `git.commitMessage.merge`, `git.merge.strategy`, and `git.branch.deleteAfterArchive`; do not parse raw YAML inside the skill.\n\n**Steps**\n\n1. **Select change**\n   If no clear change name is provided, run `openspec list --json`, show active changes with schema, and ask. Do not guess.\n\n2. **Unified Full Verify Gate**\n   Run `openspec verify status \"\u003Cchange-name>\" --json`. Fresh PASS\u002FPASS_WITH_WARNINGS continues. MISSING\u002FSTALE runs Step 2.5 then reruns the gate. FAIL_NEEDS_REMEDIATION hard-blocks with CRITICAL issues. Resolve `PENDING_VERIFICATION` through the appropriate `openspec verify phase2` optimization\u002Fverification call, then rerun status. `ABORTED_UNSAFE` hard-stops for manual recovery.\n\n2.5. **Execute Full Verify**\n\n   When the verify result is missing or stale, execute the same verify contract as `\u002Fopsx:verify` using the `subagent-orchestrated` skeleton:\n   - Determine `changeName`, absolute `changeDir`, and absolute `projectRoot`\n   - Spawn the reviewer subagent with Read and Bash tool capability, instruct it to invoke the `openspec-reviewer` skill for canonical Phase 1, and pass only `changeName`, `changeDir`, and `projectRoot`\n   - Validate the reviewer payload, apply only deterministic `tasks.md` write-back in the main workspace, and persist the canonical Phase 1 payload\n   - Execute the verify workflow end-to-end, including Phase 2 (spawn optimizer subagent with Read and Bash tool capability, invoke `openspec-optimizer`, and pass only `changeName`, `changeDir`, and `projectRoot`) whenever the `\u002Fopsx:verify` contract would make it eligible\n   - In `P1_SPECULATIVE_FENCE`, invoke the reviewer subagent again with `changeName`, `changeDir`, and `projectRoot` for the speculative verdict\n   - The top-level archive flow MUST NOT inline a current-agent review skeleton or silently downgrade to reread mode\n   Continue through Phase 2 when eligible; `SKIPPED` is valid only for config\u002Fuser skip. Persist fresh verify before archiving. This is the only archive gate; no mini-check or bypass exists.\n\n3. **Check artifact completion status**\n   Run `openspec status --change \"\u003Cname>\" --json`. Warn and confirm before proceeding if any artifact is not `done`.\n\n4. **Check task completion status**\n   Read `tasks.md`; warn and confirm before proceeding if incomplete checkboxes remain. Missing tasks are not a task-related blocker.\n\n5. **Assess delta sync state**\n   If delta specs or `opsx-delta.yaml` exist, assess whether sync is required. The archive CLI performs verify, sync, and move-to-archive; do not duplicate sync writes manually.\n\n6. **Run archive CLI**\n   Run `openspec archive \"\u003Cchange-name>\"` after the verify gate is fresh. CLI only verifies, syncs, moves the change to archive, and prints the git handoff reminder. CLI MUST NOT create commits, merge branches, switch branches, delete branches, remove worktrees, or generate commit messages.\n\n7. **Git handoff**\n   Read the archive CLI output and the projected git policy from `openspec config project --json`. Summary fields include change name, schema, archive location, verify gate result, specs \u002F OPSX sync result, agent-owned git follow-up status, and merge strategy.\n\n8. **Agent git flow**\n   The agent continues the post-archive git flow. First handle the implementation boundary before OpenSpec\u002Fdocs archive artifacts. If uncommitted real project implementation changes remain, create a normal implementation commit that contains only those changes. Then always create a semantic boundary commit with `git commit --allow-empty`; this boundary commit may be intentionally empty when the effective implementation diff is already carried by retained `wip: opt-*` checkpoint commits. If `git.commitMessage.boundary` is set, read that project-relative path; otherwise read `openspec\u002Freferences\u002Fopenspec-boundary-commit-message.md`. Use that template to build the boundary commit message and run `git commit -F -` for the boundary commit. If `git.commitMessage.archive` is set, read that project-relative path; otherwise read `openspec\u002Freferences\u002Fopenspec-archive-commit-message.md`. Use that template before creating the OpenSpec\u002Fdocs archive commit, add only archive\u002Fsynced paths, and run `git commit -F -`. If a merge or squash commit message is needed, prepare it from the configured or built-in merge template. If `git.commitMessage.merge` is set, read that project-relative path; otherwise read `openspec\u002Freferences\u002Fopenspec-merge-summary-message.md`. Apply `git.merge.strategy` with `git merge --no-ff`, `git merge --ff-only`, or `git merge --squash` as appropriate. Use `git.branch.deleteAfterArchive` only after confirming the branch is merged with `git branch --merged`. Build paths with `path.join()`, `path.resolve()`, and `path.normalize()`.\n\n9. **Display summary**\n   Include change, schema, archive location, verify gate result, specs \u002F OPSX sync result, agent-owned git follow-up status, Merge Strategy, cleanup responsibility, verify reuse\u002Freexecution, and warnings. Do not report that CLI created an archive commit, performed a merge, or deleted a feature branch.\n\n**Output On Success**\n\n```\n## Archive Complete\n\n**Change:** \u003Cchange-name>\n**Schema:** \u003Cschema-name>\n**Archived to:** openspec\u002Fchanges\u002Farchive\u002FYYYY-MM-DD-\u003Cname>\u002F\n**Verify Gate:** Fresh PASS or PASS_WITH_WARNINGS result confirmed\n**Specs \u002F OPSX:** ✓ Synced to main specs and project OPSX (or \"No deltas\" or \"Skipped all archive-time sync writes\")\n**Agent Git Follow-up:** \u003Ccompleted \u002F pending with reason>\n**Merge Strategy:** \u003Cgit.merge.strategy>\n**Cleanup Responsibility:** \u003Cagent>\n\nArchive completed after satisfying the unified full verify gate.\n```\n\n**Guardrails**\n- Always prompt for change selection if not provided\n- Do not downgrade the verify gate into a lightweight archive-only check\n- Show clearly whether verify was reused or re-executed\n- In `core`, use `openspec sync \"\u003Cchange-name>\"` rather than manual inline sync\n- If delta specs or `opsx-delta.yaml` exist, always run the shared sync assessment before moving the change directory\n","Archive a completed change in the experimental workflow.\n\n**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.\n\nBefore archiving, run `openspec config project --json` and consume git policy from its normalized project config: `git.commitMessage.archive`, `git.commitMessage.merge`, `git.merge.strategy`, and `git.branch.deleteAfterArchive`; do not parse raw YAML inside the skill.\n\n**Steps**\n\n1. **Select change**\n   If no clear change name is provided, run `openspec list --json`, show active changes with schema, and ask. Do not guess.\n\n2. **Unified Full Verify Gate**\n   Run `openspec verify status \"\u003Cchange-name>\" --json`. Fresh PASS\u002FPASS_WITH_WARNINGS continues. MISSING\u002FSTALE runs Step 2.5 then reruns the gate. FAIL_NEEDS_REMEDIATION hard-blocks with CRITICAL issues. Resolve `PENDING_VERIFICATION` through the appropriate `openspec verify phase2` optimization\u002Fverification call, then rerun status. `ABORTED_UNSAFE` hard-stops for manual recovery.\n\n2.5. **Execute Full Verify**\n\n   When the verify result is missing or stale, execute the same verify contract as `\u002Fopsx:verify` using the `subagent-orchestrated` skeleton:\n   - Determine `changeName`, absolute `changeDir`, and absolute `projectRoot`\n   - Spawn the reviewer subagent with Read and Bash tool capability, instruct it to invoke the `openspec-reviewer` skill for canonical Phase 1, and pass only `changeName`, `changeDir`, and `projectRoot`\n   - Validate the reviewer payload, apply only deterministic `tasks.md` write-back in the main workspace, and persist the canonical Phase 1 payload\n   - Execute the verify workflow end-to-end, including Phase 2 (spawn optimizer subagent with Read and Bash tool capability, invoke `openspec-optimizer`, and pass only `changeName`, `changeDir`, and `projectRoot`) whenever the `\u002Fopsx:verify` contract would make it eligible\n   - In `P1_SPECULATIVE_FENCE`, invoke the reviewer subagent again with `changeName`, `changeDir`, and `projectRoot` for the speculative verdict\n   - The top-level archive flow MUST NOT inline a current-agent review skeleton or silently downgrade to reread mode\n   Continue through Phase 2 when eligible; `SKIPPED` is valid only for config\u002Fuser skip. Persist fresh verify before archiving. This is the only archive gate; no mini-check or bypass exists.\n\n3. **Check artifact completion status**\n   Run `openspec status --change \"\u003Cname>\" --json`. Warn and confirm before proceeding if any artifact is not `done`.\n\n4. **Check task completion status**\n   Read `tasks.md`; warn and confirm before proceeding if incomplete checkboxes remain. Missing tasks are not a task-related blocker.\n\n5. **Assess delta sync state**\n   If delta specs or `opsx-delta.yaml` exist, assess whether sync is required. The archive CLI performs verify, sync, and move-to-archive; do not duplicate sync writes manually.\n\n6. **Run archive CLI**\n   Run `openspec archive \"\u003Cchange-name>\"` after the verify gate is fresh. CLI only verifies, syncs, moves the change to archive, and prints the git handoff reminder. CLI MUST NOT create commits, merge branches, switch branches, delete branches, remove worktrees, or generate commit messages.\n\n7. **Git handoff**\n   Read the archive CLI output and the projected git policy from `openspec config project --json`. Summary fields include change name, schema, archive location, verify gate result, specs \u002F OPSX sync result, agent-owned git follow-up status, and merge strategy.\n\n8. **Agent git flow**\n   The agent continues the post-archive git flow. First handle the implementation boundary before OpenSpec\u002Fdocs archive artifacts. If uncommitted real project implementation changes remain, create a normal implementation commit that contains only those changes. Then always create a semantic boundary commit with `git commit --allow-empty`; this boundary commit may be intentionally empty when the effective implementation diff is already carried by retained `wip: opt-*` checkpoint commits. If `git.commitMessage.boundary` is set, read that project-relative path; otherwise read `openspec\u002Freferences\u002Fopenspec-boundary-commit-message.md`. Use that template to build the boundary commit message and run `git commit -F -` for the boundary commit. If `git.commitMessage.archive` is set, read that project-relative path; otherwise read `openspec\u002Freferences\u002Fopenspec-archive-commit-message.md`. Use that template before creating the OpenSpec\u002Fdocs archive commit, add only archive\u002Fsynced paths, and run `git commit -F -`. If a merge or squash commit message is needed, prepare it from the configured or built-in merge template. If `git.commitMessage.merge` is set, read that project-relative path; otherwise read `openspec\u002Freferences\u002Fopenspec-merge-summary-message.md`. Apply `git.merge.strategy` with `git merge --no-ff`, `git merge --ff-only`, or `git merge --squash` as appropriate. Use `git.branch.deleteAfterArchive` only after confirming the branch is merged with `git branch --merged`. Build paths with `path.join()`, `path.resolve()`, and `path.normalize()`.\n\n9. **Display summary**\n   Include change, schema, archive location, verify gate result, specs \u002F OPSX sync result, agent-owned git follow-up status, Merge Strategy, cleanup responsibility, verify reuse\u002Freexecution, and warnings. Do not report that CLI created an archive commit, performed a merge, or deleted a feature branch.\n\n**Output On Success**\n\n```\n## Archive Complete\n\n**Change:** \u003Cchange-name>\n**Schema:** \u003Cschema-name>\n**Archived to:** openspec\u002Fchanges\u002Farchive\u002FYYYY-MM-DD-\u003Cname>\u002F\n**Verify Gate:** Fresh PASS or PASS_WITH_WARNINGS result confirmed\n**Specs \u002F OPSX:** ✓ Synced to main specs and project OPSX (or \"No deltas\" or \"Skipped all archive-time sync writes\")\n**Agent Git Follow-up:** \u003Ccompleted \u002F pending with reason>\n**Merge Strategy:** \u003Cgit.merge.strategy>\n**Cleanup Responsibility:** \u003Cagent>\n\nArchive completed after satisfying the unified full verify gate.\n```\n\n**Guardrails**\n- Always prompt for change selection if not provided\n- Do not downgrade the verify gate into a lightweight archive-only check\n- Show clearly whether verify was reused or re-executed\n- In `core`, use `openspec sync \"\u003Cchange-name>\"` rather than manual inline sync\n- If delta specs or `opsx-delta.yaml` exist, always run the shared sync assessment before moving the change directory\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":27},{"author":24,"version":25,"generatedBy":26},"openspec","1.0","1.4.1-cpyu.1","Requires openspec CLI.","master","c18be1fecd2d4509d809d31a9b40c8631b5a9abe",".codex\u002Fskills\u002Fopenspec-archive-change",0,"https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa","https:\u002F\u002Fgithub.com\u002Fcp-yu","2026-06-23 11:25:19",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add cp-yu\u002Federa --skill openspec-archive-change",{"tool":41,"command":42},"bunx","bunx skills add cp-yu\u002Federa --skill openspec-archive-change",{"tool":44,"command":45},"pnpm","pnpm dlx skills add cp-yu\u002Federa --skill openspec-archive-change","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fopenspec-archive-change\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M75C44N0S92N0JZWMS1DJXM3","openspec-snack","Quick code-first sync: generate or update proposal + specs + simplified design from git diff when the code is already written. Use after iterative coding to back-fill specs and OPSX delta without redoing propose→apply. Does not generate tasks.md.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-snack\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M75C40VZPPCXCW80WEG7XXZX","openspec-reviewer","Internal clean-context Phase 1 verification reviewer. Judges implementation completeness, correctness, coherence, and cleanliness by reading files from changeName, changeDir, and projectRoot. Never accesses conversation history.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-reviewer\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75C3WQ5C1BRECWPWEHYV3NR","openspec-propose","Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-propose\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M75C3T76A0MM8XVGQ6FDT77Q","openspec-optimizer","Internal clean-context Phase 2 optimization proposer. Analyzes implementation files and outputs behavior-preserving Search\u002FReplace blocks. Never modifies files directly. Reads failedDirections to avoid repeating broken strategies.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-optimizer\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75C3R32971RR1WXKB2XHD50","openspec-impact-sweeper","Generate a lightweight OPSX-grounded JSON impact report for one project concept. Use from explore before scope or proposal readiness claims.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-impact-sweeper\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75C3N8CCEV30P468SWY8ZE5","openspec-explore","Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-explore\u002FSKILL.md",[],[]]