AGENT SKILL

Rust 代码检查与测试

check

运行 Rust fmt、clippy 和单元测试。在修改 Rust 代码后使用。

使用场景Rust 开发
License 许可
Apache-2.0
所属仓库
katanemo/plano
最近更新
2026-10-25
Stars
★ 7.1k
Forks
497

01 前言 Front Matter

name
check
description
Run Rust fmt, clippy, and unit tests. Use after making Rust code changes.

02 资源文件 2

03 SKILL.md 正文

Run all local checks in order:

  1. cd crates && cargo fmt --all -- --check — if formatting fails, run cargo fmt --all to fix it
  2. cd crates && cargo clippy --locked --all-targets --all-features -- -D warnings — fix any warnings
  3. cd crates && cargo test --lib — ensure all unit tests pass

Report a summary of what passed/failed.

04 同仓库更多 Skills