mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Add critical instructions and hooks for Claude Code (#8715)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
This file provides guidance for AI assistants (Claude Code, Codex, etc.) working with Lighthouse.
|
||||
|
||||
## CRITICAL - Always Follow
|
||||
|
||||
After completing ANY code changes:
|
||||
1. **MUST** run `cargo fmt --all && make lint-fix` to format and fix linting issues
|
||||
2. **MUST** run `cargo check` to verify compilation before considering task complete
|
||||
|
||||
Run `make install-hooks` if you have not already to install git hooks. Never skip git hooks. If cargo is not available install the toolchain.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user