/crucible:ui-verifyfrom crucible
Verifies Unity UI against source mockups by comparing screenshots or code structure, producing a delta report of drift and theming issues.
Ships in crucible. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Compare implemented Unity UI against its source mockup. Produces a structured delta report identifying exactly what drifted and what needs fixing.
Skill type: Flexible — checklist adapts to scope, but the read-compare-delta structure is mandatory.
Before verification, identify the source of truth:
docs/mockups/ for a file matching the feature name (e.g., talent-ui-mockup.html for the talent panel).If UI is reachable in current game state:
mcp__UnityMCP__manage_scene(action="screenshot", include_image=true)
Frame the scene view on the target panel first if needed.
If UI is NOT reachable (requires level 25, combat state, NPC interaction, etc.): Skip to Step 2b (code-level audit). Do not ask the user for a screenshot — that happens naturally during playtesting.
Re-read the source mockup file. Actually re-read it — do not rely on prior context or memory. The mockup may have been updated, and context drift is the problem this skill exists to solve.
Compare the screenshot against the mockup using the checklist in Step 3.
When screenshots are unavailable, read the implementation source files and compare directly against the mockup CSS/HTML:
USS file audit:
var() Theme.uss references? Flag any hardcoded values.C# controller audit:
Bug workaround audit:
FontManager.ApplyToRoot(root)styleSheets.Add(Resources.Load<StyleSheet>()) patternsEvaluate each category. Mark each as pass, fail, or warning.
| Category | What to Compare |
|---|---|
| Layout | Flex directions, element order, nesting depth, container structure |
| Spacing | Padding, margins, gaps — compare against mockup's --spacing-* values |
| Colors | Background, text, border — compare against Theme.uss variables used in mockup |
| Typography | Font sizes, weights, letter-spacing — compare against --font-size-* scale |
| Borders & Radius | Border widths, colors, corner radius values |
| Interactive States | Hover, active, disabled, selected — are callbacks wired? |
| Theming Compliance | All values via Theme.uss variables? Any hardcoded colors or sizes? |
| Bug Workarounds | USS bug zones handled correctly? FontManager called? |
| Cross-Panel Consistency | Effect techniques match the USS Effect Decision Registry (skills/shared/uss-effect-decisions.md)? Flag any deviations. |
Produce a structured report using this format:
Confidence tags:
[PASS-visual] — verified via screenshot comparison (high confidence)[PASS-code] — verified via code-level structural audit only (lower confidence — means "the code looks right" not "the output looks right")[FAIL] — mismatch found[WARN] — USS limitation, documented in translation map or uss-approximation-patterns.mdUse [PASS-visual] when a screenshot was compared. Use [PASS-code] when only code-level audit was performed (Step 2b). This distinction lets downstream consumers know which findings are high-confidence visual checks and which are structural inferences.
## UI Verification: [Component Name]
Source: docs/mockups/[feature]-mockup.html
Method: [screenshot | code-audit]
### Results
[PASS-visual] Layout: hierarchy matches (N containers, correct flex directions)
[FAIL] Spacing: top-bar padding is 8px, mockup uses --spacing-xl (16px)
[FAIL] Color: search-box border hardcoded #2a2a3a, should be var(--color-border)
[PASS-visual] Typography: font sizes match scale
[PASS-code] Borders: widths and radius correct (code-level check only)
[WARN] Interactive: hover states not yet wired (Layer 4 pending)
[FAIL] Theming: 2 hardcoded color values found
[PASS-visual] Bug workarounds: ScrollView height handled via inline C#
### Action Items
1. Fix top-bar padding: change 8px → var(--spacing-xl)
2. Fix search-box border: replace #2a2a3a → var(--color-border)
3. Replace hardcoded colors at [file:line] and [file:line]
If acting as the implementer: Fix each failed item. After fixes, re-run verification (loop back to Step 1). Continue until all items pass or are documented as known limitations.
If acting as a reviewer: Report the delta to the implementing agent or user. Do not fix — the implementer owns the code.
This skill produces delta reports. When used standalone, invoke crucible:quality-gate after the delta report is produced if significant failures remain unresolved. When used as a sub-skill of mock-to-unity (Step 6), the parent skill handles iteration — quality-gate is not needed.
This skill adapts to verification scope:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
unity-ui, ui-verify, mockup-comparison, delta-report, theming-compliance
Generated from the plugin's indexed repository (raddue/crucible) — no native marketplace selected
npx claudepluginhub p/raddue-crucible51 skills in this plugin
/adrWrite, supersede, and maintain Architecture Decision Records (docs/decisions/) for technical choices that had real, seriously-considered alternatives and would be costly to reverse. Use on "write an ADR", "record this decision", or when recording a choice that a design or PR already settled. Matches the target repo's existing ADR convention before imposing one, and declines with a reason when a decision does not meet the bar — not for routine design docs, implementation plans, session handoffs, the pre-push/merge wrap-up itself (that belongs to `finish` / `merge-pr`), or answering "why did we choose X" from an ADR that already exists (that's a read, owned by `recall` / `recon`)./adversarial-testerUse after completing an implementation to find unknown failure modes. Reads the implementation diff and writes up to 5 tests designed to make it break — per-task, scoped to that single implementation (for a fully-assembled multi-component feature, use inquisitor to hunt cross-component bugs). Triggers on 'break it', 'adversarial test', 'stress test implementation', 'find weaknesses', or any task seeking to expose unknown failure modes in a single implementation./assayRecon-informed approach evaluator. Weighs competing options against codebase constraints and returns structured recommendations with confidence scoring, kill criteria, and evidence grounding. Consumes recon briefs or caller context. Used by design, spec, migrate. Triggers on /assay, 'evaluate approaches', 'which option', 'compare alternatives'.Other plugins' skills for the same job