frontend-best-practices

Apply PPN frontend design system rules to React components and CSS.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/trevorc-ai/PPN-Antigravity-1.0 --skill frontend-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-best-practices
Source: https://github.com/trevorc-ai/PPN-Antigravity-1.0/tree/main/.agent/skills/frontend-best-practices
Command: npx skills add https://github.com/trevorc-ai/PPN-Antigravity-1.0 --skill frontend-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures UI consistency by providing a centralized set of design-system rules that govern typography, color tokens, phase palette, and component patterns, preventing drift across React components and CSS.

Core Features & Use Cases

  • Enforces typography classes and color tokens across all components
  • Provides phase palette guidance for consistent UI states
  • Serves as the single source of truth for UI patterns during development and QA

Quick Start

Use the frontend best practices to structure a new component by applying the PPN typography classes, color tokens, and phase palette correctly.

Frequently Asked Questions about frontend-best-practices

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

FAQPage Schema
How do I enforce React UI consistency using a centralized design system?

To enforce React UI consistency, apply a centralized design system that governs typography classes, color tokens, phase palettes, and component patterns to prevent visual drift across CSS and components.

What is a phase palette and when do I need it for component development?

A phase palette defines consistent UI states for component development. You need it during development and QA to validate component implementations and ensure visual states remain uniform across the application.

How to structure a new React component with typography classes and color tokens?

Structure a new React component by applying PPN typography classes, color tokens, and phase palette rules, following the Quick Start guidelines and frontmatter metadata to validate the component against the design system.

Can I use these frontend best practices without external dependencies?

Yes, you can use these frontend best practices without external dependencies, as the Skill operates independently to enforce design system rules across your React components and CSS utilities.

What's the best way to prevent CSS drift across React components?

The best way to prevent CSS drift is to use a single source of truth that provides centralized design-system rules, enforcing typography classes, color tokens, and reusable component patterns across all development workflows.

Why does my React component fail design system validation during QA?

React component validation fails during QA when implementations do not follow the frontmatter metadata and Quick Start guidelines, meaning typography classes, color tokens, or phase palette rules are applied incorrectly.