Purpose
Provide structured, opinionated guidance for CSS and frontend styling across all scales — from token systems and layout primitives to full-site consistency and React application architecture. This domain prevents AI-generated interface slop by enforcing professional styling standards, maintainable architecture, and framework-aware best practices.
Domain Coverage
This package represents the CSS and styling systems domain. It covers token architecture, layout and responsive design, UI component styling, animation and motion, framework-specific guidance, naming conventions, landing page styling, site-wide systems, CSS auditing, Tailwind design systems, frontend design engineering, and React/TypeScript development guidelines.
Shared guardrails in shared-rules/STYLE-GUARDRAILS.md and anti-patterns in shared-rules/ANTI-PATTERNS.md apply across all mini-skills.
How to Use
- Always begin with self-diagnostic. Start with a quick package integrity check, then validate only the activated working set. The self-diagnostic rules are defined in
self-diagnostic-protocol.md.
- Identify the primary mini-skill that best matches the task.
- Check the Multi-Skill Activation Guide below to load adjacent mini-skills.
- Open the corresponding reference file under
references/skills/.
- Open the corresponding examples file under
examples/skills/ if concrete patterns are needed.
- Use
resources/skill-catalog.md for the full index.
- Use
resources/routing-guide.md when a task spans multiple mini-skills.
- Use
resources/asset-link-index.md to find every auxiliary folder and file.
Multi-Skill Activation Guide
Common combinations:
- New design system: foundations (primary) + framework-guides + general-ui-styling + tailwind-design-system
- Component styling: general-ui-styling (primary) + foundations + animation-motion + css-review-audit
- Landing page: one-pager-landing (primary) + layout-responsive + animation-motion + general-ui-styling
- Layout work: layout-responsive (primary) + foundations + general-ui-styling
- CSS audit: css-review-audit (primary) + foundations + framework-guides + site-wide-systems
- Tailwind project: tailwind-design-system (primary) + framework-guides + foundations + general-ui-styling
- React application: frontend-dev-guidelines (primary) + frontend-alchemy + tailwind-design-system + general-ui-styling
- Site-wide consistency: site-wide-systems (primary) + foundations + layout-responsive + language-conventions
- Animation system: animation-motion (primary) + general-ui-styling + foundations
- Design engineering: frontend-alchemy (primary) + general-ui-styling + animation-motion + layout-responsive
- CSS performance regression: css-performance-budgeting (primary) + css-review-audit + layout-responsive + frontend-dev-guidelines
- Animation jank: css-performance-budgeting (primary) + animation-motion + general-ui-styling
- Large-site cleanup: site-wide-systems (primary) + css-review-audit + css-performance-budgeting + foundations
Package Structure
SKILL.md — lightweight router and high-level index
composition-protocol.md — universal rules for selecting and combining mini-skills
self-diagnostic-protocol.md — self-diagnostic rules for this domain package
resources/skill-catalog.md — full catalog of extracted mini-skills
resources/routing-guide.md — navigation and composition rules
resources/asset-link-index.md — complete link map for every auxiliary folder and file
resources/manifest.json — machine-readable package manifest
references/skills/*.md — full extracted guidance per mini-skill
examples/skills/*.md — extracted code snippets and usage samples
shared-rules/STYLE-GUARDRAILS.md — universal CSS guardrails
shared-rules/ANTI-PATTERNS.md — CSS anti-patterns reference
Mini-Skills Index
foundations
- Summary: Define the base doctrine for tokens, cascade, naming, theming, layering, and maintainable CSS system design.
- Open reference:
references/skills/foundations.md
- Open examples:
examples/skills/foundations.md
layout-responsive
- Summary: Production rules for layout primitives, spacing systems, breakpoints, fluid design, and responsive consistency.
- Open reference:
references/skills/layout-responsive.md
- Open examples:
examples/skills/layout-responsive.md
general-ui-styling
- Summary: Rules for day-to-day UI styling: forms, cards, states, controls, density, hierarchy, and surface systems.
- Open reference:
references/skills/general-ui-styling.md
- Open examples:
examples/skills/general-ui-styling.md
animation-motion
- Summary: Tasteful, performance-safe motion for UI content transitions, interactive states, and reduced-motion support.
- Open reference:
references/skills/animation-motion.md
- Open examples:
examples/skills/animation-motion.md
one-pager-landing
- Summary: CSS doctrine for landing pages, promo pages, hero sections, CTA styling, and conversion-oriented surfaces.
- Open reference:
references/skills/one-pager-landing.md
- Open examples:
examples/skills/one-pager-landing.md
site-wide-systems
- Summary: Rules for styling consistency across large sites, multi-page products, shared themes, and long-term maintenance.
- Open reference:
references/skills/site-wide-systems.md
- Open examples:
examples/skills/site-wide-systems.md
css-review-audit
- Summary: Structured workflow for reviewing CSS, identifying anti-patterns by severity, and proposing concrete fixes.
- Open reference:
references/skills/css-review-audit.md
- Open examples:
examples/skills/css-review-audit.md
framework-guides
- Summary: Framework-aware guidance for vanilla CSS, SCSS, Tailwind, CSS Modules, and CSS-in-JS without mixing rules blindly.
- Open reference:
references/skills/framework-guides.md
- Open examples:
examples/skills/framework-guides.md
language-conventions
- Summary: Rules for CSS naming, comments, mixed-language teams, and multilingual codebases.
- Open reference:
references/skills/language-conventions.md
- Open examples:
examples/skills/language-conventions.md
frontend-alchemy
- Summary: Create memorable, high-craft frontend interfaces with intentional aesthetic direction, technical correctness, and cohesive restraint.
- Open reference:
references/skills/frontend-alchemy.md
- Open examples:
examples/skills/frontend-alchemy.md
tailwind-design-system
- Summary: Build production-ready design systems with Tailwind CSS including tokens, component variants, semantic colors, shadcn/ui patterns, dark mode, and accessibility.
- Open reference:
references/skills/tailwind-design-system.md
- Open examples:
examples/skills/tailwind-design-system.md
frontend-dev-guidelines
- Summary: Production-grade React/TypeScript development with Suspense-first data fetching, feature-based organization, strict TypeScript, and performance-safe defaults.
- Open reference:
references/skills/frontend-dev-guidelines.md
- Open examples:
examples/skills/frontend-dev-guidelines.md
css-performance-budgeting
- Summary: CSS runtime and rendering budget governance across payload, selector complexity, layout/reflow risk, paint/composite cost, and release gates.
- Open reference:
references/skills/css-performance-budgeting.md
- Open examples:
examples/skills/css-performance-budgeting.md
Validation
- Keep detailed implementation guidance outside the main
SKILL.md.
- Prefer adding or updating auxiliary files rather than re-expanding the router.
- Preserve skill-specific constraints, examples, and workflow details in the extracted files.
Output Requirements
- Keep the main file concise and navigational.
- Store deep guidance in auxiliary files.
- Use descriptive, stable file names for extracted mini-skills.
1---2name: css-styling3description: Use for CSS architecture, design tokens, layout systems, responsive design, UI styling, animation, Tailwind/SCSS/CSS Modules guidance, CSS review and audit, one-pager and landing page styling, site-wide consistency, naming conventions, frontend design engineering, and React/TypeScript frontend development guidelines.4---56## Purpose78Provide structured, opinionated guidance for CSS and frontend styling across all scales — from token systems and layout primitives to full-site consistency and React application architecture. This domain prevents AI-generated interface slop by enforcing professional styling standards, maintainable architecture, and framework-aware best practices.910## Domain Coverage1112This package represents the CSS and styling systems domain. It covers token architecture, layout and responsive design, UI component styling, animation and motion, framework-specific guidance, naming conventions, landing page styling, site-wide systems, CSS auditing, Tailwind design systems, frontend design engineering, and React/TypeScript development guidelines.1314Shared guardrails in `shared-rules/STYLE-GUARDRAILS.md` and anti-patterns in `shared-rules/ANTI-PATTERNS.md` apply across all mini-skills.1516## How to Use17181. Always begin with self-diagnostic. Start with a quick package integrity check, then validate only the activated working set. The self-diagnostic rules are defined in `self-diagnostic-protocol.md`.192. Identify the primary mini-skill that best matches the task.203. Check the Multi-Skill Activation Guide below to load adjacent mini-skills.214. Open the corresponding reference file under `references/skills/`.225. Open the corresponding examples file under `examples/skills/` if concrete patterns are needed.236. Use `resources/skill-catalog.md` for the full index.247. Use `resources/routing-guide.md` when a task spans multiple mini-skills.258. Use `resources/asset-link-index.md` to find every auxiliary folder and file.2627## Multi-Skill Activation Guide2829Common combinations:3031- **New design system**: foundations (primary) + framework-guides + general-ui-styling + tailwind-design-system32- **Component styling**: general-ui-styling (primary) + foundations + animation-motion + css-review-audit33- **Landing page**: one-pager-landing (primary) + layout-responsive + animation-motion + general-ui-styling34- **Layout work**: layout-responsive (primary) + foundations + general-ui-styling35- **CSS audit**: css-review-audit (primary) + foundations + framework-guides + site-wide-systems36- **Tailwind project**: tailwind-design-system (primary) + framework-guides + foundations + general-ui-styling37- **React application**: frontend-dev-guidelines (primary) + frontend-alchemy + tailwind-design-system + general-ui-styling38- **Site-wide consistency**: site-wide-systems (primary) + foundations + layout-responsive + language-conventions39- **Animation system**: animation-motion (primary) + general-ui-styling + foundations40- **Design engineering**: frontend-alchemy (primary) + general-ui-styling + animation-motion + layout-responsive41- **CSS performance regression**: css-performance-budgeting (primary) + css-review-audit + layout-responsive + frontend-dev-guidelines42- **Animation jank**: css-performance-budgeting (primary) + animation-motion + general-ui-styling43- **Large-site cleanup**: site-wide-systems (primary) + css-review-audit + css-performance-budgeting + foundations4445## Package Structure4647- `SKILL.md` — lightweight router and high-level index48- `composition-protocol.md` — universal rules for selecting and combining mini-skills49- `self-diagnostic-protocol.md` — self-diagnostic rules for this domain package50- `resources/skill-catalog.md` — full catalog of extracted mini-skills51- `resources/routing-guide.md` — navigation and composition rules52- `resources/asset-link-index.md` — complete link map for every auxiliary folder and file53- `resources/manifest.json` — machine-readable package manifest54- `references/skills/*.md` — full extracted guidance per mini-skill55- `examples/skills/*.md` — extracted code snippets and usage samples56- `shared-rules/STYLE-GUARDRAILS.md` — universal CSS guardrails57- `shared-rules/ANTI-PATTERNS.md` — CSS anti-patterns reference5859## Mini-Skills Index6061### foundations62- Summary: Define the base doctrine for tokens, cascade, naming, theming, layering, and maintainable CSS system design.63- Open reference: `references/skills/foundations.md`64- Open examples: `examples/skills/foundations.md`6566### layout-responsive67- Summary: Production rules for layout primitives, spacing systems, breakpoints, fluid design, and responsive consistency.68- Open reference: `references/skills/layout-responsive.md`69- Open examples: `examples/skills/layout-responsive.md`7071### general-ui-styling72- Summary: Rules for day-to-day UI styling: forms, cards, states, controls, density, hierarchy, and surface systems.73- Open reference: `references/skills/general-ui-styling.md`74- Open examples: `examples/skills/general-ui-styling.md`7576### animation-motion77- Summary: Tasteful, performance-safe motion for UI content transitions, interactive states, and reduced-motion support.78- Open reference: `references/skills/animation-motion.md`79- Open examples: `examples/skills/animation-motion.md`8081### one-pager-landing82- Summary: CSS doctrine for landing pages, promo pages, hero sections, CTA styling, and conversion-oriented surfaces.83- Open reference: `references/skills/one-pager-landing.md`84- Open examples: `examples/skills/one-pager-landing.md`8586### site-wide-systems87- Summary: Rules for styling consistency across large sites, multi-page products, shared themes, and long-term maintenance.88- Open reference: `references/skills/site-wide-systems.md`89- Open examples: `examples/skills/site-wide-systems.md`9091### css-review-audit92- Summary: Structured workflow for reviewing CSS, identifying anti-patterns by severity, and proposing concrete fixes.93- Open reference: `references/skills/css-review-audit.md`94- Open examples: `examples/skills/css-review-audit.md`9596### framework-guides97- Summary: Framework-aware guidance for vanilla CSS, SCSS, Tailwind, CSS Modules, and CSS-in-JS without mixing rules blindly.98- Open reference: `references/skills/framework-guides.md`99- Open examples: `examples/skills/framework-guides.md`100101### language-conventions102- Summary: Rules for CSS naming, comments, mixed-language teams, and multilingual codebases.103- Open reference: `references/skills/language-conventions.md`104- Open examples: `examples/skills/language-conventions.md`105106### frontend-alchemy107- Summary: Create memorable, high-craft frontend interfaces with intentional aesthetic direction, technical correctness, and cohesive restraint.108- Open reference: `references/skills/frontend-alchemy.md`109- Open examples: `examples/skills/frontend-alchemy.md`110111### tailwind-design-system112- Summary: Build production-ready design systems with Tailwind CSS including tokens, component variants, semantic colors, shadcn/ui patterns, dark mode, and accessibility.113- Open reference: `references/skills/tailwind-design-system.md`114- Open examples: `examples/skills/tailwind-design-system.md`115116### frontend-dev-guidelines117- Summary: Production-grade React/TypeScript development with Suspense-first data fetching, feature-based organization, strict TypeScript, and performance-safe defaults.118- Open reference: `references/skills/frontend-dev-guidelines.md`119- Open examples: `examples/skills/frontend-dev-guidelines.md`120121### css-performance-budgeting122- Summary: CSS runtime and rendering budget governance across payload, selector complexity, layout/reflow risk, paint/composite cost, and release gates.123- Open reference: `references/skills/css-performance-budgeting.md`124- Open examples: `examples/skills/css-performance-budgeting.md`125126## Validation127128- Keep detailed implementation guidance outside the main `SKILL.md`.129- Prefer adding or updating auxiliary files rather than re-expanding the router.130- Preserve skill-specific constraints, examples, and workflow details in the extracted files.131132## Output Requirements133134- Keep the main file concise and navigational.135- Store deep guidance in auxiliary files.136- Use descriptive, stable file names for extracted mini-skills.137