feat: bootstrap he maintainer skill
This commit is contained in:
28
he-maintainer/references/rust.md
Normal file
28
he-maintainer/references/rust.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Rust Harness Notes
|
||||
|
||||
Use this reference for Rust repositories.
|
||||
|
||||
## Common files to inspect
|
||||
|
||||
- `Cargo.toml`
|
||||
- `Cargo.lock`
|
||||
- `src/`
|
||||
- `crates/`
|
||||
- `tests/`
|
||||
- `rust-toolchain.toml`
|
||||
|
||||
## Common validation commands
|
||||
|
||||
Typical examples:
|
||||
|
||||
- `cargo test`
|
||||
- `cargo build`
|
||||
- `cargo clippy --all-targets --all-features -- -D warnings`
|
||||
- `cargo fmt --check`
|
||||
|
||||
## Common guardrails
|
||||
|
||||
- do not casually update `Cargo.lock`
|
||||
- check for workspace crates before describing structure
|
||||
- prefer the smallest crate-local change that solves the task
|
||||
- distinguish unit, integration, and benchmark targets when relevant
|
||||
Reference in New Issue
Block a user