Revue de Code IA Exhaustive

VérifiéSûr

Se déclenche sur 'review' ou '/review' pour effectuer une revue de code exhaustive assistée par IA via OpenAI Codex. Il récupère les références d'issues GitHub, Linear et Sentry, lit tout fichier plan ou référencé, puis exécute un script de revue personnalisable sur les modifications non validées ou sur une branche/commit spécifique. Idéal avant de créer une pull request ou après avoir terminé une fonctionnalité.

Spar Skills Guide Bot
TestingIntermédiaire
7002/06/2026
Claude Code
#code-review#openai-codex#github-integration#linear#sentry

Recommandé pour

Notre avis

Effectue une revue de code exhaustive en utilisant OpenAI Codex, en rassemblant le contexte à partir de tickets GitHub, Linear et Sentry.

Points forts

  • Analyse approfondie du code avec contexte des issues et plans de projet
  • Support des modifications non validées, branches spécifiques et commits
  • Intégration avec GitHub, Linear et Sentry pour un contexte riche

Limites

  • Nécessite l'installation et l'authentification du CLI codex
  • Par défaut, ne fonctionne qu'avec les modifications non validées
  • Peut nécessiter une interaction si aucune modification non validée n'est détectée
Quand l'utiliser

Utilisez cette compétence avant de créer une pull request ou après avoir terminé une fonctionnalité pour obtenir une revue détaillée.

Quand l'éviter

Évitez de l'utiliser pour des modifications triviales ou lorsque vous avez besoin d'une revue rapide sans configuration préalable.

Analyse de sécurité

Sûr
Score qualité88/100

The skill runs a local Python script with user-provided arguments; no destructive commands, no external downloads, no obfuscation. It uses Bash but only to execute a predefined review tool, which is a legitimate use case. No risk of data exfiltration or system damage from the skill itself.

Aucun point d'attention détecté

Exemples

Review uncommitted changes
Review my uncommitted changes
Review against main branch
Review my changes against main branch
Review with issue context
Review my changes referencing GitHub issue #123 and Linear PROJ-456

name: review description: | Exhaustive code review using OpenAI Codex. Use when user says "review", "/review", "review my changes", or wants AI-powered code analysis. Gathers context from GitHub/Linear/Sentry issues. allowed-tools: Bash, Read, Glob, Grep

Review

Exhaustive AI-powered code review via OpenAI Codex.

When to Use

  • User says "review", "/review", "review my changes"
  • Before creating PR
  • After completing feature work

Workflow

1. Gather Issue References

Scan conversation for:

  • GitHub: #123, org/repo#123, GitHub URLs
  • Linear: PROJ-123, Linear URLs
  • Sentry: sentry:ID, Sentry URLs

2. Read Plan File (if exists)

Check for active plan in conversation or ~/.claude/plans/

3. Read Referenced Files

If user mentions @file.ts or specific files, include content.

4. Run Review

# Default: reviews uncommitted changes if any exist
./scripts/review.py codex \
  --issues "#123,PROJ-456" \
  --plan ./plan.md \
  --files "src/api.ts"

# If no uncommitted changes, prompts for branch/commit to compare

Command

./scripts/review.py codex [OPTIONS]

Options

| Option | Description | |--------|-------------| | --base, -b BRANCH | Compare against branch | | --uncommitted, -u | Review staged/unstaged/untracked changes (default if changes exist) | | --commit, -c SHA | Review specific commit | | --issues, -i REFS | Issue refs: #123, PROJ-456, sentry:ID, or URLs | | --plan, -p PATH | Plan file for context | | --files, -f PATHS | Additional files (comma-separated) | | --title, -t TEXT | Commit/PR title for summary | | --model, -m MODEL | Codex model (default: gpt-5.1-codex-max) |

Context Command

Gather context without running review:

./scripts/review.py context [OPTIONS]

| Option | Description | |--------|-------------| | --issues, -i REFS | Issue refs (comma-separated) | | --plan, -p PATH | Plan file path | | --files, -f PATHS | Additional files (comma-separated) | | --output, -o FORMAT | json or markdown (default: markdown) |

Requirements

  • codex CLI installed and authenticated
  • LINEAR_API_KEY - (optional) Linear API key for Linear issues
  • SENTRY_AUTH_TOKEN - (optional) Sentry auth token
  • SENTRY_ORG - (optional) Sentry org slug

Output

The script displays gathered context to stderr, then launches codex review interactively. Codex outputs its review directly to the terminal.

Examples

# Default: review uncommitted changes (or prompt if none)
./scripts/review.py codex

# Explicitly review uncommitted changes
./scripts/review.py codex --uncommitted

# Review changes against specific branch
./scripts/review.py codex --base main

# Review with GitHub issue context
./scripts/review.py codex --issues "#123"

# Review with plan file
./scripts/review.py codex --plan ./plan.md

# Gather context as JSON (without running review)
./scripts/review.py context --issues "#123" --output json
Skills similaires