frontend

Build responsive React UI components with accessibility and performance patterns.

4|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/rbaumier/skills --skill frontend-rbaumier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend
Source: https://github.com/rbaumier/skills/tree/main/frontend
Command: npx skills add https://github.com/rbaumier/skills --skill frontend-rbaumier

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a comprehensive, opinionated playbook and implementation guidance for building production-ready front-end interfaces. It reduces guesswork and rework by enforcing patterns for component architecture, data fetching, forms, state management, styling, accessibility, and responsive design so teams ship consistent, maintainable UIs faster.

Core Features & Use Cases

  • Context-first design protocol to gather audience, use cases, and brand tone before writing UI code.
  • Component architecture: file colocation, composition over boolean props, compound components, and a strict file ordering convention.
  • Data & state: Suspense-first TanStack Query patterns, cache-first strategies, mutations with invalidation, and granular Zustand selectors.
  • Forms & UX: useActionState/useOptimistic guidance, inline validation, disabled-loading buttons, skeletons/overlays to avoid layout shift, and a clear error hierarchy.
  • Styling & performance: design tokens only, MUI v7 sx patterns, virtualization for long lists, lazy-loading heavy components, and measurable performance guidance.
  • Accessibility & responsive rules: semantic landmarks, focus management (trap + restore), WCAG contrast, and prefers-reduced-motion fallbacks.

Quick Start

Design a responsive dashboard page with accessible, composable React components (cards, header, data grid, forms) for B2B SaaS admins on desktop.

Frequently Asked Questions about frontend

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

FAQPage Schema
How do I build accessible React components that follow a strict design system?

Build accessible React components by applying a playbook that enforces component colocation, composition over boolean props, design tokens, semantic landmarks, and WCAG-compliant focus management. This ensures consistent, maintainable UI architecture across features.

What is the best way to structure a React dashboard for B2B SaaS admins?

Structure a B2B SaaS dashboard by applying a context-first design protocol, then building responsive layouts with composable React components like cards, data grids, and forms. This approach ensures maintainable, production-ready admin interfaces.

How does Suspense-first data fetching work with TanStack Query and Zustand?

Suspense-first data fetching uses TanStack Query patterns with cache-first strategies and mutation invalidation, while Zustand manages granular local state selectors. This combination reduces layout shift and ensures performant data loading.

Can I use MUI v7 sx patterns with design tokens for responsive styling?

Yes, you can use MUI v7 sx patterns restricted strictly to design tokens for responsive styling. This enforces consistent visual language across breakpoints while maintaining high-performance UI rendering.

How do I manage form state and validation in React using useActionState?

Manage form state using useActionState and useOptimistic guidance, combining inline validation with disabled-loading buttons and skeletons. This prevents layout shift and establishes a clear error hierarchy for better UX.

When should I use virtualization and lazy-loading in frontend React applications?

Use virtualization for long lists and lazy-loading for heavy components to achieve measurable frontend performance gains. These techniques prevent UI blocking and reduce initial bundle size for high-performance web applications.