rust-review
/rust-review
Przegląda kod Rust, diff lub crate przed wdrożeniem i ocenia, czy jest poprawny oraz idiomatyczny.
- Autor
- TheDecipherist ↗
- Repozytorium
- claude-packs ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Przegląda kod Rust, diff lub crate przed wdrożeniem i ocenia, czy jest poprawny oraz idiomatyczny.
Oryginalny opis (EN)
Use when reviewing Rust code, a Rust diff or a crate before it lands, or when asked whether Rust code is sound or idiomatic.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 21 linii, 271 słów
Podgląd SKILL.md
--- name: rust-review description: Use when reviewing Rust code, a Rust diff or a crate before it lands, or when asked whether Rust code is sound or idiomatic. --- # Review Rust (one job: find what the compiler and clippy cannot) Run the gate first, so the review spends nothing on what tools already say: `cargo fmt --check`, `cargo clippy --all-targets --all-features -- -D warnings`, `cargo test`. <constraints> Always do: 1. Ownership: is each `.clone()`, `Rc`, `Arc` and `RefCell` needed, or was it a way past a borrow error? Could the caller keep the value and lend it? 2. Errors: can a caller tell the failures apart? Is every `.expect` message a true invariant? Does a `?` lose what was being attempted? 3. `unsafe`: does each `SAFETY` comment name a real invariant, and does the code around it uphold that? Read the callers. Check aliasing, alignment, initialization, and that a panic in the block leaves nothing half done. 4. Concurrency: what happens when a future is dropped at each `.await`? Is state left half written? Is a channel unbounded? Is `Ordering::Relaxed` proved enough? 5. Public API: would a new field or variant break a caller (`#[non_exhaustive]`)? Is an internal type exposed? Are `Send` and `Sync` what the caller needs? 6. Numbers and text: an `as` cast that truncates, an overflow in release builds, a byte index into a `&str`. 7. Tests: does a test fail without the change? Is an error path covered, not only the happy one? 8. Report each finding with the file, the symbol and the input that breaks it. A finding you cannot give an input for is a question. Never do: - Report what clippy or `rustfmt` already says. - Ask for a lifetime, a trait or a generic the code does not need. </constraints>
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · TheDecipherist/claude-packs | 86 | MIT |
| trailofbits/skills | 100 | CC-BY-SA-4.0 |
| RediSearch/RediSearch | 100 | AGPL-3.0 |
| morganlinton/beautifulrust | 100 | MIT |
| thebigasif/khalid | 100 | AGPL-3.0 |
| athola/claude-night-market | 100 | MIT |
| claude-dev-suite/claude-dev-suite | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki eeb58fef0d87 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100rs-review
Przegląda kod Rust i pisze raport w Markdown, obejmując diff, PR i ocenę gotowości do produkcji. - 100exploring-rust-crates
Generuje dokumentację Rust, by zrozumieć API, strukturę i użycie crate'ów w workspace HASH. - 100rustgrade
Przegląda kod Rust na poziomie systemowym i podpowiada domyślne wybory doświadczonego inżyniera, gdy kod za dużo klonuje, alokuje lub blokuje. - 90cc-rust-project-standard
Opisuje strukturę crate'ów i workspace'ów Rust, granice modułów, API, konwencje Result i zależności Cargo oraz kontrole inżynierskie. - 96ds-rust
Zmienia zachowanie crate w Rust, funkcje Cargo, cykle życia async i granice zależności natywnych w istniejącym projekcie. - 95rust-best-practices
Pisze, przegląda i refaktoryzuje idiomatyczny Rust: crate'y, błędy, async, unsafe, FFI, testy i dokumentację rustdoc.