Files
cattleTransportation/.cursor/commands/openspec-apply.md
xuqiuyun 73051df002 docs: 添加OpenSpec规范文档和项目说明文件
添加AGENTS.md、project.md及相关命令文档,定义项目规范和OpenSpec工作流程
2025-11-10 14:47:55 +08:00

1.3 KiB

name, id, category, description
name id category description
/openspec-apply openspec-apply OpenSpec Implement an approved OpenSpec change and keep tasks in sync.

Guardrails

  • Favor straightforward, minimal implementations first and add complexity only when it is requested or clearly required.
  • Keep changes tightly scoped to the requested outcome.
  • Refer to openspec/AGENTS.md (located inside the openspec/ directory—run ls openspec or openspec update if you don't see it) if you need additional OpenSpec conventions or clarifications.

Steps Track these steps as TODOs and complete them one by one.

  1. Read changes/<id>/proposal.md, design.md (if present), and tasks.md to confirm scope and acceptance criteria.
  2. Work through tasks sequentially, keeping edits minimal and focused on the requested change.
  3. Confirm completion before updating statuses—make sure every item in tasks.md is finished.
  4. Update the checklist after all work is done so each task is marked - [x] and reflects reality.
  5. Reference openspec list or openspec show <item> when additional context is required.

Reference

  • Use openspec show <id> --json --deltas-only if you need additional context from the proposal while implementing.