code-style
CommunityEnforce Nix code conventions
AuthorDaRacci
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures that all Nix code within the repository adheres to established formatting, naming, and structural conventions, leading to more readable, maintainable, and consistent codebases.
Core Features & Use Cases
- Automated Formatting: Applies
nix fmtto ensure consistent indentation and spacing. - Naming Convention Enforcement: Guides developers on using kebab-case for files/directories and camelCase for Nix attributes and option paths.
- Import Standardization: Promotes the use of relative imports and structured import lists.
- Structured Data Generation: Encourages defining structured data in Nix before conversion to formats like JSON.
- Use Case: Before committing changes, run this skill to automatically format your Nix files and catch any deviations from the project's style guide.
Quick Start
Run the code-style skill to format all Nix files in the current directory.
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: code-style Download link: https://github.com/DaRacci/nix-config/archive/main.zip#code-style 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 223,000+ vetted skills library on demand.