Awesome-omni-skill ralph-prd-starter

Project-agnostic agent setup wizard for Ralph Orchestra with Quick Start, Standard, and Expert modes

install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-ai/ralph-prd-starter" ~/.claude/skills/diegosouzapw-awesome-omni-skill-ralph-prd-starter && rm -rf "$T"
manifest: skills/data-ai/ralph-prd-starter/SKILL.md
source content

Ralph PRD Starter

"Set up Ralph Orchestra for YOUR project - custom agents, skills, and configs in minutes."

Quick Start

Invoke this command to start the setup wizard:

/ralph-prd-starter

The wizard will guide you through configuring Ralph Orchestra for your project.

When to Use This Skill

Use

/ralph-prd-starter
when:

  • Setting up Ralph Orchestra for a new project
  • Adding custom agents to your project
  • Reconfiguring existing agents
  • Generating initial PRD from feature ideas
  • Updating orchestration mode or workflow patterns

Wizard Overview

Three Configuration Modes

┌─────────────────────────────────────────────────────────────┐
│                    WIZARD ENTRY POINTS                      │
├─────────────────────────────────────────────────────────────┤
│  ⚡ Quick Start   (5 min)   → Choose a preset template      │
│  🎯 Standard      (15 min)  → Guided with recommendations   │
│  🔧 Expert        (30+ min) → Full customization            │
└─────────────────────────────────────────────────────────────┘

Quick Start Flow (5 minutes)

  1. Select project template (14 presets available)
  2. Project name
  3. Generate!

Standard Mode Flow (15 minutes)

  1. Deep project understanding
  2. Agent selection with recommendations
  3. Skill/sub-agent confirmation
  4. Generate!

Expert Mode Flow (30+ minutes)

  1. Everything from Standard Mode
  2. Per-agent skill configuration
  3. Per-agent sub-agent selection
  4. MCP server customization
  5. Advanced settings

Phase 1: Entry Point Selection

Question: How would you like to configure Ralph Orchestra?

OptionDescriptionBest For
Quick StartChoose a named preset and customize project nameFirst-time users, common scenarios
🎯 Standard ModeGuided questions with AI recommendationsMost users, balanced approach
🔧 Expert ModeFull control over every configurationAdvanced users, custom needs

Flow Decision:

  • Quick Start → Go to Phase 2 (Presets)
  • Standard/Expert → Go to Phase 3 (Project Deep Dive)

Phase 2: Named Presets (Quick Start)

Question: Select a preset configuration for your project:

🎮 Game Development Presets

PresetAgentsSkillsSub-AgentsDescription
Indie Game DevPM, Dev, TA, QA, GD45 game dev skills18 sub-agentsSolo/small team 3D games with R3F
Game StudioPM, Dev, TA, QA, GD50+ full stack skills25+ sub-agentsProfessional game studio with multiplayer
Mobile GamePM, Dev, TA, QAMobile-optimized skillsMobile-specific sub-agentsiOS/Android games with performance focus
Multiplayer ArenaPM, Dev, TA, QA, GDAll networking + game skillsColyseus-focused sub-agentsServer-authoritative multiplayer games

🌐 Web Application Presets

PresetAgentsSkillsSub-AgentsDescription
Modern Web AppPM, Dev, QA25 web skills10 web sub-agentsReact/Vue/Svelte single-page apps
Full Stack SaaSPM, Dev, QA35 full-stack skills15 full-stack sub-agentsComplete web applications with backend
Dashboard/AnalyticsPM, Dev, QAData visualization skillsChart/visualization focusedData-heavy applications with charts
Content PlatformPM, Dev, QA, GDCMS + SEO skillsContent-focusedBlogs, docs, content sites

🏢 Business & Commerce Presets

PresetAgentsSkillsSub-AgentsDescription
E-Commerce StorePM, Dev, QA, GDPayment + inventory skillsDomain-specific sub-agentsOnline stores with checkout flow
SaaS ProductPM, Dev, QA, GDAuth + billing + subscriptionFull-stack sub-agentsSubscription-based products
Enterprise SuitePM, Dev, QASecurity + compliance skillsEnterprise-focusedLarge-scale business applications

🔧 Technical Presets

PresetAgentsSkillsSub-AgentsDescription
API ServerPM, Dev, QAServer + database skillsBackend sub-agentsNode.js/Python/Go API services
Data/ML PipelinePM, Dev, QAPython + TensorFlow skillsData pipeline sub-agentsML models and data processing
DevOps/InfrastructurePM, Dev, QACI/CD + Terraform skillsInfrastructure sub-agentsDeployment and automation
Custom---Build your own from scratch

After Preset Selection:

  1. Confirm project name
  2. Review preset summary
  3. Generate! (or customize further)

Phase 3: Project Deep Dive (Standard/Expert)

3.1 Project Identity

Question: What is your project's name and purpose?

Project Name: _______________

One-Line Summary: _________________________________

[Example: "A multiplayer space exploration game with base building"]

Question: Which category best describes your project?

CategoryDescriptionRecommended Tech Stack
🎮 Game DevelopmentInteractive games, simulationsR3F, Rapier, Colyseus
🌐 Web ApplicationSPA, dashboards, toolsReact, Vue, Svelte
📱 Mobile AppiOS/Android applicationsReact Native, Flutter
🔌 API/BackendServers, microservicesNode.js, Python, Go
📊 Data/MLAnalytics, AI modelsPython, TensorFlow
🛒 E-CommerceOnline stores, marketplacesFull-stack + payments
📦 SaaSSubscription productsFull-stack + billing
🧪 DevOps/InfrastructureCI/CD, deploymentTerraform, Docker

Question: What is the primary technology stack?

StackIncludesUse When
React Three FiberR3F, Drei, Rapier, Zustand3D games, visual experiences
React ModernReact 18+, Vite, TypeScriptModern web apps
Vue 3Vue 3, Vite, PiniaVue ecosystem
SvelteKitSvelte, SvelteKitLightweight apps
Next.jsNext.js, App RouterFull-stack React
React NativeRN, ExpoMobile apps
Node.js + TypeScriptExpress, FastifyAPI servers
Python + FastAPIFastAPI, SQLAlchemyPython backends
Go + gRPCGo, gRPC, PostgreSQLHigh-performance APIs
CustomSpecify belowOther stacks

3.2 Project Scope & Scale

Question: What is your team size?

Team SizeRecommended OrchestrationAgent Configuration
👤 SoloSequential ModeAll agents, you wear all hats
👥 Small Team (2-5)Event-Driven ModeSplit agents among team
🏢 Medium Team (6-20)Event-Driven ModeDedicated roles
🏛️ Enterprise (20+)Event-Driven + CustomMultiple instances

Question: What is the project scale?

ScaleDescriptionPM Planning Approach
🐣 Prototype/MVPProof of concept, < 20 tasksScale-adaptive (0-4 tasks)
🚀 Startup ProductLaunch-ready, 20-100 tasksBalanced planning
🏭 Production SystemEnterprise, 100+ tasksFull PRD management

Question: What are your critical success factors? (Multi-select)

  • Speed to market (fast iteration)
  • Code quality (strict standards)
  • Visual excellence (polish, effects)
  • Multiplayer reliability (server-authoritative)
  • Mobile performance (optimization)
  • Accessibility (WCAG compliance)
  • SEO optimization
  • Real-time features
  • Data processing (ML, analytics)

Phase 4: Agent Configuration (Standard/Expert)

4.1 Core Agent Selection

Question: Which agents do you need? (Multi-select)

AgentPurposeRequired ForRecommended Skills Count
PM (Coordinator)Task assignment, coordinationALL projects12 PM skills
DeveloperFeature implementationAny coding20-40 dev skills
Tech ArtistVisuals, shaders, effects3D, games, visual apps10-20 TA skills
QATesting, validationALL projects8-10 QA skills
Game DesignerGDD, design, playtestingGames, simulations8-10 GD skills

Smart Recommendations:

Based on your project type (Game Development), I recommend:
  ✅ PM, Developer, QA (required)
  ✅ Tech Artist (3D graphics, shaders, effects)
  ✅ Game Designer (GDD, mechanics, balance)

4.2 Per-Agent Skill Configuration (Expert Only)

For each selected agent, ask about skill categories. See Skill Catalog below for complete list.

Developer Agent Skills

CategorySkills to EnableDescription
R3F Fundamentals
dev-r3f-r3f-fundamentals
Core R3F patterns
Physics
dev-r3f-r3f-physics
Rapier physics integration
Materials
dev-r3f-r3f-materials
Custom material creation
Multiplayer: Server
dev-multiplayer-server-authoritative
,
dev-multiplayer-colyseus-server
Server-side game logic
Multiplayer: Client
dev-multiplayer-prediction-basics
,
dev-multiplayer-colyseus-client
Client prediction
Multiplayer: State
dev-multiplayer-colyseus-state
State schema definition
Multiplayer: Prediction
dev-multiplayer-prediction-movement
,
dev-multiplayer-prediction-shooting
Input prediction
Multiplayer: Anti-Cheat
dev-multiplayer-anti-cheat-validation
Server validation
TypeScript Basics
dev-typescript-typescript-basics
Core TypeScript patterns
TypeScript Advanced
dev-typescript-typescript-advanced
Generics, utilities
Patterns
dev-patterns-*
Object pooling, UI animations, coverage, haptics
Performance
dev-performance-*
Basics, instancing, LOD, mobile
Assets
dev-assets-*
Vite, audio, models, textures
Research
dev-research-*
Codebase, GDD, patterns
Validation
dev-validation-*
Feedback loops, quality gates, browser

Tech Artist Skills

CategorySkills to EnableDescription
R3F Fundamentals
ta-r3f-fundamentals
Core R3F for visuals
Materials
ta-r3f-r3f-materials
PBR materials
Performance
ta-r3f-r3f-performance
Visual optimization
Physics Assets
ta-r3f-r3f-physics
Physics visualization
Shader Development
ta-shader-development
GLSL/TSL shaders
SDF Geometry
ta-shader-sdf
Signed distance functions
VFX Particles
ta-vfx-particles
GPU particle systems
VFX PostFX
ta-vfx-postfx
Post-processing effects
Camera TPS
ta-camera-tps
Third-person camera
UI Polish
ta-ui-polish
UI/UX polish
UI Debug Helpers
ta-ui-debug-helpers
Leva debug panels
Assets
ta-assets-*
Workflow, pipeline optimization
Validation
ta-validation-typescript
Code quality for TA
Networking
ta-networking-visual-feedback
Multiplayer VFX
Input
ta-input-validation
Control testing

QA Skills

CategorySkills to EnableDescription
Browser Testing
qa-browser-testing
Playwright MCP
Code Review
qa-code-review
Pre-validation checks
Gameplay Testing
qa-gameplay-testing
E2E gameplay
Multiplayer Testing
qa-multiplayer-testing
Server validation
Bug Reporting
qa-reporting-bug-reporting
Structured reports
Asset Validation
qa-validation-asset
Asset quality checks
Validation Workflow
qa-validation-workflow
Complete QA flow
Visual Testing
qa-visual-testing
Regression testing
QA Workflow
qa-workflow
Complete QA process

PM Skills

CategorySkills to EnableDescription
Workflow
pm-workflow
Core PM flow
Task Selection
pm-organization-task-selection
Priority algorithm
Task Research
pm-organization-task-research
Pre-assignment research
Scale Adaptive
pm-organization-scale-adaptive
0-4 task planning
PRD Reorganization
pm-organization-prd-reorganization
Backlog management
Self Improvement
pm-improvement-self-improvement
Retrospective-driven
Skill Research
pm-improvement-skill-research
Skill updates
Test Planning
pm-planning-test-planning
QA coordination
Retrospective
pm-retrospective-facilitation
Session facilitation
Playtest Session
pm-retrospective-playtest-session
GD coordination
Architecture Validation
pm-validation-architecture
Client/server validation
Vite Assets
pm-configuration-vite-assets
Asset coordination
Asset Coordination
pm-configuration-asset-coordination
TA collaboration

Game Designer Skills

CategorySkills to EnableDescription
GDD Creation
gd-gdd-creation
GDD structure
Character Design
gd-design-character
Character classes
Game Loop
gd-design-game-loop
Core loop design
Level Design
gd-design-level
Map layout
Mechanic Design
gd-design-mechanic
Gameplay systems
Weapon Design
gd-design-weapon
Item/weapon design
Asset Impact
gd-assets-impact-analysis
Asset requirements
Thermite
gd-thermite-integration
Design sessions
Playtest
gd-validation-playtest
Playtesting

4.3 Per-Agent Sub-Agent Configuration (Expert Only)

Developer Sub-Agents

Sub-AgentModelPurposeEnable When
code-research
HaikuPre-implementation pattern researchAlways (Required)
implementation
SonnetCore feature implementationAlways (Required)
validation
HaikuFeedback loops before commitAlways (Required)
commit
HaikuGit operations, PRD updatesAlways (Required)

Tech Artist Sub-Agents

Sub-AgentModelPurposeEnable When
asset-researcher
HaikuFind existing assets before creatingAlways (Required)
asset-creator
SonnetCreate 3D/2D visual assetsCreating assets
shader-compiler
SonnetCreate and compile shadersShader work
particle-system-designer
SonnetCreate GPU particle systemsVFX work
visual-validator
HaikuPre-commit visual quality checkAlways (Required)
visual-tester
SonnetVisual regression testingAfter visual changes
performance-profiler
HaikuAnalyze performance bottlenecksPerformance issues
code-quality
HaikuTypeScript quality checksAlways (Required)

QA Sub-Agents

Sub-AgentModelPurposeEnable When
browser-validator
SonnetPlaywright browser testingAlways (Required)
multiplayer-validator
SonnetMultiplayer E2E testingMultiplayer features
visual-regression-tester
SonnetUI comparison with Vision MCPVisual/UI changes
gameplay-tester
SonnetE2E gameplay testingGameplay features
code-review
HaikuCode quality pre-validationAlways (Required)

PM Sub-Agents

Sub-AgentModelPurposeEnable When
task-researcher
SonnetResearch tasks before assignmentAlways (Recommended)
retrospective-facilitator
SonnetRun retrospective sessionsAfter task completion
skill-researcher
SonnetResearch skill improvementsDuring retrospectives
prd-organizer
SonnetReorganize PRD after retrospectivesAfter retrospectives
test-planner
SonnetCreate test plans for featuresBefore QA validation
architecture-validator
SonnetValidate architecture decisionsBefore implementation

Game Designer Sub-Agents

Sub-AgentModelPurposeEnable When
asset-analyst
HaikuReview existing assets before requestsAlways (Required)
visual-reference-researcher
SonnetFind visual inspiration onlineVisual asset creation
reference-game-researcher
SonnetResearch reference gamesMechanic/level design
thermite-facilitator
OpusRun thermite-design sessionsDesign discussions
gdd-documenter
SonnetCreate and maintain GDDsDocumentation needs
playtest-evidence-collector
SonnetCollect playtest evidencePlaytesting sessions

Phase 5: Orchestration Configuration (Standard/Expert)

Question: Which orchestration mode matches your needs?

ModeToken UsageParallelizationBest For
Event-DrivenMediumFull parallelProduction, complex tasks
💰 SequentialLow (~70% savings)One at a timeLearning, debugging, budget
🔄 PollingHighFull parallelLegacy compatibility
👤 HITLVariesSingle iterationLearning the flow

Question: Max iterations before automatic stop?

[ 200 ] ← Default safe limit

Tip: Set higher for large projects, lower for testing

Question: Context reset behavior?

OptionDescription
Auto-reset at 70%Recommended, maintains freshness
Auto-reset at 80%Aggressive, more context
Manual onlyYou control resets

Phase 6: MCP Server Configuration (Expert Only)

Question: Which MCP servers does each agent need?

PM Agent MCP Servers

MCP ServerPurposeEnable When
github
Repository operationsAlways (Required)
filesystem
Project file accessAlways (Required)
web-search
Research templates/patternsAlways (Recommended)
brave-search
Alternative searchBackup search

Developer Agent MCP Servers

MCP ServerPurposeEnable When
github
Git operationsAlways (Required)
filesystem
Source file accessAlways (Required)
web-search
Research stack patternsAlways (Recommended)
brave-search
Alternative searchBackup search

Tech Artist MCP Servers

MCP ServerPurposeEnable When
playwright
Browser visual testingVisual testing
vision
Image analysisAsset validation
blender
3D software integrationUsing Blender
shadertoy
Shader development researchShader work
image-process
Image manipulationAsset optimization
filesystem
Asset file accessAlways (Required)
github
Asset repositoryAlways (Required)

QA Agent MCP Servers

MCP ServerPurposeEnable When
playwright
Browser testingAlways (Required)
vision
Screenshot comparisonVisual regression
filesystem
Test file accessAlways (Required)
github
Bug reportingAlways (Required)

Game Designer MCP Servers

MCP ServerPurposeEnable When
playwright
Playtesting in browserAlways (Recommended)
vision
Visual reference analysisReference gathering
filesystem
GDD file accessAlways (Required)
github
Design repositoryAlways (Required)
web-search
Reference game researchAlways (Recommended)

Phase 7: Quality Standards (Standard/Expert)

Question: What are your quality standards?

StandardOptionsRecommended
TypeScript StrictnessStrict / Standard / LooseStrict
Test Coverage Target95% / 80% / 60% / None80%
Lint RulesESLint Recommended / Custom / NoneESLint Recommended
Commit Convention[ralph] format / Conventional / Custom[ralph] format
CI/CD IntegrationGitHub Actions / GitLab CI / NoneGitHub Actions

Question: Additional quality gates? (Multi-select)

  • No
    any
    types (strict enforcement)
  • No
    @ts-ignore
    (zero tolerance)
  • All feedback loops must pass
  • Visual regression testing
  • Server-authoritative validation
  • Mobile performance checks
  • Accessibility auditing
  • Security scanning

Phase 8: Initial Features (All Modes)

Question: Describe your initial features in natural language

Example input:
"I need a player character that can move around with WASD, jump with spacebar,
and has a health system. There should be enemies that chase the player and
deal damage on contact. When health reaches zero, respawn at the start."

AI Processing:

  • Parse into structured PRD items
  • Categorize by type (architectural, feature, bug, chore)
  • Assign priority (high/medium/low)
  • Suggest acceptance criteria
  • Map to appropriate agent

Phase 8b: Deep Research (All Modes)

After collecting initial features, launch the

pm-research-specialist
sub-agent for deep domain research.

Research Specialist Invocation

Launch the pm-research-specialist sub-agent:

Task("pm-research-specialist", {
  prompt: """
  Research this project idea deeply:

  Project: {project.name}
  Description: {project.description}
  Category: {project.category}
  Tech Stack: {project.techStack}
  Initial Features: {features}

  Research:
  1. Similar projects and their architectures (use WebSearch, GitHub repo search)
  2. Best practices for this tech stack
  3. Common pitfalls and challenges
  4. Questions we should ask the user (5-10 targeted questions)

  Return structured output with:
  1. Research summary (3-5 key insights)
  2. List of clarifying questions with context and impact
  3. Recommended feature refinements
  4. References to useful resources
  """
})

User Questions Phase

Present research findings and ask clarifying questions:

═══════════════════════════════════════════════════════════════
                    RESEARCH FINDINGS
═══════════════════════════════════════════════════════════════

{research_findings_summary}

Similar Projects Found:
- [{Project 1}]({url}) - {relevance}
- [{Project 2}]({url}) - {relevance}

Best Practices:
- {practice 1} - {reason}
- {practice 2} - {reason}

═══════════════════════════════════════════════════════════════
                    CLARIFYING QUESTIONS
═══════════════════════════════════════════════════════════════

{generated_questions}

Please answer each question to help tailor your project setup.
[You can also request more research or modify questions]

Store answers in state file under

researchData.questionsAnswered
.

Research Data Storage

Update state file with research results:

{
  "researchData": {
    "similarProjects": [...],
    "bestPractices": [...],
    "commonPitfalls": [...],
    "techStackInsights": {...},
    "questionsAsked": [...],
    "questionsAnswered": [...],
    "recommendedRefinements": [...],
    "references": [...]
  }
}

User Review Gate 1: After Research

User reviews:

  • Research findings
  • Generated questions
  • Can request more research or modify questions

Options: [Continue to Next Phase] [Request More Research] [Modify Questions]


Phase 8c: GDD Creation (Game Projects Only)

Condition: Only runs if

project.category === "game-development"

Thermite Session

Launch thermite facilitator for game design:

Task("gamedesigner-thermite-facilitator", {
  prompt: """
  Run a Thermite Design Session for this game:

  Project: {project.name}
  Description: {project.description}
  Features: {features}
  Research Findings: {researchData}
  User Answers: {researchData.questionsAnswered}

  Session Type: Boardroom Retreat (4 personas)

  Run the session to:
  1. Establish core design pillars
  2. Define key mechanics
  3. Identify design tensions
  4. Create initial design decisions (DEC-NNN format)
  5. Document open questions (OQ-NNN format)

  Output structured GDD data including:
  - Design decisions with rationale
  - Open questions with priority
  - Design pillars
  - Core mechanics
  """
})

GDD Output

Save to

docs/design/
:

  • decision_log.md
    - All design decisions
  • open_questions.md
    - Unresolved design questions
  • gdd.md
    - Game Design Document summary

GDD Data Storage

Update state file with GDD results:

{
  "gddData": {
    "designDecisions": [
      {
        "id": "DEC-001",
        "title": "Player Movement Model",
        "decision": "Use player-relative WASD controls...",
        "rationale": "Accessibility design pillar requires..."
      }
    ],
    "openQuestions": [...],
    "designPillars": [...],
    "coreMechanics": [...],
    "thermiteSessionType": "boardroom-retreat",
    "participants": [...]
  }
}

User Review Gate 2: After GDD (Games Only)

User reviews:

  • Design decisions
  • Open questions
  • Design pillar compliance
  • Can request additional thermite sessions

Options: [Continue to PRD Creation] [Request Additional Thermite Session] [Modify GDD]


Phase 8d: PRD Creation (All Modes)

PM Agent Handoff

CRITICAL: The final PRD.json must be created by a PM agent, not the generator script.

Task("pm-prd-creator", {
  prompt: """
  Create the final prd.json using your PM expertise:

  Project Specification:
  - Name: {project.name}
  - Description: {project.description}
  - Category: {project.category}
  - Tech Stack: {project.techStack}
  - Agents: {configured_agents}

  Research Data:
  {researchData}

  GDD Data (if game project):
  {gddData}

  User Answers:
  {researchData.questionsAnswered}

  Initial Features:
  {features}

  Create prd.json with:
  1. Properly structured PRD items based on research
  2. Acceptance criteria derived from user input + research
  3. Correct agent assignments (considering skills)
  4. Dependency mapping between items
  5. Priority assignment based on user goals
  6. Feedback loops configured for tech stack
  7. Quality standards from Phase 7

  For game projects, include GDD references in PRD item descriptions.

  Write the file to: prd.json
  """
})

PRD Review

Display generated PRD for user review:

═══════════════════════════════════════════════════════════════
                    PRD REVIEW
═══════════════════════════════════════════════════════════════

Project: {project.name}

Summary:
{brief_project_overview}

Items ({count}):
───────────────────────────────────────────────────────────────
| ID    | Title                    | Category | Priority | Agent |
───────────────────────────────────────────────────────────────
{prd_items_table}
───────────────────────────────────────────────────────────────

Agent Assignment:
- Developer: {n} tasks
- Tech Artist: {n} tasks
- QA: {n} tasks
- Game Designer: {n} tasks

Feedback Loops:
{feedback_loops}

Quality Standards:
- TypeScript: {mode}
- Test Coverage: {target}%
- Linting: {tools}

═══════════════════════════════════════════════════════════════

Approve this PRD? [Yes/No/Modify]

User Review Gate 3: After PRD

User reviews:

  • Complete prd.json content
  • All PRD items
  • Agent assignments
  • Can request modifications before final approval

Options: [Approve and Continue] [Modify PRD] [Request New Research]

PRD Specification Storage

Update state file with PRD specification:

{
  "prdSpecification": {
    "refinedFeatures": [...],
    "dependencies": [...],
    "priorities": {...},
    "technicalRecommendations": [...]
  }
}

Phase 9: Review and Generate (All Modes)

Summary Display

═══════════════════════════════════════════════════════════════
                    RALPH ORCHESTRA SETUP
═══════════════════════════════════════════════════════════════

📁 PROJECT: My Awesome Game
📋 TYPE: Game Development (React Three Fiber)
👥 TEAM: Solo Developer
🎯 MODE: Sequential (Token-Efficient)

───────────────────────────────────────────────────────────────
AGENTS (5)
───────────────────────────────────────────────────────────────
  ✅ PM          • 12 skills • 6 sub-agents
  ✅ Developer   • 28 skills • 4 sub-agents
  ✅ Tech Artist • 12 skills • 8 sub-agents
  ✅ QA          • 9 skills  • 5 sub-agents
  ✅ Game Designer • 9 skills • 6 sub-agents

───────────────────────────────────────────────────────────────
FEATURES (8)
───────────────────────────────────────────────────────────────
  feat-001  [high]   Player movement system     → Developer
  feat-002  [high]   Player health system       → Developer
  feat-003  [medium] Enemy AI                    → Developer
  feat-004  [medium] Combat system               → Developer
  feat-005  [low]    Respawn mechanic            → Developer
  feat-006  [high]   Visual effects              → Tech Artist
  feat-007  [medium] UI HUD                      → Tech Artist
  feat-008  [low]    GDD documentation           → Game Designer

───────────────────────────────────────────────────────────────
GENERATION
───────────────────────────────────────────────────────────────
  📄 agents/pm/AGENT.md
  📄 agents/developer/AGENT.md
  📄 agents/techartist/AGENT.md
  📄 agents/qa/AGENT.md
  📄 agents/gamedesigner/AGENT.md
  📁 .claude/agents/*.agent.md (31 sub-agents)
  📁 .claude/skills/*/SKILL.md (70 skills)
  ⚙️  .claude/settings.*.json (5 configs)
  📋 prd.json (8 features)

═══════════════════════════════════════════════════════════════

[Generate Setup]  [Back]  [Save Configuration]

Phase 10: Project Initialization (All Modes)

Question: How would you like to handle project dependencies?

OptionDescription
Auto-InitializeRalph runs setup automatically on first coordinator start
Manual SetupYou'll handle dependencies yourself before starting Ralph
Ask Me LaterPrompt after generating files

If Auto-Initialize or Ask Me Later is selected:

Question: What is your primary runtime environment?

RuntimePackage ManagerInit CommandInstall CommandDev Command
Node.jsnpm / yarn / pnpm
npm init -y
npm install
npm run dev
Pythonpip / poetry
python -m venv venv
pip install -r requirements.txt
python main.py
Rustcargo
cargo init
cargo build
cargo run
Gogo mod
go mod init
go mod tidy
go run main.go
Javamvn
mvn archetype:generate
mvn install
mvn spring-boot:run
.NETdotnet
dotnet new console
dotnet restore
dotnet run

Question: What are your feedback loop commands? (Auto-populated based on runtime)

Loop TypeCommandRequired?
Type Check
npm run type-check
/
mypy --strict .
/
cargo clippy
Lint
npm run lint
/
ruff check .
/
golangci-lint run
Test
npm run test
/
pytest
/
cargo test
Build
npm run build
/
python -m build
/
cargo build

Customization:

  • Users can customize any command based on their project setup
  • Commands will be written to
    prd.json.feedbackLoops
    for agent use
  • Initialization script will be generated as
    .claude/scripts/init-project.sh
    and
    .ps1

Initialization Flow:

  1. Wizard collects runtime, package manager, and commands
  2. Generator creates
    init-project.sh
    and
    init-project.ps1
    scripts
  3. Scripts check for package manager availability
  4. Scripts run init, install, and verify commands
  5. Coordinator checks
    prd.json.projectInitialization.status
    on startup
  6. If "pending", coordinator runs init script before task coordination
  7. Status updated to "completed" on success, "failed" on error (with retry)

If Manual Setup selected:

  • projectInitialization.status
    set to "skipped"
  • Coordinator skips auto-init and proceeds directly to task coordination
  • User is responsible for running setup before starting Ralph

Phase 11: Workflow Documentation Generation (All Modes)

After all files are generated, create comprehensive workflow documentation for all agents.

Summary

Generate workflow documentation that describes:

  • How each agent operates (startup, decision framework, exit conditions)
  • The complete task lifecycle across all agents
  • Communication protocols and handoff mechanisms
  • File permissions and commit standards

Process

1. Create workflows directory (if not exists):

mkdir -p docs/workflows

2. Launch parallel sub-agents using the Task tool in a single message:

Task("workflow-generator", {
  agent_name: "pm",
  output_file: "pm-coordinator.md",
  source_file: "agents/pm/AGENT.md"
})

Task("workflow-generator", {
  agent_name: "developer",
  output_file: "developer.md",
  source_file: "agents/developer/AGENT.md"
})

Task("workflow-generator", {
  agent_name: "techartist",
  output_file: "techartist.md",
  source_file: "agents/techartist/AGENT.md"
})

Task("workflow-generator", {
  agent_name: "qa",
  output_file: "qa.md",
  source_file: "agents/qa/AGENT.md"
})

Task("workflow-generator", {
  agent_name: "gamedesigner",
  output_file: "gamedesigner.md",
  source_file: "agents/gamedesigner/AGENT.md"
})

Task("devcycle-generator", {
  output_file: "development-cycle.md"
})

3. Wait for all to complete - Each sub-agent reports when done

4. Verify outputs - Check all expected files exist:

ls docs/workflows/
# Expected: pm-coordinator.md, developer.md, techartist.md, qa.md, gamedesigner.md, development-cycle.md

5. Create index file - Generate

docs/workflows/index.md
with links to all workflows

Success Criteria

  • All enabled agent workflow files created
  • development-cycle.md
    created
  • All files follow template structure (
    docs/workflows/_template.md
    )
  • YAML frontmatter present and valid
  • ASCII diagrams render correctly
  • Index file created with proper cross-references

Output Files Generated

FileDescription
docs/workflows/pm-coordinator.md
PM workflow documentation
docs/workflows/developer.md
Developer workflow documentation
docs/workflows/techartist.md
Tech Artist workflow documentation
docs/workflows/qa.md
QA workflow documentation
docs/workflows/gamedesigner.md
Game Designer workflow documentation
docs/workflows/development-cycle.md
Complete task lifecycle documentation
docs/workflows/index.md
Index with links to all workflows

Skip Condition

If the user is in a hurry or wants to generate workflows later, they can choose to skip this phase. Workflows can be generated later by invoking the

shared-workflow-generation
skill directly.


Implementation Steps

1. Initialize State Management

On first invocation, create the state file:

# Read or create state file
$statePath = ".claude/session/prd-starter-state.json"
if (-not (Test-Path $statePath)) {
    $state = @{
        version = "4.0.0"
        startedAt = (Get-Date).ToUniversalTime().ToString("o")
        completedAt = $null
        wizardMode = $null
        currentPhase = "entry_point_selection"
        currentSubPhase = $null
        phases = @{}
        researchData = @{}
        gddData = @{}
        prdSpecification = @{}
    } | ConvertTo-Json -Depth 20
    $state | Out-File -FilePath $statePath -Encoding utf8
}

2. Run Phase Questions

Use

AskUserQuestion
for all user inputs. Always include "Other" for free-form input.

3. Update State File

After each phase completion, update the state with collected data.

4. Load Preset (Quick Start Mode)

For Quick Start mode, load the preset from

.claude/presets/{preset-name}.json
:

$presetPath = ".claude/presets/$selectedPreset.json"
$preset = Get-Content $presetPath | ConvertFrom-Json
# Merge preset into state configuration

5. Generate Files

After Phase 9 (Review and Confirm), invoke the generator:

Windows:

.\.claude\scripts\prd-starter\prd-starter-generator.ps1 -Action generate -StateFile .claude\session\prd-starter-state.json

Mac/Linux:

python3 .claude/scripts/prd-starter/prd-starter-generator.py --action generate --state .claude/session/prd-starter-state.json

6. Verify Generation

After generation completes, verify:

  1. Check all agent directories exist
  2. Verify AGENT.md files have correct frontmatter
  3. Confirm MCP settings are valid
  4. Validate prd.json format
  5. Check scripts were updated

State Persistence

The state file persists across invocations:

  • Location:
    .claude/session/prd-starter-state.json
  • Resumable from any phase
  • Tracks wizard mode (quick-start/standard/expert)
  • Records preset selection (if Quick Start)
  • Stores per-agent skill/sub-agent selections (if Expert)
  • Records quality standards and orchestration settings

Output Files

FileGenerated When
agents/{name}/AGENT.md
Each agent configured
.claude/agents/{subagent-name}.agent.md
Sub-agent configured
.claude/skills/{skill-name}/SKILL.md
Custom skill configured (folder-based)
.claude/settings.{name}.json
Each agent configured
prd.json
Phase 8d complete (created by PM agent)
Watchdog scripts updatedAfter generation

Architecture Notes:

  • Agents: Single
    AGENT.md
    file per agent (no subdirectories)
  • Sub-agents: Flat
    .claude/agents/*.agent.md
    with YAML frontmatter
  • Skills: Folder-based
    .claude/skills/{name}/SKILL.md
    with naming prefixes (dev-, ta-, qa-, pm-, gd-, shared-)

Anti-Patterns

  • Don't skip questions: All phases are required for complete setup
  • Don't skip research: Research provides context for better decisions
  • Don't hardcode values: Always gather from user or research
  • Don't bypass validation: Use schemas before generating files
  • Don't forget "Other" option: Allow free-form for every question

Cross-Platform Support

The generator works on all platforms:

  • Windows: Use
    .prd-starter-generator.ps1
  • Mac/Linux: Use
    .prd-starter-generator.sh
    or call Python directly
  • Python 3.8+ required with jinja2, pyyaml, jsonschema

See Also