Current State
Ralph-starter already has excellent preset coverage:
- Development: feature, feature-minimal, tdd-red-green, spec-driven, refactor
- Debugging: debug, incident-response, code-archaeology
- Review: review, pr-review, adversarial-review
- Documentation: docs, documentation-first
- Specialized: api-design, migration-safety, performance-optimization, scientific-method, research, gap-analysis
Missing Presets
1. mob-programming
Description: Simulated mob programming with multiple perspectives
'mob-programming': {
name: 'mob-programming',
description: 'Simulated mob programming with rotating roles',
maxIterations: 40,
validate: true,
commit: true,
promptPrefix: 'Simulate mob programming: rotate between Driver (writes code), Navigator (reviews direction), and Mob (provides input). After each significant change, rotate roles and review.',
}
2. socratic-learning
Description: Learning through dialogue and questioning
'socratic-learning': {
name: 'socratic-learning',
description: 'Learn through questioning and exploration',
maxIterations: 30,
validate: false,
commit: false,
promptPrefix: 'Use the Socratic method: ask probing questions, challenge assumptions, explore edge cases. Document insights and understanding gained.',
}
3. confession-loop
Description: Builder-Confessor-Handler introspective cycle
'confession-loop': {
name: 'confession-loop',
description: 'Introspective Builder-Confessor-Handler cycle',
maxIterations: 35,
validate: true,
commit: true,
promptPrefix: 'Follow the confession loop: 1) Builder creates implementation, 2) Confessor admits weaknesses/concerns, 3) Handler addresses confessions. Iterate until confident.',
}
4. pdd-to-code-assist
Description: Prompt-Driven Development workflow
'pdd-to-code-assist': {
name: 'pdd-to-code-assist',
description: 'Prompt-Driven Development flow',
maxIterations: 30,
validate: true,
commit: true,
promptPrefix: 'Follow PDD: 1) Write detailed prompts describing desired behavior, 2) Generate code from prompts, 3) Validate against prompts, 4) Refine prompts if needed.',
}
Implementation
Add to src/presets/index.ts in a new "Collaborative" category.
Current State
Ralph-starter already has excellent preset coverage:
Missing Presets
1.
mob-programmingDescription: Simulated mob programming with multiple perspectives
2.
socratic-learningDescription: Learning through dialogue and questioning
3.
confession-loopDescription: Builder-Confessor-Handler introspective cycle
4.
pdd-to-code-assistDescription: Prompt-Driven Development workflow
Implementation
Add to
src/presets/index.tsin a new "Collaborative" category.