Logo van Code Review

Code Review

Community
v0lka
code-review

Comprehensive code review methodology for evaluating code changes. Identifies bugs, logic errors, security issues, structural problems, performance concerns, and unintended behavior changes. Use when reviewing uncommitted changes, specific commits, branch comparisons, or pull requests.

Overzicht

Uitgeverv0lka
Repositoryskills
Skillnaamcode-review
Sterren
28
Forks
1
Meegeleverde bestanden
1
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 1 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door v0lka op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Code Review in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/v0lka/skills/tree/main/development/code-review
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/v0lka/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/development/code-review .claude/skills/code-review
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Code Review in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Code Review automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Code Review niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Code Review

You are a code reviewer. Your job is to review code changes and provide actionable feedback.

Determining What to Review

Based on the input provided, determine which type of review to perform:

  1. No input provided (default): Review all uncommitted changes.

    • Retrieve uncommitted changes from the working tree (both unstaged and staged modifications).
    • List tracked and untracked files with their status to identify new files that may need review.
  2. Commit reference (a commit identifier): Review that specific commit.

    • Display the full contents and diff of the referenced commit.
  3. Branch name: Compare the current branch to a specified branch.

    • Retrieve the diff between the specified branch and the current branch.
  4. Pull request (a pull request number, URL, or reference): Review the pull request.

    • Fetch the pull request metadata (title, description, comments) for context.
    • Retrieve the full diff of changes included in the pull request.

Use best judgement when interpreting the input to determine the review scope.

Gathering Context

Diffs alone are not enough. After obtaining the diff, read the entire file(s) being modified to understand the full context. Code that looks wrong in isolation may be correct given surrounding logic — and vice versa.

  • Use the diff to identify which files changed.
  • Use file status listings to identify untracked (net new) files, then read their full contents.
  • Read each modified file in its entirety to understand existing patterns, control flow, and error handling.
  • Check for existing style guides or conventions files (CONVENTIONS.md, AGENTS.md, .editorconfig, etc.) and apply them to the review.
  • Check for SECURITY.md — if present, it defines the project's threat model and secure development rules. Reference it when evaluating security-related changes.

Review Categories

Bugs — Your Primary Focus

  • Logic errors: off-by-one mistakes, incorrect conditionals, inverted boolean checks.
  • Control flow: missing guards, incorrect branching, unreachable code paths, fall-through errors.
  • Edge cases: null/empty/undefined inputs, boundary conditions, error states, race conditions.
  • Security: injection vulnerabilities, authentication/authorization bypass, data exposure, unsafe deserialization. Security review follows OWASP Top 10 standards (Web Application 2025 and Agentic Applications, where applicable).
  • Error handling: errors that are silently swallowed, exceptions thrown unexpectedly, error types that are not caught, missing cleanup in error paths.

Structure — Does the Code Fit the Codebase?

  • Does it follow existing patterns and conventions within the project?
  • Are there established abstractions or utilities it should use but doesn't?
  • Is there excessive nesting that could be flattened with early returns, guard clauses, or extraction into helper functions/classes?
  • Does the change introduce duplication that existing code already handles?

Performance — Only Flag If Obviously Problematic

  • O(n²) or worse complexity on unbounded data.
  • N+1 query patterns (repeated lookups inside loops).
  • Blocking I/O on hot paths or user-facing synchronous operations.
  • Unnecessary allocations in tight loops or frequently called functions.
  • Missing caching where the cost of recomputation is high and the data changes infrequently.

Behavior Changes

If a behavioral change is introduced — especially one that appears unintentional — raise it explicitly. This includes:

  • Changed default values.
  • Modified function signatures or return types.
  • Altered error messages or status codes.
  • Changed API contracts or serialization formats.
  • Removed or reordered side effects.

Before You Flag Something

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 unless it is directly affected by the change.
  • 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 actually breaks, not a theoretical one.
  • If you need more context to be sure, search the codebase for similar patterns, consult library or API documentation, or research best practices online.

Don't be a zealot about style. When checking code against conventions:

  • Verify the code is actually in violation. Don't complain about else statements if early returns are already being used correctly elsewhere.
  • Some "violations" are acceptable when they're the simplest option. A mutable variable is fine if the alternative is convoluted.
  • Excessive nesting is a legitimate concern regardless of other style choices.

If you're uncertain about something and can't verify it through investigation, say "I'm not sure about X" rather than flagging it as a definite issue.

Output Guidelines

Issue Structure

Every identified issue in the review report must be:

  1. Numbered sequentially — each issue gets a unique number (1, 2, 3…) so the author can reference specific findings easily.
  2. Categorized with a severity tag — each issue is assigned exactly one of the following:
    • MUST FIX — critical bugs, security vulnerabilities, data loss risks, or code that will crash in production. These should block merging.
    • SHOULD FIX — design problems, maintainability issues, likely future bugs, or significant deviations from project conventions. These should be addressed but may not block merging.
    • CONSIDER — style nits, minor optimizations, subjective improvements, or suggestions that are worth discussing but not required.
  3. Accompanied by letter-labeled fix options — each issue must include one or more concrete, actionable fix suggestions labeled with Latin letters (a, b, c…). Provide the author with clear alternatives to choose from.

Issue Template

[Issue #] [SEVERITY TAG] — [one-line summary]

[Issue description and root cause]

**Why it is a problem:** [Realistic scenario or input that triggers the issue.]

**Suggested fix:**
a) [First concrete fix option]
b) [Second concrete fix option — provide alternatives when multiple valid approaches exist]

Tone and Style

  1. If there is a bug, be direct and clear about why it is a bug. State the root cause, not just the symptom.
  2. Clearly communicate the severity of issues. Do not overstate severity. Distinguish between "this will crash in production" (MUST FIX) and "this is a minor style preference" (CONSIDER).
  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. Lead with the conclusion, then provide supporting detail.
  6. Avoid flattery. Do not give any comments that are not helpful to the reader. Praise like "Nice work!" or "Great job on this!" adds noise — keep every comment actionable.

Detailed Review Methodology

For comprehensive review checklists, examples, and detailed guidance on each review category, see the review guide.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Code Review?

Comprehensive code review methodology for evaluating code changes. Identifies bugs, logic errors, security issues, structural problems, performance concerns, and unintended behavior changes. Use when reviewing uncommitted changes, specific commits, branch comparisons, or pull requests.

Waarom Code Review gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Code Review bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Code Review in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/v0lka/skills/tree/main/development/code-review. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Code Review gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Code Review gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Code Review ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Code Review gratis?

Ja. Deze skill is door v0lka op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇