npx skills add https://github.com/adaptationio/skrillz --skill ralph-prompt-multi-taskSKILL.md
Ralph Prompt Generator: Multi-Task
Overview
Generates structured prompts for multiple related tasks that need to be completed in sequence or parallel. Uses phase-based organization with milestone tracking, cumulative success criteria, and clear progression through tasks.
Best For:
- CRUD operation implementations (Create, Read, Update, Delete)
- Multi-step feature development
- Database migrations with multiple stages
- API endpoint suites
- Test suite creation for multiple modules
- Multi-file refactoring projects
Ralph Philosophy: This generator embraces the principle that failures are deterministic and fixable. Each phase iteration learns from previous attempts. Don't fear failures—they're expected and provide data for improvement through prompt tuning.
Quick Start
Input Required:
- List of tasks to complete
- Task dependencies (which tasks depend on others)
- Success criteria for each task
- Final completion promise
Generate prompt with:
Generate a Ralph multi-task prompt for:
Tasks:
1. [Task 1]
2. [Task 2]
3. [Task 3]
Dependencies: [Task 2 depends on Task 1, etc.]
Final promise: [COMPLETION_PHRASE]
Prompt Generation Workflow
Step 1: Map the Tasks
Create a task inventory:
| Task # | Task Name | Dependencies | Verification | Est. Complexity |
|---|---|---|---|---|
| 1 | [Name] | None | [How to verify] | Low/Med/High |
| 2 | [Name] | Task 1 | [How to verify] | Low/Med/High |
| 3 | [Name] | Task 1 | [How to verify] | Low/Med/High |
| 4 | [Name] | Tasks 2, 3 | [How to verify] | Low/Med/High |
Step 2: Define Phases
Group tasks into logical phases:
Phase Structure:
- Phase 1: Foundation - Independent setup tasks, no dependencies
- Phase 2: Core Implementation - Main functionality, depends on Phase 1
- Phase 3: Enhancement - Additional features, depends on Phase 2
- Phase 4: Validation - Testing, cleanup, verification
Step 3: Create Phase Milestones
Each phase needs:
- Clear entry criteria (what must be done to start)
- Specific tasks within the phase
- Exit criteria (what proves phase is complete)
- Phase milestone marker
Step 4: Structure the Prompt
Use this template:
# Multi-Task: [Overall Objective]
## Overview
[1-2 sentences describing the overall goal and scope]
## Task Inventory
| # | Task | Phase | Dependencies | Verification |
|---|------|-------|--------------|--------------|
| 1 | [Task 1] | 1 | None | [Verification] |
| 2 | [Task 2] | 2 | Task 1 | [Verification] |
| 3 | [Task 3] | 2 | Task 1 | [Verification] |
| 4 | [Task 4] | 3 | Tasks 2, 3 | [Verification] |
## Phase 1: [Phase Name] (Foundation)
### Objective
[What this phase accomplishes]
### Tasks
1. **[Task 1 Name]**
- Requirements: [Specific requirements]
- Files: [Files to create/modify]
- Verification: [How to verify]
### Phase 1 Success Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] Tests pass: `[test command]`
### Phase 1 Checkpoint
When Phase 1 criteria met, document:
PHASE 1 COMPLETE:
- [Task 1]: Done - [evidence]
- Tests: [pass/fail status]
Continue to Phase 2.
---
## Phase 2: [Phase Name] (Core)
### Objective
[What this phase accomplishes]
### Prerequisites
- Phase 1 complete
- [Any specific requirements]
### Tasks
2. **[Task 2 Name]**
- Requirements: [Specific requirements]
- Files: [Files to create/modify]
- Verification: [How to verify]
3. **[Task 3 Name]**
- Requirements: [Specific requirements]
- Files: [Files to create/modify]
- Verification: [How to verify]
### Phase 2 Success Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] [Criterion 3]
- [ ] Tests pass: `[test command]`
### Phase 2 Checkpoint
When Phase 2 criteria met, document:
PHASE 2 COMPLETE:
- [Task 2]: Done - [evidence]
- [Task 3]: Done - [evidence]
- Tests: [pass/fail status]
Continue to Phase 3.
---
## Phase 3: [Phase Name] (Enhancement/Validation)
### Objective
[What this phase accomplishes]
### Prerequisites
- Phases 1-2 complete
- [Any specific requirements]
### Tasks
4. **[Task 4 Name]**
- Requirements: [Specific requirements]
- Files: [Files to create/modify]
- Verification: [How to verify]
### Phase 3 Success Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] All tests pass: `[test command]`
---
## Final Verification
Run complete verification:
```bash
# All tests
[full test command]
# Integration check
[integration verification]
# Lint/Type check
[lint command]
Completion Checklist
- Phase 1: All tasks complete and verified
- Phase 2: All tasks complete and verified
- Phase 3: All tasks complete and verified
- All tests passing
- No regressions
- [Any additional requirements]
Completion
When ALL phases complete and all checklist items verified:
Output:
Progress Tracking
As you work, track progress in this format:
PROGRESS:
Phase 1:
...