Implement Feature
Use Ralph loop to implement a well-defined feature
Claude CodeGeneric
---
description: "Use Ralph loop to implement a well-defined feature"
argument-hint: "<feature-requirements>"
allowed-tools: ["Bash"]
---
# Feature Implementation with Ralph Loop
This command sets up a Ralph loop for implementing a feature with clear requirements.
IMPORTANT: Before using this, ensure:
1. You have clear, testable requirements
2. You know the success criteria
3. You've set a reasonable iteration limit
The user provided: $ARGUMENTS
Now start the Ralph loop by running:
/ralph-loop "$ARGUMENTS
Implementation approach:
- Write failing tests for the requirements
- Implement the minimum code to pass
- Run tests: swift test --filter [TestName] -Xcc -I$(pwd)/.local/sqlite/install -Xlinker -L$(pwd)/.local/sqlite/install
- If tests fail, analyze output and fix
- Refactor if needed
- Repeat until all requirements met
Output
Guide the user through setting appropriate iteration limits and completion criteria.
Maintain Implement Feature?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Implement Feature on getagentictools](https://getagentictools.com/loops/gilmanb1-feature-implementation-with-ralph-loop?ref=badge) npx agentictools info loops/gilmanb1-feature-implementation-with-ralph-loop The second line is the CLI lookup for this page — handy in READMEs and docs.