writing-nix
CommunityWrite idiomatic Nix code with best practices.
Authorkhaneliman
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps you write idiomatic, maintainable Nix code by avoiding anti-patterns and by applying a clean module system design.
Core Features & Use Cases
- Standard Module Pattern: Defines a reusable skeleton for Nix modules that exposes a clear configuration interface.
- Safe Design & Typing: Enforces proper option namespaces, strict types, and sane defaults to improve reliability.
- Performance-conscious: Encourages lazy evaluation, minimal imports, and clean separation of concerns to reduce build impact.
- Use Case: When building a NixOS module collection, apply the pattern to create new modules quickly with consistency and safety.
Quick Start
Create a new Nix module following the standard skeleton under modules/your-module and enable it in your configuration.
Dependency Matrix
Required Modules
None requiredComponents
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: writing-nix Download link: https://github.com/khaneliman/khanelinix/archive/main.zip#writing-nix Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.