From r9r-claude-resources
Délégue une ou plusieurs tâches dans des sous-tâches en exécution parallèle ou séquentielle
How this command is triggered — by the user, by Claude, or both
Slash command
/r9r-claude-resources:run <prompt-number(s)-or-name> [--parallel|--sequential]task/This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
<context> Git status: !`git status --short` Recent prompts: !`ls -t ./prompts/*.md | head -5` </context> <objective> Execute one or more prompts from `./prompts/` as delegated sub-tasks with fresh context. Supports single prompt execution, parallel execution of multiple independent prompts, and sequential execution of dependent prompts. </objective> <input> The user will specify which prompt(s) to run via $ARGUMENTS, which can be: **Single prompt:** - Empty (no arguments): Run the most recently created prompt (default behavior) - A prompt number (e.g., "001", "5", "42") - A partial file...
Single prompt:
Multiple prompts:
<step2_resolve_files> For each prompt number/name:
!ls -t ./prompts/*.md | head -1<matching_rules>
<step3_execute> <single_prompt>
./prompts/completed/ with metadatagit add [file] (never git add .)[type]: [description] (lowercase, specific, concise)<parallel_execution>
git add [file] (never git add .)[type]: [description] (lowercase, specific, concise)<sequential_execution>
git add [file] (never git add .)[type]: [description] (lowercase, specific, concise)<context_strategy> By delegating to a sub-task, the actual implementation work happens in fresh context while the main conversation stays lean for orchestration and iteration. </context_strategy>
✓ Executed: ./prompts/005-implement-feature.md ✓ Archived to: ./prompts/completed/005-implement-feature.md [Summary of what the sub-task accomplished]<parallel_output> ✓ Executed in PARALLEL:
✓ All archived to ./prompts/completed/
[Consolidated summary of all sub-task results]<sequential_output> ✓ Executed SEQUENTIALLY:
✓ All archived to ./prompts/completed/
[Consolidated summary showing progression through each step]<critical_notes>
npx claudepluginhub r9r-dev/claude-resources/run-promptDelegates one or more prompts from ./prompts/ to fresh sub-task contexts with parallel or sequential execution, archives completed prompts, and commits results.
/runAuto-completes all pending agent-foreman tasks in priority order unattended or a specific task by ID. Loops through fetch, implement, verify, done/fail until complete, with summary.