Synthèse automatique
Lance cinq agents de revue spécialisés en parallèle sur un diff git pour couvrir la correction, la qualité, l'architecture, la couverture de tests et la sécurité avant le push.
Points forts
- Couvre cinq dimensions en parallèle, dont une dimension architecture absente du workflow CI équivalent
- Détermine le périmètre à partir de chemins de fichiers, d'un nom de branche ou d'un ID REQ/TASK
- Charge les conventions du projet et classe les leçons par pertinence (composant, domaine, tags) plutôt que par date, avec citation de l'id de la leçon dans les constats
- Prévoit des replis explicites : complément par leçons récentes si le jeu pertinent est trop petit, et gestion des leçons anciennes sans frontmatter
Limites
- Suppose une structure `.adlc/` déjà initialisée (conventions.md, knowledge/lessons) et s'arrête sinon
- Le SKILL.md fourni est tronqué au milieu de l'étape 2, donc la répartition des agents et la logique de sévérité ne sont pas visibles
- Repose sur des mécanismes propres à Claude Code (slash command, injections `!` de shell pour charger les partials), donc peu portable
Juste avant de pousser une branche, quand vous voulez une revue locale structurée couvrant plusieurs dimensions.
Sur un dépôt sans échafaudage `.adlc/`, ou pour un simple coup d'œil rapide sur un seul fichier.
Analyse de sécurité
PrudenceThe skill is a review orchestrator whose only execution paths are read-only git queries and two shell invocations of a local 'ethos' include script. Nothing sends data outward or damages state, and the review agents are constrained to report-only. The residual risk is that it runs a repository-controlled shell script and depends on unspecified external agent definitions with unknown tool grants, which warrants 'caution' rather than 'safe'.
- •Inline shell execution via `!` command substitution blocks at skill-load time (`git branch --show-current`, `git diff main --stat`, and crucially `sh .adlc/partials/ethos-include.sh || sh ~/.claude/skills/partials/ethos-include.sh`), with no `allowed-tools` declared to bound what runs.
- •The ethos include executes a script from the repository under review (`.adlc/partials/ethos-include.sh`). If a contributor or dependency plants that file, arbitrary code runs in the reviewer's environment before any review happens — a supply-chain risk inherent to repo-local script sourcing.
- •The skill delegates to five external agent definitions in `~/.claude/agents/` (`correctness-reviewer`, `quality-reviewer`, `architecture-reviewer`, `test-auditor`, `security-auditor`) whose tool restrictions are not visible here, so the effective blast radius cannot be assessed from this file alone.
- •No exfiltration, destructive, obfuscated, or safety-disabling behavior present; git usage is read-only (`branch --show-current`, `diff`), and agents are explicitly instructed to report findings only, not apply fixes.
- •Uses inline shell execution via `!` to run `sh .adlc/partials/ethos-include.sh` and fallback `sh ~/.claude/skills/partials/ethos-include.sh`; the included script contents are not validated here, so it could execute arbitrary commands with the agent's privileges.
- •Instructs reading full diffs/changed files and passing them to review agents; repository content may include secrets, and the skill gives no explicit redaction guidance before agent/model context exposure.
- •No `allowed-tools` are declared despite relying on shell commands, file reads, and the Agent tool; effective permissions depend on host defaults rather than explicit scoping.
Exemples
/review/review feature/auth-login/review REQ-142name: review description: Multi-agent code review covering correctness, quality, architecture, test coverage, and security argument-hint: Optional file paths, branch name, or REQ/TASK ID to scope the review
/review — Multi-Agent Code Review
You are performing a thorough code review of recent changes using multiple specialized review agents.
This skill is the pre-push ADLC review gate. It runs 5 specialized review agents in parallel, covering the same dimensions the CI llm-review workflow would cover if it ran (correctness, conventions, test coverage, security) plus an architecture dimension the CI workflow doesn't have. Running this before pushing means the ADLC gate catches issues regardless of whether the CI layer is available — CI-layer LLM reviews can be blocked (billing, infra, outages) and must not become the sole safety net.
Ethos
!sh .adlc/partials/ethos-include.sh 2>/dev/null || sh ~/.claude/skills/partials/ethos-include.sh
Context
- Current branch: !
git branch --show-current 2>/dev/null || echo "Not a git repo" - Recent changes: !
git diff main --stat 2>/dev/null || echo "No diff available"
Context files loaded on demand: .adlc/context/conventions.md and recent lessons are loaded by Step 1 below — skip the Reads if they are already in the current conversation (e.g., when invoked from /proceed, which preloads conventions.md at Phase 0).
Input
Scope: $ARGUMENTS
Prerequisites
Before proceeding, verify that .adlc/context/conventions.md exists. If it doesn't, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init first to set up conventions."
Instructions
Step 1: Determine Review Scope and Load Context
- If given specific file paths, review those files
- If given a branch name, review all changes on that branch vs
main - If given a REQ/TASK ID, find the associated branch and review its changes
- If no argument, review all uncommitted changes + commits on the current branch vs
main - Get the full diff:
git diff main...HEAD(orgit difffor uncommitted changes) - Conventions: if
.adlc/context/conventions.mdis NOT already in your conversation context, Read it now. Otherwise skip — it's already loaded. - Relevant lessons (mirrors the spirit of
llm-review.yml, but relevance-ranked instead of time-ranked): a. Derive the set of touched components from the diff. Components are inferred from file paths — e.g.api/auth/*→API/auth,app/Sources/Views/*.swift→iOS/SwiftUI,infrastructure/terraform/*→infra/terraform. Produce a short list of plausiblecomponentvalues and a broader list ofdomainvalues (e.g.API,iOS,infra). b. Glob.adlc/knowledge/lessons/*.mdand read each file's frontmatter (domain,component,tags). Keep lessons wherecomponentmatches any touched component exactly, OR wheredomainmatches any touched domain ANDcomponentis a prefix of a touched component, OR where any tag matches a touched component/domain. This is the relevance set. c. If the relevance set has fewer than 5 entries, top it up with the most recently modified lessons from.adlc/knowledge/lessons/(the previous time-based heuristic) until the set has up to 10 entries. This keeps small or cross-cutting diffs from losing context entirely. d. Cap the final list at 15 lessons. Read their bodies in full. e. Pass the content of every selected lesson as context to every review agent in Step 3. When a finding later matches one of these lessons, cite itsidexplicitly (Step 4 uses this to elevate severity). Fallback: if any lesson has nocomponent/domain/tagsfrontmatter (legacy file), fall back to reading its title + first paragraph and include it only if the title contains any touched domain or component substring. Do not skip it silently — it may be load-bearing.
Step 2: Read All Changed Files
Read the complete current version of every changed file (not just the diff) to understand full context.
Step 3: Launch Review Agents
Launch 5 formal review agents in parallel using the Agent tool. Each agent is defined in ~/.claude/agents/ with its full checklist, model selection, and tool restrictions. Running in parallel minimizes wall-clock time.
- correctness-reviewer agent — provide it the list of changed files, the full diff,
conventions.mdcontent, and recent lessons. Focus: logic errors, null risks, race conditions, edge cases, concurrency bugs. Tell it: "Report findings only. Do not apply fixes." - quality-reviewer agent — same inputs. Focus: naming, convention compliance, code duplication, complexity, maintainability. Tell it: "Report findings only. Do not apply fixes."
- architecture-reviewer agent — same inputs plus
architecture.mdcontent. Focus: layering, separation of concerns, API contracts, module boundaries, scope discipline. Tell it: "Report findings only. Do not apply fixes." - test-auditor agent — same inputs. Focus: test coverage gaps for the changed code, mock completeness, edge case coverage, test isolation, determinism. Tell it: "Audit test coverage only for the diff under review. Report findings only. Do not apply fixes."
- security-auditor agent — same inputs. Focus: input validation, authentication/authorization gaps, data exposure (PII, secrets), injection risks, dependency issues, rate limiting. Tell it: "Audit security posture only for the diff under review. Report findings only. Do not apply fixes."
Each agent returns structured findings with severity (Critical/Major/Minor/Nit), file path, line number, and suggested fix.
Gate rule (mirrors llm-review.yml): if ANY agent reports a Critical finding, the review gate FAILS and the changes are not ready to merge. Fix critical findings before proceeding to push. Major findings should typically be fixed before merge but can be escalated to the user for judgment calls.
Step 4: Consolidate Findings
- Collect results from all 5 agents
- Deduplicate overlapping findings
- Categorize by severity:
- Critical: Must fix before merge (bugs, security, data loss, test gaps that hide regressions)
- Major: Should fix before merge (convention violations, missing tests, architectural smells)
- Minor: Nice to fix (style, naming, minor improvements)
- Nit: Optional suggestions
- Cross-reference findings against the loaded recent lessons — if a finding matches a known pitfall, escalate its severity by one level (e.g., a Minor finding that matches a prior LESSON becomes a Major). Flag this explicitly in the report.
Step 5: Present Review
Display findings organized by file, then by severity within each file. Include a dimension summary at the top so the user can see which of the 5 dimensions have issues at a glance:
## Dimension Summary
| Dimension | Critical | Major | Minor | Nit | Gate |
|---|---|---|---|---|---|
| Correctness | 0 | 1 | 2 | 0 | PASS |
| Quality | 0 | 0 | 3 | 1 | PASS |
| Architecture | 0 | 2 | 0 | 0 | PASS |
| Test Coverage | 0 | 0 | 1 | 0 | PASS |
| Security | 0 | 0 | 0 | 0 | PASS |
**Overall gate: PASS / FAIL**
## file/path.js
### Critical
- Line XX: description of issue
### Major
- Line XX: description of issue
Step 6: Summary
- Overall gate: PASS (ready to merge) / FAIL (fix criticals first) / RESHAPE (significant rework needed)
- Count of issues by severity and by dimension
- Top 3 most important things to address
- Any findings that matched recent lessons (elevated-severity items)
- If changes look good, say so clearly — an empty review is a valid result for small, well-scoped changes
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/multi-agent-code-review-ms1aw4om/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/multi-agent-code-review-ms1aw4om' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/multi-agent-code-review-ms1aw4om/download' --output '.skill-downloads/multi-agent-code-review-ms1aw4om/SKILL.md.part' && mv '.skill-downloads/multi-agent-code-review-ms1aw4om/SKILL.md.part' '.skill-downloads/multi-agent-code-review-ms1aw4om/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Extrait original : Prerequisites
Before proceeding, verify that .adlc/context/conventions.md exists. If it doesn't, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init first to set up conventions."
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/multi-agent-code-review-ms1aw4om/SKILL.md' && test -s '.skill-downloads/multi-agent-code-review-ms1aw4om/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/review' && cp -R '.skill-downloads/multi-agent-code-review-ms1aw4om' '.claude/skills/review'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/multi-agent-code-review-ms1aw4om'openskills read 'multi-agent-code-review-ms1aw4om'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/multi-agent-code-review-ms1aw4om/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Bonnes pratiques React Hook Form
Developpement
Maîtrisez React Hook Form : évitez les anti-patterns, gérez les abonnements, et traitez correctement reset, dirty state et entrées contrôlées.
Migration Emotion vers Mantine
Developpement
Migrer les styled-components Emotion vers des composants Mantine avec style props et modules CSS. Pour convertir .styled.tsx ou supprimer les imports @emotion.
Détecteur de dérive de périmètre
Developpement
Analyse les diffs git par rapport à une intention pour détecter la dérive de périmètre, fichiers non liés et PR trop larges, puis suggère de garder, diviser ou justifier.