Agent skill
ralph-code
Use this skill when developing code, especially during a TDD cycle. This is the "Green" phase of TDD
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/ralph-code
SKILL.md
Implement the code to fulfill the task. If you have questions about what you're implementing 1) look at tests as they already should have been written, 2) look at SCOPES.md and DESIGN.md for the design you're implementing.
Write the code to implement the task. Do not go beyond the definition of the task, other agents will be developing those features, stick to the task you are assigned.
As you develop, after any significant piece of work is done you are permitted to commit your changes. Before commiting fix any linting errors. Not all tests have to be passing for an in-progress commit.
Do not update tests to fit your code unless they are significantly out of line. Use the tests as they are and make your code fit the tests.
Your job is complete when: 1) All tests pass 2) All linting errors are fixed 3) all task acceptance criteria and the task description are satisfied
Once all criteria are met:
- Ensure all tests are passing
- Update the current task in the SCOPES.yml file to assign a status of "implementing"
- Commit ALL remaining changes (including the status update) to VCS
- Call the ralph-refactor skill using the Skill tool with the same arguments that were passed to this skill
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?