Parallel workers
Skill QrCommunication/skills/skills/orchestrate/skills/parallel-workers
Portable agent skills for Claude Code β French e-invoicing compliance (ISCA/NF525 + 2026-2027 reform), SuperPDP API integration (Factur-X/UBL/CII/EN16931/Peppol), and a generic tiered orchestration router with skill discovery.
npx -y skills add QrCommunication/skills --skill parallel-workersAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Orchestration distribuee avec decomposition automatique et workers paralleles
SKILL.md
7.7 KB, ~2.0k tokens by cl100k_base, as published. Nobody here has run it
MANDATORY EXECUTION RULES (READ FIRST)
- π NEVER execute tasks directly - ALWAYS use background workers
- π NEVER skip impact-analyzer in Wave -1
- π NEVER skip regression-guard in Wave 8
- π NEVER bypass context-keeper for task enrichment
- π NEVER have workers share state directly - use Knowledge Graph only
- π NEVER block main conversation - all tasks run in background
- β ALWAYS generate SESSION_ID and create session folder first
- β ALWAYS decompose into atomic tasks (1 file, 1 action, < 5 min)
- β
ALWAYS use
run_in_background: truefor worker tasks - β ALWAYS run protection workflow: impact-analyzer (Wave -1) β work β regression-guard (Wave 8)
- β ALWAYS enrich tasks via context-keeper before execution
- β ALWAYS sync state via Knowledge Graph (mcp__memory__*)
- π YOU ARE AN ORCHESTRATOR, not a worker
- π¬ FOCUS on "Decompose β Enrich β Dispatch β Validate"
- π« FORBIDDEN to execute code yourself - workers do all implementation
- π« FORBIDDEN to skip the 4-phase process (Init β Decompose β Execute β Complete)
- π« FORBIDDEN to use synchronous task execution
EXECUTION PROTOCOLS
- π― Phase 1 (Init): Generate SESSION_ID, create folders, init Knowledge Graph
- π― Phase 2 (Decompose): project-supervisor analyzes, tech-lead architects, create atomic tasks
- π― Phase 3 (Execute): Workers pull from priority queue, context-keeper enriches, validator audits
- π― Phase 4 (Complete): regression-guard validates, generate report, archive session
- π« FORBIDDEN to skip any phase or reorder them
CONTEXT BOUNDARIES
- This skill ORCHESTRATES parallel execution, it does NOT execute tasks itself
- All task execution is delegated to background workers via Task tool
- Workers are ISOLATED - they only receive context briefs from context-keeper
- State persistence is ONLY via Knowledge Graph - no shared memory
- You have NO permission to write code directly
Skill: /parallel-workers
Orchestre des taches complexes via :
- Decomposition automatique en taches atomiques
- Enrichissement contextuel via context-keeper
- Execution parallele via worker pool
- Validation asynchrone continue
- Recovery intelligent des echecs
- Tracabilite complete via Knowledge Graph
Quand utiliser
Utilisez /parallel-workers quand :
- Vous avez une tache complexe sans template predefini
- Vous voulez une decomposition automatique
- Les sous-taches peuvent s'executer en parallele
- Vous avez besoin de workers independants
Pour les pipelines predefinis, utilisez /orchestrate --template <name>.
Processus
Phase 1: Initialisation
1. Generer SESSION_ID
Format: {YYYYMMDD}_{HHMMSS}_{6_RANDOM_CHARS}
2. Creer structure session
.claude/{SESSION_ID}/
βββ L0_MASTER_PLAN.md
βββ context_briefs/
βββ queue/
βββ priority_queue.json
βββ workers_status.json
3. Initialiser Knowledge Graph
- Creer entite Mission
- Definir contraintes globales
- Enregistrer session
Phase 2: Analyse & Decomposition
1. Deleguer a project-supervisor
- Identifier les domaines concernes
- Estimer la complexite
- Lister les contraintes
2. Deleguer a tech-lead
- Decisions techniques
- Contrats API
- Patterns a utiliser
3. Decomposer en Waves
- Wave -1: impact-analyzer (OBLIGATOIRE AVANT)
- Wave 0-7: Waves de travail
- Wave 8: regression-guard (OBLIGATOIRE APRES)
4. Creer taches atomiques
- 1 fichier par tache
- 1 action par tache
- < 5 min par tache
- Dependances explicites
Phase 3: Execution Parallele
1. Demarrer Worker Pool (N=5 par defaut)
Chaque worker:
- Prend tache de la priority queue
- Recoit context brief de context-keeper
- Invoque agent specialise (run_in_background: true)
- Passe immediatement a la tache suivante
2. Validator audite en continu (async)
- Verifie qualite code
- Verifie architecture
- Verifie securite
3. Recovery-agent traite les echecs
- Analyse cause racine
- Applique fix auto si possible (max 3 retries)
- Escalade sinon
4. Graph-sync maintient la synchronisation
- Met a jour Knowledge Graph
- Regenere Master Plan
Phase 4: Completion
1. Attendre que toutes les taches soient terminees
2. Executer regression-guard (OBLIGATOIRE)
3. Generer rapport final
4. Archiver session
Options
| Option | Description | Defaut |
|---|---|---|
--workers N | Nombre de workers paralleles | 5 |
--no-tests | Skip les tests (dev only) | false |
--dry-run | Planifie sans executer | false |
--resume SESSION_ID | Reprendre une session | - |
Exemples
# Nouvelle feature (decomposition auto)
/parallel-workers Implementer l'authentification OAuth2
# Mise a jour complexe
/parallel-workers Mettre a jour toute la stack vers les dernieres versions
# Mode dry-run (planification seule)
/parallel-workers --dry-run Ajouter un systeme de notifications
Difference avec /orchestrate
| Aspect | /parallel-workers | /orchestrate |
|---|---|---|
| Mode | Standard (auto) | Injectable (template) |
| Execution | Workers paralleles | step-orchestrator sequentiel |
| Input | Description textuelle | --template, --workflow, --file |
| Decomposition | Automatique | Pipeline YAML |
Agents utilises
project-supervisor: Analyse initialetech-lead: Architectureimpact-analyzer: Protection AVANTcontext-keeper: Enrichissement contextevalidator: Validation continuerecovery-agent: Gestion echecsgraph-sync: Synchronisation KGregression-guard: Protection APRES
SUCCESS METRICS
β
SESSION_ID generated and session folder created
β
Tasks decomposed into atomic units (1 file, 1 action, < 5 min each)
β
Wave -1 executed: impact-analyzer ran BEFORE any modifications
β
Wave 8 executed: regression-guard ran AFTER all modifications
β
All workers used run_in_background: true
β
context-keeper enriched every task with context brief
β
Knowledge Graph updated throughout (via graph-sync)
β
No direct execution - all work delegated to workers
β
Parallelism achieved: 4-5 workers active simultaneously
FAILURE MODES
β Executing tasks directly instead of dispatching to workers
β Skipping Wave -1 (impact-analyzer) - protection is MANDATORY
β Skipping Wave 8 (regression-guard) - validation is MANDATORY
β Not using run_in_background: true - blocks the conversation
β Workers sharing state directly instead of via Knowledge Graph
β Tasks not atomic (multiple files, multiple actions, > 5 min)
β Skipping context-keeper enrichment
β Not generating SESSION_ID and session folder
β CRITICAL: Going "free style" without following the 4-phase process
CRITICAL REMINDERS
<critical> 1. YOU ORCHESTRATE, YOU DO NOT EXECUTE 2. Protection workflow is NON-NEGOTIABLE: impact-analyzer (Wave -1) β regression-guard (Wave 8) 3. ALL tasks MUST use `run_in_background: true` 4. Workers are ISOLATED - context comes ONLY from context-keeper briefs 5. State synchronization is ONLY via Knowledge Graph - no shortcuts 6. Atomic tasks: 1 file, 1 action, < 5 minutes - NO EXCEPTIONS </critical>Voir aussi
/orchestrate: Mode workflow injectable/workflow: Wrapper simplifie pour templates~/.claude/docs/distributed-orchestration.md: Architecture detaillee