This repository has no description
1.2 kB
22 lines
1# CLAUDE.md
2
3This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
5## Instructions
6
7- Use `--log-format bar-with-logs` with Nix for improved build log output.
8- Add new untracked files in Nix flakes with `git add`.
9- Format code with `nix fmt` if available.
10- Write shell scripts that pass ShellCheck.
11- Write Python code for 3.12 that conforms to `ruff format` and passes `ruff check`.
12- Always test/lint/format your code before committing.
13- Add debug output or unit tests when troubleshooting.
14- Avoid mocking in tests.
15- Use the `gh` tool to interact with GitHub.
16- Use `nix-locate` to find packages by file path.
17- Use `nix run` to execute applications that are not installed.
18- Do not include "claude" in commit messages.
19- Use `nix eval` instead of `nix flake show` to look up attributes in a flake.
20- Use tmux-mcp for long running tasks, use a session with a claude- prefix, create a session if you can't find any one that is idle
21- Use git-mcp for advanced git operations like interactive staging, stash management, and bisecting
22- Take extra care that we don't commit lines with trailing whitespaces