Logo Naming Convention

Naming Convention

Cộng đồng
mrpaidsocial
naming-convention

Đặt tên cho loạt tệp video bàn giao sao cho mỗi tên tệp thể hiện đúng nội dung — chủ thể, yếu tố biến thể và cách xử lý — thay vì `render-final-v3.mp4`. Dùng khi bàn giao hơn hai tệp, hoặc khi ai đó nói “đổi tên các tệp này”, “đặt tên dễ hiểu hơn”, “tôi không phân biệt được chúng”, “đặt tên để tôi biết tệp nào là tệp nào”, “đưa tên sản phẩm vào tên tệp”, “bản nào có phụ đề?” hoặc sắp bàn giao một thư mục các biến thể, bản render, bản xuất hay phiên bản cắt gọn. Cũng dùng để đặt tên cho MỘT loạt tệp MỚI trước khi bàn giao, chứ không chỉ sửa tên tệp hiện có — xác định quy tắc từ đầu là cách tiết kiệm công sức nhất. Hỗ trợ chọn các yếu tố cần thể hiện, xác minh thông tin trong tên trước khi áp dụng cho 40 tệp, lưu sơ đồ chủ thể dưới dạng dữ liệu và đổi tên theo cách có thể chạy lại mà không làm hỏng canvas xem lại đang trỏ đến tên cũ.

Tổng quan

Nhà phát hànhmrpaidsocial
Kho mãmrpaidsocial-video-editor-agent
Tên kỹ năngnaming-convention
Sao
114
Bản fork
34
Tệp đi kèm
2
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mrpaidsocial công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Naming Convention trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mrpaidsocial/mrpaidsocial-video-editor-agent/tree/main/.claude/skills/naming-convention
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Naming Convention trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Naming Convention ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Naming Convention với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Naming Convention làm được gì?

Đặt tên cho loạt tệp video bàn giao sao cho mỗi tên tệp thể hiện đúng nội dung — chủ thể, yếu tố biến thể và cách xử lý — thay vì `render-final-v3.mp4`. Dùng khi bàn giao hơn hai tệp, hoặc khi ai đó nói “đổi tên các tệp này”, “đặt tên dễ hiểu hơn”, “tôi không phân biệt được chúng”, “đặt tên để tôi biết tệp nào là tệp nào”, “đưa tên sản phẩm vào tên tệp”, “bản nào có phụ đề?” hoặc sắp bàn giao một thư mục các biến thể, bản render, bản xuất hay phiên bản cắt gọn. Cũng dùng để đặt tên cho MỘT loạt tệp MỚI trước khi bàn giao, chứ không chỉ sửa tên tệp hiện có — xác định quy tắc từ đầu là cách t...

Vì sao nên dùng Naming Convention trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Naming Convention là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Naming Convention trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mrpaidsocial/mrpaidsocial-video-editor-agent/tree/main/.claude/skills/naming-convention. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Naming Convention?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Naming Convention với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Naming Convention với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Naming Convention có miễn phí không?

Kỹ năng này được mrpaidsocial phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇