Skip to content

Commit 033a438

Browse files
committed
docs: add pre-commit check requirements to CLAUDE.md
1 parent 6beaa2b commit 033a438

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,15 @@ When creating or amending commits:
88
- **Never** add `Co-Authored-By:` trailers of any kind.
99
- **Never** include any Claude session URLs, session IDs, or links to claude.ai in commit messages or PR descriptions. Commit messages should only describe the code changes.
1010
- **Always** use `--no-gpg-sign` to avoid GPG signing.
11+
12+
## Pre-Commit Checks
13+
14+
Before creating any commit, always run and ensure the following pass:
15+
16+
```bash
17+
make clippy # Rust lints (wraps cargo clippy)
18+
cargo fmt --check # Formatting check
19+
cargo build # Compilation
20+
```
21+
22+
Fix any errors or warnings reported before proceeding with the commit.

0 commit comments

Comments
 (0)