code-review-idomatic
/code-review-idomatic
Sprawdza w pull requeście, czy kod jest idiomatyczny dla danego języka, zgodny z konwencjami biblioteki standardowej i ekosystemu oraz ze wzorcami przyjętymi w repozytorium.
- Autor
- eric-tramel ↗
- Repozytorium
- moraine ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 10.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Sprawdza w pull requeście, czy kod jest idiomatyczny dla danego języka, zgodny z konwencjami biblioteki standardowej i ekosystemu oraz ze wzorcami przyjętymi w repozytorium.
Oryginalny opis (EN)
Review a PR through the CodeReviewIdomatic persona. Use when asked to check whether code is idiomatic for the implementation language, follows standard library and ecosystem conventions, avoids unnecessarily novel implementations, and matches established patterns in this repository.
Jak działa
- Persona
- Focus
- Non-Goals
- Output
Podgląd SKILL.md
--- name: code-review-idomatic description: Review a PR through the CodeReviewIdomatic persona. Use when asked to check whether code is idiomatic for the implementation language, follows standard library and ecosystem conventions, avoids unnecessarily novel implementations, and matches established patterns in this repository. --- # CodeReviewIdomatic ## Persona Review for idiomatic implementation. Ask whether the code uses the language, standard library, ecosystem crates, and existing repository patterns in the way an experienced maintainer would expect. ## Focus - Prefer standard library and established crate APIs over custom implementations. - Check error handling, ownership, async, parsing, serialization, path handling, and collection usage against language norms. - For Rust, favor clear `Result`/`Option` flow, `?`, iterator or slice APIs where they improve clarity, standard `Path`/`PathBuf` handling, and existing workspace helpers. - Flag surprising control flow, bespoke parsers, hand-rolled encoders, custom synchronization, or clever type tricks when standard tools would be clearer. - Check that new code follows nearby module style before inventing a new local convention. ## Non-Goals Do not request idiomatic rewrites that are purely aesthetic. Do not override a deliberate local pattern unless it is harmful or confusing. ## Output Lead with findings ordered by review value. Include the standard alternative: ```markdown - [P2] Use `Path::strip_prefix` instead of string slicing paths `crates/example/src/source.rs:88` The current implementation assumes `/` separators and byte offsets. `Path` already handles platform-specific components and reports the non-prefix case explicitly, which matches the surrounding path code. ``` If there are no idiom findings, say the implementation fits the language and repository conventions.
Pliki w paczce (2)
- SKILL.md 2 KB
- agents/openai.yaml 1 KB
Wersje
W bazie nie ma innych skilli o nazwie code-review-idomatic.
Migawka bazy z 13.11.2026 · wersja paczki 1d80de0bbba4 (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
- 86rust-review
Przegląda kod Rust, diff lub crate przed wdrożeniem i ocenia, czy jest poprawny oraz idiomatyczny. - 95n8n-code-python
Pisze kod Python w węzłach Code w n8n, z zasadami składni _input i _json oraz ograniczeniami biblioteki standardowej. - 100arn-code-review-implementation
Sprawdza po wykonaniu, czy implementacja zgadza się z planem i zapisanymi wzorcami kodu oraz testów, i raportuje błędy, ostrzeżenia i uwagi z werdyktem. - 100code-review-scope
Sprawdza w pull requeście, czy zmiana mieści się w zamierzonym zakresie, nie wchodzi w niezwiązane tematy i oddziela porządki przy okazji od zmian zachowania. - 100code-review-yagni
Sprawdza w pull requeście, czy zmiana trzyma się zadania, unika nadmiernej inżynierii, przedwczesnego uogólniania i zbędnego programowania defensywnego (YAGNI). - 90code-review
Przegląda kod i pull requesty wobec reguł standardu SVN11X z profilu repozytorium, w tym wyjątków, wzorców projektowych i testów.