Logo di Code Reviewing

Code Reviewing

Community
alexandru
code-reviewing

Reviews code changes for bugs, structural problems, performance issues, and unintended behavior. Use when reviewing uncommitted changes, commits, branches, or pull requests.

Panoramica

Autorealexandru
Repositoryskills
Nome della skillcode-reviewing
Stelle
51
Fork
3
File inclusi
1
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.

  • 1 file inclusi

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

  • Open source

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

Installazione

Installa la skill IA Code Reviewing 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/alexandru/skills/tree/main/skills/engineering/code-reviewing
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova 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 nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alexandru/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/engineering/code-reviewing .claude/skills/code-reviewing
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Code Reviewing 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 Code Reviewing 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 Code Reviewing 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à.

When doing a code review, follow these rules.

Note this document uses keywords from RFC 2119 (MUST, MUST NOT, SHOULD, SHOULD NOT, etc.).

Process

1. Preparation

  • You MUST read applicable AGENTS.md files and linked review instructions.
  • You MUST follow the repository's instructions for fetching the specifications; e.g., rules for fetching external resources that may require authentication.

2. Determine what to review

Choose the review scope from the user's request:

  1. No target: The staged and unstaged diffs, plus untracked files and their contents.
  2. Commit: The commit metadata and patch.
  3. Branch or base ref: The merge-base, commits since that base, and the branch diff. If the branch is already merged, its historical base and head from pull-request metadata.
  4. Pull request URL or number: The pull-request context, base and head commits, commit list, and historical diff. For a merged pull request, include its historical iteration or merge metadata. Treat a bare number as a pull request only when the request or repository provider makes this clear.

If the requested target or provider metadata is unavailable, report that instead of choosing a different review scope.

3. Identify the specification sources

Specification review is essential to assessing correctness.

  • You MUST follow the repository's specification-discovery instructions.
  • You MUST discover and read all applicable specifications. Do not stop at the first source.
  • You MUST follow relevant links to requirements, acceptance criteria, and design specifications.

If the repository does not prescribe a discovery process, search all of these sources in order:

  1. A path, URL, issue or work-item ID, or requirements text supplied by the user.
  2. Specifications and work items linked from the pull request, including its description and discussion.
  3. Issue references in commit messages, using the repository's configured issue-tracker workflow.
  4. Repository-local specifications and requirements documentation relevant to the changed code.

If repository-directed discovery is blocked by unavailable tools, missing permissions, inaccessible sources, or unresolved required references:

  1. Explain the blocker.
  2. You MUST ask the user whether an incomplete specification review is acceptable.
  3. You MUST stop and await for explicit approval before proceeding; MUST NOT use a fallback.

If specifications are unavailable or discovery is blocked:

  • You MUST report it to the user, stop and await further instructions; MUST NOT use a fallback.

4. Identify the standards sources

  • You MUST search for anything in the repo that documents how code should be written, such as CODING_STANDARDS.md or CONTRIBUTING.md.
  • You MUST include applicable AGENTS.md files and the conventions files found while gathering context.
  • You SHOULD read the smell baseline, but repository-specific standards take precedence.

5. Start the review

The review will look at two separate axes that are considered independently:

  1. Spec
  2. Standards
5.1. Delegation to sub-agents

How to delegate:

  • If the user asks for parallelism per axis, then start 2 sub-agents in parallel with fresh context, one for each axis.
  • If the user asks just for fresh context, without parallelism per axis, then start a single sub-agent with fresh context for both axes.
  • Otherwise do not delegate and proceed with the review yourself.

Any sub-agent responsible for the "Spec" review MUST receive:

  • The resolved scope of the review (e.g., git diff <base>...HEAD)
  • Full specifications, already gathered during discovery at step 3; this includes any local files, included collected ones.

Any sub-agent responsible for the "Standards" review MUST receive:

  • The resolved scope of the review (e.g., git diff <base>...HEAD)
  • References to this repo's coding standards and conventions, discovered during step 4.
5.2. The "Spec" review

Look for the following categories of issues:

  • Spec compliance
    • You MUST review the changes against all applicable specifications read during discovery.
    • Flag missing or incorrectly implemented requirements.
    • Cite the relevant requirement for each finding.
  • Bugs
    • Logic errors, off-by-one mistakes, incorrect conditionals
    • If-else guards: missing guards, incorrect branching, unreachable code paths
    • Edge cases: null/empty/undefined inputs, error conditions, race conditions
    • Security issues: injection, auth bypass, data exposure
    • Broken error handling that swallows failures, throws unexpectedly or returns error types that are not caught.
  • Performance - Only flag if obviously problematic.
    • O(n²) on unbounded data, N+1 queries, blocking I/O on hot paths
  • Behavior Changes
    • If a behavioral change is introduced, raise it if it's not in the specification.

Be certain. If you're going to call something a bug, you need to be confident it actually is one.

  • Only review the changes - do not review pre-existing code that wasn't modified
  • Don't flag something as a bug if you're unsure - investigate first
  • Don't invent hypothetical problems - if an edge case matters, explain the realistic scenario where it breaks
  • If you need more context to be sure, then gather it.
5.3. The "Standards" review

Rules:

  • You MUST review the code against the discovered repository standards and the supplied smell baseline.
  • You MUST report documented-standard violations with the standard's file and rule.
  • You MUST name the smell and quote the relevant hunk for baseline smells.
  • You SHOULD not be a zealot about style:
    • Verify the code is actually in violation.
    • Some "violations" are acceptable when they're the simplest option.
    • Don't flag personal style preferences. Report established-project-convention violations or baseline smell judgments.

6. Report findings

General template:

## Standards

...

## Spec

...

## Spec sources

...
6.1. Aggregation

Present the two reports under ## Standards and ## Spec headings, verbatim or lightly cleaned. Do not merge or rerank findings, because the two axes are deliberately separate (see Why two axes).

End with a one-line summary: total findings per axis, and the worst issue within each axis (if any). Don't pick a single winner across axes: that's the reranking the separation exists to prevent.

6.2. Classification

Use Critical, High, Medium, or Low severity, based on your judgment and applicable repository documentation. Assess severity, not whether the PR should merge or a finding should block it.

6.3. Bug reporting guidelines
  1. If there is a bug, be direct and clear about why it is a bug.
  2. Clearly communicate severity of issues. Do not overstate severity.
  3. Critiques should clearly and explicitly communicate the scenarios, environments, or inputs that are necessary for the bug to arise. The comment should immediately indicate that the issue's severity depends on these factors.
  4. Your tone should be matter-of-fact and not accusatory or overly positive. It should read as a helpful AI assistant suggestion without sounding too much like a human reviewer.
  5. Write so the reader can quickly understand the issue without reading too closely.
  6. AVOID flattery, do not give any comments that are not helpful to the reader. Avoid phrasing like "Great job ...", "Thanks for ...".
  7. Cite the affected file and line for each finding.
6.4. How to report findings

Use a numbered level-three heading for each finding, containing its severity in square brackets and a short, specific title. Follow it with a Location: field containing the file and line range, then explain the finding and its impact. Coding standards findings also include a Standard: field citing the rule's file and lines when available. For unwritten conventions or structural concerns, identify the established pattern or explain the concern instead of inventing a standards citation.

6.5. Reporting reviewed specifications

Append ## Spec sources to every report, even when there are no findings:

  • You MUST list every specification reference or URL discovered, not just those cited by findings.
  • Include all specifications read. Preserve exact URLs, repository paths, and issue or work-item IDs.
  • Identify the origin of user-supplied requirements that have no reference.
  • Mark each source as read or unread.
  • State discovery limitations, blockers, and any user approval to proceed.
  • If no specifications were found, say so.

Why two axes

A change can pass one axis and fail the other:

  • Code that follows every standard but implements the wrong thing → Standards pass, Spec fail.
  • Code that does exactly what the issue asked but breaks the project's conventions → Spec pass, Standards fail.

Reporting them separately stops one axis from masking the other.

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 Code Reviewing?

Reviews code changes for bugs, structural problems, performance issues, and unintended behavior. Use when reviewing uncommitted changes, commits, branches, or pull requests.

Perché usare Code Reviewing su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Code Reviewing è 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 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 Code Reviewing in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/alexandru/skills/tree/main/skills/engineering/code-reviewing. 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 Code Reviewing?

Qualsiasi modello che colleghi in 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 Code Reviewing?

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

La skill IA Code Reviewing è gratuita?

È pubblicata su GitHub da alexandru. 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, modelli 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.

Vedi tutti

Crea subito la tua area di lavoro IA

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