Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

review-code

/review-code

Przegląda diff, gałąź lub PR pod kątem poprawności, bezpieczeństwa, wydajności i testów, oceniając każde ustalenie jako blokujące, zalecane lub drobne.

Repozytorium
yaap ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przegląda diff, gałąź lub PR pod kątem poprawności, bezpieczeństwa, wydajności i testów, oceniając każde ustalenie jako blokujące, zalecane lub drobne.

Oryginalny opis (EN)

Review a diff, branch or pull request for correctness, security, performance, tests and readability, with each finding checked against the code and graded blocking, should or nit with a confidence. Use it when asked to review code, before a merge or pull request, and at the end of a plan.

Jak działa

  1. 1. Know what the change is for
  2. 2. Read through each lens
  3. 3. Check every finding before you report it
  4. 4. Grade by effect
  5. 5. Write the review
  6. A second view
  7. Output template
Sekcje z nagłówków SKILL.md, w oryginale · 105 linii, 891 słów
Podgląd SKILL.md
---
name: review-code
description: Review a diff, branch or pull request for correctness, security, performance, tests and readability, with
  each finding checked against the code and graded blocking, should or nit with a confidence. Use it when asked to
  review code, before a merge or pull request, and at the end of a plan.
license: MIT
metadata:
  sources: wshobson/plugins/developer-essentials/skills/code-review-excellence,
    superpowers/skills/requesting-code-review, agency-agents/engineering/engineering-code-reviewer.md, own
---

# Review code

A review finds what would hurt the people who use or maintain the code, and says it so the author can act on it. It
does not rewrite the code to taste or repeat what a linter already reports.

## 1. Know what the change is for

- Read the intent first: the request, the plan and its acceptance criteria, or the pull request's description.
  Without it you can judge style but not correctness.
- Get the diff: `git_diff` for uncommitted changes, or the branch against its base. Note its size. Over about 400
  changed lines, review it in parts (per module or per commit) and say so; large diffs hide bugs.
- Load the project's standards with `load_standard`, the `code-review` engineering standard first when the project
  has it. A finding against a project standard names that standard.
- Check what already ran: tests, lint, type checks. Do not report what they report.

## 2. Read through each lens

Read the whole change once for its shape (does the approach fit the problem, does it fit the project's patterns, is
there a simpler way), then once per lens.

**Correctness.** Does it do what the intent says, for every input? Empty, missing and duplicate values, boundaries
and off-by-one, time zones, concurrent calls, errors from what it calls, partial failure halfway through a change.

**Security.** Input from users, files, the network or a model is checked at the boundary. Queries and commands are
built with parameters, not string joins. Permission checks on every path, not just the obvious one. No secrets in
code, logs, errors or test data. Paths cannot leave their folder.

**Performance.** Queries in a loop, work repeated per item that could happen once, unbounded lists or reads, blocking
calls in async code, missing indexes for new queries. Only where it matters at the expected size; say the size.

**Tests.** Each new behaviour and each fixed bug has a test that would fail without the change. Tests assert on
results, not on mocks. Names say the behaviour. No fixed sleeps. The unwanted cases from the acceptance criteria are
covered.

**Readability.** Names say what things are. A function does one thing. Comments explain why, not what. No dead code,
no copy of a helper that already exists (search for it). Errors say what went wrong and what to do.

## 3. Check every finding before you report it

A finding you did not check is a guess. Before it goes in the report:

- Read the code around it, not only the diff lines. The guard you miss may sit in the caller.
- Follow the data: `find_references` and `find_definition` show who calls it and with what.
- When it is cheap, prove it: a small test, a command, a value traced by hand.
- Drop what does not survive. Lower the confidence of what you could not settle, and say what would settle it.

Confidence per finding:

- **high:** you saw it happen or traced it in the code with no gap;
- **medium:** the code reads that way, but something you could not check could prevent it;
- **low:** a risk worth a look, not shown.

## 4. Grade by effect

- **blocking:** wrong results, lost or corrupted data, a security hole, a broken contract or build, a missing test
  for the change's main behaviour. Must be fixed before merge.
- **should:** a real problem with a smaller effect: an unhandled edge case, a confusing name, a missing test for a
  side path, a slow path at realistic size. Fix in this change unless there is a reason not to.
- **nit:** taste and polish. The author may ignore it. Keep nits few.

Grade by what a user would get if it shipped, not by how easy the fix is.

## 5. Write the review

One complete review, not findings in drips. Each finding says where, what, why it matters and what to do; suggest,
do not dictate. Name what is good when it is worth repeating. Ask when the intent is unclear instead of assuming it
is wrong.

## A second view

The author's own review shares the author's blind spots. In YAAP:

- when you reviewed your own work and `delegate` is available (in a project conversation), hand the review to the
  `reviewer` agent (`delegate` with `agent: reviewer`), so another context reads it. When you are the `reviewer`
  agent, or a worker without `delegate`, review it yourself and say in the report that it is one view;
- suggest *Review these changes* under Changes in the rail: a model of another vendor reviews the uncommitted
  changes and its findings show beside the diff. A goal that changed files gets this review by itself.

Treat findings from either like any review: check them with the `receive-review` skill before acting.

## Output template

```
## Review: <what was reviewed>

Intent: <one line>
Size: <files, lines>; ran: <tests, lint, or "nothing">
Verdict: <approve | approve after the "should" findings | changes needed>

### Findings
1. [blocking, high] `path/file.py:42` <what is wrong>.
   Why: <the effect>. Checked: <how you confirmed it>.
   Suggest: <what to do>.
2. [should, medium] `path/other.ts:17` <...>
   Why: <...>. Not checked: <what would settle it>.
3. [nit, high] `path/file.py:88` <...>

### Good
- <what is worth keeping, briefly>

### Questions
- <where the intent is unclear>
```

Wersje

RepozytoriumWynikLicencja
Ta strona · jelvodev/yaap100MIT
doodledood/manifest-dev100MIT
serpro69/claude-toolbox100Apache-2.0
serpro69/claude-toolbox100Apache-2.0
globalmindsolution/gms-marketplace100MIT
tojim00d/Orbit-skills100MIT
yaohuangguan/agent-playbook100MIT
paultyng/skill-issue100MIT
lumberbarons/lumber-mart100MIT

Migawka bazy z 13.11.2026 · wersja paczki b970528391b4 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90review-a-pull-request
    Dokładnie przegląda kod, gałąź lub pull request pod kątem poprawności, testów, bezpieczeństwa i czytelności, od najważniejszych uwag.
  • 100code-review
    Przegląda zmiany (pull request, gałąź, zakres commitów lub bieżący diff) pod kątem poprawności, bezpieczeństwa i łatwości utrzymania przed merge'em.
  • 100pr-review
    Przegląda pull request lub bieżącą gałąź pod kątem błędów, dziur bezpieczeństwa i brakujących testów, uszeregowanych według wagi.
  • 100review
    Przegląda pull request w ClickHouse pod kątem poprawności, bezpieczeństwa, wydajności i zgodności.
  • 100code-review
    Robi rzetelny, uporządkowany przegląd diffu lub PR pod kątem poprawności, bezpieczeństwa, wydajności i testów.
  • 90code-review
    Przegląda diff lub pull request pod kątem poprawności, obsługi błędów, wyścigów, testów i czytelności.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.