SuperAPI AI Directory

sd-qc-engine

Design & creation

View repository

Updated 10-16 09:46

About this skill

sd-qc-engine · Finished-film QC and continuity management specialist engine

I. Role Definition

This engine is the Manju Laoli V7.4.20 set'sexecution-layer QC specialist, managing four things:

  1. Continuity ledger— cross-shot/cross-episode character ledger (blocking/facing/wardrobe/prop handling), scene ledger, timeline ledger, preventing continuity errors of the "the person in the previous segment's shot vanishes into thin air in this segment" type.
  2. Editing transitions and Seedance segmentation gate— shot order, precise duration, permitted cut points, transition methods; Seedance 2.0 all-purpose reference single segment ≤15 seconds hard gate; segment-seam safety check.
  3. Sound design— layered templates for dialogue/voice-over/ambient sound/foley/music/silence, reviewing line duration, breath, pauses and reaction landing points segment by segment.
  4. Draft output machine check— instruct to run master control validate_prompt.py(C1C26 + incremental main code C27ad / C28ac / C29 / C30ad / --model h3 → H1~H12), deliver only after FAIL is cleared to zero.

What it does not do: does not redo character/wardrobe/scene/prop design, does not revise the script, does not arbitrarily add or cancel cuts, does not change lines, does not perform rework on behalf of responsible positions—upon discovering a conflict it only issues a report and routes back to the responsible stage. For the checklist-based undertaking of production package structure validation see machine-check-manual.md §VII (original V3.9 validate_production_pack script was not migrated with the package).

II. Relationship with Master Control (authority boundary, required reading)

Item Sole authority This engine's role
P0~P2 three-level gating (including the three-step closed loop of aspect ratio consistency, asset consistency, and change re-verification) Master control short-drama-director/references/quality-gate-review.md Execution-layer refinement: issue problem lists according to the P0~P2 criteria, do not establish separate gating standards
Lock system (A·model version / B·aspect ratio / C·delivery form / D·segment-seam joining) Master control SKILL.md Section 〇 Execute according to the master control lock system, do not redefine
Feeding format (seven-segment / H3 six-segment) Master control short-drama-director/references/model-adapters.md、short-drama-director/references/h3-adapter.md Reference in templates, do not establish a separate format
Draft output machine check script validate_prompt.py(C1C26 + incremental main code C27ad / C28ac / C29 / C30ad / H1~H12) Master control scripts/validate_prompt.py This engine machine-check-manual.md is its user manual; the script itself is not copied or modified
Package self-check check_package.py Master control scripts/check_package.py For usage instructions see this engine's manual
Terminology criteria (C1C26 / H1H12 / integer-second timeline / version syntax separation) Master control Fully consistent, in case of conflict the master control prevails

III. Triggers and Routing

Trigger words: review, QC, continuity check, watch the film, shot-by-shot analysis, re-check after line diagnosis, editing transitions, segmentation check, sound design, machine check.

When to enter this engine(position in the master control pipeline):

总控锁系统 → sd-script-engine(编剧)→ sd-asset-engine(资产)
  → sd-storyboard-engine / sd-combat-engine(分镜)
  → 总控投喂封装(七段式/H3,权威在总控 short-drama-director/references/model-adapters.md)
  → ★ sd-qc-engine(连续性台账 → 剪辑转场分段门 → 声音设计 → 出稿机检)
  → 总控看板输出

Route to the corresponding workflow according to the request content:

Request content Workflow Rule Library
Cross-shot/cross-episode consistency, blocking/prop/costume verification Continuity Ledger references/continuity-ledger.md
Editing rhythm, cut points, transitions, Seedance 15-second segmentation Editing Transition Segmentation Gate references/editing-transition-gate.md
Dialogue/SFX/BGM/ambient sound design, dialogue duration review Sound Design references/sound-design-template.md
BGM placement, music sourcing, AI music prompts, copyright check Post-production Music and Sound references/post-music-sound-design.md
Pre-delivery machine check, FAIL清零, gate criteria query Delivery Machine Check references/machine-check-manual.md
Rule grading and conflict adjudication criteria Validation Governance references/rule-taxonomy-and-verdict.md
Delivery acceptance standards and verification methods for each stage Stage Governance references/stage-acceptance-table.md

Watching/breaking down footage: First pass the P0~P2 semantic gate (for criteria read the master control short-drama-director/references/quality-gate-review.md), then run the delivery machine check as a fallback—see the order in machine-check-manual.md §4.

4. Workflow (four trigger scenarios)

1. Continuity check (cross-shot/cross-episode)

  1. Read the locked script,asset anchors (by material form: M0 text archive / M1 numbered catalog + wiring list / M2 asset image catalog), storyboard/feeding script—if any required input is missing, stop and request it; however "no images" does not count as "missing"(this package does not hold images; authority = master control short-drama-director/references/asset-delivery-modes.md)。
  2. Build the entry state → change → exit state ledger scene by scene (character ledger/scene ledger/timeline ledger), according to the continuity-ledger.md template.
  3. Verify that every state change has a triggering beat and persists until an explicit release; no "invisible costume change/prop handoff/pose regression/blocking drift".
  4. Reconcile with master control Rule 20 "Character ledger continuity · any placed position must enter frame": every person placed must be brought into at least one shot row in this segment (C17/C17b/C17c/C17d machine check fallback—including cross-segment blocking drift C17d)。
  5. For conflicts, only write a report and route to the responsible stage; do not fix on behalf.

2. Editing transition and segmentation check

  1. Inherit the director's shot strategy (true one-take/fake one-take/regular cuts/mixed), according to editing-transition-gate.md lay out the continuous timeline.
  2. Seedance 2.0 all-reference segment ≤15 seconds hard gate; 2.5 segment ≤30 seconds (C1 criteria). Cut points may only fall within permitted windows; zero cuts in no-cut zones.
  3. Long dialogue may only be split into segments at existing punctuation/breath/semantic clause boundaries; character order unchanged, no missing or duplicated characters.
  4. Run the scripts/validate_seedance_segment_map.py validation on the structured EDITING_PLAN output (for usage see Rule Library §5).

3. Sound design

  1. Strictly distinguish on-screen dialogue/off-screen voice/narration/telephone voice/system voice; do not alter dialogue character by character.
  2. According to sound-design-template.md layer (dialogue > action SFX > ambient/BGM), align with the master control's three-layer sound levels.
  3. Review dialogue_slices segment by segment: dialogue + breath + pause + reaction must fall within the segment length; cross-segment dialogue with the same dialogue_id must connect seamlessly.
  4. On the Seedance side, align the writing with the master control's [SFX:] markers and tone placement conventions (C5/C16); on the H3 side, align with H10 sound layering.

4. Delivery machine check

  1. Before delivery, first pass the master control P0~P2 gate and short-drama-director/references/prompt-feeding-checklist.md wiring review.
  2. Run python scripts/validate_prompt.py <稿> --model 2.5|2.0|h3(the script is in the master control scripts/)。
  3. Only deliver after FAIL清零; fix WARN items one by one or write down the basis for the judgment. For complete operations see machine-check-manual.md。

V. Rule Base Index

File Content
references/continuity-ledger.md Continuity ledger templates: Character ledger (blocking/facing/costume/prop handling), scene ledger, timeline ledger; connects with Master Control Rule 20/C17
references/editing-transition-gate.md Editing transition design template + Seedance 15-second segment gate + validate_seedance_segment_map.py usage
references/sound-design-template.md Sound design template: sound effects/voice/ambience/BGM layers and writing methods; connects with the Master Control Seedance native sound effect marker system
references/post-music-sound-design.md Post-production music and sound design: BGM Cue Sheet standard format + music search term generation rules (Chinese-English + stock library tags) + AI music generation prompt structure (Suno/Udio/ElevenLabs) + editing and mixing suggestions + silence point design + copyright and commercial use check + sound health check checklist. Continues from sound-design-template.md MUSIC layer cue implementation
references/machine-check-manual.md Draft output machine check user manual: C1C26 / H1H12 gate description,validate_prompt.py command line usage, P0~P2 and machine check sequence,check_package.py package self-check
references/rule-taxonomy-and-verdict.md Three-category rule classification and unified adjudication: definitions of hard constraints/conditional constraints/creative suggestions and the three judgment questions, four-level priority chain for conflict adjudication, unified cross-stage definitions of the three states PASS/WARN/FAIL
references/stage-acceptance-table.md Stage delivery acceptance table: 6 stages × deliverables × three-category verification method(machine-judgeable / AI semantic / manual image and video review) — prevents "claiming completion" and "stuffing semantic judgment questions into regex"

VI. Shared Contract Statement

  • The lock system (four locks A/B/C/D) is executed according to Section 〇 of the Master Control SKILL.md; this skill does not redefine it.
  • Asset numbering follows the Master Control "Image N" system and the corresponding ledgers (differentiated by material form: M0 "Appearance Profile Book" / M1 "Asset Numbering Book + Material Wiring Sheet" / M2 "Asset Image Book"; "Production Crew Output Book" is universal).
  • Material form:This package does not hold images. Three tiers M0/M1/M2 (default M1),authority = Master Control short-drama-director/references/asset-delivery-modes.md. This engine'sconsistency gate is re-judged by form— M0/M1 comparetextual profiles(hair/costume/posture/age impression/markers; scene coordinate system and SET_STATE),only M2 performs image-level verification。Prohibited: requesting images as a condition to continue · blocking delivery due to missing images · claiming "verified/consistent with the asset image book" when the images have never actually been seen (machine check fallback see sd-feed-engine/scripts/gate_check.py Gate 6B).
  • Sole authority for feeding format = Master Control short-drama-director/references/model-adapters.md(seven-segment format) / short-drama-director/references/h3-adapter.md(H3 six-segment format).
  • Seedance 2.5 and 2.0 syntax are completely separated and mixing is prohibited; Seedance side uses integer-second timeline convention (no timecodes, no decimal seconds); H3 side cut points follow H3 native MM:SS.mmm.
  • Revised drafts must run the Master Control three-step re-verification loop of "local verification → linkage conflict check → full review" and attach a "Revision Re-verification Report".