scaffold-react-app

Installation
SKILL.md

scaffold-react-app {Frontend} (v1.0)

"Ship pixels that perform, accessible by default."

Purpose

React 19+ project with Firebase integration. Routing (React Router v7), Auth context, Firestore hooks, TypeScript. [EXPLICIT] When to use: Frontend development within the Firebase/Google/Hostinger stack.

Core Principles

  1. Law of Semantics: HTML first, CSS second, JS third. Semantic markup is non-negotiable. [EXPLICIT]
  2. Law of Performance: Lighthouse > 90. Lazy load images. Code-split routes. Critical CSS inline. [EXPLICIT]
  3. Law of Accessibility: WCAG 2.1 AA minimum. Keyboard navigable. Screen reader tested. ARIA where needed. [EXPLICIT]

Core Process

Phase 1: Structure

  1. Define page/component structure with semantic HTML5. [EXPLICIT]
  2. Apply design tokens from .agent/.shared/design-tokens.md. [EXPLICIT]
  3. Configure responsive breakpoints (mobile-first). [EXPLICIT]

Phase 2: Build

  1. Implement with framework (React/Angular) or vanilla HTML/CSS/JS. [EXPLICIT]
  2. Integrate Firebase services (Auth, Firestore listeners, Storage). [EXPLICIT]
  3. Add loading/error states for async operations. [EXPLICIT]

Phase 3: Validate

  1. Run Lighthouse audit (> 90 on all categories). [EXPLICIT]
Installs
1
GitHub Stars
2
First Seen
Jun 18, 2026