Logo Quality Check

Quality Check

Tổ chức
blotato
quality-check

Kiểm tra video hoàn chỉnh trước khi đánh dấu xong; tiếp tục sửa storyboard và tạo lại video cho đến khi đạt yêu cầu. Phát hiện phụ đề che mặt, nằm ngoài vùng an toàn của ứng dụng hoặc đè lên đồ họa, đồ họa che mặt, sai định dạng, âm lượng không phù hợp, khoảng lặng, khung hình đen hoặc bị đứng. Dùng sau mỗi lần chạy `npm run make` và trước khi báo kết quả video cho người dùng.

Tổng quan

Nhà phát hànhblotato
Kho mãcontentskills
Tên kỹ năngquality-check
Sao
425
Bản fork
108
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépAGPL-3.0
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được blotato 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 Quality Check 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/blotato/contentskills/tree/main/skills/quality-check
  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/blotato/contentskills.git /tmp/contentskills
mkdir -p .claude/skills
cp -r /tmp/contentskills/skills/quality-check .claude/skills/quality-check
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 Quality Check 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 Quality Check 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 Quality Check 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.

Quality check

No video is done until it has been checked. Never hand the user a video whose check says FAIL.

npm run make <name> runs the check as its last step. To run it on its own:

npm run qa <name>            # projects/<name>/out/cut.mp4
npm run qa <name> --json     # the report as JSON

It writes out/qa.json (the report) and out/qa.png (a contact sheet). Exit code 0 = PASS (warnings allowed), 1 = FAIL. Each problem has a fix line.

Footage projects write out/layout.json on every make: where the face and the caption were on each frame, plus out/occupancy.json, a map of where graphics are drawn (5 times a second). That is what lets the caption and graphic checks run. Topic/script videos with no person get the format, audio and picture checks and a warning that placement was not checked; look at the sheet for those. After a re-make only the frames whose picture changed are measured again (out/.layout-frames.json, keyed like the make's frame cache), and the transcript in out/heard.json is reused when the sound is identical (out/heard-audio.txt). Delete those two files to force a full re-check.

The loop

  1. While building the storyboard: npm run qa <name> --preview (also run by npm run stills and npm run frames) catches placement, caption and text-size problems in about 20 s, without making the video. Fix those before showing the user the storyboard, so the plan they approve already passes.
  2. After they approve (npm run approve <name>): npm run make <name> (a draft at half size is fine while iterating). A fix that changes storyboard.json needs the user's approval again: sketch, show the user the change, wait.
  3. Read the result. Open out/qa.png and look at it, even on PASS. Green box = the face, yellow = a caption, red = a caption on the face, grey = the app safe zone. Look for what the script cannot see: unreadable text, clipped words, a graphic that looks wrong, a caption that doesn't match what is said.
  4. On FAIL: apply the fix for each FAIL to storyboard.json, make again, check again. Fix the cause in the storyboard, never by editing the checks, their thresholds or library/_shared/placement.js to let a video through.
  5. Stop when it passes and the sheet looks right. After 5 rounds without a pass, stop and tell the user what still fails and the trade-off, for example: "the selfie is so close the chin is below the safe zone, and the panels take the space above the head; captions go under the chin into the app's text area. Shrink the panels, put the clip in a "top" layout, or accept it?"
  6. Make the final at full size (npm run make <name> --scale 1), check once more, and report the path, the status and any warnings you kept.

Checks

CheckLevelMeaningUsual fix
captions-on-faceFAILA caption covers more than 3% of the face box in some frameRemove "captionPlacement": "fixed"; shorter phrases (captionBreaks)
captions-safe-zoneFAILA caption leaves the app safe zone (top 220, bottom 450, sides 35, right edge x 945 below y 1160, on 1080x1920)No clear spot was left, so the caption went below it to stay off the face: end or shrink the graphic above the head, lower that zoom, or use a top/card layout
face-top-barFAILThe face (forehead included) goes above y 220, under the app's top bar and search field. The user never wants the face at the very top, in any sceneStart the clip's window at y 250 or lower (a small plate: y 250+), lower face (fy) in a full layout, or lower that moment's zoom
text-safe-zoneFAIL / WARNWords drawn by a graphic (cutaways included) sit under the app's top bar and search field or its bottom caption and buttons. Headline-size words (60 px+) seen there twice FAIL; small print and words near a side edge WARN. Effects drawn in Python are not measured: look at the sheetMove the overlay's "region" inside the safe zone, or a smaller scale / fewer words. npm run check already refuses regions outside it
captions-collideFAILA caption sits on a graphic (over 8% of the caption)End the graphic sooner, start it after the phrase, a smaller region, or captionTrack hide for that span
captions-syncFAILThe word being said is not in the caption on screenRe-transcribe after any cut (npm run transcribe); check captionTrack hide spans
captions-heardFAIL/WARNThe finished audio, transcribed again, differs from the captions (FAIL above 8%). Words in or within 0.4 s of a stretch where captions are hidden on purpose are not countedFix the misheard words in words.json; names and numbers spelled as said
captions-lingerWARNA caption stays up 1 s+ after the words stopRe-transcribe, or a captionBreaks entry
text-sizeFAIL/WARNCaption letters under 28 px (FAIL) / 34 px; graphic text under 26 px tallBigger caption style; shorter phrases so placement need not shrink them; larger text in the piece
text-contrastFAIL/WARNCaption contrast under 3:1 (FAIL) / 4.5:1 against its box, outline or the pictureA style with a box or dark outline, or a scrim behind
overlay-on-faceWARNA graphic covers over 25% of the face for 0.5 s or moreMove it above or below the face, "behind": true, or make it a full-screen cutaway
face-trackingWARNNo face track for over 30% of the framesRun npm run footage again so faces.json exists
formatFAIL/WARNNot portrait, under 3 s, not 9:16, draft size, odd fps, over 3 minFinal render with --scale 1
audioFAIL/WARNSilent, loudness off the house voice level (audio.voiceLufs in settings; FAIL more than 7 LU under or 4 LU over it), true peak above -0.5 dBFS, loudness range over 10 LU, silence before the first word, pauses over 1.5 sClean footage with npm run cut (it trims and normalises); lower sound-effect gain
pictureWARNBlack frames (not counting fades), or nothing moving for 2 s or moreA piece failed to draw or a gap; add a zoom, a graphic or a cut

Full-screen cutaways are skipped by the face and caption checks: the face is hidden and captions sit on the cutaway by design.

How captions keep clear

library/_shared/placement.js, used by the footage player. For each phrase it tries, at full size, then 85%, then 72%: the bottom of the safe zone, just under the chin, above the head, then every height up the frame. The first spot that is off the face, clear of graphics and inside the safe zone wins. It checks again every frame, so if a graphic arrives on the caption or the face moves into it, the caption pops up in a clear spot. It jumps rather than slides, because a slide could cross the face. If there is no clear spot, the order of what to give up is: the safe zone first, then clearing the graphics, and never the face. "captionPlacement": "fixed" in the storyboard keeps each style's own position, and a captionTrack dy turns placement off for that span.

Adding a check

Add a check_<name>(...) to pipeline/qa.py that appends dict(check, level, msg, fix, at) to issues, call it from main(), and add a row above. Give every issue a concrete fix in storyboard terms and, when it happens at a moment, an at time so the sheet shows that frame.

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

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

Kiểm tra video hoàn chỉnh trước khi đánh dấu xong; tiếp tục sửa storyboard và tạo lại video cho đến khi đạt yêu cầu. Phát hiện phụ đề che mặt, nằm ngoài vùng an toàn của ứng dụng hoặc đè lên đồ họa, đồ họa che mặt, sai định dạng, âm lượng không phù hợp, khoảng lặng, khung hình đen hoặc bị đứng. Dùng sau mỗi lần chạy `npm run make` và trước khi báo kết quả video cho người dùng.

Vì sao nên dùng Quality Check 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. Quality Check 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 Quality Check trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/blotato/contentskills/tree/main/skills/quality-check. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Quality Check?

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 Quality Check 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 Quality Check 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 Quality Check có miễn phí không?

Có. Kỹ năng này được blotato phát hành trên GitHub theo giấy phép AGPL-3.0. 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 👇