Naming Convention 标志

Naming Convention

社区
mrpaidsocial
naming-convention

为一批视频交付文件命名,让每个文件名都能准确说明文件内容——主题、变体维度和处理方式,而不是 `render-final-v3.mp4`。只要要交付的文件超过两个,或有人说“给这些文件重命名”“取一些描述性文件名”“我分不清这些文件”“给它们命名,让我知道各自是什么”“把产品名写进文件名”“哪个是带字幕的版本?”,或即将交付一整个变体、渲染文件、导出文件或精简版视频文件夹时,就使用此技能。也适用于交付前为新批次命名,而不只是修正已有文件名——提前确定命名规则最省事。此技能涵盖确定哪些维度会变化、在将名称应用到 40 个文件前核实名称中的信息、将主题映射表作为数据保存,以及以幂等方式重命名,同时不破坏仍指向旧文件名的审核画布。

Add to TypingMind

概览

发布者mrpaidsocial
代码仓库mrpaidsocial-video-editor-agent
技能名称naming-convention
星标数
114
复刻数
34
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 mrpaidsocial 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Naming Convention AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Naming Convention。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Naming Convention 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Naming Convention AI 技能有什么作用?

为一批视频交付文件命名,让每个文件名都能准确说明文件内容——主题、变体维度和处理方式,而不是 `render-final-v3.mp4`。只要要交付的文件超过两个,或有人说“给这些文件重命名”“取一些描述性文件名”“我分不清这些文件”“给它们命名,让我知道各自是什么”“把产品名写进文件名”“哪个是带字幕的版本?”,或即将交付一整个变体、渲染文件、导出文件或精简版视频文件夹时,就使用此技能。也适用于交付前为新批次命名,而不只是修正已有文件名——提前确定命名规则最省事。此技能涵盖确定哪些维度会变化、在将名称应用到 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,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Naming Convention?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Naming Convention 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Naming Convention 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Naming Convention AI 技能免费吗?

mrpaidsocial 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇