nix-lib-usage

Community

Write safer Nix code with library patterns.

Authorkhaneliman
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Nix library usage patterns help developers avoid the with lib anti-pattern and encourage safer, more analyzable Nix code by promoting inline prefixes, inherit patterns, and scoped usage of lib.

Core Features & Use Cases

  • Inline Prefix guidance for small, low-risk lib usage.
  • Inherit Pattern guidance for larger, multi-function usage.
  • Scoped with patterns and practical refactor examples to improve static analysis and maintainability.

Quick Start

Apply these lib usage patterns when editing Nix configuration to ensure clearer, analyzable expressions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nix-lib-usage
Download link: https://github.com/khaneliman/khanelinix/archive/main.zip#nix-lib-usage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.