mirror of
https://github.com/itme-brain/agent-team.git
synced 2026-05-08 12:40:13 -04:00
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
This commit is contained in:
parent
f0cb4e840a
commit
d2fdcbc731
11 changed files with 76 additions and 70 deletions
9
rules/06-nix.md
Normal file
9
rules/06-nix.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue