/erne-universal:higfrom erne-universal
Builds, reviews, animates, and analyzes UI with Apple Human Interface Guidelines for React Native/Expo projects. Applies HIG rules for spring physics, semantic colors, 8pt grid, and accessibility.
Ships in erne-universal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
apple-hig, react-native, expo, ui-design, animation-physics, design-review
8 skills in this plugin
/coding-standardsEnforce React Native coding standards as an actionable workflow/continuous-learning-v2Auto-generate skills and rules from observed React Native development patterns/native-module-scaffoldGuided wizard for creating Turbo Modules and Expo Modules with iOS and Android implementations/performance-optimizationStep-by-step performance diagnosis and optimization for React Native apps/security-reviewMobile security audit for React Native applications/tdd-workflowTest-driven development workflow for React Native — Jest, React Native Testing Library, and DetoxClaude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks: PreToolUse/PermissionRequest hooks are declared at the top level outside "hooks" (or under an unrecognized key) — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed, author: Invalid input: expected object, received string
.claude-plugin/plugin.json: hooks: PreToolUse/PermissionRequest hooks are declared at the top level outside "hooks" (or under an unrecognized key) — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job