.claude/skills/parallel/SKILL.md
Run multiple Ralph loops concurrently for independent tasks. Supports all 6 ralph-* teammates (coder, reviewer, tester, researcher, frontend, security). Manages parallel agent execution with proper isolation and result aggregation. Use when: (1) multiple independent fixes needed, (2) parallel reviews required, (3) batch processing tasks. Triggers: /parallel, 'parallel loops', 'concurrent execution', 'run in parallel', 'batch'.
npx skillsauth add alfredolopez80/multi-agent-ralph-loop parallelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run multiple Ralph loops concurrently for independent tasks.
~/.claude/settings.json or CLI/env varsANTHROPIC_DEFAULT_*_MODEL env varsOptimal Scenario: Integrated (Agent Teams + Custom Subagents)
Parallel execution combines Agent Teams coordination with ralph-coder specialization for optimal parallel file processing.
When the parallel skill is invoked, automatically create a team:
# Automatically create team on skill invocation
TeamCreate:
team_name: "parallel-execution-{timestamp}"
description: "Parallel execution of independent tasks"
Create multiple ralph-coder instances for parallel tasks:
# Spawn 3 parallel ralph-coder agents
Task:
subagent_type: "ralph-coder"
team_name: "parallel-execution-{timestamp}"
prompt: "Fix auth errors in src/auth/"
Task:
subagent_type: "ralph-coder"
team_name: "parallel-execution-{timestamp}"
prompt: "Fix API errors in src/api/"
Task:
subagent_type: "ralph-coder"
team_name: "parallel-execution-{timestamp}"
prompt: "Fix UI errors in src/ui/"
Use the shared task list for coordination:
# Create master task list
TaskCreate:
subject: "Parallel fixes batch"
description: "Execute auth, API, and UI fixes in parallel"
# Create subtasks with dependencies
TaskCreate:
subject: "Fix auth errors"
activeForm: "Fixing auth errors"
TaskCreate:
subject: "Fix API errors"
activeForm: "Fixing API errors"
TaskCreate:
subject: "Fix UI errors"
activeForm: "Fixing UI errors"
Quality validation via Agent Teams hooks:
| Hook | Purpose | Behavior |
|------|---------|----------|
| TeammateIdle | Pre-idle validation | Keep working + feedback if issues found |
| TaskCompleted | Pre-completion validation | Block completion + feedback if issues found |
Quality standards enforced:
After all parallel agents complete:
# Aggregate results
TaskUpdate:
taskId: "<master-task>"
status: "completed"
# Report summary
- All subtasks completed
- Quality gates passed
- Changes ready for commit
/parallel "fix auth errors" "fix api errors" "fix ui errors"
ralph parallel task1 task2 task3
# Auto-create team for coordination
TeamCreate:
team_name: "parallel-{task-name}"
description: "Parallel execution of {task-name}"
# Launch multiple ralph-coder background agents
Task:
subagent_type: "ralph-coder"
team_name: "parallel-{task-name}"
prompt: "Execute task 1"
Task:
subagent_type: "ralph-coder"
team_name: "parallel-{task-name}"
prompt: "Execute task 2"
Task:
subagent_type: "ralph-coder"
team_name: "parallel-{task-name}"
prompt: "Execute task 3"
# Check task list for all subtask status
TaskList:
# Returns all tasks with status, owner, blockedBy
# Monitor specific subtask
TaskGet:
taskId: "<subtask-id>"
# Mark master task as completed
TaskUpdate:
taskId: "<master-task>"
status: "completed"
# Report summary
- All subtasks completed
- Quality gates passed
- Changes ready for commit
# Parallel reviews with different focus
/parallel "security review src/" "performance review src/" "quality review src/"
# Parallel fixes for different modules
/parallel "fix auth errors" "fix api errors" "fix db errors"
# Parallel analysis tasks
/parallel "analyze complexity" "analyze coverage" "analyze dependencies"
Each parallel task runs with:
context: fork)Esta skill genera reportes automáticos completos para trazabilidad:
Cuando esta skill completa, se genera automáticamente:
docs/actions/parallel/{timestamp}.md.claude/metadata/actions/parallel/{timestamp}.jsonCada reporte incluye:
# Listar todos los reportes de esta skill
ls -lt docs/actions/parallel/
# Ver el reporte más reciente
cat $(ls -t docs/actions/parallel/*.md | head -1)
# Buscar reportes fallidos
grep -l "Status: FAILED" docs/actions/parallel/*.md
source .claude/lib/action-report-lib.sh
start_action_report "parallel" "Task description"
# ... ejecución ...
complete_action_report "success" "Summary" "Recommendations"
development
Living knowledge base management. Actions: search (query vault), save (store learning), index (update indices), compile (raw->wiki->rules graduation), init (create vault structure). Follows Karpathy pipeline: ingest->compile->query. Use when: (1) searching accumulated knowledge, (2) saving learnings, (3) compiling raw notes into wiki, (4) initializing a new vault. Triggers: /vault, 'vault search', 'knowledge base', 'save learning'.
testing
Produce a verifiable technical specification before coding. 6 mandatory sections: Interfaces, Behaviors, Invariants (from Aristotle Phase 2), File Plan, Test Plan, Exit Criteria (executable bash commands + expected results). Use when: (1) before implementing features with complexity > 4, (2) as Step 1.5 in orchestrator workflow, (3) when requirements need formalization. Triggers: /spec, 'create spec', 'write specification', 'technical spec'.
testing
Pre-launch shipping checklist orchestrating /gates, /security, /browser-test, /perf. Ensures nothing ships without passing all quality checks. Use when: (1) before deploying, (2) before merging to main, (3) before release. Triggers: /ship, 'ship it', 'ready to deploy', 'pre-launch check'.
development
Performance optimization skill. Core Web Vitals via Lighthouse, bundle size analysis, metrics tracking over time. Use when: (1) optimizing frontend performance, (2) analyzing bundle size, (3) tracking metrics regression. Triggers: /perf, 'performance audit', 'core web vitals', 'bundle size'.