Logotipo de 04 Review

04 Review

Comunidad
leing2021
04-review

Review code changes across five axes with evidence-first findings. Use after implementation is complete and before committing.

Descripción general

Editorleing2021
Repositoriosuper-pi
Nombre de la habilidad04-review
Estrellas
30
Forks
2
Archivos incluidos
6
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.

  • Archivos incluidos: 6

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

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

Instalación

Instala la habilidad de IA 04 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/leing2021/super-pi/tree/main/skills/04-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/leing2021/super-pi.git /tmp/super-pi
mkdir -p .claude/skills
cp -r /tmp/super-pi/skills/04-review .claude/skills/04-review
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa 04 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 04 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 04 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á.

Review

Use this skill after implementation to review changes against the diff, plan, and prior learnings.

See shared pipeline instructions for model routing and pipeline behavior.

Core rules

  1. Load project rules before producing findings (detailed in Workflow step 3): load ../../rules/common/code-review.md + code-smells.md, detect language from changed files, load matching rules/{lang}/ files including review-checklist.md (mark missing (fell back to common) when absent), plus rules/web/ for frontend/browser changes. Emit a Rules loaded: manifest — no manifest, no findings
  2. Priority: project-level {repo-root}/rules/ overrides package defaults
  3. Standards axis baseline: apply ../../rules/common/code-smells.md (Fowler smell baseline). Two binding rules: a documented repo standard overrides the baseline; every smell is a judgement call (report as "possible Feature Envy"), never a hard violation. Map severity via P0/P1/P2 — default P2, escalate when a repo doc endorses it or it harms data flow/testability.
  4. Determine diff scope before selecting reviewers
  5. Use review_router tool to select reviewer personas based on diff metadata
  6. Read relevant plan artifact when exists
  7. Run solution search (see ../references/solution-search.md): extract keywords → grep -rl "tags:.*keyword" docs/solutions/ ~/.pi/agent/docs/solutions/; read frontmatter only (first 15 lines) of matches → score by severity + tag relevance; fully read top 3 candidates
  8. Spec axis: determine spec source via references/spec-source-detection.md (plan → brainstorm → commit issue ref → skip). Against the chosen spec, report missing requirements, scope creep (unrequested behaviour), and wrong implementation (looks done but isn't).
  9. Produce structured findings using references/findings-schema.md
  10. Autofixable findings: the main session applies autofixes and re-reviews (cap governed by Fix loop and chain below; the isolated reviewer never applies fixes — it only marks autofixable)

Review discipline

Code review is technical evaluation, not social performance: verify before implementing any suggestion; YAGNI check — question features nothing uses; no performative agreement — verify before concurring; push back with reasoning when findings are incorrect; evidence before assertions — cite specific code, not principles; architecture axis — audit module depth and seams using ../references/module-design.md.

Precision gate

Favor precision over recall. A false positive costs more trust than a missed minor issue.

  • Before reporting a non-local claim (race condition, security boundary, resource leak), use file_read and code_search to confirm evidence. Do not infer from names alone.
  • Stay silent when the surrounding context is unclear. A miss on ambiguous code is acceptable; a false alarm is not.
  • Do not flag issues that a compiler, formatter, linter, or type checker already catches, unless the diff shows a concrete user-visible consequence those tools miss.
  • Label each finding with severity. Blocking (CRITICAL/HIGH) for correctness and security; non-blocking (LOW) for style and naming.
  • Apply language-specific rules from rules/{lang}/review-checklist.md — they contain precise, actionable defect patterns per language.

Handling findings

  1. Read — complete all findings without reacting
  2. Verify — check each against codebase reality
  3. Evaluate — is it sound for THIS codebase?
  4. Act — fix confirmed issues, push back on incorrect ones
  5. Test — verify each fix individually, no regressions
  6. Close — when findings are resolved and tests green, flip the reviewed plan's Status header to done and move it to docs/plans/archive/ (skip if no plan artifact)

Chain entry: isolated review first

The review executes first in an isolated spawned session via the isolated_review tool — a fresh pi session with zero author context runs the reviewer workflow and writes a findings artifact. The main session never reviews its own code unless isolation is unavailable.

Main-session responsibilities: call isolated_review (repoRoot, diffBase from handoff, fresh findingsPath under .context/compound-engineering/findings/); on completed read findings and drive the Fix loop and chain; on degraded follow its degraded path; on aborted surface to the user — never silently re-run. The sections below define what the spawned reviewer (and a degraded in-session review, verbatim) executes.

Workflow

  1. Load context: consume latest handoff before any broad file reads — context_handoff load or read .context/compound-engineering/handoffs/latest.md; use activeFiles, artifacts.plan as starting point (proceed normally if absent). Read CONTEXT.md (or GLOSSARY.md) if either exists at root — see ../references/domain-language.md.
  2. Determine diff scope — prefer branch/base from latest handoff if present; else from explicit target; else ask user
  3. Load project rules (blocking — no findings before this completes): detect language from changed files (.ts→typescript, .py→python, .go→golang, .rs→rust, .java→java) or repo markers, merging {repo-root}/rules/language-detection.md (project-level map, same marker wins); mixed-language diffs load per language (full map). Check {repo-root}/rules/ first (overrides package defaults); load rules/common/code-review.md, code-smells.md, matching rules/{lang}/ files including review-checklist.md, rules/web/ for frontend changes. Emit manifest before any finding: Rules loaded: language=<lang> (via <files/markers>, project-level map), common=<files>, lang=<files>, web=<files or N/A>. Same-session re-entry: if the transcript already has a Rules loaded: manifest for the same language, reuse it and note the skip
  4. Collect stats (files, insertions, deletions) → call review_router
  5. Read matching plan artifact; if absent, follow references/spec-source-detection.md to probe brainstorm and commit issue refs
  6. Run solution search
  7. Apply each reviewer persona from review_router
  8. Merge into structured findings — include rules applied in the review summary (see references/findings-schema.md)
  9. Verify each finding against codebase
  10. Apply autofixes, re-run tests, re-review if needed

Optional: QA Test Mode

After code review completes, offer browser QA:

Code review done. Run browser QA?

  • A) Done — stop here
  • B) Browser QA — find visual/functional bugs
  • C) QA + regression tests — find bugs, fix, add tests

If B or C: read references/qa-test-mode.md and execute. After QA: include findings in handoff, note fix commits/test files.

Fix loop and chain

The spawned reviewer produces findings; the main session (author side) owns every fix:

  1. After findings arrive, fix confirmed P0/P1 issues in the main session (subsumes the autofix loop in Core rule 10); verify each fix; run tests
  2. Re-review trigger — iff findings contain a P0, or a previous P1 now has a fix diff awaiting verification. Pure P2 findings never re-enter the loop: record them in the handoff instead
  3. Re-review is incremental: call isolated_review again with incrementalPreviousFindingsPath = previous round's artifact. The fresh reviewer verifies only the fix diff against those findings — not the whole codebase
  4. The cap of 2 rounds is a ceiling, not a quota: any round that returns all-green (no P0, no P1 fix awaiting verification) ends the loop immediately
  5. 2 rounds exhausted with P0/P1 remaining: stop-the-line — hand the user the latest findings artifact plus the full findings chain (paths of every round) as the decision basis. Do not proceed to 05-learn
  6. All-green: immediately read ../05-learn/SKILL.md and execute it in this session — do not wait for user instruction

Degraded mode

When isolated_review returns degraded (frontmatter isolation: degraded + spawn_error): execute the Workflow below in THIS session (author context, reduced independence); keep the degraded markings in every findings artifact produced; loop semantics unchanged — ceiling of 2, all-green early exit, incremental in-session re-review, same stop-the-line delivery

Handoff

See references/handoff.md for format.

Before finishing this skill, apply the completion checklist in shared pipeline instructions.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 04 Review?

Review code changes across five axes with evidence-first findings. Use after implementation is complete and before committing.

¿Por qué usar 04 Review en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. 04 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 04 Review en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/leing2021/super-pi/tree/main/skills/04-review. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar 04 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 04 Review?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar 04 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 04 Review?

leing2021 la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. 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 👇