← Back to Skills Marketplace
anderskev

Rust Testing Code Review

by Kevin Anderson · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ Security Clean
270
Downloads
0
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install rust-testing-code-review
Description
Reviews Rust test code for unit test patterns, integration test structure, async testing, mocking approaches, and property-based testing. Covers Rust 2024 ed...
Usage Guidance
This skill is a documentation-driven checklist for reviewing Rust tests and appears coherent. Before installing or invoking: confirm the agent will have read-access to the repository code you want reviewed (the skill expects to open Cargo.toml and test files); be aware the SKILL.md references other internal review protocols (they may be implementation conventions, not separate credentials). There are no installs or secret requests, but as with any code-review skill, avoid granting the agent write access or providing private credentials (e.g., TEST_DATABASE_URL) unless you intend the agent to run integration tests that need them. If you want stronger guarantees, ask the publisher for a homepage or source repository to verify provenance before wide deployment.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
Name/description (Rust test code review) align with the files included (SKILL.md and three reference docs) and the runtime instructions (open Cargo.toml, examine test files, review async/mocking/assertion patterns). Nothing in the manifest asks for unrelated credentials, binaries, or system access.
Instruction Scope
Instructions direct the agent to read the target crate's files (Cargo.toml, test modules, tests/ directory) and to follow a structured checklist — this is appropriate for a code-review skill. Minor note: the SKILL.md references other internal artifacts/steps (e.g., 'beagle-rust:review-verification-protocol', 'beagle-rust:tokio-async-code-review') without declaring them as dependencies; the skill assumes those conventions exist but does not require additional secrets or installs.
Install Mechanism
No install spec or code files are present; the skill is instruction-only so nothing is downloaded or written to disk.
Credentials
The skill declares no required environment variables or credentials. The references include example code that reads TEST_DATABASE_URL or similar vars, but the skill does not request those values itself — it only instructs reviewers to check for their presence in the project, which is proportional.
Persistence & Privilege
Flags show always: false and default model invocation settings. The skill does not request permanent presence or claim to modify other skills or system-wide config.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rust-testing-code-review
  3. After installation, invoke the skill by name or use /rust-testing-code-review
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
**Summary: Adds mandatory gating steps for Rust edition, async mock style, and verification protocol.** - Introduced a "Gates (hard)" section requiring explicit edition check, async mock usage check (`dyn` vs static), and review protocol before listing findings. - Output about Rust 2024 features (like temporary scope or `async fn` in traits) is now edition-aware and will not be flagged as a regression unless edition 2024 is set. - Guidance around native async mocking now considers required `dyn Trait` use and skips suggestions if `async-trait` is still necessary. - Mandates citing edition info and protocol steps before findings. - Checklist, quick reference, and review workflow otherwise unchanged.
v1.0.2
Rust 2024, async in traits, and advanced testing enhancements: - Updated guidance and checklists for Rust 2024 edition changes (temporary scope in `if let`, tail expression drop order, native `async fn` in traits, `#[expect]` lint suppression, `LazyLock` for fixtures) - Added new quick reference link to advanced testing topics (property-based, fuzzing, Miri, benchmarks) - Expanded checklist to cover native async mocks, edition-specific pitfalls, and self-cleaning lints - Clarified allowed patterns and severity calibrations with edition-specific scenarios - New reference file: `references/advanced-testing.md` for advanced and fuzzy testing topics
v1.0.1
- Added a new section on Parametrized Testing, including guidance on using `rstest` for test cases and fixtures. - Updated the Quick Reference table to include rstest, naming, and doc tests in the referenced file. - Checklist now covers proper use of `#[rstest]`, descriptive case names, shared fixtures, and combining with async tests. - No breaking changes; other review protocols and severity calibrations are unchanged.
v1.0.0
Initial release: Rust test code review skill. - Provides a thorough checklist and guidelines for reviewing Rust test code, including unit tests, integration tests, async tests, and error handling. - Defines output formatting and severity calibration for reporting issues found during reviews. - Includes rules and best practices for assertions, mocking, test structure, naming, snapshot and doc testing. - Offers explicit "Do NOT Flag" section for valid/idiomatic Rust test patterns. - References supporting materials for further detail on unit and integration testing.
Metadata
Slug rust-testing-code-review
Version 1.0.3
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is Rust Testing Code Review?

Reviews Rust test code for unit test patterns, integration test structure, async testing, mocking approaches, and property-based testing. Covers Rust 2024 ed... It is an AI Agent Skill for Claude Code / OpenClaw, with 270 downloads so far.

How do I install Rust Testing Code Review?

Run "/install rust-testing-code-review" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Rust Testing Code Review free?

Yes, Rust Testing Code Review is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Rust Testing Code Review support?

Rust Testing Code Review is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Rust Testing Code Review?

It is built and maintained by Kevin Anderson (@anderskev); the current version is v1.0.3.

💬 Comments