# Development Notes
## First Steps
On startup, check which tools are available and prompt the user if needed:
```bash
rustc --version
which rustc
```
If rustc is not from `/nix/store/...`, you're not in the nix-shell. Ask the user to run:
```bash
nix-shell --run "claude --dangerously-skip-permissions"
```
Or enter the shell first, then run claude from inside.
## Formatting
Use nightly rustfmt for full formatting support:
```bash
cargo +nightly fmt
```
## Linting
Always run clippy with tests. Check both feature sets to catch unused code:
```bash
cargo clippy --tests
cargo clippy --tests --features local-whisper
```
## Rules
- Do not commit this file
- Never use `git add -A` or `git add .` - always add specific files to avoid accidentally committing CLAUDE.md