Orchestration de workflow IA

VérifiéSûr

Définit des principes pour utiliser efficacement les assistants IA en développement : planification, sous-agents, auto-amélioration, vérification et gestion des tâches.

Spar Skills Guide Bot
DeveloppementIntermédiaire
0023/07/2026
Claude CodeCursorWindsurfCopilotCodex
#workflow-orchestration#plan-mode#subagents#self-improvement#task-management

Recommandé pour

Notre avis

Ce skill fournit une méthodologie structurée pour orchestrer des agents IA avec planification préalable, délégation à des sous-agents, auto-amélioration via des leçons, vérification rigoureuse et quête d'élégance.

Points forts

  • Réduit l'ambiguïté en imposant une phase de planification détaillée avant l'exécution.
  • Maintient un contexte de travail clair en déchargeant les tâches exploratoires vers des sous-agents.
  • Favorise l'apprentissage continu en documentant les corrections dans un fichier de leçons.
  • Exige une vérification systématique (logs, tests, diffs) avant de marquer une tâche comme terminée.

Limites

  • Peut ralentir les tâches simples avec une surcharge de planification et de vérification.
  • Nécessite une discipline rigoureuse pour tenir à jour les fichiers de tâches et de leçons.
  • L'exigence d'élégance peut conduire à un sur-engineering si elle n'est pas tempérée par le principe de simplicité.
Quand l'utiliser

Utilisez ce skill pour des projets complexes ou des tâches non triviales nécessitant une approche structurée et reproductible avec des agents IA.

Quand l'éviter

Évitez ce skill pour des corrections rapides et évidentes ou lorsque la tâche est trop simple pour justifier une planification et une vérification approfondies.

Analyse de sécurité

Sûr
Score qualité90/100

The skill defines abstract workflow and process guidelines (plan mode, subagents, verification, bug fixing). It does not instruct the agent to execute any destructive, exfiltrating, or obfuscated actions. No tools are declared, and the content is purely advisory for improving code quality and development practices.

Aucun point d'attention détecté

Exemples

Plan a feature implementation
I need to implement user authentication with JWT. Enter plan mode, write a detailed plan to tasks/todo.md with checkable items, then verify the plan with me before starting.
Use subagents for research
Create an architecture for a microservices app. Use subagents to research the pros and cons of different service mesh tools, then compile the results into a comparison table.
Self-improvement after a mistake
I just corrected you on using the wrong API endpoint. Add a lesson to tasks/lessons.md so you don't make the same mistake again.

Workflow Orchestration

1. Plan Mode Default

  • Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
  • If something goes sideways, STOP and re-plan immediately — don't keep pushing
  • Use plan mode for verification steps, not just building
  • Write detailed specs upfront to reduce ambiguity

2. Subagent Strategy

  • Use subagents liberally to keep main context window clean
  • Offload research, exploration, and parallel analysis to subagents
  • For complex problems, throw more compute at it via subagents
  • One task per subagent for focused execution

3. Self-Improvement Loop

  • After ANY correction from the user: update tasks/lessons.md with the pattern
  • Write rules for yourself that prevent the same mistake
  • Ruthlessly iterate on these lessons until mistake rate drops
  • Review lessons at session start for relevant project

4. Verification Before Done

  • Never mark a task complete without proving it works
  • Diff behavior between main and your changes when relevant
  • Ask yourself: “Would a staff engineer approve this?”
  • Run tests, check logs, demonstrate correctness

5. Demand Elegance (Balanced)

  • For non-trivial changes: pause and ask “is there a more elegant way?”
  • If a fix feels hacky: “Knowing everything I know now, implement the elegant solution”
  • Skip this for simple, obvious fixes — don't over-engineer
  • Challenge your own work before presenting it

6. Autonomous Bug Fixing

  • When given a bug report: just fix it. Don't ask for hand-holding
  • Point at logs, errors, failing tests — then resolve them
  • Zero context switching required from the user
  • Go fix failing CI tests without being told how

Task Management

  1. Plan First: Write plan to tasks/todo.md with checkable items
  2. Verify Plan: Check in before starting implementation
  3. Track Progress: Mark items complete as you go
  4. Explain Changes: High-level summary at each step
  5. Document Results: Add review section to tasks/todo.md
  6. Capture Lessons: Update tasks/lessons.md after corrections

Core Principles

  • Simplicity First: Make every change as simple as possible. Impact minimal code.
  • No Laziness: Find root causes. No temporary fixes. Senior developer standards.
  • Minimal Impact: Changes should only touch what's necessary. Avoid introducing bugs.
Skills similaires