mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-31 06:03:29 +08:00
411 B
411 B
paths
| paths | ||
|---|---|---|
|
Rust 钩子
此文件扩展了 common/hooks.md,包含 Rust 特定内容。
PostToolUse 钩子
在 ~/.claude/settings.json 中配置:
- cargo fmt:编辑后自动格式化
.rs文件 - cargo clippy:编辑 Rust 文件后运行 lint 检查
- cargo check:更改后验证编译(比
cargo build更快)