You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,3 +8,15 @@ When creating or amending commits:
8
8
-**Never** add `Co-Authored-By:` trailers of any kind.
9
9
-**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.
10
10
-**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