Logo di Image Qc

Image Qc

Community
kaigani
image-qc

Image quality control skill. Teaches Claude to systematically evaluate generated images — identity sheets, scene frames, storyboards — for anatomical correctness, prompt adherence, style consistency, and composition integrity. Enforces honesty-first reporting with structured pass/fail verdicts per panel or area.

Panoramica

Autorekaigani
Repositorycodeywood
Nome della skillimage-qc
Stelle
33
Fork
4
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da kaigani su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Image Qc in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/kaigani/codeywood/tree/main/skills/production/image-qc
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kaigani/codeywood.git /tmp/codeywood
mkdir -p .claude/skills
cp -r /tmp/codeywood/skills/production/image-qc .claude/skills/image-qc
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Image Qc in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Image Qc non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Image Qc non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Image QC

Purpose

Catch defects in AI-generated images before they enter the production pipeline. Every generated image — identity sheets, scene frames, storyboards — must pass structured quality control. False positives waste seeds, time, and money. The image QC skill enforces rigorous, honest evaluation so the user can make informed pass/fail decisions.


The Honesty Rule

NEVER summarize positively if defects exist. This is the foundational principle of image QC.

  • Say "Panel X has [defect]" not "Great identity sheet!"
  • The user trusts this assessment to decide pass/fail — false positives waste seeds and time
  • When in doubt, flag it. The user can override if they think it's acceptable
  • Every review MUST include a structured table with per-panel or per-area verdicts

Identity Sheet / Multi-Panel QC

Identity sheets and multi-panel composites are the most complex images to evaluate. Check every dimension below for each panel.

1. Panel Containment

Do all sub-images fit cleanly within their panel borders?

Check for:

  • Content overflowing into adjacent panels
  • Cropping that cuts off important features (tops of heads, hands)
  • Bleeding or smearing across panel dividers
  • Panels that are empty or contain only partial content

Fail condition: Any panel has content crossing its borders or is visibly cropped.

2. Face Integrity

Are all faces structurally sound?

Check for:

  • Distorted or asymmetric eyes beyond natural variation
  • Misaligned facial features (nose off-center, mouth shifted)
  • Extra or missing features (three eyes, no nose, double mouth)
  • Melted or blurred regions around the face
  • Uncanny valley appearance — technically correct but deeply wrong

Fail condition: Any face with structural distortion or missing/extra features.

3. Eye Quality

Eyes are the #1 tell for AI generation artifacts. Dedicate specific attention here.

Check for:

  • Mismatched pupil sizes or shapes between eyes
  • Melted or blurred iris detail
  • Extra eyes (anywhere on the face or body)
  • Wrong gaze direction relative to the described pose
  • Uncanny valley stare — both eyes locked forward with no natural variation
  • Different eye colors when they should match
  • Pupil/iris shape inconsistency (one round, one elongated)

Fail condition: Any eye anomaly that would be visible at normal viewing distance.

4. Hand and Limb Check

Hands remain a persistent weakness in image generation models.

Check for:

  • Finger count: each hand should have exactly 5 fingers
  • Fused digits (two fingers merged into one)
  • Extra digits (6+ fingers, or thumb on wrong side)
  • Unnatural joint angles (fingers bending backward, wrists at impossible angles)
  • Limb count: correct number of arms and legs
  • Proportional consistency (one arm significantly longer than the other)

Fail condition: Wrong digit count, fused fingers, or impossible joint angles.

5. Panel Completeness

Does each panel contain what was requested in the prompt?

Check for:

  • Missing panels entirely (empty or black spaces where content should be)
  • Panels that show a different subject than requested
  • Panels that show the right subject but wrong pose/angle/expression
  • Panels merged together (two requested views collapsed into one)

Fail condition: Any panel missing or showing incorrect content.

6. Style Consistency Across Panels

The same character should look like the same character across all panels.

Check for:

  • Skin tone variation across panels
  • Hair color, length, or style changing between panels
  • Wardrobe details inconsistent (different colors, missing accessories)
  • Age appearance shifting between panels
  • Body type or proportions changing

Fail condition: Character not recognizable as the same person across panels.

7. Grid Clarity

The layout itself must be readable and organized.

Check for:

  • Dividing lines that are inconsistent, wavy, or missing
  • Uneven panel sizes when uniform was expected
  • Layout that's difficult to parse — unclear where one panel ends and another begins
  • Background color bleeding into or obscuring dividers

Fail condition: Layout is unreadable or panels cannot be distinguished.


Single Image / Scene Frame QC

For individual frames, storyboards, and production shots.

1. Anatomical Correctness

Check for:

  • Body proportions (head size relative to body, arm length, torso length)
  • Limb count and positioning
  • Face structure (eyes, nose, mouth in correct positions and proportions)
  • Joint angles that defy human anatomy

2. Prompt Adherence

The most common failure mode. Check EVERY specific detail in the prompt against the output.

Check for:

  • Species/subject consistency: If the prompt says "monkey", is it actually a monkey? Watch for species drift — monkey-to-human is a common failure mode. Check ALL panels, not just the most prominent one
  • Color specificity: If the prompt specifies "RED cap, BLUE cap, BROWN cap" — verify those exact colors are present. Not "some colored caps" or "vaguely tinted caps"
  • Spatial placement: If the prompt says "sitting in tree branches" — are subjects actually positioned in the tree? Not standing on the ground near a tree
  • Object count: If the prompt says "three monkeys" — count them. Not two, not four
  • Action accuracy: If the prompt describes a specific action, is that action depicted?
  • Setting details: Verify background and environment match prompt description

Fail condition: Any specific prompt detail that is missing, wrong, or ambiguous.

3. Artifact Check

Check for:

  • Watermarks or text artifacts embedded in the image
  • Blending seams (visible boundaries where image regions were stitched)
  • Resolution drops in specific areas (sharp foreground, blurry background when both should be sharp)
  • Banding in gradients (especially skies)
  • Repeated texture patterns (copy-paste artifacts)

4. Style Match

Does the image match the project's established visual style?

Check against PROJECT_CONFIG.yaml style DNA:

  • Medium/Era: correct animation style or photographic approach
  • Line-work/Texture: consistent edge rendering and surface detail
  • Lighting/Rendering: correct shadow quality and contrast level
  • Color Palette: within the defined palette boundaries

5. Aspect Ratio

Check for:

  • Output matches the expected aspect ratio
  • Flag if square (1:1) when 16:9 was expected, or vice versa
  • Flag if the image has been stretched or squeezed to fit a different ratio

Composition Prompt QC (Pre-Generation)

Review prompts BEFORE they are sent to the model. Catching prompt issues is cheaper than catching image issues.

1. Describe What the Camera Sees

The prompt should describe visible, physical reality — not narrative context.

  • Good: "mouth wide open, eyebrows raised high, eyes widened"
  • Bad: "shocked expression" (the model interprets "shocked" differently than you expect)
  • Good: "thick dark curly hair falling past shoulders, sun-darkened olive skin"
  • Bad: "she looks like a Caribbean sailor's daughter" (narrative reference the model has no context for)

2. No Narrative References the Model Cannot Know

The model only sees the prompt text and any image inputs. It has no story context.

  • Good: "the puppet character from image 1"
  • Bad: "the peddler" or "following the peddler's example"
  • Good: "a tall man in a red coat holding a wooden staff"
  • Bad: "the villain" or "Mars's father"

3. Physical Expression Vocabulary

Describe facial features physically, not emotionally.

Instead of...Write...
sadbrow furrowed, mouth corners pulled down, eyes glistening
angryjaw clenched, nostrils flared, brow compressed, eyes narrowed
surprisedeyebrows raised high, mouth open in O shape, eyes wide
scaredeyes wide, pupils dilated, mouth slightly open, shoulders raised
happycheeks raised, crow's feet at eyes, mouth open showing teeth
determinedjaw set, lips pressed together, brow slightly lowered, direct gaze

4. Every Specific Visual Detail Must Be Named

Do not rely on the model to infer details from general descriptions.

  • Good: "wearing a RED wool cap, a BLUE cotton cap stacked on top, and a BROWN leather cap on the very top"
  • Bad: "wearing different colored caps"
  • Good: "sitting on a thick oak branch, legs dangling, back against the trunk"
  • Bad: "in the tree area"

5. Do Not Economize on Details

More specific detail equals better adherence. A prompt that's too sparse leaves the model guessing, and models guess wrong frequently.

  • Specify materials: "worn leather boots" not "boots"
  • Specify lighting: "warm afternoon sunlight from the left" not "daytime"
  • Specify camera: "medium close-up, eye level" not just the subject

6. Body Pose Precision

Good: "right hand raised to shoulder height, index finger extended, pointing upward, other fingers curled into palm" Bad: "shaking finger" (ambiguous — which hand? which direction? what gesture exactly?)

7. Spatial Anchoring

Always state WHERE subjects are in the frame.

  • "positioned in the left third of the frame"
  • "filling the center of the frame from waist up"
  • "small figure in the bottom right corner, vast sky above"
  • NOT just the subject floating in unspecified space

Escalation Rules

When the primary model fails, escalate rather than re-rolling the same model endlessly.

Failure TypeFirst ActionEscalation
Species drift (monkey becomes human)Re-prompt with exhaustive physical descriptionEscalate to Flux Dev (--dev flag)
Style inconsistency across panelsCheck prompt for style anchors, re-generateEscalate to Flux Dev with multi-image reference
Prompt adherence failure (missing details)Add missing details explicitly to prompt, re-generateEscalate to Flux Dev
Strong model bias it cannot overcome (e.g., beret bias on monkeys)Fix downstream in qwen-image-edit or Flux Dev using multi-image referenceAccept the bias and work around it in composition
Wrong aspect ratioApply post-processing padding (pad_to_16x9)Re-generate with correct aspect ratio parameter
Persistent face/hand artifactsRe-generate with different seedEscalate to higher-quality model or use inpainting

General rule: Two consecutive failures on the same defect with the same model = escalate. Do not burn more than 2 seeds on the same issue.


QC Report Format

Every generated image review MUST produce a structured report. No exceptions.

Identity Sheet / Multi-Panel Format

### [Image Name] QC Review (workflow, seed N)

| Panel/Area | Expected Content | Status | Issues |
|------------|-----------------|--------|--------|
| Top-left   | Eye close-up    | PASS   | --     |
| Top-center | Profile view    | PASS   | --     |
| Top-right  | Hand reference  | FAIL   | 6 fingers on left hand |
| Center     | Full body front | PASS   | --     |
| Bottom-left| Vulnerable port.| FAIL   | Eyes mismatched, left iris melted |
| Bottom-mid | Action pose     | PASS   | --     |
| Bottom-right| Quiet moment   | PASS   | --     |

**Defects**:
1. Top-right panel: left hand has 6 fingers (extra pinky)
2. Bottom-left panel: left iris is melted/blurred, pupil shape inconsistent with right eye

**Verdict**: FAIL (2 defects in 7 panels)

**Recommendation**: Re-generate with different seed. If hand issues persist, escalate to Flux Dev.

Single Image / Scene Frame Format

### [Image Name] QC Review (workflow, seed N)

| Check | Status | Notes |
|-------|--------|-------|
| Anatomical correctness | PASS | -- |
| Prompt adherence | FAIL | Prompt says "red cap" — cap is orange |
| Artifact check | PASS | -- |
| Style match | PASS | Matches Caribbean fantasy DNA |
| Aspect ratio | PASS | 16:9 as expected |

**Defects**:
1. Cap color is orange, not red as specified in prompt

**Verdict**: FAIL (1 prompt adherence issue)

**Recommendation**: Add "bright saturated red, not orange" to prompt and re-generate.

Prompt QC Format (Pre-Generation)

### Prompt QC: [shot/panel name]

| Check | Status | Issue |
|-------|--------|-------|
| Physical descriptions only | FAIL | "angry expression" — replace with physical features |
| No narrative references | PASS | -- |
| Color specificity | FAIL | "colored caps" — specify exact colors |
| Spatial anchoring | PASS | -- |
| Detail sufficiency | FAIL | No material, lighting, or camera specs |

**Required fixes before generation**:
1. Replace "angry expression" with "jaw clenched, nostrils flared, brow compressed"
2. Replace "colored caps" with "RED wool cap, BLUE cotton cap, BROWN leather cap"
3. Add lighting direction and camera angle

Common Failure Patterns by Model

Knowledge of model-specific weaknesses helps focus the QC eye.

Nano Banana Pro

  • Strongest at technical refs and identity sheets
  • Watch for: multi-panel triptych generation when single frame expected (action prompts)
  • Watch for: content filter triggers on age references or violence

Klein (Flux 2)

  • Fast drafts, bolder contrast
  • Watch for: simplified details in complex scenes (cfg too low)
  • Watch for: model biases on unusual subjects (berets on monkeys, humanization of animals)
  • Watch for: output inheriting input resolution in i2i mode

Dev (Flux 2)

  • Higher quality but slower
  • Watch for: over-smoothing at high step counts (diminishing returns past step 20)
  • Watch for: AI-default blue cast in interior scenes

Z-Image Base

  • Watch for: model bias on headwear (berets on monkeys, wrong hat types) — fix downstream with qwen-image-edit or Flux Dev multiref rather than re-rolling endlessly
  • Watch for: no cross-frame consistency (every generation is independent)

qwen-image-edit

  • Watch for: species drift (animal subjects becoming human) — especially in expression/portrait panels
  • Watch for: style inconsistency when reference images have mixed styles
  • Watch for: square output when wide was expected — post-process with pad_to_16x9()
  • Watch for: field name confusion (image/image2/image3 for qwen vs image1/image2 for Dev multiref)

Integration with Production Pipeline

When to Run Image QC

  1. After every identity sheet generation — before the sheet enters the reference library
  2. After every scene frame generation — before the frame is used as a video start frame
  3. After every storyboard generation — before boards are used for shot planning
  4. Before prompt submission (prompt QC) — before spending API credits

QC Gates

Image TypePass RequirementEscalation Threshold
Identity sheetAll panels PASS, style consistent2 failed seeds on same defect
Scene frameAll checks PASS, prompt fully adhered2 failed seeds on same defect
StoryboardComposition readable, no anatomical horrors3 failed seeds (lower bar for sketches)
PromptAll checks PASSN/A (fix before generation)

Domande frequenti

Cosa fa la skill IA Image Qc?

Image quality control skill. Teaches Claude to systematically evaluate generated images — identity sheets, scene frames, storyboards — for anatomical correctness, prompt adherence, style consistency, and composition integrity. Enforces honesty-first reporting with structured pass/fail verdicts per panel or area.

Perché usare Image Qc su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Image Qc è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Image Qc in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/kaigani/codeywood/tree/main/skills/production/image-qc. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Image Qc?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Image Qc?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Image Qc: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Image Qc è gratuita?

È pubblicata su GitHub da kaigani. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇