comic-style-bible-lock
Phase-1 (S2) of the comic-author suite — compile the project's ART_BIBLE.md into an EXECUTABLE convergence target, not aesthetic prose. The bible is the ONE visual dialect read verbatim into every bake prompt AND into every visual reviewer's rubric (`style_consistency`/`identity_consistency` literally = 'conforms to this file'). A `bootstrap` parses the bible into immutable per-dimension `style_anchor` wiki nodes (palette / line / shading / two-world warm-vs-cyber lighting / identity-lock / per-world STYLE_PREFIX / text-mode / forbidden / by-design exceptions); a deterministic `validate` lints candidate authoring text against the FORBIDDEN list + identity-lock + world-mismatch; an append-only `update` Gemini-harvests recurring drift from KEEP panels into by-design exceptions. Auto-bootstrap if the bible is missing; otherwise LEAVE LOCKED. Locked anchors are immutable — pivoting the style = a fresh project, never an in-place edit.
wanshuiyin · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add wanshuiyin/ARIS-Movie-Director --skill comic-style-bible-lock技能说明
name: comic-style-bible-lock
description: "Phase-1 (S2) of the comic-author suite — compile the project's ART_BIBLE.md into an EXECUTABLE convergence target, not aesthetic prose. The bible is the ONE visual dialect read verbatim into every bake prompt AND into every visual reviewer's rubric (style_consistency/identity_consistency literally = 'conforms to this file'). A bootstrap parses the bible into immutable per-dimension style_anchor wiki nodes (palette / line / shading / two-world warm-vs-cyber lighting / identity-lock / per-world STYLE_PREFIX / text-mode / forbidden / by-design exceptions); a deterministic validate lints candidate authoring text against the FORBIDDEN list + identity-lock + world-mismatch; an append-only update Gemini-harvests recurring drift from KEEP panels into by-design exceptions. Auto-bootstrap if the bible is missing; otherwise LEAVE LOCKED. Locked anchors are immutable — pivoting the style = a fresh project, never an in-place edit."
argument-hint: [bootstrap | validate <authoring_text> | update] [--project ]
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob, mcp__gemini__analyzeFile, mcp__gemini-cli__ask-gemini
comic-style-bible-lock — the Style Bible as an Executable Gate Rubric (Phase 1 · S2)
The S2 step of comic-author: turn ART_BIBLE.md from a wall of taste
adjectives into a machine-addressable convergence target. The bible is the single visual dialect that is
(a) read verbatim into every bake prompt so each frame converges to the same look, and (b) read verbatim
into every visual reviewer's prompt so the cross-model panel_gate scores style_consistency /
identity_consistency against a ground-truth spec — not against the reviewer's vibe. The bible literally
declares this of itself:
style_consistency/identity_consistency的字面定义就是"符合本文件",不是凭感觉。 无 ground-truth spec,跨模型 gate 会永远吐"style drift"却没有收敛方向。 —examples/comic_m3_audit/ART_BIBLE.md, lines 3–5
That second line is the whole reason this skill exists. Without one source of truth a cross-model gate emits endless "style drift" with no convergence direction, and the film silently grows two visual dialects. This skill locks each dimension to a named anchor so the gate has an individually-addressable, source-pinned target instead of one prose blob — one visual dialect, never two.
ART_BIBLE.md (taste, user-approved, dated, probe-anchored)
│
▼
① bootstrap ── deterministic parse → ONE immutable style_anchor node per dimension
│ (palette · line · shading · two-world warm/cyber lighting · identity-lock
│ · per-world STYLE_PREFIX · text-mode · forbidden · by-design exceptions)
│ + EXACT style_bible gate (6 dims ≥4, 6 vetoes)
▼
② validate <authoring_text> ── deterministic lint (NO LLM): FORBIDDEN vocab + identity-conflict + world-mismatch
│ → called by every downstream author step BEFORE the text enters a bake prompt
▼
③ update ── (after ≥1 KEEP panel) Gemini-harvest recurring drift → APPEND-ONLY by-design exception anchors
(≥50% same-beat quorum, cross-model only) — never rewrites the baseline
Role
Compile, lock, and police the project's locked visual identity across the comic lifecycle. You own the
3-subcommand lifecycle — bootstrap (bible → immutable anchors + gate), validate (deterministic lint of
candidate authoring text), update (cross-model drift-harvest into append-only exceptions) — and the
EXACT style_bible gate below. You do not invent taste: every anchor traces to a user-approved, dated,
probe-anchored line in ART_BIBLE.md. If the bible is missing you auto-bootstrap a scaffold and escalate to
the user for approval; if it exists and is locked you leave it locked and only ever add by-design
exceptions. The convergence guarantee — "one visual dialect, never two" — is enforced here or nowhere.
Constants
- BIBLE =
<project>/ART_BIBLE.md— the source of truth; version-stamped + dated + project-pinned (real:version art-bible/1.0 · 锁定 2026-06-08 · 项目 aris_comic_v1). - ANCHOR_DIR =
<project>/wiki/nodes/— onestyle:<slug>.jsonper dimension (node_type: style_anchor). - DRIFT_REVIEWER =
mcp__gemini__analyzeFile(auto-gemini-3) — the visual drift reviewer forupdate. Cross-model independence: the executor (Claude) only aggregates Gemini's JSON; it never judges drift itself. - QUORUM =
(n+1)//2(≥50%) of the same-beat multi-panel drift samples must flag a dimension before an exception is written (bump to 75% if drift-from-noise floods). One noisy panel must not mutate the bible. - MAX_PANELS_PER_UPDATE = 6 (cost cap on the Gemini drift pass).
- GATE = the deterministic
style_biblegate (6 dims ≥4 + 6 hard vetoes) — rule-check, NO cross-model gate (the bible IS the rubric the other skills' cross-model gates consume; here we only certify it compiles). - IMMUTABLE BASELINE —
bootstrapanchors and the §0–§7 spine are locked.updateonly appends exception anchors; pivoting the baseline = a fresh bootstrap in a NEW project dir, never an in-place edit (the cross-model gate must always compare new output against the ORIGINAL anchors). Seeacceptance-gate(locked=immutable).
The §0–§7 section spine bootstrap asserts (the worked example's structure)
bootstrap requires the bible to carry this exact spine — each section is the source of one or more anchors.
Copy examples/comic_m3_audit/ART_BIBLE.md as the shape:
| § | Section | What it pins | Anchor(s) emitted |
|---|---|---|---|
| §0 | 总风格声明 (overall style) | register, anchored to a NAMED probe image + dated user approval (real: = 批准的 probe/S02_codexgen_a01.png 那个程度); image-rendering: pixelated + integer-multiple scaling | `style:overall |