skills/hig/SKILL.md
Apple HIG design intelligence — build, review, animate, and analyze with Apple Human Interface Guidelines for React Native/Expo
npx skillsauth add JubaKitiashvili/everything-react-native-expo higInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Detect intent from the user's message and route to the appropriate mode:
| Intent Keywords | Mode | What Happens |
|---|---|---|
| build, create, make, design, component | Build | Apply HIG rules while creating UI |
| review, check, scan, audit, compliance | Review | Run HIG scanner on source files |
| animate, motion, spring, gesture, transition | Animate | Implement animations with HIG physics |
| video + file path | Analyze | Extract motion spec from reference video |
| tokens, theme, design system | Tokens | Generate HIG design tokens |
| No clear intent | Interactive | Ask what the user wants |
When building UI, load and apply these rules from design/hig/rules/:
design-system.md (typography, colors, spacing, corners)animation.md + craft.md (spring physics)patterns.md (sheets, tabs, transitions)Non-negotiable requirements:
borderCurve: 'continuous' on all rounded elementsuseReducedMotion with any animationexpo-haptics on key interactionsuseColorSchemewithSpring, never withTiming with linear easingSpring presets (use from design/hig/index.ts):
smooth: default for most transitionssnappy: button presses, togglesbouncy: playful elements, celebrationsgentle: background, ambient motionRun the HIG scanner from design/scanner/:
/erne-hig review ./src/screens/
/erne-hig review ./src/components/Button.tsx
Output: violations grouped by severity (critical → low), HIG score (0-100), grade (A-F), and fix suggestions.
Integrate with /erne-quality-gate — scanner runs automatically alongside code-reviewer and performance-profiler.
Load craft.md + animation.md rules. Key patterns:
FadeIn.duration(300).springify() — never abrupt appear/disappearwithDecay for momentum, snap points with withSpringuseAnimatedScrollHandler + interpolate with Extrapolation.CLAMPProcess reference video through design/video/:
/erne-hig video ./reference.mp4
Auto-detects project stack, generates Reanimated/Gesture Handler code matching the video's motion patterns.
Generate typed design tokens from design/tokens/:
/erne-hig tokens
Creates theme/hig-tokens.ts with colors, typography, spacing, shadows — ready for useColorScheme and StyleSheet.create.
development
Guided version migration for React Native and Expo SDK upgrades
development
Test-driven development workflow for React Native — Jest, React Native Testing Library, and Detox
development
Mobile security audit for React Native applications
development
Step-by-step performance diagnosis and optimization for React Native apps