/engineering-practices:nix-best-practicesfrom engineering-practices
Use when writing or changing Nix flakes, overlays, shell.nix, or flake.nix files, or resolving their evaluation errors.
Ships in engineering-practices. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Point each input's nixpkgs at the root one so the lock holds a single
nixpkgs:
some-overlay.inputs.nixpkgs.follows = "nixpkgs";
# another input's input is a path, not an input name
another-overlay.inputs.nixpkgs.follows = "some-overlay/nixpkgs";
follows = "some-overlay" substitutes the some-overlay flake itself for
nixpkgs. nix flake metadata prints what each input resolved to.
nixpkgs.legacyPackages.${system} refuses unfree packages, and a flake
evaluates purely, so NIXPKGS_ALLOW_UNFREE=1 is read only with --impure
(.envrc: use flake --impure). To allow them without user setup, import
nixpkgs in the flake:
pkgs = import nixpkgs {
inherit system;
config.allowUnfreePredicate = pkg:
builtins.elem (nixpkgs.lib.getName pkg) [ "specific-package" ];
};
overlays.default once at the flake's top level, outside any
per-system helper, and read the system inside it as
prev.stdenv.hostPlatform.system; prev.system warns as renamed.nix-prefetch-url <url> prints a base32 hash. Convert it with
nix hash convert --hash-algo sha256 --to sri <hash>; nix hash to-sri is
deprecated.Answer flag questions from the installed CLI first: nix --version and
nix <command> --help.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/agent-browserUse when driving a browser the agent owns through the agent-browser CLI — opening pages, clicking and filling by snapshot refs, screenshots, testing a web app, or extracting data from a rendered page./agent-deviceUse when driving an iOS, Android, macOS, or TV app through the agent-device CLI — opening an app on a simulator, emulator, or device, tapping and filling by snapshot refs, capturing screenshots, logs, or recordings, or replaying a scripted flow./agent-operabilityUse when designing or changing a CLI, API, control plane, or automation surface that an agent must inspect, operate, and verify safely./atlas-best-practicesUse when working with atlas.hcl, Atlas CLI commands, schema HCL/SQL files, or migration planning and reviews./brief-best-practicesUse when a surface needs a durable quality agreement or the user requests a BRIEF.md; ordinary drafts and repeated edits do not automatically need one./canton-network-reposUse when working with Canton Network participants, DAML smart contracts, Splice applications, or debugging LF version and package ID issues.npx claudepluginhub alleneubank/agent-profile --plugin engineering-practices