Logo di 04 Review

04 Review

Community
leing2021
04-review

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

Panoramica

Pubblicato daleing2021
Repositorysuper-pi
Nome della skill04-review
Stelle
30
Fork
2
File inclusi
6
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 6

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da leing2021 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA 04 Review in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/leing2021/super-pi/tree/main/skills/04-review
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva 04 Review in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente 04 Review non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi 04 Review non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 04 Review?

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

Perché usare 04 Review su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. 04 Review è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo 04 Review in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/leing2021/super-pi/tree/main/skills/04-review. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare 04 Review?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con 04 Review?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con 04 Review: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA 04 Review è gratuita?

È pubblicata su GitHub da leing2021. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇