Agent skill
build-commands
Reference for NixOS build, test, and flake commands. Use when asked about rebuilding, checking config, formatting, or flake operations.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/build-commands
SKILL.md
Build/Test Commands
NixOS Operations
- Rebuild system:
sudo nixos-rebuild switch - Link dotfiles:
sudo ln -s /home/cgeorgii/dots/* /etc/nixos - Dry-run config check:
nixos-rebuild dry-build - Build specific config:
nix build .#nixosConfigurations.coco.config.system.build.toplevel
Flake Operations
- Check flake:
nix flake check - Update flake inputs:
nix flake update - Setup dev environment:
nix develop(enables pre-commit hooks and development tools)
Formatting
- Format Nix files:
nixfmt file.nix
Important Notes
- User prefers to run sudo commands manually in a separate terminal
- Always ask before running system-level commands
- All configuration changes should be done declaratively through Nix files
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?