Sign in
Explore
Workflows · WorkflowEveryday codingWriting & ContentGit & pull requestsCreative writingReviewed

prompt

The iteration prompt for Amp. Picks the top unfinished story, implements it, runs checks, commits, marks it passing and appends to progress.txt.

Kind
Workflow
Works with
Any agent
Source
Ralph @ 6c53cb0b831e
Path
prompt.md
Jobs
Implementation, Automation
Topics
Git & pull requests, Creative writing

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
Reads environment variables
  • AMP_CURRENT_THREAD_ID
Calls other skills
  • dev-browser
  • /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 AGENTS.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]
Thread: https://ampcode.com/threads/$AMP_CURRENT_THREAD_ID
- What was implemented
- Files changed
- **Learnings for future iterations:**
  - Patterns discovered (e.g., "this codebase uses X for Y")
…