一键导入
cargo-quality
Run all Rust quality checks (fmt, clippy, test, bench). Use before committing or when validating code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run all Rust quality checks (fmt, clippy, test, bench). Use before committing or when validating code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run and analyze performance benchmarks. Use when working on performance-critical code or comparing changes.
Look up Rust crate documentation in Markdown format from target/doc-md/.
Upgrade Rust dependencies one at a time using cargo outdated. Analyzes impact, checks for API changes, and produces a recommendation before upgrading.
Prepare a pull request with quality checks, commit, and PR creation. Use when ready to submit changes for review.
Run security audit on dependencies and review code for vulnerabilities. Use before releases or when updating dependencies.
| name | cargo-quality |
| description | Run all Rust quality checks (fmt, clippy, test, bench). Use before committing or when validating code changes. |
Run the full quality gate required by this project.
bash .github/scripts/local-ci.sh
This runs the same gates as .github/workflows/ci.yml: fmt, clippy, build,
test, a bench compile-check, and cargo doc.
# 1. Format code
cargo fmt --all -- --check
# 2. Clippy (all targets, all features, warnings denied)
cargo clippy --all-targets --all-features -- -D warnings
# 3. Run the full test suite
cargo test --all-targets --locked
# 4. Compile benchmarks (catches benchmark build errors)
cargo bench --no-run
# 5. Build documentation
cargo doc --no-deps