agentsclimarketplace

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.

Install
npx -y skills add QrCommunication/skills --skill parallel-workers

Assembled 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: true for 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

OptionDescriptionDefaut
--workers NNombre de workers paralleles5
--no-testsSkip les tests (dev only)false
--dry-runPlanifie sans executerfalse
--resume SESSION_IDReprendre 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
ModeStandard (auto)Injectable (template)
ExecutionWorkers parallelesstep-orchestrator sequentiel
InputDescription textuelle--template, --workflow, --file
DecompositionAutomatiquePipeline YAML

Agents utilises

  • project-supervisor : Analyse initiale
  • tech-lead : Architecture
  • impact-analyzer : Protection AVANT
  • context-keeper : Enrichissement contexte
  • validator : Validation continue
  • recovery-agent : Gestion echecs
  • graph-sync : Synchronisation KG
  • regression-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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.