Development
openspec-apply
Implement tasks from the change using `/opsx:apply`, working through the task list and checking off items. Use when the user says "implement", "apply the change", "/opsx:apply", or "start coding from tasks".
Implement tasks from the change using `/opsx:apply`, working through the task list and checking off items. Use when the user says "implement", "apply the change", "/opsx:apply", or "start coding from tasks".
Use /opsx:apply to implement tasks from a change. The agent reads tasks.md, works through tasks one by one, writes code, creates files, runs tests as needed, and checks off completed items with [x].
tasks.md exists (created via openspec-ff or openspec-continue).Start implementation
/opsx:apply — apply the current/inferred change./opsx:apply <change-name> — apply a specific change.Read tasks
tasks.md and identifies incomplete tasks (unchecked [ ] items).Work through tasks
[x] in tasks.md.Handle issues
design.md) and continue.Resume if interrupted
/opsx:apply again; it picks up where it left off based on checkbox state.tasks.md updated with [x] for completed tasks./opsx:apply add-dark-mode.tasks.md (or use /opsx:continue to regenerate) before applying.design.md or specs/ as needed; OpenSpec is iterative.确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。