Review toolkit for the RustPython interpreter itself — a Python runtime written in Rust. Runtime-implementer perspective: it audits RustPython's own soundness, not extensions built with it. 13 specialized agents covering Python-reachable panic sites (unwrap/expect/index tiered by protocol-trait reachability), unsafe layout-transmute and pointer-cast inconsistency in the object model, GC Traverse-completeness for the cycle collector, non-Sync interior mutability on shared payloads, unsound Debug formatting, C-ABI panic boundaries, ctypes int/pointer marshalling, unguarded protocol recursion, eager-collect parity, uninitialized-object slots, complexity, and git history. RustPython shares PyO3's vocabulary (PyRef, PyResult, #[pyclass]) but not its semantics, so the checks are RustPython-native, not transplanted from the PyO3 toolkits. Tree-sitter-rust-powered, static-first.
npx claudepluginhub reviewtoolkits/rustpy-review-toolkitAnalysis agents for the RustPython interpreter's own Rust source. Flagship (safety-critical): Python-reachable panic sites tiered by protocol-trait reachability — .unwrap()/.expect()/panic!/unreachable!/index/arity exprs in the VM, builtins, types, and stdlib, ranked py > protocol > internal so a runtime abort a Python program can trigger surfaces and internal-invariant panics stay silent. Unsafe-soundness: cross-method pointer-cast inconsistency (the PyAtomicRef Debug SIGSEGV shape) and handle-type transmute without a preceding TransmuteFromObject::check or repr(transparent) SAFETY. GC Traverse-completeness: #[pyclass] payloads owning PyObjectRef/PyRef fields with no traverse/traverse="manual" opt-in, #[pytraverse(skip)] on ref-owning fields, and manual fn traverse bodies missing an owned-ref field. Plus reused complexity measurement and git history analysis. Tree-sitter-rust parsing with optional clippy/miri/cargo-expand integration; static-first (CPython differential oracle deferred to v0.2).
7-day visitors to each marketplace page
A Claude Code plugin that statically reviews the RustPython interpreter's own Rust source for soundness and crash bugs — from the runtime-implementer's perspective.
RustPython is a Python interpreter written in Rust. This toolkit reviews the interpreter itself, not extensions built with it, and not PyO3. RustPython shares PyO3's vocabulary (PyRef, PyResult, #[pyclass]) but has its own object model, cycle-collecting GC, bit-packed RefCount, and threading-feature toggle — so every check is RustPython-native, not transplanted from a PyO3 toolkit.
.unwrap() / .expect() / panic! / index / arity sites in the VM, tiered by reachability (py > protocol > internal) so a crash a Python program can trigger surfaces while internal invariants stay quiet. This is RustPython's dominant confirmed crash class.PyAtomicRef SIGSEGV shape) and handle-type transmute without a repr(transparent) / TransmuteFromObject guard.#[pyclass] payloads that own Python references but declare no traverse, #[pytraverse(skip)] on ref-owning fields, and manual traverse bodies that miss a field.Scanners find candidates (deliberately high recall); the agents confirm or dismiss each by reading the real code and judging Python-reachability.
claude plugin marketplace add devdanzin/rustpy-review-toolkit
claude plugin install rustpy-review-toolkit@rustpy-review-toolkit
| Command | What it does |
|---|---|
/rustpy-review-toolkit:explore [scope] [aspects] | Full phased review: discovery → preflight orientation → panic-site + unsafe + traverse → complexity + history → synthesis |
/rustpy-review-toolkit:health [scope] | Quick scored 1–10 dashboard across every dimension |
/rustpy-review-toolkit:hotspots [scope] | Rank the riskiest functions (panic + unsafe + complexity) |
/rustpy-review-toolkit:known-issues [scope] | Cross-reference the fuzzer-confirmed panic catalog against a fresh scan — which reproduced crashes are still present |
Point them at a RustPython checkout:
/rustpy-review-toolkit:explore ~/projects/RustPython
/rustpy-review-toolkit:known-issues ~/projects/RustPython/crates/vm
| Agent | Focus |
|---|---|
rustpy-internals-mapper | preflight — indexes the macro object model into reachability tiers + a payload catalog |
panic-site-auditor | flagship — Python-reachable panics, ranked by provenance |
unsafe-soundness-auditor | crown jewel — object-model cast inconsistency + handle transmute |
gc-traverse-auditor | first-class, experimental — cycle-collector completeness |
thread-safety-auditor | Class F — non-Sync interior mutability on a shared #[pyclass] payload force-marked Sync |
debug-format-auditor | Class I — {:?} on a Python object reaching the unsound PyAtomicRef Debug (severity-gated) |
capi-panic-boundary | panics + unguarded pointer derefs across the C ABI in crates/capi (experimental) |
ctypes-ffi-auditor | Class H — int→pointer narrowing in _ctypes |
recursion-guard-auditor | Class D — unguarded protocol recursion → native stack overflow |
eager-collect-parity | Class G — eager iterable binding where CPython streams (needs a CPython differential) |
uninitialized-object-auditor | Class E — a payload slot on a T.__new__(T) instance |
rust-complexity-analyzer | complexity hotspots (dispatch-match aware) |
git-history-analyzer | similar-unfixed-bug detection, RustPython bug lexicon |
Tree-sitter-rust parses RustPython's source; the internals mapper attributes every Rust site to its Python name and reachability tier; the scanners overlay their pattern checks on that classification. The design is static-first: the v0.2 class-expansion agents that need a CPython/concurrency differential (thread-safety, ctypes, eager-collect, recursion, uninit) encode the fuzzer's verified SAFE lists as data and leave the differential to agent triage. An automated differential oracle and RefCount loom/TSan research remain deferred (see rustpy-review-toolkit-design.md).
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.