| name | ensure-panelvisualappeal |
| description | | Use when this capability is needed. |
Panel Visual Appeal Validator
This skill validates that LCDPossible panels meet visual design standards for LCD signage displays (1280x480, viewed from 3-6 feet).
Prerequisites
IMPORTANT: Before running this validation, read the visual appeal rules:
Read .claude/rules/panel-visual-appeal.md
This file contains the 16 visual appeal rules that panels must comply with.
Usage
/ensure-panelvisualappeal <panel-id>
/ensure-panelvisualappeal <screenshot-path>
/ensure-panelvisualappeal <panel-id> <screenshot-path>
Validation Process
Step 1: Load Rules
Read .claude/rules/panel-visual-appeal.md to get the current visual appeal standards.
Step 2: Gather Assets
If panel ID provided:
- Render the panel:
dotnet run --project src/LCDPossible/LCDPossible.csproj -c Release -- test <panel-id> -w 2 --debug
- Read the generated HTML from temp:
%TEMP%\<panel-id>-debug.html
- Load the screenshot from:
~\<panel-id>-cyberpunk.jpg
If only screenshot provided:
- Analyze the screenshot visually
- Note: HTML/CSS analysis will be limited
Step 3: Visual Analysis
Review the screenshot for each of the 16 rules. Score each as:
- PASS - Meets requirements
- WARN - Minor issues, could be improved
- FAIL - Violates the rule, needs fixing
Step 4: HTML/CSS Analysis
If HTML available, inspect:
- CSS classes used (Tailwind/DaisyUI)
- Grid column/row spans
- Padding and margin values
- Font sizes and weights
- Color values (check for hardcoded vs theme)
Step 5: Generate Report
Output a structured report with findings and recommendations.
Report Template
# Panel Visual Appeal Report
**Panel ID:** <panel-id>
**Theme:** <theme-name>
**Resolution:** 1280x480
**Date:** <date>
## Summary
| Rule | Status | Notes |
|------|--------|-------|
| 1. Container Filling | PASS/WARN/FAIL | |
| 2. Element Centering | PASS/WARN/FAIL | |
| 3. Color Contrast | PASS/WARN/FAIL | |
| 4. Container Boundaries | PASS/WARN/FAIL | |
| 5. Panel Utilization | PASS/WARN/FAIL | |
| 6. Typography Hierarchy | PASS/WARN/FAIL | |
| 7. Consistent Spacing | PASS/WARN/FAIL | |
| 8. Grid Alignment | PASS/WARN/FAIL | |
| 9. Truncation Handling | PASS/WARN/FAIL | |
| 10. Every Value Needs a Label | PASS/WARN/FAIL | |
| 11. Avoid Orphaned Empty Space | PASS/WARN/FAIL | |
| 12. Empty/No-Data States | PASS/WARN/FAIL | |
| 13. Visual Balance | PASS/WARN/FAIL | |
| 14. Color Semantics | PASS/WARN/FAIL | |
| 15. Icon/Symbol Proportionality | PASS/WARN/FAIL | |
| 16. Theme Compliance | PASS/WARN/FAIL | |
**Overall Score:** X/16 PASS, Y WARN, Z FAIL
## Detailed Findings
### Issues Found
1. **[FAIL] Rule X: <Rule Name>**
- Problem: <description>
- Location: <widget/element>
- Recommendation: <fix suggestion>
2. **[WARN] Rule Y: <Rule Name>**
- Problem: <description>
- Recommendation:
Common Fixes
Fix: Widgets not filling vertical space
yield return new WidgetDefinition("lcd-stat-card", 3, 1, new { // Only 1 row!
title = "GPU", value = "0%"
});
yield return new WidgetDefinition("lcd-stat-card", 3, 1, new { // Only 1 row!
title = "VRAM", value = "23%"
});
yield return new WidgetDefinition("lcd-stat-card", 3, 2, new { // 2 rows each
title = "GPU", value = "0%", size = "large"
});
yield return new WidgetDefinition("lcd-stat-card", 3, 2, new { // 2 rows each
title = "VRAM", = , size =
});
Fix: Text too small in container
yield return new WidgetDefinition("lcd-stat-card", 4, 2, new {
title = "CPU",
value = cpuName,
size = "small" // Too small!
});
yield return new WidgetDefinition("lcd-stat-card", 4, 2, new {
title = "CPU",
value = cpuName,
size = "large" // Better for the container size
});
Fix: Chart not filling container
<svg width="200" height="100">
<svg viewBox="0 0 100 60" class="w-full h-full" preserveAspectRatio="none">
Fix: Content not centered
<div class="card">
<span class="label">GPU</span>
<span class="value">0%</span>
</div>
<div class="card flex flex-col items-center justify-center h-full">
<span class="label">GPU</span>
<span class="value">0%</span>
</div>
Key classes for centering:
flex flex-col - Stack label and value vertically
items-center - Center horizontally
justify-center - Center vertically
h-full - Ensure container takes full height to center within
Fix: Hardcoded colors
<div style="color: #00d4ff">
<div class="text-primary">
Fix: No empty state
if (data.items.Count == 0)
{
yield return WidgetDefinition.FullWidth("empty-state", 4, new {
message = "No data available"
});
yield break;
}
Fix: Missing labels on values
yield return new WidgetDefinition("lcd-donut", 4, 2, new {
value = data.cpuUsage,
max = 100
// Missing label!
});
yield return new WidgetDefinition("lcd-donut", 4, 2, new {
value = data.cpuUsage,
max = 100,
label = "CPU" // Now users know what 47% means
});
Fix: Orphaned empty space
yield return new WidgetDefinition("lcd-stat-card", 2, 2, new { ... });
yield return new WidgetDefinition("lcd-stat-card", 2, 2, new { ... });
yield return new WidgetDefinition("lcd-stat-card", 2, 2, new { ... });
yield return new WidgetDefinition("lcd-stat-card", 4, 2, new { ... });
yield return new WidgetDefinition("lcd-stat-card", 4, 2, new { ... });
;
Fix: Visual monotony (single row of identical widgets)
yield return new WidgetDefinition("lcd-stat-card", 2, 4, new { title = "CPU", value = "13%", size = "small" });
yield return new WidgetDefinition("lcd-stat-card", 2, 4, new { title = "TEMP", value = "-", size = "small" });
yield return new WidgetDefinition("lcd-stat-card", 2, 4, new { title = "RAM", value = "49%", size = "small" });
yield return new WidgetDefinition("lcd-stat-card", 2, 4, new { title = "USED", value = "31GB", size = "small" });
yield ();
;
;
;
;
;
;
;
Quick Checklist
Before approving a panel, verify:
Converted and distributed by TomeVault — claim your Tome and manage your conversions.