Agent skill
nix-flake-update
Update Nix flake inputs in persops. Use when asked to update flake.lock/inputs, update AI inputs (codex-cli-nix, claude-code-nix, llm-agents), or run full `nix flake update`, then verify with `nix flake check` and commit the update-only changes.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/nix-flake-update
SKILL.md
Nix Flake Update
Workflow
- Decide scope
- AI update: run
nix flake update codex-cli-nix claude-code-nix llm-agents - Full update: run
nix flake update(default when user does not mention AI)
- AI update: run
- Switch
- Run
make switchafter any update
- Run
- Verify (full updates only)
- Run
nix flake check - If failure, quote exact error, fix only update-related fallout, rerun
nix flake check
- Run
- Commit
- Stage only update-related files (typically
flake.lock, maybeflake.nixor other necessary fixes) - Use Conventional Commit, keep commit isolated to the update
- Examples:
chore(nix): update flake inputsorchore(nix): update ai inputs
- Stage only update-related files (typically
Notes
- Skip
nix flake checkwhen updating AI inputs (unless explicitly requested). - Work from repo root.
- Keep changes minimal; no unrelated refactors.
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?