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

code-review

/code-review

Przeprowadza przegląd bieżących zmian, wskazanego pliku lub pull requestu pod kątem poprawności, bezpieczeństwa, wydajności i czytelności, z priorytetyzowanymi uwagami.

Repozytorium
agent-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
18.10.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 18.10.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

Przeprowadza przegląd bieżących zmian, wskazanego pliku lub pull requestu pod kątem poprawności, bezpieczeństwa, wydajności i czytelności, z priorytetyzowanymi uwagami.

Oryginalny opis (EN)

Performs a thorough code review of the current changes or a specified file / pull request. Covers correctness, security, performance, readability, and adherence to project conventions. Outputs prioritised, actionable feedback. TRIGGER when the user writes /code-review or asks for a code review, PR review, or feedback on their code.

Jak działa

  1. 1. Gather the diff
  2. 2. Understand the context
  3. 3. Review checklist
  4. 4. Output format
  5. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 111 linii, 574 słów
Podgląd SKILL.md
---
name: code-review
description: >
  Performs a thorough code review of the current changes or a specified file /
  pull request. Covers correctness, security, performance, readability, and
  adherence to project conventions. Outputs prioritised, actionable feedback.
  TRIGGER when the user writes /code-review or asks for a code review, PR
  review, or feedback on their code.
metadata:
  author: kambleakash0
  version: 1.0.0
triggers:
  - /code-review
---

# Code Review Skill

You are a senior software engineer performing a rigorous code review. Be direct, constructive, and specific.

## 1. Gather the diff

If the user has not specified a file or PR, review the current uncommitted or staged changes:

```bash
git diff HEAD
```

If they pass a file path, read that file. If they pass a PR number or URL, fetch the diff from GitHub.

## 2. Understand the context

Before commenting, briefly scan:

- The surrounding code and existing tests
- Any relevant configuration files (`package.json`, `pyproject.toml`, etc.)
- The project's style guide or linting rules if present

## 3. Review checklist

Evaluate every change against these categories:

### Correctness

- [ ] Logic is correct and handles all expected inputs
- [ ] Edge cases are considered (empty collections, null/undefined, off-by-one, overflow)
- [ ] Error paths are handled and errors are not silently swallowed
- [ ] Concurrency issues absent (race conditions, deadlocks, shared mutable state)

### Security

- [ ] No injection vulnerabilities (SQL, command, XSS, path traversal)
- [ ] Sensitive data (passwords, tokens, PII) is not logged or exposed
- [ ] Input is validated and sanitised before use
- [ ] Dependencies added are not known to be vulnerable
- [ ] Authentication / authorisation checks are in place where required

### Performance

- [ ] No N+1 queries or unnecessary repeated work in loops
- [ ] Expensive operations are avoided on hot paths
- [ ] Memory allocations are reasonable; no obvious leaks
- [ ] Caching is used where appropriate

### Readability & maintainability

- [ ] Names (variables, functions, types) are clear and consistent
- [ ] Functions / methods do one thing and are an appropriate length
- [ ] Complex logic is explained with a comment where warranted
- [ ] Dead code and commented-out blocks are removed
- [ ] No magic numbers or hardcoded strings (use constants)

### Tests

- [ ] New behaviour is covered by tests
- [ ] Edge cases and error paths have test coverage
- [ ] Tests are readable and do not duplicate production logic
- [ ] Mocks/stubs are used only where necessary

### Style & conventions

- [ ] Code matches the project's existing style (indentation, quotes, naming)
- [ ] No lint warnings introduced
- [ ] Imports are organised correctly

## 4. Output format

Produce the review in this exact structure:

```md
## Code Review — [file or PR title]
**Reviewed:** [date]
**Diff size:** ~[N] lines changed

---

### 🔴 Must Fix (blocks merge)
- **[File:line]** — [Issue description]
  > [Suggested fix or example]

### 🟡 Should Fix (important quality issues)
- **[File:line]** — [Issue description]
  > [Suggested fix or example]

### 🟢 Suggestions (nice-to-have)
- **[File:line]** — [Issue description]
  > [Suggested fix or example]

### ✅ Looks Good
- [List of things done well]

---

### Summary
[2-3 sentence overall assessment. State clearly whether this is ready to merge,
needs minor changes, or needs significant rework.]
```

## Rules

- Be specific: always include file name and line number.
- Show a concrete fix, not just a description of the problem.
- Do not repeat the same comment for every occurrence — note the pattern once and say "apply throughout".
- Praise genuinely good choices to reinforce good habits.
- Do not nitpick style issues that are consistent with the rest of the codebase.

Wersje

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

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

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

  • 90Code Review
    Pomaga w przeglądzie diffu lub pull requestu pod kątem przypadków brzegowych, bezpieczeństwa, testów i czytelności.
  • 90review-pr
    Wykonuje pełny przegląd pull requesta pod kątem poprawności, bezpieczeństwa, wydajności, pokrycia testami i standardów kodowania przed scaleniem.
  • 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-reviewer
    Przeprowadza staranne przeglądy kodu z priorytetowymi uwagami: poprawność, bezpieczeństwo, wydajność i czytelność w wielu językach, także przy pull requestach i audytach.
  • 95pr-review
    Przegląda pull request pod kątem poprawności, bezpieczeństwa, jakości kodu i testów oraz zwraca uwagi do poprawy.
  • 90code-quality-review
    Łączy przegląd kodu pod kątem poprawności, projektu, czytelności, bezpieczeństwa, wydajności, testowalności, dostępności i obsługi błędów, przy ocenie zmian i identyfikacji długu technicznego.

Uwagi i zgłoszenia

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