What problem does it solve? Nix code often breaks or emits deprecation warnings because recommendations ignore the project's pinned Nix evaluator version and nixpkgs release. This Skill resolves the exact project baseline first, then applies a version-tagged catalog of official idioms so every suggestion is valid for the pinned toolchain. ## Core Features & Use Cases - Baseline Resolution: Detects the Nix evaluator version, nixpkgs pin from flake.lock or npins, evaluation mode, and module consumer (NixOS, Home Manager, nix-darwin) before emitting any code. - Version-Tagged Idiom Catalog: Covers removed and deprecated constructs (e.g. cargoSha256, lib.mdDoc, substituteInPlace --replace) and modern facilities (finalAttrs, SRI hashes, lib.fileset, pkgs/by-name) with the exact release that introduced or removed each. - Structured Review Reports: Produces findings tagged [error], [warn], [recommend], or [gated-option], each citing the authority and version it rests on. - Use Case: When modernizing a flake-based dotfiles repository pinned to nixpkgs-unstable, the Skill flags deprecated aliases relative to that pin and suggests replacements like hash over sha256 without ever recommending APIs above the baseline. ## Quick Start Ask the AI to review or refactor a Nix file in this repository using the nix-idioms skill and report findings against the pinned nixpkgs baseline.