← 返回 Skills 市场
anderskev

Rust Testing Code Review

作者 Kevin Anderson · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
270
总下载
0
收藏
2
当前安装
4
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
能力标签
crypto
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rust-testing-code-review
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rust-testing-code-review 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug rust-testing-code-review
版本 1.0.3
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 4
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 270 次。

如何安装 Rust Testing Code Review?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rust-testing-code-review」即可一键安装,无需额外配置。

Rust Testing Code Review 是免费的吗?

是的,Rust Testing Code Review 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Rust Testing Code Review 支持哪些平台?

Rust Testing Code Review 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Rust Testing Code Review?

由 Kevin Anderson(@anderskev)开发并维护,当前版本 v1.0.3。

💬 留言讨论