AgentSkillsCN

Visual Validation

可视化验证

SKILL.md

Visual Validation Skill

Use when: Assessing visual polish, validating game appearance, or claiming visual work is complete

Required for: Phase 8+ visual work, UI polish, asset integration


The Rule

Visual quality can ONLY be assessed from actual rendered game screenshots. Never from asset files alone.


Why This Matters

Real Example (2026-01-28)

All sprite assets were marked "production quality" but screenshots revealed:

  • Grass texture used dithering (violates style guide)
  • Scylla Cove and Sacred Grove looked identical
  • Locations lacked atmospheric differentiation

The assets were fine. The rendered game had problems.


Required Screenshot Sources

✅ VALID Sources

MethodHowWhen to Use
PapershotPress F12 in-gameManual capture during testing
LevelshotGodot Editor → Levelshot tabBatch capture multiple scenes
MCP Runtimeexecute_editor_script with viewport captureAutomated testing
Exported BuildScreenshot of actual exported .exe/.apkFinal validation

❌ INVALID Sources

SourceWhy Invalid
Asset files (.png, .tscn)Don't show in-game appearance
Godot Editor screenshotsShows IDE chrome, not game
Sprite previewsNo context, no lighting
Code analysisCan't judge visual composition

Required Screenshots by Phase

Phase 8: Visual Polish

Must capture:

  1. World scene (overview)
  2. World scene (close-up with player)
  3. Scylla Cove
  4. Sacred Grove
  5. House interior
  6. Dialogue UI active
  7. Inventory open
  8. Minigame (any)

Phase 9: Export Testing

Must capture:

  1. Main menu (from exported build)
  2. Gameplay (from exported build)
  3. All locations (from exported build)

Validation Checklist

Before claiming visual work complete:

  • All required screenshots captured
  • Screenshots show rendered game (not editor)
  • File sizes differ (identical files = bug)
  • Content matches filename
  • Locations visually distinct
  • No style guide violations visible

Common Bugs

BugCheckFix
Duplicate imagesls -la temp/screenshots/ - check file sizesVerify scene loading, fix transitions
Black screenshotsImage is solid blackCheck lighting, camera position
Wrong sceneworld.png shows menuVerify scene path in capture code
Editor chromeShows Godot IDEUse --headless or game build

Quick Capture Commands

Papershot (In-Game)

code
Run game → Press F12 → Check temp/screenshots/

MCP Runtime

bash
npx -y godot-mcp-cli execute_editor_script \
  --script "get_viewport().get_texture().get_image().save_png('res://temp/screenshots/capture.png')"

Levelshot (Editor)

code
Godot Editor → Levelshot tab → Select scenes → Capture All

Visual Development Targets

Before doing visual work, study the targets:

📁 docs/reference/visual_targets/

ImageShowsKey Takeaways
harvest_moon_full_map.pngWorld scene targetWarm grass, organic paths, detailed buildings
harvest_moon_crops.jpgFarm area targetTextured soil, clear crops, natural layout
stardew_valley_building.jpgBuilding targetArchitectural detail, vegetation integration

Current vs Target:

  • ❌ Current: Dithered grass, gray box paths, plain buildings
  • ✅ Target: Natural variation, organic edges, detailed architecture

See: docs/reference/visual_targets/README.md for full comparison


Full Documentation

See: docs/agent-instructions/VISUAL_VALIDATION_REQUIREMENTS.md