一键导入
hig
Apple HIG design intelligence — build, review, animate, and analyze with Apple Human Interface Guidelines for React Native/Expo
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apple HIG design intelligence — build, review, animate, and analyze with Apple Human Interface Guidelines for React Native/Expo
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Video-based visual debugging — extract key frames from screen recordings and analyze UI bugs over time. Detects animation glitches, race conditions, gesture issues, scroll jank, keyboard overlap, and navigation transitions that screenshots cannot capture.
Auto-generate skills and rules from observed React Native development patterns
ERNE — Implement animations using the ui-designer agent with Reanimated and Gesture Handler
ERNE — Diagnose and fix build failures using the expo-config-resolver agent
ERNE — Comprehensive code review combining code quality and performance analysis
ERNE — Implement features using the senior-developer agent
| name | hig |
| description | Apple HIG design intelligence — build, review, animate, and analyze with Apple Human Interface Guidelines for React Native/Expo |
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.