AgentToolHub
Skill

prd

prd — a Claude Code skill from snarktank/ralph

Features

  • ✓Automated AI coding tool execution
  • ✓Loop until all PRD items are complete
  • ✓Clean context for each iteration
  • ✓Git history and JSON file for memory persistence
  • ✓Integrates with Amp CLI and Claude Code
  • ✓Visit GitHub for more details

Installation Guide

Option 1: Copy to your project

Copy the ralph files into your project:

bash
# From your project root
mkdir -p scripts/ralph
cp /path/to/ralph/ralph.sh scripts/ralph/

# Copy the prompt template for your AI tool of choice:
cp /path/to/ralph/prompt.md scripts/ralph/prompt.md    # For Amp
# OR
cp /path/to/ralph/CLAUDE.md scripts/ralph/CLAUDE.md    # For Claude Code

chmod +x scripts/ralph/ralph.sh

Option 2: Install skills globally (Amp)

Copy the skills to your Amp or Claude config for use across all projects:

For AMP

bash
cp -r skills/prd ~/.config/amp/skills/
cp -r skills/ralph ~/.config/amp/skills/

For Claude Code (manual)

bash
cp -r skills/prd ~/.claude/skills/
cp -r skills/ralph ~/.claude/skills/

Option 3: Use as Claude Code Marketplace

Add the Ralph marketplace to Claude Code:

bash
/plugin marketplace add snarktank/ralph

Then install the skills:

bash
/plugin install ralph-skills@ralph-marketplace

Available skills after installation:

  • /prd - Generate Product Requirements Documents

  • /ralph - Convert PRDs to prd.json format
  • Skills are automatically invoked when you ask Claude to:

  • "create a prd", "write prd for", "plan this feature"

  • "convert this prd", "turn into ralph format", "create prd.json"
  • Configure Amp auto-handoff (recommended)

    Add to ~/.config/amp/settings.json:

    json
    {
      "amp.experimental.autoHandoff": { "context": 90 }
    }

    This enables automatic handoff when context fills up, allowing Ralph to handle large stories that exceed a single context window.

    Reviews