Roborev Refine - Boucle d'amélioration automatique

VérifiéSûr

Boucle automatisée de correction des revues de code qui répète le processus jusqu'à ce que toutes les revues soient validées. Utile pour améliorer la qualité du code sans intervention manuelle, en isolant les modifications dans un espace de travail séparé.

Spar Skills Guide Bot
DeveloppementIntermédiaire
4002/06/2026
Claude CodeCursorWindsurf
#automated-code-review#fix-loop#git#iteration#code-quality

Recommandé pour

Notre avis

Exécute une boucle automatique de correction des revues de code jusqu'à ce que toutes les vérifications réussissent.

Points forts

  • Automatise entièrement le processus de correction des revues de code
  • Fonctionne en arrière-plan dans un worktree isolé, préservant le répertoire de travail
  • Itère jusqu'à 10 fois par défaut, avec possibilité de limiter le nombre d'itérations
  • Gère à la fois les revues par commit et les revues de branche

Limites

  • Nécessite un dépôt git propre et une branche de fonctionnalité
  • Peut être long en cas de nombreux échecs de revue
  • Dépend de l'outil externe roborev pour les revues et corrections
Quand l'utiliser

Utilisez cette compétence lorsque vous souhaitez résoudre automatiquement tous les problèmes de revue de code sans intervention manuelle.

Quand l'éviter

Ne l'utilisez pas si vous avez besoin de contrôler manuellement chaque correction ou si votre dépôt n'est pas dans un état propre.

Analyse de sécurité

Sûr
Score qualité85/100

The skill runs a predefined command 'roborev refine' which automates code review fixes. It checks for clean working tree and does not perform destructive or exfiltrating actions. No security concerns.

Aucun point d'attention détecté

Exemples

Basic refine
Run roborev refine on my current branch to automatically fix all code review issues.
Refine with commit range
Use roborev refine to fix review findings only in the last 5 commits.
Faster refine
Execute roborev refine --fast to quickly address code review problems with less thorough reasoning.

name: roborev-refine description: Automated review-fix loop that keeps iterating until all code reviews pass. Use for hands-off code quality improvement. argument-hint: "[--since commit]" allowed-tools: Bash

Roborev Refine Skill

Automatically fix code review findings in a loop until everything passes.

What it does

  1. Finds failed reviews on the current branch
  2. Runs an agent to fix findings
  3. Commits the fixes
  4. Waits for re-review
  5. If still failing, repeats (up to 10 iterations by default)
  6. Once per-commit reviews pass, runs a branch-level review
  7. Addresses any branch-level findings too

The agent runs in an isolated worktree - your working directory stays clean.

Prerequisites

  • Must be in a git repository
  • Working tree must be clean (commit or stash changes first)
  • Must be on a feature branch (or use --since on main)

Usage

Run the refine command:

roborev refine

Or with options:

  • roborev refine --since HEAD~5 - Only refine last 5 commits
  • roborev refine --max-iterations 5 - Limit retry attempts
  • roborev refine --fast - Use faster (less thorough) reasoning

Instructions

  1. Check if the working tree is clean: git status --porcelain

    • If not clean, inform user they need to commit or stash first
  2. Run: roborev refine $ARGUMENTS

  3. Stream the output to the user - this can take a while as it iterates

  4. Report the final result:

    • How many iterations it took
    • Whether all reviews now pass
    • Summary of changes made

Related Skills

  • /roborev-review - Run a single review (no auto-fix)
  • /roborev-address - Manually address specific findings
Skills similaires