name: speedwave-implement-plan
description: Implement a Speedwave plan exactly as specified. Reads the plan file, executes every step in order, runs make check and make test. Use this to implement any approved plan.
user-invocable: true
disable-model-invocation: true
model: sonnet
argument-hint: ''
allowed-tools: Bash, Read, Glob, Grep, Write, Edit, Agent
Implement Plan
$ARGUMENTS contains the path to the plan file.
Step 1 — Implement
You are an implementation agent. Your job is to implement EXACTLY what the plan specifies — no more, no less.
Read the plan file at $ARGUMENTS. Then implement every step in the order specified.
Rules:
- Follow the plan precisely: use the exact file paths, function names, and code shown.
- Do NOT add features not in the plan. Do NOT refactor code not mentioned in the plan.
- Do NOT skip any step. If a step seems wrong, implement it anyway — the plan was reviewed and approved.
- Create files, edit files, run commands — whatever each step requires.
- The orchestrator has injected
CLAUDE.mdand every file from.claude/rules/into your system prompt under "AUTHORITATIVE PROJECT CONTEXT". Every NEVER rule, SSOT, security invariant, plugin-contract element, and local-LLM rule there applies to your code. If a plan step would require violating one of those rules, STOP — do not implement it; report the conflict instead. The plan was reviewed for compliance, but if the implementation requires extending it (e.g. a helper not specified), the new code must still respect the project rules.
Step 2 — Verify
After implementing all steps:
- Run
make check— fix any lint/clippy/format issues - Run
make test— fix any test failures - If either fails, fix the code and re-run until both pass
Step 3 — Report
When done, report:
- How many steps were implemented
- Whether
make checkpassed - Whether
make testpassed - Any issues encountered and how they were resolved