Naming Conventionのロゴ

Naming Convention

コミュニティ
mrpaidsocial
naming-convention

動画の納品ファイルをまとめて命名し、`render-final-v3.mp4`のような名前ではなく、内容(対象、バリエーションの軸、加工内容)がファイル名から分かるようにします。ファイルを3つ以上引き渡す場合や、「名前を変更して」「内容が分かる名前を付けて」「どれがどれか分からない」「見分けられるように名前を付けて」「商品名をファイル名に入れて」「字幕付きのバージョンはどれ?」などの依頼がある場合、またはバリエーション、レンダー、書き出し、短縮版のフォルダーを納品しようとしている場合に使います。既存ファイルの修正だけでなく、新しいバッチを納品前に命名する場合にも使います。最初に命名パターンを決めるのが最も手軽なタイミングです。変化する軸の選定、40ファイルに反映する前のファイル名情報の確認、対象の対応表のデータとしての管理、レビュー用キャンバスが参照する既存の名前を壊さない冪等な名前変更まで対応します。

概要

公開者mrpaidsocial
リポジトリmrpaidsocial-video-editor-agent
スキル名naming-convention
スター
114
フォーク
34
同梱ファイル
2
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    mrpaidsocialがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Naming Convention」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/mrpaidsocial/mrpaidsocial-video-editor-agent/tree/main/.claude/skills/naming-convention
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrpaidsocial/mrpaidsocial-video-editor-agent.git /tmp/mrpaidsocial-video-editor-agent
mkdir -p .claude/skills
cp -r /tmp/mrpaidsocial-video-editor-agent/.claude/skills/naming-convention .claude/skills/naming-convention
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでNaming Conventionを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にNaming Conventionを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Naming Conventionは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

naming-convention — filenames that carry the work

A filename is the only metadata that survives every tool: Finder, an upload dialog, a Slack drop, a folder someone opens in six months. When a batch ships as ad-v5-hook-01.mp4 … ad-v5-hook-21.mp4, the person receiving it has to open all 21 to do anything, and the numbers mean nothing a week later.

The job of this skill is that someone can pick the right file without opening it.

The rule

The filename carries every axis that varies across the batch, plus a stable sort key.

Anything constant across the batch belongs in the folder name, not in 40 filenames. Anything that varies and is not in the name is a thing the user has to open files to discover.

<index>-<subject>-<descriptor>-<treatment>.<ext>
  • index — zero-padded, first, so disk order matches whatever ordering the review used (canvas cards, a shot list, the order they were cut). This is worth a lot: "card 7" on the review page and the 7th file in the folder should be the same thing.
  • subject — what the thing is about. The product, the client, the topic.
  • descriptor — the axis that distinguishes near-duplicates: style, format, angle, take.
  • treatment — what was done to it: body-edited / body-unedited, captioned / clean, 9x16 / 1x1, draft / approved.

Worked example, from a hook A/B batch:

hook-07-lookalike-cinematic-body-unedited.mp4
hook-07-lookalike-cinematic-body-edited.mp4
     │  │          │         └ treatment: which body cut (captioned vs clean)
     │  │          └ descriptor: the ad style
     │  └ subject: the product being advertised
     └ index: matches card 7 on the review canvas

Two files, same hook, and you can tell them apart in a Finder list without a preview.

Spell the axis out when a bare word is ambiguous. …-unedited.mp4 reads as though the hook is unedited; …-body-unedited.mp4 cannot be misread. Length is cheap; a wrong reading is not.

Verify the facts before you bake them into 40 files

This is the part that actually costs time when skipped.

Labels inherited from an upstream step are evidence, not truth. A cut list, a shot list, a client spreadsheet, an earlier session's JSON — each was written by someone solving a different problem, and mislabels survive because nothing downstream ever checks them.

Two real examples from one batch of 21, both wrong in the upstream cut list:

  • A hook titled "sparkling water" was actually an ad for a cap. The generation had two references: a reference image (the cap — the product) and a reference video (a sparkling-water ad — the style). The upstream title had named the style reference.
  • A hook titled "Gut Check" was actually the Thumb-Stopper protein bar. Gut Check was a different hook's product, one slot away.

Both would have shipped into four filenames and a review canvas.

How to check cheaply, in order:

  1. Find where the source states it. In generated-ad work the tool's own prompt panel shows the prompt and a legible reference-image thumbnail a few seconds into most clips — that settles it outright. The equivalent elsewhere: a slate, a title card, a project file, an order form.
  2. Look at the artifact itself. Pull frames from where the subject is on screen. Be aware this is the harder path for close-up product work: extreme close-ups crop wordmarks, and picture-in-picture bubbles cover them. Four escalating crops of one bar wrapper still only read "THUMB…"; the prompt panel gave the full name in one frame.
  3. Cross-check the transcript. Someone usually says the product name out loud.

Spend the ten minutes. Renaming is cheap; a wrong product name on a client deliverable is not, and neither is the credibility hit when they spot it.

When you do correct an inherited label, say so explicitly in the handover — the user may have that wrong label in their own notes, and a silent fix reads as an inconsistency later.

Slug rules

Keep names shell-safe, URL-safe, and sortable:

  • lowercase, hyphen-separated, ASCII; no spaces, apostrophes, &, or parentheses
  • zero-pad indexes (07, not 7) so lexical sort matches numeric sort
  • prefer the name a human would say ("hyperfocus", "gut-check") over an internal code
  • keep the subject slug stable across batches — same product, same slug, so a later ls *lookalike* finds every one
  • resist stuffing: if the name needs four descriptors you probably have two batches, and the extra axis belongs in the folder

Keep the map as data

Put the per-item facts in a small JSON file next to the batch, not inside a rename script:

json
{"_note": "read off the tool's prompt panel, NOT the upstream cut list — two of those were wrong",
 "items": {
   "1": {"subject": "cap",        "style": "cinematic"},
   "5": {"subject": "thumb-stopper", "style": "asmr"}
 }}

Batches get relabelled. When the mapping is data, a correction is a one-line edit and a re-run; baked into a script it is a rewrite; left in a chat transcript it is gone. Include a note about where the facts came from — the next person will wonder whether to trust it.

Rename safely

bash
python3 scripts/rename_batch.py --dir variants/ --map subjects.json \
    --pattern "hook-{index:02d}-{subject}-{style}-body-{treatment}" \
    --set treatment=unedited --manifest variants.json          # dry run
python3 scripts/rename_batch.py ... --apply                    # commit

The script refuses to run rather than half-finish: it checks every source exists, that no target collides with a different file, and that the pattern actually produces unique names. It is idempotent — a second run reports "already named" instead of double-renaming — and it updates the build manifest so later steps still find the files.

Four things to get right around a rename:

  • Dry run first, always. The output is the review; read it before --apply.
  • Update the manifest (variants.json or equivalent), or the next tool in the chain looks for files that no longer exist.
  • Republish the review canvas if the batch is already on one, and print the filename on each card so canvas ↔ disk is a direct match. A reviewer saying "number 7 is the one" and a folder where 7 is something else is exactly the confusion this skill exists to remove.
  • Do not rename a file someone already has. If it has been delivered and downloaded, ship the new name as a new copy or tell them plainly that the names changed. The repo rule that delivered files are never overwritten applies to their names too.

House patterns

BatchPattern
hook variants (one body × N hooks)hook-NN-<product>-<style>-body-<edited|unedited>
ratio cutdowns of one edit<project>-<ratio> e.g. acme-9x16
revision roundskeep the name, bump a version segment; never overwrite a delivered file
stills / frame grabs for review<project>-<timecode> e.g. arcads-0m17s2

If a new batch does not fit these, choose the axes first and write them down in the handover before renaming 40 files — the pattern is much cheaper to change before it exists.

Files

PathWhat it is
scripts/rename_batch.pypattern + map → renames; dry run by default, idempotent, refuses to clobber or collide
assets/subjects.example.jsona real 21-item map, including the note about where the facts came from

Related skills: hook-variations (produces the batch this most often names), video-review-canvas (where the names need to match the cards).

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Naming Convention」では何ができますか?

動画の納品ファイルをまとめて命名し、`render-final-v3.mp4`のような名前ではなく、内容(対象、バリエーションの軸、加工内容)がファイル名から分かるようにします。ファイルを3つ以上引き渡す場合や、「名前を変更して」「内容が分かる名前を付けて」「どれがどれか分からない」「見分けられるように名前を付けて」「商品名をファイル名に入れて」「字幕付きのバージョンはどれ?」などの依頼がある場合、またはバリエーション、レンダー、書き出し、短縮版のフォルダーを納品しようとしている場合に使います。既存ファイルの修正だけでなく、新しいバッチを納品前に命名する場合にも使います。最初に命名パターンを決めるのが最も手軽なタイミングです。変化する軸の選定、40ファイルに反映する前のファイル名情報の確認、対象の対応表のデータとしての管理、レビュー用キャンバスが参照する既存の名前を壊さない冪等な名前変更まで対応します。

TypingMindでNaming Conventionを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Naming Conventionはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにNaming Conventionをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mrpaidsocial/mrpaidsocial-video-editor-agent/tree/main/.claude/skills/naming-conventionを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Naming Conventionを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Naming Conventionで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもNaming Conventionを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Naming Convention」は無料ですか?

mrpaidsocialがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇