typography-spacing-enforcer

Official

Automate UI consistency, eliminate design drift.

Authorsgcarstrends
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents UI design inconsistencies by automatically enforcing the project's typography system and modern spacing conventions, saving developers time on manual reviews and refactoring.

Core Features & Use Cases

  • Automated Violation Detection: Scans component files for incorrect heading usage, raw HTML tags, and legacy spacing patterns (space-y, mt-*).
  • Auto-Fix Suggestions: Provides clear before/after code examples for identified violations, streamlining the correction process.
  • Design System Adherence: Ensures all UI elements align with the HeroUI semantic color system and project-specific typography components.
  • Use Case: After developing a new feature, activate this Skill to automatically check all new components for typography and spacing errors, instantly identifying issues like <h1> tags instead of Typography.H1 or space-y-4 instead of flex flex-col gap-4, and suggesting fixes.

Quick Start

Enforce typography and spacing standards on the new 'ProductCard' component in 'src/components/product-card.tsx'.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: typography-spacing-enforcer
Download link: https://github.com/sgcarstrends/sgcarstrends/archive/main.zip#typography-spacing-enforcer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.