Logotipo de Dev Local Review

Dev Local Review

Comunidad
Nebulavenus
dev-local-review

Run a local code review using the CodeRabbit agent before pushing to catch issues early

Descripción general

EditorNebulavenus
Repositorioforge-gpu
Nombre de la habilidaddev-local-review
Estrellas
46
Forks
7
Archivos incluidos
Solo instrucciones
LicenciaZlib
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por Nebulavenus en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Dev Local Review en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Nebulavenus/forge-gpu/tree/main/.claude/skills/dev-local-review
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Nebulavenus/forge-gpu.git /tmp/forge-gpu
mkdir -p .claude/skills
cp -r /tmp/forge-gpu/.claude/skills/dev-local-review .claude/skills/dev-local-review
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Dev Local Review en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Dev Local Review automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Dev Local Review no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Run a local code review before pushing to catch issues before they hit the PR and burn a review round. Uses the built-in CodeRabbit code-reviewer agent (subagent_type: "coderabbit:code-reviewer") which runs entirely locally at zero cost.

This is not a substitute for the GitHub PR review. The local review cannot access CodeRabbit's learnings from past PRs or perform repo-wide architectural analysis. It is a fast, free pre-push gate that catches the obvious issues.

How it works

The skill uses Claude Code's built-in coderabbit:code-reviewer agent type. This agent reads the diff locally and performs a thorough code review covering correctness, style, documentation accuracy, and common issues. No external service, CLI tool, or API key required.

Usage

Invoke the skill before pushing:

text
/dev-local-review

Or with a specific base branch:

text
/dev-local-review --base develop

When to use

  • Before pushing fixes during /dev-review-pr — catch new issues locally instead of waiting for the GitHub bot
  • Before creating a PR with /dev-create-pr — clean up obvious issues before the first review
  • Any time you want a quick code quality check without pushing
  • After /dev-final-pass for a second opinion from a different reviewer

Workflow

1. Determine what to review

Check git status and git diff --stat to understand the scope of changes. Use the base branch from the argument (default: main).

2. Run the CodeRabbit code-reviewer agent

Launch a single agent with subagent_type: "coderabbit:code-reviewer". The prompt must include:

  • The list of modified and new files (from git diff --stat and git status)
  • A summary of what the changes are about (infer from file paths and recent context)
  • Instructions to be thorough and report specific file paths and line numbers
  • The project's code quality requirements (C99, SDL3 GPU, CLAUDE.md conventions)
text
Agent(
  subagent_type="coderabbit:code-reviewer",
  prompt="Review all changes compared to <base-branch>. [file list, context, instructions]"
)

3. Triage findings

When the agent returns, present findings sorted by severity (Major, Medium, Low, Informational). For each finding, determine:

  • Actionable: A real issue that should be fixed before pushing
  • Intentional: Code that is correct as-is (e.g., strict 0.0f epsilon for determinism tests)
  • Out of scope: Suggestions about code not changed in this PR

4. Fix actionable findings

Implement all actionable fixes. Do not ask about each one individually — fix them all, then report what was changed.

5. Re-run review (MANDATORY — cannot skip)

After fixing, run the agent again to verify no new issues were introduced. The re-run prompt should note which issues were already addressed so the agent focuses on finding new problems.

6. Repeat until zero feedback (MANDATORY — strict rule)

This is an absolute rule with no exceptions. The review loop MUST continue until the CodeRabbit agent returns with zero findings. The agent executing this skill is not allowed to decide on its own that remaining feedback is "just a nitpick" or "informational" and stop the loop early.

The only two valid exit conditions are:

  1. The review agent reports zero findings. The loop ends. Proceed to "After a clean local review."
  2. The agent explicitly asks the user whether to stop (presenting the remaining findings), and the user agrees to stop. Without user confirmation, the loop continues.

Prohibited behaviors:

  • Deciding that remaining findings are "low severity" and stopping
  • Classifying all remaining findings as "intentional" without user input
  • Stopping after a fixed number of rounds (e.g., "typically 2-3 rounds")
  • Summarizing remaining findings and moving on without fixing or asking
  • Treating nitpicks, style suggestions, or informational comments as automatic reasons to exit the loop

Each round of the loop:

  1. Run the CodeRabbit review agent
  2. If zero findings → exit loop (clean)
  3. If findings exist → fix actionable ones, ask user about ambiguous ones
  4. Go to step 1

If the same finding keeps reappearing after being fixed, investigate the root cause rather than stopping the loop. If genuinely stuck, ask the user for guidance — do not silently exit.

What it catches

Based on project experience, this review reliably catches:

  • Missing bounds checks and safety guards
  • Stale comments (e.g., <math.h> comment listing fabsf, sqrtf but code also uses fminf)
  • Documentation/code mismatches (README describes N phases but code has M)
  • Missing inline comments on struct fields
  • Resource cleanup gaps on error paths
  • Magic numbers that should be named constants
  • Naming convention violations
  • Bare C stdlib calls without SDL_ prefix (fabsf, sinf, memset, strcmp, malloc, etc.) — use SDL equivalents or approved project wrappers (forge_isfinite, forge_fmaxf, forge_fminf) for cross-platform portability

What it cannot do

  • Access CodeRabbit's learnings from past PR interactions
  • Perform repo-wide architectural analysis beyond the changed files
  • Interact with PR feedback threads or resolve conversations
  • Update GitHub approval state
  • Guarantee a clean PR review (the GitHub bot may find additional issues)

After a clean local review

A clean local review means the obvious issues are handled. Push and request a full PR review:

  1. Push the commits (single push, never piecemeal)
  2. Wait for CodeRabbit's PR review — it may find additional issues the local review missed
  3. If the PR review finds issues, use /dev-review-pr to handle them

Preguntas frecuentes

¿Qué hace la habilidad de IA Dev Local Review?

Run a local code review using the CodeRabbit agent before pushing to catch issues early

¿Por qué usar Dev Local Review en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Dev Local Review está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Dev Local Review en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Nebulavenus/forge-gpu/tree/main/.claude/skills/dev-local-review. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Dev Local Review?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Dev Local Review?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Dev Local Review con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Dev Local Review?

Sí. Nebulavenus la ha publicado en GitHub bajo la licencia Zlib. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇