Skip to main content
ClaudeWave
Slash Command243 repo starsupdated yesterday

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.

Install in Claude Code
Copy
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.md
Then start a new Claude Code session; the slash command loads automatically.

apply.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 -->