返回 Skill 列表
extension
分类: 开发与工程无需 API Key

nix

使用Nix进行开发,包括包、flakes、NixOS和派生。当处理.nix文件、flake.nix、flake.lock或用户提到Nix、nixpkgs、NixOS、派生、flakes、nix-shell、nix develop、home-manager或打包时激活。

person作者: jakexiaohubgithub

Nix Development

Research-first Nix development using parallel Context7 docs queries for accurate, up-to-date information.

Workflow

1. IDENTIFY  → Match question to relevant repos
2. QUERY     → Launch parallel subagents to query Context7
3. SYNTHESIZE → Combine results into actionable guidance

Engineering checks

  • Keep inputs and outputs explicit; validate external values at the module boundary with options, types, or assertions where a bad value would otherwise fail obscurely
  • Preserve evaluation and build errors with context; do not mask failures through broad defaults or silent fallbacks
  • Make package, source, and runtime ownership explicit in derivations; keep cleanup and platform assumptions local to the boundary that owns them
  • Validate the user-visible result with the narrowest applicable eval, build, check, or VM test; do not test only formatting or implementation detail
  • Add overlays, modules, dependencies, or abstraction only for a concrete consumer or platform need

Required follow-up reads

|Need|Read|When| |---|---|---| |Repository routing, Context7 queries, topic mapping|reference.md|Before selecting documentation sources|