frontend-design

Document Capsem's frontend design system for Astro 5, Svelte 5, Tailwind v4, and Preline.

68|10|Updated Sep 26, 2025
One-click install
npx skills add https://github.com/google/capsem --skill frontend-design-google
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-design
Source: https://github.com/google/capsem/tree/main/skills/frontend-design
Command: npx skills add https://github.com/google/capsem --skill frontend-design-google

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capsem frontend design system provides a single source of truth for UI components, design tokens, and patterns to speed up development and ensure consistent visuals across projects.

Core Features & Use Cases

  • Design tokens and semantic tokens aligned with the project’s theme, enabling cohesive theming across Astro, Svelte, Tailwind, and Preline.
  • Component patterns and guidelines for building reusable UI elements, color schemes, and usage policies.
  • Framework references and stack guidance (Astro 5 + Svelte 5 + Tailwind v4 + Preline) to accelerate UI work and reduce rework.

Quick Start

Describe Capsem's frontend design system including the stack, tokens, and component usage guidelines.

Frequently Asked Questions about frontend-design

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

FAQPage Schema
How do I document a frontend design system for an Astro, Svelte, and Tailwind stack?

To document a frontend design system for Astro 5, Svelte 5, and Tailwind v4, define your stack, establish design and semantic tokens, and outline component patterns to ensure consistent UI development across project teams.

What are semantic tokens and how do they work with Tailwind v4 and Preline?

Semantic tokens map raw design values to contextual meanings, enabling cohesive theming across Tailwind v4 and Preline components. They ensure consistent color schemes and typography usage across your UI elements.

Does this design system guidance support Preline UI components with Svelte 5?

Yes, the design system guidance explicitly supports Preline UI components within the Svelte 5 and Astro 5 stack, providing framework references and usage policies to accelerate UI work.

What is the best way to ensure consistent UI patterns across frontend teams?

The best way to ensure consistent UI patterns is to maintain a single source of truth documenting component guidelines, design tokens, and framework references for your specific frontend stack.

How do I structure operational instructions for frontend design tokens?

Structure operational instructions by including YAML frontmatter with a name and description, followed by a Markdown body detailing stack guidance, color schemes, typography, and reusable component patterns.