Prompt file imported from yawbtng/SMU_Wiki_Agent (
.cursor/commands/speckit.implement.md). Fill in{{arguments}}before use. Copyright stays with the author.
User Input
{{arguments}}
You MUST consider the user input before proceeding (if not empty).
Overview
This command launches the Ralph Wiggum implementation loop to process specifications autonomously. The agent iterates until acceptance criteria and Completion Signal requirements pass.
Prerequisites
-
Ralph Wiggum Plugin: Must be installed in Claude Code
/plugin install ralph-loop@claude-plugins-official -
At least one spec: Specs must exist in
specs/with Completion Signal sections -
Context files:
.specify/memory/constitution.md— Project principlesAGENTS.md— Development guidelinesdocs/ralph/master-prompt.md— Master prompt (optional, can use inline)
Execution
Option A: Single Spec
If {{arguments}} specifies a single spec (e.g., "001-user-auth"):
/ralph-loop:ralph-loop "Implement the spec {{arguments}} from specs/{{arguments}}/spec.md.
Context:
- Read .specify/memory/constitution.md for project principles
- Read AGENTS.md for development guidelines
Process:
1. Read and understand the full spec
2. Implement all requirements
3. Complete ALL items in the Completion Signal section
4. Run all tests (unit, integration, browser, visual)
5. Verify no console/network errors
6. Commit and push changes
7. Deploy if required and verify
8. Iterate until all checks pass
Output <promise>DONE</promise> when ALL checks pass." --completion-promise "DONE" --max-iterations 30
Option B: All Specs (Master Loop)
If no specific spec provided, run the master loop:
/ralph-loop:ralph-loop "Work through all specifications in specs/ folder, implementing each one until its acceptance criteria pass, then move to the next.
Context:
- Read .specify/memory/constitution.md for project principles
- Read AGENTS.md for development guidelines
For each spec in numerical order:
1. Read the spec from specs/{spec-name}/spec.md
2. Implement all requirements
3. Complete ALL items in the Completion Signal section
4. Commit, push, and verify deployment
5. Update history if required
6. Move to next spec
Output <promise>ALL_DONE</promise> when all specs complete." --completion-promise "ALL_DONE" --max-iterations 100
Fallback (No Ralph Plugin)
If the Ralph Wiggum plugin is not available:
- Read
docs/ralph/master-prompt.mdfor the master prompt - Manually iterate through specs in order
- For each spec, implement until Completion Signal requirements are met
- Commit and push after each major milestone
- Continue until all specs complete
