administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and…
Builds form components and data collection interfaces including contact forms, registration flows, checkout processes, surveys, and settings pages. Includes 50+ input types, validation strategies, accessibility patterns (WCAG 2.1), multi-step wizards, and UX best practices.
Claude Code
$ npx -y skills add ancoleman/ai-design-components --skill building-forms --agent claude-code
Codex
$ npx skills add ancoleman/ai-design-components --skill building-forms -a codex -y
Cursor
$ npx skills add ancoleman/ai-design-components --skill building-forms -a cursor -y
Gemini CLI
$ npx skills add ancoleman/ai-design-components --skill building-forms -a gemini-cli -y
GitHub Copilot
$ npx skills add ancoleman/ai-design-components --skill building-forms -a github-copilot -y
OpenCode
$ npx skills add ancoleman/ai-design-components --skill building-forms -a opencode -y
Windsurf
$ npx skills add ancoleman/ai-design-components --skill building-forms -a windsurf -y
name: building-forms description: Builds form components and data collection interfaces including contact forms, registration flows, checkout processes, surveys, and settings pages. Includes 50+ input types, validation strategies, accessibility patterns (WCAG 2.1), multi-step wizards, and UX best practices. Provides decision trees from data type to component selection, validation timing guidance, and error handling patterns. Use when creating forms, collecting user input, building surveys, implementing validation, designing multi-step workflows, or ensuring form accessibility.
Build accessible, user-friendly forms with systematic component selection, validation strategies, and UX best practices.
Forms are the primary mechanism for user data input in web applications. This skill provides systematic guidance for:
**Triggers:**
**Common Requests:**
**The Golden Rule:** Data Type → Input Component → Validation Pattern
Start by identifying the data type to collect, then select the appropriate component:
**Quick Reference:**
**For detailed decision tree:** See `references/decision-tree.md`
**Recommended Default: On Blur with Progressive Enhancement**
Field pristine (never touched): No validation User typing: No errors shown On blur (field loses focus): Validate and show errors After first error: Switch to onChange for that field On fix: Show success immediately
**Validation Modes:** 1. **On Submit** - Validate when form submitted (simple forms) 2. **On Blur** - Validate when field loses focus (RECOMMENDED for most forms) 3. **On Change** - Validate as user types (password strength, availability checks) 4. **Debounced** - Validate after user stops typing (API-based validation) 5. **Progressive** - Start with on-blur, switch to on-change after first error
**For complete validation guide:** See `references/validation-concepts.md`
**Critical Accessibility Patterns:**
**Labels and Instructions:**
**Keyboard Navigation:**
**Error Handling:**
**ARIA Attributes:**
**For complete accessibility checklist:** See `references/accessibility-forms.md`
**Modern Form UX Principles (2024-2025):**
1. **Progressive Disclosure** - Show only essential fields initially, reveal advanced options on demand 2. **Smart Defaults** - Pre-fill known information, suggest values based on context 3. **Inline Validation with Positive Feedback** - Show green checkmark on valid input, provide helpful error messages 4. **Mobile-First** - Large touch targets (44px minimum), appropriate keyboard types 5. **Reduce Cognitive Load** - Group related fields, use clear labels, provide examples 6. **Error Prevention** - Constraints prevent invalid input, autocomplete reduces typos 7. **Autosave and Recovery** - Save draft state automatically, warn before losing data
**For detailed UX patterns:** See `references/ux-patterns.md`
**Good Error Message Formula:** 1. **What's wrong** - "Email address is not valid" 2. **Why it matters** - "We need this to send your receipt" 3. **How to fix** - "Format: name@example.com"
**Examples:**
❌ **Bad:** "Invalid input" ✅ **Good:** "Email address must include @ symbol (e.g., name@example.com)"
❌ **Bad:** "Error" ✅ **Good:** "Password must be at least 8 characters long"
❌ **Bad:** "Field required" ✅ **Good:** "Please enter your email address so we can send order confirmation"
**Tone Guidelines:**
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving,…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.