Programowanie · Przegląd i audyt
cpp-review
/cpp-review
Przegląda kod C++ pod kątem zgodności z Google C++ Style Guide, także w pull requestach.
- Autor
- clickhouse ↗
- Repozytorium
- pg_stat_ch ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 25.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 25.10.2026, bez odwołań do wycofanych modeli i API.
Licencja
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Przegląda kod C++ pod kątem zgodności z Google C++ Style Guide, także w pull requestach.
Oryginalny opis (EN)
Review C++ code against Google C++ Style Guide. Use when reviewing C++ code, pull requests, or when asked to check code style compliance.
Jak działa
- Review Checklist
- Feedback Format
- Example Review Comment
Sekcje z nagłówków SKILL.md, w oryginale · 71 linii, 366 słów
Podgląd SKILL.md
---
name: cpp-review
description: Review C++ code against Google C++ Style Guide. Use when reviewing C++ code, pull requests, or when asked to check code style compliance.
---
# C++ Code Review (Google Style)
Review C++ code for compliance with the Google C++ Style Guide.
## Review Checklist
### Naming
- [ ] Types use `PascalCase`
- [ ] Functions use `PascalCase` (accessors use `snake_case`)
- [ ] Variables use `snake_case`
- [ ] Class members have trailing underscore: `member_`
- [ ] Constants use `kPascalCase`
- [ ] Macros use `UPPER_CASE` with project prefix
### Headers
- [ ] Has `#define` guard: `PROJECT_PATH_FILE_H_`
- [ ] Self-contained (includes all dependencies)
- [ ] Includes ordered: related header, C system, C++ stdlib, other libs, project
- [ ] No forward declarations unless necessary
### Classes
- [ ] Single-argument constructors are `explicit`
- [ ] Data members are `private`
- [ ] Copy/move semantics explicit (= default, = delete)
- [ ] No virtual calls in constructors
- [ ] Uses composition over inheritance when appropriate
### Functions
- [ ] Returns values instead of output parameters when possible
- [ ] Parameters ordered: inputs before outputs
- [ ] Functions are ≤40 lines (prefer smaller)
- [ ] Uses `override`/`final` for virtual overrides
### Modern C++
- [ ] Uses `nullptr` (not `NULL` or `0`)
- [ ] Uses C++ casts (not C-style)
- [ ] Uses range-based for loops where appropriate
- [ ] Uses `auto` appropriately (not excessively)
- [ ] Smart pointers for ownership (`unique_ptr`, `shared_ptr`)
### Formatting
- [ ] 80 character line limit
- [ ] 2-space indent
- [ ] Braces on same line as control structures
- [ ] Spaces around binary operators
## Feedback Format
Use severity levels:
- 🔴 **MUST FIX**: Style violations or bugs that must be fixed
- 🟡 **SHOULD FIX**: Strong recommendations for improvement
- 🟢 **CONSIDER**: Optional enhancements or suggestions
## Example Review Comment
```
🔴 **MUST FIX**: Missing `explicit` on single-argument constructor
Line 45: `Foo(int value)` should be `explicit Foo(int value)` to prevent
implicit conversions.
🟡 **SHOULD FIX**: Function too long
Lines 78-145: `ProcessData()` is 67 lines. Consider breaking into smaller
functions for readability and testability.
🟢 **CONSIDER**: Use structured bindings
Line 23: `auto [iter, success] = map.insert({key, value});` would be clearer
than separate `.first` and `.second` access.
```
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · clickhouse/pg_stat_ch | 100 | Apache-2.0 |
| claude-dev-suite/claude-dev-suite | 90 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki c979a7099c4f (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
- 100cpp-naming-check
Sprawdza konwencje nazewnictwa C++ według Google Style Guide i pomaga przy zmianie nazw identyfikatorów. - 100google-cpp-style
Stosuje zasady Google C++ Style Guide: nagłówki, zakresy, klasy, funkcje, nazewnictwo, komentarze i formatowanie przy pisaniu i przeglądzie kodu C++. - 100docs-review
Przegląda zmiany w dokumentacji pod kątem zgodności z przewodnikiem stylu pisania Metabase, w pull requestach, plikach i diffach z plikami markdown. - 100review-pr
Przegląda pull request pod kątem jakości kodu i problemów bezpieczeństwa. - 100pr-review
Przegląda pull requesty PyTorch pod kątem jakości kodu, pokrycia testami, bezpieczeństwa i zgodności wstecznej. - 100pr-review
Przegląda pull requesty PyTorch pod kątem jakości kodu, pokrycia testami, bezpieczeństwa i zgodności wstecznej.