frontend-style-guide

Enforce Mantine v8 styling and CSS modules in React TSX components.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/AhChao/gab-guide --skill frontend-style-guide-ahchao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-style-guide
Source: https://github.com/AhChao/gab-guide/tree/main/.agent/skills/frontend-style-guide
Command: npx skills add https://github.com/AhChao/gab-guide --skill frontend-style-guide-ahchao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps frontend teams maintain consistent, Mantine-ready styling across React components, streamline migration from Mantine v6 to v8, and enforce CSS module usage and theme tokens to reduce styling drift.

Core Features & Use Cases

  • Enforce Mantine v8-compliant styling across TSX components during edits and migrations.
  • Promote best-practice styling with CSS modules when inline props exceed a small threshold.
  • Provide guidance when users mention Mantine, styling, or CSS modules to ensure consistent UI themes and token usage.
  • Useful during code reviews, PRs, or initial project setup to align with the Lightdash frontend style guide.

Quick Start

Command: upgrade a Mantine v6 TSX component to Mantine v8, applying CSS modules when needed and ensuring theme tokens are used.

Frequently Asked Questions about frontend-style-guide

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

FAQPage Schema
How do I upgrade a React component from Mantine v6 to v8?

Upgrading React components from Mantine v6 to v8 involves applying v8-compliant styling rules, migrating excess inline props to CSS modules, and updating theme token usage in TSX files to ensure consistency.

When should I use CSS modules instead of inline props in React components?

You should use CSS modules instead of inline props in React components when inline props exceed a small threshold, as this approach enforces Mantine-ready styling, prevents styling drift, and maintains cleaner TSX component structures.

How do I enforce consistent Mantine styling across TSX files?

You enforce consistent Mantine styling across TSX files by applying frontend style guide rules that mandate the use of theme tokens and CSS modules, ensuring adherence to Mantine v8 standards and reducing styling drift during edits and migrations.

What is the best way to apply theme tokens in Mantine v8?

The best way to apply theme tokens in Mantine v8 is by adhering to a frontend style guide that enforces token usage within TSX components, ensuring UI theme consistency and reducing styling drift across the React application.

Does this frontend style guide support React projects not using Mantine?

This frontend style guide specifically targets Mantine v8-ready styling for React components, so it is not designed for React projects using other UI frameworks, as its rules enforce Mantine-specific theme tokens and CSS module patterns.