ralph — community ralph-with-claude-code-and-linear, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ralph Advanced with Claude Code, Linear and Playwright - Autonomous AI agent loop with Linear MCP integration, Playwright browser testing, and optional TDD workflow.

ismailytics ismailytics
[8]
[1]
Updated: 2/28/2026
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

ralph

Install ralph, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Ralph PRD to Linear Converter

Converts existing PRD markdown files to Linear projects and issues for autonomous execution by Ralph.

Prerequisites: Linear MCP must be configured. See https://linear.app/docs/mcp


The Job

  1. Read the PRD markdown file provided by the user
  2. Parse user stories and requirements
  3. Select a Linear team (interactively)
  4. Create a Linear project with PRD content
  5. Create Linear issues for each user story
  6. Save .ralph-project configuration

Step 1: Parse the PRD

Read the PRD file and extract:

  • Title/Name from # PRD: [Name] or first heading
  • Description/Overview from Introduction section
  • Goals from Goals section
  • User Stories from User Stories section (parse US-XXX format)
  • Non-Goals from Non-Goals section
  • Technical Considerations from that section

Step 2: Select Linear Team

Use mcp__linear-server__list_teams to get available teams and ask the user which team to use.


Step 3: Create Linear Project

Use mcp__linear-server__create_project:

json
1{ 2 "name": "<PRD Title>", 3 "team": "<team-id-or-name>", 4 "description": "Branch: ralph/<feature-kebab-case>\n\n<Full PRD content as markdown>", 5 "state": "planned" 6}

Critical: The first line of the description MUST be Branch: ralph/<feature-name> for Ralph to identify the correct git branch.


Step 4: Create Issues from User Stories

For each ### US-XXX: section in the PRD:

  1. Extract title (text after US-XXX:)
  2. Extract description (the "As a..." line)
  3. Extract acceptance criteria (the - [ ] items)
  4. Map position to priority (1st=Urgent, 2nd=High, etc.)

Create issue using mcp__linear-server__create_issue:

json
1{ 2 "title": "US-001: <Title>", 3 "team": "<team-id-or-name>", 4 "project": "<project-id-or-name>", 5 "description": "<As a... description>\n\n## Acceptance Criteria\n<Criteria as checklist>", 6 "priority": 1, 7 "state": "Todo" 8}

Priority Mapping

PRD Story PositionLinear Priority
1 (first)1 (Urgent)
22 (High)
33 (Normal)
4+4 (Low)

Step 5: Save Configuration

Create .ralph-project in the Ralph directory:

json
1{ 2 "linearProjectId": "<project-id>", 3 "branchName": "ralph/<feature-name>" 4}

Story Size: The Number One Rule

Each story must be completable in ONE Ralph iteration (one context window).

Ralph spawns a fresh Claude Code instance per iteration with no memory of previous work. If a story is too big, the LLM runs out of context before finishing and produces broken code.

Right-sized stories:

  • Add a database column and migration
  • Add a UI component to an existing page
  • Update a server action with new logic
  • Add a filter dropdown to a list

Too big (split these):

  • "Build the entire dashboard" - Split into: schema, queries, UI components, filters
  • "Add authentication" - Split into: schema, middleware, login UI, session handling
  • "Refactor the API" - Split into one story per endpoint or pattern

Rule of thumb: If you cannot describe the change in 2-3 sentences, it is too big.


Story Ordering: Dependencies First

Stories execute in priority order. Earlier stories must not depend on later ones.

Correct order:

  1. Schema/database changes (migrations)
  2. Server actions / backend logic
  3. UI components that use the backend
  4. Dashboard/summary views that aggregate data

Wrong order:

  1. UI component (depends on schema that does not exist yet)
  2. Schema change

Acceptance Criteria: Must Be Verifiable

Each criterion must be something Ralph can CHECK, not something vague.

Good criteria (verifiable):

  • "Add status column to tasks table with default 'pending'"
  • "Filter dropdown has options: All, Active, Completed"
  • "Clicking delete shows confirmation dialog"
  • "Typecheck passes"
  • "Tests pass"

Bad criteria (vague):

  • "Works correctly"
  • "User can do X easily"
  • "Good UX"
  • "Handles edge cases"

Always include as final criterion:

"Typecheck passes"

For stories with testable logic, also include:

"Tests pass"

For stories with testable business logic (optional):

"Tests written first (TDD)"

Use this when the story involves complex logic, algorithms, or API contracts that benefit from test-first development.

For stories that change UI, also include:

"Verify in browser"

(The agent will auto-select Playwright MCP or dev-browser based on availability)


Validation Before Creating

Before creating in Linear, verify:

  • Each story is completable in one iteration (small enough)
  • Stories are ordered by dependency (schema → backend → UI)
  • Every story has "Typecheck passes" as criterion
  • UI stories have "Verify in browser"
  • Stories with complex logic considered for "Tests written first (TDD)"
  • Acceptance criteria are verifiable (not vague)
  • No story depends on a later story

If stories are too big, split them before creating issues.


Output Summary

After creating everything, show the user:

Converted PRD to Linear:

Project: <Project Name>
ID: <uuid>
Branch: ralph/<feature-name>

Issues Created:
- <TEAM>-123: US-001: <Title> (Urgent)
- <TEAM>-124: US-002: <Title> (High)
- <TEAM>-125: US-003: <Title> (Normal)
- <TEAM>-126: US-004: <Title> (Low)

Saved .ralph-project configuration.

To start Ralph:
  ./ralph.sh [max_iterations]

Example

Input: tasks/prd-task-status.md

Creates:

  1. Linear Project: "Task Status Feature"

    • Description contains full PRD with Branch: ralph/task-status on first line
  2. Linear Issues:

    • TEAM-45: US-001: Add status field to tasks table (Urgent)
    • TEAM-46: US-002: Display status badge on task cards (High)
    • TEAM-47: US-003: Add status toggle to task list rows (Normal)
    • TEAM-48: US-004: Filter tasks by status (Low)
  3. Local file: .ralph-project with project ID and branch name


Splitting Large PRDs

If a PRD has big features, split them:

Original:

"Add user notification system"

Split into:

  1. US-001: Add notifications table to database
  2. US-002: Create notification service for sending notifications
  3. US-003: Add notification bell icon to header
  4. US-004: Create notification dropdown panel
  5. US-005: Add mark-as-read functionality
  6. US-006: Add notification preferences page

Each is one focused change that can be completed and verified independently.


Checklist

Before finishing:

  • Parsed PRD file successfully
  • Selected Linear team
  • Created Linear project with PRD in description
  • Project description starts with Branch: ralph/<feature-name>
  • Created issues for all user stories
  • Issues have correct priority (1-4 based on order)
  • All stories include "Typecheck passes" criterion
  • UI stories include "Verify in browser" criterion
  • Stories are small enough for one iteration
  • Stories are ordered by dependencies
  • Saved .ralph-project configuration

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is ralph?

Ralph Advanced with Claude Code, Linear and Playwright - Autonomous AI agent loop with Linear MCP integration, Playwright browser testing, and optional TDD workflow.

How do I install ralph?

Run the command: npx killer-skills add ismailytics/ralph-with-claude-code-and-linear/ralph. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

Which IDEs are compatible with ralph?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add ismailytics/ralph-with-claude-code-and-linear/ralph. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use ralph immediately in the current project.

Related Skills

Looking for an alternative to ralph or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI