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

code-review

/code-review

Ocenia zmiany w JavaScript, TypeScript i Pythonie jak doświadczony inżynier: poprawność, bezpieczeństwo, wydajność i czytelność.

Repozytorium
kiln ↗
Licencja
MIT
Ostatnia zmiana repozytorium
09.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
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.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 sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/collect_diff.sh

Co robi i kiedy

Ocenia zmiany w JavaScript, TypeScript i Pythonie jak doświadczony inżynier: poprawność, bezpieczeństwo, wydajność i czytelność.

Wyzwalacze z opisu

look overis this okay?ada bug?cek kode init say
Oryginalny opis (EN)

Review code changes like a senior engineer — correctness, security, performance, readability — for JavaScript/TypeScript and Python. Use whenever the user asks to review, check, audit, or "look over" code, a diff, a PR, a branch, or staged changes, or asks "is this okay?", "ada bug?", "cek kode ini", even if they don't say "review".

Jak działa

  1. 1. Establish scope
  2. 2. Understand intent before judging
  3. 3. Check, in priority order
  4. 4. Verify, don't guess
  5. 5. Output format
Sekcje z nagłówków SKILL.md, w oryginale · 71 linii, 482 słów
Podgląd SKILL.md
---
name: code-review
description: Review code changes like a senior engineer — correctness, security, performance, readability — for JavaScript/TypeScript and Python. Use whenever the user asks to review, check, audit, or "look over" code, a diff, a PR, a branch, or staged changes, or asks "is this okay?", "ada bug?", "cek kode ini", even if they don't say "review".
---

# Code Review

Goal: find the issues that actually matter, ranked by impact, with concrete fixes. Not a style lecture.

## 1. Establish scope

Figure out what to review, in this order:
1. Files/snippets the user pointed at.
2. Otherwise `git diff --staged`; if empty, `git diff`; if empty, `git diff main...HEAD` (try `master` if `main` doesn't exist).
3. If still nothing, ask.

Run `scripts/collect_diff.sh` to get the diff plus a file list in one go. Read the surrounding code of every changed hunk — bugs usually live at the boundary between new and old code, so the diff alone is not enough.

## 2. Understand intent before judging

Read the commit message / PR description / user's explanation. Ask yourself: what is this change trying to do? A review that misses the intent produces noise.

## 3. Check, in priority order

**🔴 Blocker — correctness & security**
- Logic errors, off-by-one, wrong conditions, unhandled `null`/`undefined`/`None`
- Async mistakes: missing `await`, unhandled promise rejections, `async` in `forEach`, race conditions, Python `asyncio` calls blocking the loop
- Injection: SQL string concatenation, `eval`/`exec`, shell commands built from input, `dangerouslySetInnerHTML`, Python `pickle`/`yaml.load` on untrusted data
- Secrets hard-coded, auth/permission checks missing on new endpoints
- Resource leaks: files/connections not closed (use `with` / `try…finally`)
- Mutable default arguments in Python (`def f(x=[])`)

**🟡 Should fix — robustness & performance**
- N+1 queries, work inside loops that could be hoisted, unbounded memory growth
- Error handling that swallows exceptions (`except: pass`, empty `catch {}`)
- TypeScript: `any`, unsafe `as` casts, non-null `!` hiding real nulls
- Missing tests for new branches
- React: missing/incorrect `useEffect` dependencies, keys from array index on reorderable lists

**🟢 Nice to have — maintainability**
- Naming, duplication, dead code, overly long functions
- Only mention if it materially helps; skip pure taste.

## 4. Verify, don't guess

If a project has them, run them and include results:
- JS/TS: `npx tsc --noEmit`, `npm run lint`, `npm test -- --related` (or the project's equivalents in `package.json`)
- Python: `ruff check`, `mypy`, `pytest -q` on affected tests

Don't claim something is a bug unless you can explain the input that triggers it. If unsure, say "possible issue" and why.

## 5. Output format

```
## Summary
<1–2 sentences: what changed and the overall verdict: ✅ ready to merge / ⚠️ needs fixes / ❌ don't merge>

## 🔴 Blockers
- `path/file.ts:42` — <the problem>. <why it's dangerous>.
  Fix: <short code fix>

## 🟡 Should fix
...

## 🟢 Suggestions
...

## What's already good
<1–3 specific points, not filler>
```

Write the report in the user's language (for example, Indonesian if they wrote in Indonesian); translate the headings too. Omit empty sections. Max ~10 findings; if more, keep the most important and say how many minor ones were left out.

Offer to apply the fixes — don't edit files unless the user asks.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • scripts/collect_diff.sh 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · KILN-skills/kiln100MIT
microsoft/aspire100MIT
kdlbs/kandev100AGPL-3.0
dotnet/runtime100MIT
drosam/agents100MIT
ggml-org/llama.cpp100MIT
ShamelesAbyss/Nyx100Apache-2.0
dzhng/jevgrep100MIT
iuliandita/skills100MIT

Migawka bazy z 13.11.2026 · wersja paczki 5e63ed251c64 (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

  • 100code-reviewer
    Działa jak senior reviewer i ocenia zmiany w pięciu wymiarach: poprawność, czytelność, architektura, bezpieczeństwo i wydajność, przed scaleniem.
  • 90senior-code-reviewer
    Ocenia kod jak doświadczony inżynier: szuka błędów, przypadków brzegowych, słabej czytelności, wydajności i utrzymywalności.
  • 100code-review-changes
    Przegląda zmiany w PR, MR lub diffie jak doświadczony inżynier, weryfikuje błędy i podaje numer linii oraz poprawkę.
  • 100code-review-senior
    Analizuje zmiany pod kątem bezpieczeństwa, wydajności, jakości kodu, architektury i testów, jak senior inżynier.
  • 100review-code
    Prowadzi wielowymiarowy code review ze strukturalnymi raportami: poprawność, czytelność, wydajność, bezpieczeństwo, testy i architektura.
  • 100code-review-checklist
    Prowadzi code review według pięciu osi (poprawność, bezpieczeństwo, czytelność, wydajność, pokrycie testami) i tworzy konkretne komentarze zamiast uwag o stylu.

Uwagi i zgłoszenia

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