Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ Based on [Geoffrey Huntley's Ralph pattern](https://ghuntley.com/ralph/).

## Setup

### Option 1: Copy to your project
Choose **one** of the following approaches:

Copy the ralph files into your project:
### Approach A: Project-local setup (recommended for teams)

Keep everything in your project repository so teammates get Ralph automatically:

```bash
# From your project root
Expand All @@ -33,24 +35,31 @@ cp /path/to/ralph/prompt.md scripts/ralph/prompt.md # For Amp
cp /path/to/ralph/CLAUDE.md scripts/ralph/CLAUDE.md # For Claude Code

chmod +x scripts/ralph/ralph.sh

# Also copy the skills to your project
cp -r /path/to/ralph/skills .claude/skills/ # For Claude Code
# OR
cp -r /path/to/ralph/skills .amp/skills/ # For Amp
Comment on lines +40 to +42
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: incorrect path - creates nested skills/skills/ directory structure

copying the entire skills directory will create .claude/skills/skills/prd/ instead of .claude/skills/prd/

Suggested change
cp -r /path/to/ralph/skills .claude/skills/ # For Claude Code
# OR
cp -r /path/to/ralph/skills .amp/skills/ # For Amp
# Also copy the skills to your project
cp -r /path/to/ralph/skills/prd .claude/skills/ # For Claude Code
cp -r /path/to/ralph/skills/ralph .claude/skills/
# OR
cp -r /path/to/ralph/skills/prd .amp/skills/ # For Amp
cp -r /path/to/ralph/skills/ralph .amp/skills/
Prompt To Fix With AI
This is a comment left during a code review.
Path: README.md
Line: 40:42

Comment:
**logic:** incorrect path - creates nested `skills/skills/` directory structure

copying the entire `skills` directory will create `.claude/skills/skills/prd/` instead of `.claude/skills/prd/`

```suggestion
# Also copy the skills to your project
cp -r /path/to/ralph/skills/prd .claude/skills/    # For Claude Code
cp -r /path/to/ralph/skills/ralph .claude/skills/
# OR
cp -r /path/to/ralph/skills/prd .amp/skills/       # For Amp
cp -r /path/to/ralph/skills/ralph .amp/skills/
```

How can I resolve this? If you propose a fix, please make it concise.

```

### Option 2: Install skills globally
### Approach B: Global setup (for personal use across projects)

Copy the skills to your Amp or Claude config for use across all projects:
Install skills globally so they're available in any project:

For AMP
**For Amp:**
```bash
cp -r skills/prd ~/.config/amp/skills/
cp -r skills/ralph ~/.config/amp/skills/
```

For Claude Code
**For Claude Code:**
```bash
cp -r skills/prd ~/.claude/skills/
cp -r skills/ralph ~/.claude/skills/
```

Then copy `ralph.sh` and the prompt template to each project as needed.

### Configure Amp auto-handoff (recommended)

Add to `~/.config/amp/settings.json`:
Expand Down