harden
Installation
SKILL.md
Harden — Production UI Resilience & Edge Case Protection
Mandatory Pre-Flight Context Inspection
Before implementing UI component logic, you MUST inspect:
- Component state tree → Verify presence of explicit loading skeleton, error boundary fallback, and empty states
- CLS Prevention rules (Section 36) → Match skeleton placeholder dimensions exactly to incoming content elements
- String Expansion (i18n) rules (Section 40) → Avoid hardcoded pixel widths (
width: 120px); usemin-widthand flexible auto-layout
Ensure UI components gracefully handle network failures, missing data, slow connections, extreme text lengths, and internationalization.
Activation Boundaries
- Activate when: Operating in tasks requiring Make interfaces production-resilient with robust empty states, error boundaries, loading skeletons, offline indicators, and internationalization (i18n) layout support..
- DO NOT activate when: The task falls strictly outside harden domain or belongs to a different dedicated specialist.