OpenSpec: Apply
The OpenSpec: Apply command implements approved changes from an OpenSpec proposal by following a structured workflow that reads specification documents, executes tasks sequentially with minimal scope, and synchronizes task completion status. Use this command when you have an accepted OpenSpec proposal and need to systematically apply its changes while maintaining accurate documentation of work completed.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/spencermarx/open-code-review/HEAD/.claude/commands/openspec/apply.md -o ~/.claude/commands/openspec-apply.mdapply.md
<!-- OPENSPEC:START --> **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. <!-- OPENSPEC:END -->
Analyze staged changes and organize them into intuitive atomic commits following conventional commits.
Show Claude-Flow commands and usage
Interact with Claude-Flow memory system
Coordinate multi-agent swarms for complex tasks
Apply expert UX/UI design thinking to design, redesign, enhance, or fix any interface element with meticulous craft and intentionality.
Address code review feedback — corroborate, validate, and implement changes from a review's final.md.
Create a new custom reviewer from a natural language description.
Check OCR installation and verify all dependencies are available.