Naming Convention (Grade A) logo

Naming Convention (Grade A)Security-tested data-ai skill for Claude AI. Grade A. Nix naming conventions for files, variables, packages, and NixOS options based on nixpkgs official coding standards. Use when writing or reviewing

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

Nix naming conventions for files, variables, packages, and NixOS options based on nixpkgs official coding standards. Use when writing or reviewing Nix code. The conventions cover file and directory names, variable and attribute names, package and derivation names, system identifiers, NixOS options, and special file names. For example, file names should use kebab-case (e.g., all-packages.nix), while simple variables and functions should use lowerCamelCase (e.g., hostName). Package and derivation names should also use kebab-case (e.g., github-mcp-server). System identifiers follow a specific format (e.g., x86_64-linux). NixOS options primarily use camelCase, with exceptions for package names and external setting files. The conventions also provide guidelines for helper functions, overlay arguments, and special file names like default.nix and flake.nix.

Key features

  • Kebab-case for file and package names
  • LowerCamelCase for simple variables and functions
  • Specific format for system identifiers
  • Guidelines for NixOS options and helper functions

Pricing

Model
Free
Category
Skills
Rating
No reviews yet

Use cases

Writing Nix code

Use the naming convention skill to ensure consistency and adherence to nixpkgs standards when writing new Nix code.

Reviewing existing Nix code

Apply the naming convention skill to review and refactor existing Nix code to conform to the official coding standards.

Pros & Cons

Pros

  • Enforces consistency in Nix code
  • Follows official nixpkgs coding standards
  • Covers various aspects of Nix coding, including file names, variables, and NixOS options

Cons

  • May require learning and adapting to specific conventions
  • Could be restrictive for those used to different naming conventions

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

What format is required for NixOS option names?

NixOS options primarily use camelCase, with exceptions for package names and external setting files.

Asked by Youssef El-Sayed · Jun 19, 2025

How are simple variables and functions named in this convention?

Use lowerCamelCase for simple variables and functions, such as `hostName`.

Asked by Nadia Benali · Jun 2, 2025

What naming style should I use for Nix file names?

File and directory names should follow kebab-case, e.g., `all-packages.nix`.

Asked by Kwabena Asante · May 25, 2025

Ask a question

Skills alternatives

Using Git Worktrees (Grade A) logo
Using Git Worktrees (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktre

(0)
Free
Ga4 Bigquery Schema (Grade A) logo
Ga4 Bigquery Schema (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. GA4 BigQuery Export Schema Reference — complete field reference, nested structures, query patterns, and performance tips

(0)
Free
Meta Capi (Grade A) logo
Meta Capi (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM

(0)
Free
Callees (Grade A) logo
Callees (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. Lista o que uma funcao/metodo chama (call graph direto)

(0)
Free
Test Module Name (Grade A) logo
Test Module Name (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Name Haskell test modules after the module under test with a Spec suffix in the same namespace. Use when writing or reviewing Haskell test module

(0)
Free
Board Of Directors (Grade A) logo
Board Of Directors (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Simulate a 5-member expert board deliberation for major decisions. Use when evaluating plans, architecture choices, feature designs, or any decisi

(0)
Free
Advpl Mvc Avancado (Grade A) logo
Advpl Mvc Avancado (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. MVC avançado via PE (Pontos de Entrada) — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)

(0)
Free
D
Docs Writer (Grade A)Skills

Security-tested devops skill for Claude AI. Grade A. **WORKFLOW SKILL** — Maintains repository documentation accuracy and freshness across the docs site, agent files, and changelog. WHEN: "update docs

(0)
Free