Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Visual Consistency Validation

ASecurity

Use when validating design system token compliance, detecting visual regressions, or analyzing responsive design consistency across breakpoints and modes

78 stars
0 votes
0 copies
1 views
Added 9/19/2026
designgotesting

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add tan-yong-sheng/ai-vision-mcp --skill visual-consistency-validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Visual Consistency Validation?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Visual Consistency Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tan-yong-sheng-visual-consistency-validation/badge)](https://www.skillsdirectory.com/skills/tan-yong-sheng-visual-consistency-validation)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: visual-consistency-validation
description: Use when validating design system token compliance, detecting visual regressions, or analyzing responsive design consistency across breakpoints and modes
---

# Visual Consistency Validation Skill

Systematic approach to validating design system compliance across all breakpoints, modes, and interactive states.

## Core Principle

**Every violation must be: (1) mapped to a specific token, (2) quantified, (3) severity-categorized, and (4) provided with remediation. No rationalization allowed.**

## When to Use

- Validating component compliance against design system tokens
- Detecting visual regressions between baseline and updated designs
- Analyzing responsive design consistency (mobile, tablet, desktop)
- Validating dark mode and alternative state compliance

## The Three Disciplines

### 1. Systematic Token Mapping

Every violation follows this template:
```
Property: [CSS property]
Current: [actual value]
Token: [token name from design system]
Expected: [token value]
Difference: [quantified: pixels, %, hex delta]
```

### 2. Comprehensive Coverage

Validate everything:
- [ ] All color properties (text, background, border, shadow, icon)
- [ ] All spacing (padding, margin, gap, position)
- [ ] All typography (size, weight, line-height, letter-spacing)
- [ ] All shapes (radius, borders, shadows)
- [ ] All animations (duration, easing)
- [ ] All breakpoints (mobile, tablet, desktop)
- [ ] All modes (light, dark, high-contrast)
- [ ] All interactive states (default, hover, focus, active, disabled)

### 3. Severity Categorization

| Level | When |
|-------|------|
| **CRITICAL** | Accessibility/layout failures (WCAG contrast, broken states, layout shifts) |
| **HIGH** | Token violations with user impact (colors, spacing, typography) |
| **MEDIUM** | Minor deviations (< 10% difference) |
| **LOW** | Very minor (< 5% difference) |

**Rule:** All WCAG failures → CRITICAL (regardless of context).

---

## Red Flags - STOP and Reanalyze

| Red Flag | What to Do |
|----------|-----------|
| "Close enough" | Measure it. Report every difference. |
| "Desktop is primary" | Analyze all breakpoints equally. |
| "Light mode is primary" | Analyze all modes equally. |
| "Minor refinement" | Categorize by severity and report. |
| "Typical for design systems" | Escalate accessibility failures to CRITICAL. |
| "Not evaluating hover states" | Validate all interactive states. |
| "Acceptable variance" | Quantify and report every deviation. |

---

## Validation Checklist

Before completing analysis:

- [ ] All visible properties analyzed
- [ ] All violations mapped to specific tokens
- [ ] All differences quantified (pixels, percentages, hex deltas)
- [ ] All breakpoints analyzed (mobile, tablet, desktop)
- [ ] All modes analyzed (light, dark, high-contrast)
- [ ] All interactive states validated
- [ ] Severity categorized for each violation
- [ ] Accessibility violations escalated to CRITICAL
- [ ] Complete remediation (CSS + testing approach) for each violation
- [ ] No violations rationalized away

---

## Reference Materials

Detailed implementation guidance:

- **[Execution Guide](references/execution-guide.md)** — How visual-consistency-tester implements this skill using Playwright and design tokens
- **[Implementation Patterns](references/implementation-patterns.md)** — Code patterns for token mapping, violation detection, severity calculation, remediation generation

Attribution

tan-yong-shengtan-yong-sheng
View sourceMore from tan-yong-sheng →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Responsive Design

Implement modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Use when building adaptive interfaces, implementing fluid layouts, or creating component-level responsive behavior.

397922 votes

Mermaid Diagrams

Creating and refining Mermaid diagrams with live reload. Use when users want flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, or any other Mermaid visualization. Provides best practices for syntax, styling, and the iterative workflow using mermaid_preview and mermaid_save tools.

2062 votes

sleek-design-mobile-apps

Use when the user wants to design a mobile app, create screens, build UI, or interact with their Sleek projects. Covers high-level requests ("design an app that does X") and specific ones ("list my projects", "create a new project", "screenshot that screen").

5711 votes

swiftui-design-skill

SwiftUI frontend visual design skill. Creates beautiful, distinctive iOS/macOS interfaces that avoid generic AI slop patterns. Covers design direction, layout systems, typography, color, spacing, brand integration, and design review. Use when designing new SwiftUI views, reviewing UI quality, creating iOS prototypes, choosing visual styles, improving app aesthetics, or when the UI looks generic or AI-generated.

1801 votes

Ios Hig

Use when designing iOS interfaces, implementing accessibility (VoiceOver, Dynamic Type), handling dark mode, ensuring adequate touch targets, providing animation/haptic feedback, or requesting user permissions. Apple Human Interface Guidelines for iOS compliance.

761 votes
View all in design →