variable-naming SKILL.md skillA
variable-naming from ncaq/konoka is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ncaq/konoka/variable-naming@git:20260604.b081c17Pins git:20260604.b081c17 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ncaq/konoka
- Path
plugins/web-tasuke/skills/variable-naming/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260604.b081c17, committed Jun 4, 2026
- Size
- 4,439 bytes
- Repository stars
- 3
- License
- Apache-2.0
Variable naming conventions for TypeScript/JavaScript. Prefer camelCase even for constants and avoid UPPER_SNAKE_CASE. Use when naming or reviewing variables or constants.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 変数の命名規則 (TypeScript/JavaScript) TypeScript/JavaScriptのコードにおける変数の命名規則です。 ファイル名やディレクトリ名については[file-naming](../file-naming/SKILL.md)を参照してください。 ## 基本のケース 変数・パラメータには基本的にcamelCaseを使います。 ```typescript const taxedPrice = itemPrice * (1 + taxRate); const userName = profile.displayName; ``` ## 定数でもUPPER_SNAKE_CASEは避けてcamelCaseを使う 再代入されない定数のように見える変数でも、 基本的にはUPPER_SNAKE_CASEではなくcamelCaseを使ってください。 ```typescript // 良い const maxRetryCount = 3; const apiBaseUrl = "https://example.com"; const emailPattern = /^.+@.+$/; // 避ける const MAX_RETRY_COUNT = 3; const API_BASE_URL = "https://example.com"; const EMAIL_PATTERN = /^.+@.+$/; ``` 理由は以下の通りです。 `const`がデフォルトになった現代のコードでは、 再代入されないことは`const`キーワードが既に表現しています。 UPPER_SNAKE_CASEで「再代入されない」ことを重ねて示すのは冗長です。 UPPER_SNAKE_CASEにすべき「真の定数」の判定は手間がかかります。 主要なスタイルガイド(GoogleやAirbnb)も`const`を一律にUPPER_SNAKE_CASEにせよとは言っておらず、 「モジュールレベルかつ意味的に深く不変なプリミティブ値」のような狭い条件に限定しています。 `new`で生成したオブジェクトや関数、`RegExp`のように内部状態を持つ値は、 `const`であってもこの基準では「定数ではない」のでcamelCaseが自然です。 この境界はしばしば曖昧で、宣言のたびに判断するコストが高いです。 ハードコードしていた値を後から計算式や引数に変えるリファクタリングをすると、 UPPER_SNAKE_CASEのままでは名前を付け替える必要が出てきます。 最初からcamelCaseで統一しておけばこの付け替えが発生しません。 camelCaseに統一すれば、 個々の変数が「真の定数」かどうかを判断する必要がなくなり、 …
Read the whole file at its exact version.
How to install
mdr add ncaq/konoka/variable-naming@sha256:f16a1443420968c9The line at the top of this page pins the label git:20260604.b081c17, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_k4avvtcnd6cp6ltc)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jun 4, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4439 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ncaq/konoka · 3 stars · license Apache-2.0 · pushed 2026-10-19 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_k4avvtcnd6cp6ltc GET https://markdownregistry.com/api/v1/resolve?ref=ncaq/konoka/variable-naming GET https://markdownregistry.com/api/v1/blob/f16a1443420968c965bc4490740b9243c681271d6d708e2a4ecdd8ff2cd237bb
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.