initial commit
This commit is contained in:
20
AGENTS.md
Normal file
20
AGENTS.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Development
|
||||
|
||||
- Prefer simple, idiomatic Rust; reuse existing code and dependencies before adding abstractions or crates.
|
||||
- Keep changes focused, handle errors explicitly, and add the smallest useful test for non-trivial behavior.
|
||||
- Preserve `rustfmt` output and keep Clippy warning-free.
|
||||
|
||||
## Commit gates
|
||||
|
||||
Run before every commit:
|
||||
|
||||
```sh
|
||||
cargo fmt --all -- --check
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
cargo build --all-targets --all-features
|
||||
cargo test --all-features
|
||||
```
|
||||
|
||||
## Commit messages
|
||||
|
||||
Use a short, imperative subject describing one change. Skip prefixes and bodies unless they add necessary context.
|
||||
Reference in New Issue
Block a user