agent-team/rules/06-nix.md
Bryan Ramos d2fdcbc731 refactor: modularize CLAUDE.md into ~/.claude/rules/ with agent-team content separation
- Split monolithic CLAUDE.md into 7 focused rule files in rules/
- Remove agent-team specific content from global rules (subagent cost,
  model defaults, tier shortcuts) — already covered by orchestrate skill
- Add "prefer summaries over verbatim output" to orchestrate Step 8
- Update install.sh to symlink rules/ directory
- Trim CLAUDE.md to a minimal pointer since rules auto-load
2026-04-02 07:17:36 -04:00

857 B

Nix

  • Nix is the preferred meta package manager on all systems — assume it is available even on non-NixOS Linux
  • Always prefer a project-level flake.nix as the canonical way to define dev environments, build systems, and scripts
  • Dev environments go in devShells, project scripts/tools go in packages or as apps within the flake
  • Never suggest apt, brew, pip install --user, npm install -g, or other imperative global installs — reach for nix shell, nix run, or the project devshell instead
  • Prefer nix run for one-off tool invocations and nix develop (or direnv + use flake) for persistent dev shells
  • Binaries and tools introduced to a project should be pinned and run through Nix, not assumed to be on $PATH from the host
  • Flakes are the preferred interface — avoid legacy nix-env or channel-based patterns