一键导入
openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Bootstrap a LikeC4 architecture model from existing code using a five-phase workflow (init → scan → map → review → promote).
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a completed change after implementation is complete.
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.
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.
Quick code-first artifact reconciliation: from already-written code, conditionally create or update proposal + specs + simplified design + architecture delta using available code-change evidence. Use after iterative coding to back-fill OpenSpec artifacts without redoing propose→apply. Does not generate tasks.md.
| name | openspec-apply-change |
| description | Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks. |
| license | MIT |
| compatibility | Requires openspec CLI. |
| metadata | {"author":"openspec","version":"1.0","generatedBy":"1.4.1-cpyu.5"} |
Implement tasks from an OpenSpec change.
OpenSpec Philosophy
OpenSpec is a human-intent programming layer between human intent and general-purpose programming languages.
proposal.md, design.md, and tasks.md are compilation scaffolding, not competing sources of truth.For workflow-managed writes, read the resolved file definition before its instruction and template, and MUST NOT copy definitions, config projections, or reasoning into artifacts.
openspec/references/openspec-apply-step-1-preparation.md.openspec/references/openspec-apply-step-2-preflight-scan.md.openspec/references/openspec-apply-step-4-phase1-verification.md and delegate to the clean-context openspec-reviewer agent.openspec/references/openspec-apply-step-5-phase2-optimization.md and delegate to the clean-context openspec-optimizer agent when eligible.openspec/references/openspec-apply-step-6-phase3-seal.md.openspec/references/openspec-apply-step-7-output.md.openspec arch query <capability-id> --relations --depth 2, then read referenced specs and current code. In pseudocode, a LikeC4 element ID uses domain_name.capability_name; treat it as semantic location guidance, not a source path.## Remediation [code_fix] and [artifact_fix] items before pending tasks. Finish every Check in the current task before starting the next; never execute tasks in parallel.Evidence: and Expect: for final proof.When Phase 3 seal passes, end with an explicit call-to-action: Archive ready. Run /skill:openspec-archive-change <change-name> to complete the workflow.