Notre avis
Examine une pull request en détectant automatiquement la PR de la branche courante ou en acceptant un numéro/URL de PR, puis invoque une compétence native de revue de code ou utilise un sous-agent de secours.
Points forts
- Aucune confirmation ni question pour un flux de travail efficace.
- Détection automatique pour GitHub et GitLab.
- Bascule vers une revue par sous-agent si la compétence native est indisponible.
- Respecte un budget de performance pour minimiser les appels API.
Limites
- Seuls GitHub et GitLab sont supportés pour la détection automatique ; Bitbucket nécessite une URL manuelle.
- Nécessite l'installation des CLI 'gh' ou 'glab'.
- La compétence native de revue de code peut ne pas être disponible dans tous les environnements.
À utiliser lorsque vous avez besoin d'une revue de code rapide et automatisée d'une pull request sans intervention manuelle.
Ne pas utiliser si vous devez personnaliser la checklist de revue de manière extensive ou si vous travaillez avec un fournisseur non supporté par la détection automatique sans avoir l'URL de la PR.
Analyse de sécurité
SûrThe skill only reads PR information using standard CLI tools and invokes a code-review skill. No destructive or exfiltrating actions are instructed.
Aucun point d'attention détecté
Exemples
/review/review 42/review https://github.com/org/repo/pull/42/review - Pull Request Review
Review a PR using Claude's native code-review skill. Auto-detects current branch PR or accepts PR number/URL.
Trigger
/review [pr-number-or-url]
Configuration
Reads mustard.json from the project root for git.provider.
| Provider | CLI | PR detection |
|----------|-----|--------------|
| github | gh | gh pr view --json number,url |
| gitlab | glab | glab mr view |
Behavior
- ZERO confirmations — detect PR, invoke review, done.
- ZERO questions — auto-detect if no argument provided.
Step 1 — Resolve PR
If argument provided
- Numeric → treat as PR number
- URL → use directly
If no argument
gh pr view --json number,url,title,headRefName 2>/dev/null
If no PR found for current branch → error:
No open PR found for current branch. Run
/git mergefirst to create one.
Step 2 — Invoke Code Review
Use the Skill tool to invoke Claude's native code-review:
Skill({
skill: "code-review",
args: "<pr-number-or-url>"
})
If the native code-review skill is not available, fall back to local review:
Task({
subagent_type: "general-purpose",
model: "opus",
description: "Review: PR <number>",
prompt: "Review the changes in the current branch against $PARENT. Checklist: SOLID, Security, Performance, Patterns, Integration."
})
Step 3 — Report
Present the review results as returned by the skill/agent.
Provider Support
| Provider | Auto-detect | Manual URL |
|----------|-------------|------------|
| GitHub | gh pr view | yes |
| GitLab | glab mr view | yes |
| Bitbucket | no | yes |
Rules
- NEVER ask for confirmation before invoking the review
- NEVER attempt both Skill and Task — try Skill first, fall back only if unavailable
- ALWAYS use the PR number or URL directly — do NOT pass branch names to the skill
- If provider CLI is missing, instruct the user to install it; do NOT improvise
Examples
/review # Auto-detect PR for current branch
/review 42 # Review PR #42
/review https://github.com/org/repo/pull/42
Performance Budget
- Max Bash calls: 1 (PR detection)
- Max Skill/Task calls: 1
- Max API calls total: ≤ 4
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.