gerboni-frontend-design

Enforce token-based React design standards for the Gerboni e-commerce project.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/linardsb/GERBONI --skill gerboni-frontend-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gerboni-frontend-design
Source: https://github.com/linardsb/GERBONI/tree/main/.claude/skills/gerboni-frontend-design
Command: npx skills add https://github.com/linardsb/GERBONI --skill gerboni-frontend-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents design system drift by enforcing token-based standards, ensuring consistency, accessibility, and maintainability in the Gerboni frontend codebase.

Core Features & Use Cases

  • Component Design Enforcement: Ensures new and modified React components adhere to CVA structure, spacing tokens, OKLch colors, and accessibility guidelines.
  • Anti-Pattern Detection: Identifies and prevents common mistakes like inline styles, arbitrary values, and hardcoded colors.
  • Use Case: When a developer creates a new button component, this Skill will automatically review it to ensure it uses the correct CVA variants, semantic color tokens, and appropriate ARIA attributes for accessibility.

Quick Start

Use the gerboni-frontend-design skill to review the new button component code for design compliance.

Frequently Asked Questions about gerboni-frontend-design

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

FAQPage Schema
How do I enforce a design system and prevent drift in React components?

To enforce a design system and prevent drift in React components, use a validation tool that checks for strict token-based standards. This ensures consistency by validating CVA variants, semantic spacing, color tokens, and accessibility guidelines automatically during development.

What's the best way to prevent hardcoded colors and inline styles in Tailwind CSS?

The best way to prevent hardcoded colors and inline styles in Tailwind CSS is to use an automated code enforcement mechanism. It detects anti-patterns like arbitrary values and inline styles, ensuring only semantic tokens and approved utility classes are used.

Can I use CVA variants and container queries together in a frontend design system?

Yes, you can use CVA variants and container queries together in a frontend design system. A strict enforcement tool validates adherence to CVA structures while ensuring container queries and data-slot attributes are correctly applied for responsive component development.

How do I check ARIA attributes and icon sizing for accessibility compliance?

To check ARIA attributes and icon sizing for accessibility compliance, implement an automated design system reviewer. It identifies missing ARIA attributes and inconsistent icon usage, enforcing strict accessibility standards across your React component library.

Does this design system enforcement work with the cn() utility and OKLch colors?

Yes, this design system enforcement works with the cn() utility and OKLch colors. It explicitly validates the use of the cn() utility for class merging and ensures all color values strictly use OKLch semantic tokens instead of hardcoded values.