naming-convention

naming-convention is a skill for Claude Code from ncaq/konoka. It costs 39 tokens per session (798 once invoked), scanned A, original, Apache-2.0.

A set of naming rules for Nix code, including files, variables, packages, and NixOS settings. NixOS is a Linux system whose configuration is written in the Nix language.

In plain words
What is it for?
Use it when writing or reviewing Nix files, package definitions, variables, system identifiers, or NixOS options.
Why use it?
It prevents inconsistent names and makes Nix projects easier to read and review against the conventions used by the official package collection.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the nix-tasuke plugin — 6 skills, 1 MCP server shipped together

Good fit Use it when writing or reviewing Nix files, package definitions, variables, system identifiers, or NixOS options.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/naming-convention
View source ↗ ncaq/konoka
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ncaq/konoka --skill naming-convention
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code.

Or install nix-tasuke, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for naming-convention

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/naming-convention/github.svg)](https://agentmods.dev/skills/ncaq/konoka/naming-convention)
Your own site
<a href="https://agentmods.dev/skills/ncaq/konoka/naming-convention"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/naming-convention/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for naming-convention

Your own site · 80×15
<a href="https://agentmods.dev/skills/ncaq/konoka/naming-convention"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/naming-convention.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00798
Opus 5.5 $0.00016 $0.00319
Sonnet 5.5 $0.00008 $0.00160
Haiku 4.5 $0.00004 $0.00080

Measured yesterday against content hash c32412ddac29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

naming-convention scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/nix-tasuke/skills/naming-convention/SKILL.md · 72 lines

What it actually says

Nix命名規則

nixpkgsの公式コーディング規約に基づきます。

ファイル名とディレクトリ名

kebab-caseにします。

例: all-packages.nix, claude-code.nix

変数名と属性名

  • 単純な変数、関数、設定値: lowerCamelCaseにします。 例: hostName, removePrefix
  • パッケージ、derivation、プログラムを指す変数: pnameと同じくkebab-caseにします。 Nix言語は2012年以降、識別子にハイフンを使えます。 例: github-mcp-server, claude-code
  • Flake inputなど外部ソースを参照する変数: 参照先のリポジトリ名やチャンネル名をそのまま使います。 例: nixpkgs-unstable, treefmt-nix 多くの場合はkebab-caseになりますが、参照先の命名に従うのが原則です。 .emacs.dをdot-emacsとするような例外もあります。
  • システム識別子: Nixが規定する<arch>-<os>の形式の文字列をそのまま使います。 例: x86_64-linux, aarch64-linux, aarch64-darwin

NixOSオプション

原則としてlowerCamelCaseにします。

例: environment.systemPackages, security.tpm2.tctiEnvironment.enable

以下は例外です。

  • パッケージ名を参照する場合はkebab-caseにします。 例: services.nix-serve
  • nix.settingsのように外部の設定ファイルをマッピングするオプションは、 その設定ファイルの命名規則に従います。 nix.confはkebab-caseです。

booleanのオプションにはenableプレフィックスを使います。 enabled、isEnabled、useXxxなどは使いません。

例: services.nginx.enable, programs.git.enable

ヘルパー関数

データを生成するヘルパー関数にはmkプレフィックスを付けます。

例: mkDefault, mkEnableOption, mkForce, mkIf, mkMerge, mkOption, mkOverride

データを生成しない関数には、mkプレフィックスを付けないこともあります。 lib.types、lib.attrsets、lib.stringsなどに属する関数はlowerCamelCaseです。

例: concatStringsSep, filterAttrs, mapAttrs, optionalString

overlayの引数

overlayの引数名はfinalとprevにします。 旧来のselfとsuperは非推奨です。 selfはFlakeのselfと紛らわしいので避けてください。

final: prev: {
  myPackage = prev.myPackage.overrideAttrs (oldAttrs: { });
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -40 lines c32412ddac29
  2. 3mo ago First seen · 112 lines · 39 tokens per session scan A 2f0b5f32e67e

Subscribe to this mod's changes

naming-convention is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 798 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

naming-convention compared with skills from other repositories

naming-convention next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
naming-conventionncaq/konokaSkill3yesterdayApache-2.0A39Claude Code
github-project-automationsecondsky/claude-skillsSkill257todayMITA45Claude Code
hono-routingsecondsky/claude-skillsSkill257todayMITA41Claude Code
api-testingsecondsky/claude-skillsSkill257todayMITA39Claude Code
bun-http-serversecondsky/claude-skillsSkill257todayMITA31Claude Code
bun-jest-migrationsecondsky/claude-skillsSkill257todayMITA25Claude Code
cloudflare-workers-migrationsecondsky/claude-skillsSkill257todayMITA49Claude Code