OpenParable
Skip to content
← Back to skills

Ralph Router

Agent Building
ralph-router

Ralph Router is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Routes to appropriate Ralph skills based on agent role and task signals

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/shared-ralph-router/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ralph-router, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ralph Skill Router

"Right skill for the right agent at the right time."

When to Use This Skill

Use at:

  • Agent startup to load appropriate skills
  • Task assignment to determine required skills
  • Retrospective to identify skill gaps

Quick Route

By Agent Role

AgentCore SkillsChecklists
PMtask-selection, retrospective, skill-improvement, scale-adaptiveprd-validation, task-handoff
Developerr3f-fundamentals, feedback-loops, typescript-patternspre-commit, code-quality
QAvalidation-workflow, browser-testing, bug-reportingvalidation-checks
GameDesignergdd-creation, thermite-integration, mechanic-design, level-design, character-design, weapon-design, game-loop-design, playtest-validationgdd-review, design-validation
TechArtistr3f-fundamentals, r3f-materials, r3f-geometry, shader-sdf, postfx-effects, particles-gpu, feedback-loops, typescript-patternsasset-quality, shader-review, visual-consistency

By Task Category

CategoryDeveloper SkillsQA FocusTechArtist Skills
architecturaltypescript-patterns, r3f-fundamentalsFull validation suitetypescript-patterns, r3f-fundamentals
integrationDomain-specific (physics, materials)Cross-browser testingr3f-materials, shader integration
functionalr3f-fundamentals, feedback-loopsAcceptance criteria-
visual-Visual QAr3f-materials, shader-sdf, postfx-effects
shader-Shader testingshader-sdf, glsl, gpu-cost-optimizer
effects-Effects testingparticles-gpu, postfx-effects
ui-polish-UI testingr3f-materials, visual-polish
polishr3f-materials, r3f-performanceVisual + performancer3f-materials, postfx-effects

By Signal Keywords

Signal in TaskRoute To
"physics", "collision", "rigid body"r3f-physics
"shader", "material", "texture"r3f-materials
"performance", "fps", "optimization"r3f-performance
"component", "scene", "canvas"r3f-fundamentals
"type", "interface", "generic"typescript-patterns

Routing Protocol

Step 1: Identify Agent Role

const role =
  state.agents[agentName].terminal === 'coordinator'
    ? 'pm'
    : agentName === 'developer'
      ? 'developer'
      : 'qa';

Step 2: Load Core Skills

## Core Skills for {{ROLE}}

Load these skills for every session:

### PM Core

- agents/pm/skills/task-selection.md
- agents/pm/skills/retrospective.md
- agents/pm/skills/scale-adaptive.md
- agents/pm/checklists/prd-validation.md
- agents/pm/checklists/task-handoff.md
- agents/pm/references/state-files.md

### Developer Core

- agents/developer/skills/feedback-loops.md
- agents/developer/skills/typescript-patterns.md
- agents/developer/checklists/pre-commit.md
- agents/developer/checklists/code-quality.md

### QA Core

- agents/qa/skills/validation-workflow.md
- agents/qa/skills/browser-testing.md
- agents/qa/skills/bug-reporting.md
- agents/qa/checklists/validation-checks.md

Step 3: Load Domain Skills (Developer Only)

Based on task signals:

function getDomainSkills(task) {
  const skills = [];
  const text = `${task.title} ${task.description}`.toLowerCase();

  // R3F/Three.js signals
  if (/physics|collision|rapier|rigid/.test(text)) {
    skills.push('agents/developer/skills/r3f-physics.md');
  }
  if (/shader|material|texture|pbr/.test(text)) {
    skills.push('agents/developer/skills/r3f-materials.md');
  }
  if (/performance|fps|optimize|mobile/.test(text)) {
    skills.push('agents/developer/skills/r3f-performance.md');
  }
  if (/scene|component|canvas|drei/.test(text)) {
    skills.push('agents/developer/skills/r3f-fundamentals.md');
  }

  // Always include fundamentals for R3F tasks
  if (skills.length > 0 && !skills.includes('r3f-fundamentals.md')) {
    skills.unshift('agents/developer/skills/r3f-fundamentals.md');
  }

  return skills;
}

Common Skill Combinations

Game Feature Development

r3f-fundamentals + r3f-physics + feedback-loops + pre-commit

Visual Polish

r3f-fundamentals + r3f-materials + r3f-performance + pre-commit

Performance Optimization

r3f-performance + r3f-materials + pre-commit

New Component

r3f-fundamentals + typescript-patterns + code-quality + pre-commit

Skill Dependencies

r3f-materials ──────┐
                    ├──▶ r3f-fundamentals
r3f-physics ────────┤
                    │
r3f-performance ────┘

validation-workflow ──┬──▶ browser-testing
                      └──▶ bug-reporting

retrospective ────────────▶ skill-improvement

Reference