diff --git a/CLAUDE.md b/CLAUDE.md index 809fdb7..c5a6912 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -61,10 +61,21 @@ Do not run `nix flake update`. Should only be done manually by user. ### Development Environment ```bash -# Enter development shell (provides ansible, python3) +# Enter development shell nix develop ``` +The devshell provides: `ansible`, `tofu` (OpenTofu), `vault` (OpenBao CLI), `create-host`, and `homelab-deploy`. + +**Important:** When suggesting commands that use devshell tools, always use `nix develop -c ` syntax rather than assuming the user is already in a devshell. For example: +```bash +# Good - works regardless of current shell +nix develop -c tofu plan + +# Avoid - requires user to be in devshell +tofu plan +``` + ### Secrets Management Secrets are managed by OpenBao (Vault) using AppRole authentication. Most hosts use the