The Anti-Frankenstein skill acts as a specialized governance checkpoint for frontend developers to ensure CSS maintainability and consistency. It focuses on eliminating 'Frankenstein CSS'—codebases plagued by hardcoded values, inline styles, and specificity hacks that make scaling difficult. By providing automated detection patterns for hex colors, unauthorized !important flags, and misplaced keyframes, this skill helps teams adhere to design system variables and BEM methodology. It is particularly useful during pre-PR checks to ensure that new styles align with the existing architectural standards of the project.
주요 기능
01Identifies unauthorized inline styles in both HTML and JSX components
02Provides quick-check grep commands for rapid architectural audits
03Detects hardcoded hex and RGBA colors to enforce variable usage
040 GitHub stars
05Flags improper use of !important to prevent specificity conflicts
06Audits font-family and keyframe declarations for global consistency
사용 사례
01Refactoring legacy codebases to replace hardcoded values with design system variables
02Pre-Pull Request checks to catch styling anti-patterns before they reach production
03Standardizing frontend contributions across distributed development teams