Workflow agent IA pour monorepos
Utilise des agents IA dans des monorepos en cadrant packages, commandes, ownership et chemins de vérification.
Reponse rapide
Dans un monorepo, un agent IA a besoin des frontières de package, règles d'ownership et commandes exactes pour le package modifié.
Workflow
Commence par découvrir les packages, lis les instructions locales, identifie les dépendances partagées, édite seulement la surface concernée et lance les checks package avant les checks larges.
Erreur fréquente
L'erreur classique est de modifier du code partagé pour une app sans comprendre les consommateurs en aval.
FAQ
Un agent doit-il lancer toute la CI monorepo ?
Pas d'abord. Il doit lancer les checks package, puis élargir si du code partagé ou des contrats inter-packages ont changé.
Cadrer une tâche monorepo
Guides associés
Claude Code Agents: When to Use Them
Claude Code Agents (subagents) let you spawn isolated work threads from the main session. Full guide: what they are, when to use them, how to write a custom one, and the patterns that actually ship.
Claude Code is great when you're driving one thread of work. When you need to run three threads in parallel, or want a fresh pair of eyes on a decision, or need to scope out a large refactor without polluting your main session that's what Agents are for. This is what Claude Code Agents actually are, when to use them, and how to write your own. What Claude Code Agents actually are An Agent (sometimes called a subagent) is an isolated work thread you spawn from the main Claude Code session via the Agent tool. It has its own context fresh, with no visibility into your conversation. You hand it a self contained prompt; it does the work; it returns a single message at the end. Three things make this different from just asking Claude another question: 1. Isolated context. The agent doesn't see what you've been doing. It can't…
Lire le guideClaude Code Plan Mode : guide pratique
Le Plan Mode de Claude Code te laisse voir et ajuster le plan d'exécution avant qu'un seul fichier soit touché. Quand l'utiliser et comment en tirer le maximum.
Beaucoup de gens utilisent Claude Code comme un chat : ils décrivent la tâche et regardent l'exécution. Pour une petite modification, ça passe. Pour tout ce qui touche plusieurs fichiers, je préfère mettre un arrêt avant le diff. Le Plan Mode. Ce que fait le Plan Mode Quand tu actives le Plan Mode, Claude lit ton codebase et produit un plan d'exécution étape par étape, sans modifier de fichier. Tu vois ce qu'il compte faire avant qu'une ligne soit écrite. C'est un point de contrôle : tu valides le plan, tu le réorientes, ou tu corriges une hypothèse incorrecte avant qu'elle ne se propage en 15 mauvaises modifications. Comment l'activer Deux façons : Raccourci clavier : appuyer sur Shift+Tab avant d'envoyer ton message. L'input affiche un indicateur "Plan". Préfixe dans le message : commencer ton message par Plan: (P majuscule). Claude détecte l'intention et passe en mode plan uniquement. Claude…
Lire le guideClaude Code Subagents: Parallel Agents
Learn when Claude Code subagents help, how to split parallel work, and how to configure a focused custom subagent without creating conflicts.
Subagents are useful when a task can be split cleanly: one agent searches the authentication code, another traces the database path, and the main conversation compares what they found. They add little to “read this file” or to work where every step depends on the same context. Short version: delegate independent research or a separate review when the results are worth the extra context and usage. Give each agent a narrow scope, the files or area to inspect, and a specific report format. Keep dependent work in the main conversation. If you want a step by step walkthrough of launching one, see the subagent spawning guide. Subagents can have their own instructions, tool access, and permissions. They start with a separate context, but by default work from the main conversation’s current directory. That means “separate context” does not necessarily mean “separate files.” If you want a repeatable checklist in the…
Lire le guide