From nix-manager
Diagnose and fix nixos-rebuild failures or nix evaluation errors. Agent-invocable -- other skills call this when a rebuild fails. Also usable directly when the user pastes an error.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nix-manager:debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Diagnose and fix nix build errors. Called by other nix-manager skills when rebuilds fail, or
Diagnose and fix nix build errors. Called by other nix-manager skills when rebuilds fail, or directly when the user pastes an error.
$ARGUMENTS contains error output or context from a failed rebuild.
Identify:
Done when: the error location and type are identified.
Read the relevant config files around the error location. Understand the context -- what was the code trying to do?
Done when: the relevant code is understood.
Common causes:
specialArgsimports pathswith pkgs; scope issues hiding the real dependencylib in function argumentsDone when: root cause is identified.
Explain the error in plain language:
/refine-it would flag, mention that.Done when: explanation delivered.
Apply the fix. If the fix requires understanding a nix concept (option types, lazy evaluation, the module system), give a brief explanation.
Done when: fix is applied.
Offer to rebuild to verify the fix.
If it fails again, loop back to Step 1.
Done when: rebuild succeeds or user takes over.
/refine-it recommends avoiding with pkgs;".Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub xxkeefer/skills --plugin nix-manager