design-validation

Validate UI/CSS changes against design requirements using git diff and Tailwind compatibility checks.

Updated Jul 12, 2025
One-click install
npx skills add https://github.com/dna20021225/ZC-CastMenu --skill design-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-validation
Source: https://github.com/dna20021225/ZC-CastMenu/tree/main/.claude/skills/design-validation
Command: npx skills add https://github.com/dna20021225/ZC-CastMenu --skill design-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CSS/UIの変更後にブラウザでビジュアル確認を行う。レイアウト確認、余白チェック、デザイン要件との照合に使用。UIが崩れていないか確認したい時に呼び出す。

Core Features & Use Cases

  • Visual inspection checklist: After CSS changes, verify that the UI remains consistent across themes, spacing, and alignment.
  • Layout & grid validation: Ensure the grid layout (縦3列/横5列) matches the design; check header/footer sizes.
  • Use Case: When you want to ensure UI fidelity after styling updates, use this Skill to generate a quick visual validation report.

Quick Start

Use the design-validation skill to visually verify the UI changes on the local dev server after editing CSS/JS, by loading the updated pages and checking the items from the design checklist in docs/要件定義書.md.

Frequently Asked Questions about design-validation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate UI changes after CSS modifications?

Visual validation checks that UI remains consistent after CSS changes by verifying layout, spacing, alignment, and theme retention against design requirements. Load updated pages on your dev server and cross-reference the design checklist in your specs to confirm no elements broke or shifted.

Can I check grid layout and responsive design against design specs?

Yes. Grid validation ensures your layout matches the specified structure (columns and rows) and verifies header/footer dimensions. Compare rendered pages against your design document to catch misalignments before deployment.

How do I detect which CSS or UI files changed and need review?

Use git diff to identify modified .ts, .tsx, and .css files. This targets only changed assets, letting you focus visual validation on specific components rather than reviewing the entire UI.

Does Tailwind work with CSS custom properties without conflicts?

Tailwind classes and CSS custom properties can coexist, but require careful assessment to prevent conflicts. Check that Tailwind utility classes and custom property values don't override each other unintentionally in your theme implementation.

What should I validate when testing dark theme and hover states?

Dark theme validation confirms colors, contrast, and visibility remain correct in dark mode. Hover state testing across browsers ensures interactive feedback works consistently and doesn't cause layout shifts or visual glitches.