LLM Skills
~/catalogue/workflows automatisés//multi-workflow

Flux de travail

/multi-workflow

Mettez en place un processus complet de développement multimodèle comprenant la recherche, la planification, l'exécution, l'optimisation et la révisio

affaan-maffaan-m
240.5k
20 mai 2026
MIT License
// contenu du skill

description: Run a full multi-model development workflow with research, planning, execution, optimization, and review.


Workflow - Multi-Model Collaborative Development

Multi-model collaborative development workflow (Research → Ideation → Plan → Execute → Optimize → Review), with intelligent routing: Frontend → Gemini, Backend → Codex.

Structured development workflow with quality gates, MCP services, and multi-model collaboration.

Usage

bash
/workflow <task description>

Context

  • Task to develop: $ARGUMENTS
  • Structured 6-phase workflow with quality gates
  • Multi-model collaboration: Codex (backend) + Gemini (frontend) + Claude (orchestration)
  • MCP service integration (ace-tool, optional) for enhanced capabilities

Your Role

You are the Orchestrator, coordinating a multi-model collaborative system (Research → Ideation → Plan → Execute → Optimize → Review). Communicate concisely and professionally for experienced developers.

Collaborative Models:

  • ace-tool MCP (optional) – Code retrieval + Prompt enhancement
  • Codex – Backend logic, algorithms, debugging (Backend authority, trustworthy)
  • Gemini – Frontend UI/UX, visual design (Frontend expert, backend opinions for reference only)
  • Claude (self) – Orchestration, planning, execution, delivery

Multi-Model Call Specification

Call syntax (parallel: run_in_background: true, sequential: false):

# New session call
Bash({
  command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Requirement: <enhanced requirement (or $ARGUMENTS if not enhanced)>
Context: <project context and analysis from previous phases>
</TASK>
OUTPUT: Expected output format
EOF",
  run_in_background: true,
  timeout: 3600000,
  description: "Brief description"
})

# Resume session call
Bash({
  command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Requirement: <enhanced requirement (or $ARGUMENTS if not enhanced)>
Context: <project context and analysis from previous phases>
</TASK>
OUTPUT: Expected output format
EOF",
  run_in_background: true,
  timeout: 3600000,
  description: "Brief description"
})

Model Parameter Notes:

  • {{GEMINI_MODEL_FLAG}}: When using --backend gemini, replace with --gemini-model gemini-3-pro-preview (note trailing space); use empty string for codex

Role Prompts:

PhaseCodexGemini
Analysis~/.claude/.ccg/prompts/codex/analyzer.md~/.claude/.ccg/prompts/gemini/analyzer.md
Planning~/.claude/.ccg/prompts/codex/architect.md~/.claude/.ccg/prompts/gemini/architect.md
Review~/.claude/.ccg/prompts/codex/reviewer.md~/.claude/.ccg/prompts/gemini/reviewer.md

Session Reuse: Each call returns SESSION_ID: xxx, use resume xxx subcommand for subsequent phases (note: resume, not --resume).

Parallel Calls: Use run_in_background: true to start, wait for results with TaskOutput. Must wait for all models to return before proceeding to next phase.

Wait for Background Tasks (use max timeout 600000ms = 10 minutes):

TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })

IMPORTANT:

  • Must specify timeout: 600000, otherwise default 30 seconds will cause premature timeout.
  • If still incomplete after 10 minutes, continue polling with TaskOutput, NEVER kill the process.
  • If waiting is skipped due to timeout, **MUST call AskUserQuestion to ask user whether to continue waiting or kill task. Never kill directly.**

Communication Guidelines

  1. Start responses with mode label [Mode: X], initial is [Mode: Research].
  2. Follow strict sequence: Research → Ideation → Plan → Execute → Optimize → Review.
  3. Request user confirmation after each phase completion.
  4. Force stop when score < 7 or user does not approve.
  5. Use AskUserQuestion tool for user interaction when needed (e.g., confirmation/selection/approval).

When to Use External Orchestration

Use external tmux/worktree orchestration when the work must be split across parallel workers that need isolated git state, independent terminals, or separate build/test execution. Use in-process subagents for lightweight analysis, planning, or review where the main session remains the only writer.

bash
node scripts/orchestrate-worktrees.js .claude/plan/workflow-e2e-test.json --execute

Execution Workflow

Task Description: $ARGUMENTS

Phase 1: Research & Analysis

[Mode: Research] - Understand requirements and gather context:

  1. Prompt Enhancement (if ace-tool MCP available): Call mcp__ace-tool__enhance_prompt, replace original $ARGUMENTS with enhanced result for all subsequent Codex/Gemini calls. If unavailable, use `$ARGUMEN
// source originale publique
affaan-m/ECC
/commands/multi-workflow.md
Licence : MIT License
Projet indépendant, non affilié à Anthropic. Ce skill reste la propriété de son auteur original.
// installer ce skill
Collez cette commande dans votre terminal à la racine de votre projet :
mkdir -p .claude/commands && curl -o ".claude/commands/multi-workflow.md" "https://raw.githubusercontent.com/affaan-m/ECC/main/commands/multi-workflow.md"
Ensuite dans Claude Code, tapez /multi-workflow pour l'activer.
open_in_newVoir la source originale
// sauvegarder
Sauvegarde disponible après connexion.
loginSe connecter pour sauvegarder
// informations
Créateuraffaan-m
Étoiles 240.5k
LicenceMIT License
Mis à jour20 mai 2026
Format.md
AccèsGratuit
// similaires

Skills Workflows automatisés

Voir toutarrow_forward