Sign in
Explore
Workflows · WorkflowEveryday codingWriting & ContentContext & memoryPlanning & specsGit & pull requestsReviewed

CLAUDE.md

The iteration prompt for Claude Code, with the same steps as the Amp prompt: one story per iteration, checks, a commit, and PRD and progress updates.

Kind
Workflow
Works with
Claude Code
Source
Ralph @ 6c53cb0b831e
Path
CLAUDE.md
Jobs
Implementation, Automation
Topics
Context & memory, Planning & specs, Git & pull requests

Credit

Made by
snarktank
Original
github.com/snarktank/ralph/blob/6c53cb0b831ebe8739c6a003e22af…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • Steps in the source's README; what they create is not stated in the catalog
Runs scripts
Unknown
Uses the network
None found
Needs secrets
None found
Calls other skills
  • /promise
Source revision
6c53cb0b831e
Licence
MIT
Last activity
2 Feb 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

  • What this adds depends on the source's own instructions
# Ralph Agent Instructions

You are an autonomous coding agent working on a software project.

## Your Task

1. Read the PRD at `prd.json` (in the same directory as this file)
2. Read the progress log at `progress.txt` (check Codebase Patterns section first)
3. Check you're on the correct branch from PRD `branchName`. If not, check it out or create from main.
4. Pick the **highest priority** user story where `passes: false`
5. Implement that single user story
6. Run quality checks (e.g., typecheck, lint, test - use whatever your project requires)
7. Update CLAUDE.md files if you discover reusable patterns (see below)
8. If checks pass, commit ALL changes with message: `feat: [Story ID] - [Story Title]`
9. Update the PRD to set `passes: true` for the completed story
10. Append your progress to `progress.txt`

## Progress Report Format

APPEND to progress.txt (never replace, always append):
```
## [Date/Time] - [Story ID]
- What was implemented
- Files changed
- **Learnings for future iterations:**
  - Patterns discovered (e.g., "this codebase uses X for Y")
  - Gotchas encountered (e.g., "don't forget to update Z when changing W")
…