Logo de Quality Check

Quality Check

Organização
blotato
quality-check

Check a finished video before calling it done, and keep fixing the storyboard and re-making until it passes. Catches captions on the face, captions outside the app safe zone or running into graphics, graphics covering the face, wrong format, bad loudness, dead air, black or frozen frames. Use after every `npm run make` and before reporting a video to the user.

Visão geral

Publicado porblotato
Repositóriocontentskills
Nome da habilidadequality-check
Estrelas
425
Forks
108
Arquivos incluídos
Somente instruções
LicençaAGPL-3.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por blotato no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Quality Check no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/blotato/contentskills/tree/main/skills/quality-check
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Quality Check em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Quality Check automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Quality Check não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Quality Check faz?

Check a finished video before calling it done, and keep fixing the storyboard and re-making until it passes. Catches captions on the face, captions outside the app safe zone or running into graphics, graphics covering the face, wrong format, bad loudness, dead air, black or frozen frames. Use after every `npm run make` and before reporting a video to the user.

Por que usar Quality Check no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Quality Check é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Quality Check no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/blotato/contentskills/tree/main/skills/quality-check. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Quality Check?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Quality Check?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Quality Check com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Quality Check é gratuita?

Sim. A habilidade é publicada no GitHub por blotato sob a licença AGPL-3.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇