/apply
Implement an approved OpenSpec change and keep tasks in sync.
> /plugin marketplace add sudocode-ai/sudocode > /plugin install sudocode@sudocode-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/apply
Context preview
What this command does when you run it.
Implement an approved OpenSpec change and keep tasks in sync.
Command definition
apply.mdname: OpenSpec: Apply description: Implement an approved OpenSpec change and keep tasks in sync. category: OpenSpec tags: [openspec, apply]
<!-- 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 -->
Lightweight agent orchestration dev tool that lives in your repo
Repo: sudocode-ai/sudocode
Other commands on sudocode.
- /archive
Archive a deployed OpenSpec change and update specs.
Open command - /proposal
Scaffold a new OpenSpec change and validate strictly.
Open command - /speckit.analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
Open command - /speckit.checklist
Generate a custom checklist for the current feature based on user requirements.
Open command - /speckit.clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
Open command - /speckit.constitution
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
Open command

