Skip to content
Back to skills

Naming Rule

ASecurity

General naming rules across programming languages. Avoid meaningless words like `common` or `util`, and prefer singular base forms. Use when creating or reviewing names of files, directories, modules, functions, or variables.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 27, 2026
data-ai

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add ncaq/konoka --skill naming-rule --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Naming Rule?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Naming Rule
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ncaq-naming-rule/badge)](https://www.skillsdirectory.com/skills/ncaq-naming-rule)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: naming-rule
description: General naming rules across programming languages. Avoid meaningless words like `common` or `util`, and prefer singular base forms. Use when creating or reviewing names of files, directories, modules, functions, or variables.
user-invocable: false
---

# 命名規則

## 意味のない単語の使用禁止

以下の要素、

- ファイル名
- ディレクトリ名
- モジュール名
- 関数名
- 変数名

などに`common`や`util`のような意味のない単語を使うのは禁止します。
それらの単語は乱用されていて意味がなくなっており、見ても何の意味を持っているのか分からないから。

変数名に`result`のような意味のない名前を使うのは禁止します。
その変数名に何を保存しているのか意味のある名前を付けてください。
実際に`Result`型の関連処理を行っている場合などは仕方ないですが。

## 原形の単数の利用の推奨

モジュール名や型の名前は、原形の単数形式を使うことを推奨します。
むやみに複数形を使うのは禁止。

変数の場合でも複数形よりも、もっと性質を表す名前を使うことを推奨します。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.