form-builder

Installation
SKILL.md

form-builder {Frontend} (v1.0)

"Ship pixels that perform, accessible by default."

Purpose

Complex form construction. Multi-step, conditional fields, validation (Zod + React Hook Form / Angular Reactive Forms), Firebase submission. [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 reusable assets from assets/: form-control.css, form-step-template.html, and validation-policy.json. [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]
  4. When input is structured, render a deterministic semantic prototype with scripts/render-form-schema.py --schema <schema.json>. [EXPLICIT]

Phase 3: Validate

Installs
1
GitHub Stars
2
First Seen
Jun 18, 2026