/SKILL.md
Audit iOS/macOS UI against Apple Human Interface Guidelines. Provides context-aware, multi-perspective feedback on colors, typography, layout, accessibility, and platform conventions.
npx skillsauth add jacoblewisau/design-hig-principles design-hig-principlesInstall 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.
<essential_principles>
Every HIG audit applies these complementary lenses:
1. Clarity Perspective — "Does the interface communicate clearly?"
2. Consistency Perspective — "Does this feel like an Apple platform app?"
3. Deference Perspective — "Does the UI stay out of the way?"
Golden Rule: "Deference makes an app beautiful by ensuring the content stands out while the surrounding visual elements do not compete with it." — Apple HIG </essential_principles>
<workflow> ## Step 1: Context ReconnaissanceBefore evaluating any UI, gather project intelligence:
Check project type — What kind of app is this?
Scan for common patterns
Search for:
- Hardcoded colors (.white, .black, Color(red:...))
- Fixed font sizes (.system(size: 17))
- Missing accessibility labels
- Custom touch targets under 44pt
- Animations without Reduce Motion checks
Identify platform targets — iOS, iPadOS, macOS, watchOS, visionOS?
Perform HIG Gap Analysis Search for these anti-patterns:
Color(red: or Color(hex: without asset catalog fallback.font(.system(size: without relativeTo:Button or Image without .accessibilityLabel.frame(width: or .frame(height: under 44 for interactive elementswithAnimation without @Environment(\.accessibilityReduceMotion)After reconnaissance, present findings and ask user to confirm context weighting before full audit.
Read the audit checklist, then read perspective-specific references based on project type:
| Project Type | Primary Refs | Secondary Refs | |--------------|--------------|----------------| | Productivity | clarity.md, consistency.md | accessibility.md | | Media/Content | deference.md, colors.md | typography.md | | Creative | all three perspectives | platform-specific.md | | Utility | clarity.md, accessibility.md | consistency.md |
Always include: accessibility.md review (mandatory for every audit)
Present findings with this structure:
┌─────────────────────────────────────────┐
│ HIG AUDIT SUMMARY │
│ Project: [name] | Platform: [target] │
│ Critical: X | Important: Y | Minor: Z │
└─────────────────────────────────────────┘
## Overall Assessment
[2-3 sentence summary of HIG compliance]
## Clarity Perspective
### Working Well
- [items that support clear communication]
### Issues Found
- [specific violations with file:line references]
### Perspective Summary
[How well does the UI communicate its purpose?]
---
## Consistency Perspective
### Working Well
- [items following platform conventions]
### Issues Found
- [specific violations with file:line references]
### Perspective Summary
[How well does this feel like a native app?]
---
## Deference Perspective
### Working Well
- [items that let content shine]
### Issues Found
- [specific violations with file:line references]
### Perspective Summary
[How well does the UI stay out of the way?]
---
## Combined Recommendations
| Priority | Issue | Fix | Effort |
|----------|-------|-----|--------|
| Critical | [issue] | [solution] | [Low/Med/High] |
| Important | [issue] | [solution] | [Low/Med/High] |
| Minor | [issue] | [solution] | [Low/Med/High] |
## Quick Reference
- Clarity: [focused on X]
- Consistency: [focused on Y]
- Deference: [focused on Z]
</workflow>
<severity_levels>
Critical (Must Fix)
Important (Should Fix)
Context-Dependent
Nice to Have
<reference_library>
This skill has 21 detailed reference documents covering every aspect of Apple HIG:
references/audit-checklist.md — Systematic evaluation criteria for all domainsreferences/philosophy.md — The "why" behind Clarity, Consistency, Deferencereferences/accessibility.md — Vision, mobility, cognitive, hearing accessibility (MANDATORY)references/common-mistakes.md — Anti-patterns with fixesreferences/colors.md — Semantic color system, dark mode, contrast requirementsreferences/typography.md — Text styles, Dynamic Type, font weight guidelinesreferences/sf-symbols.md — Symbol usage, weights, rendering modes, accessibilityreferences/materials-depth.md — Blur, vibrancy, materials, visual layersreferences/dark-mode.md — Dark mode design, elevation, color adaptationreferences/layout-spacing.md — 8pt grid, safe areas, adaptive layout, marginsreferences/lists-collections.md — List styles, grids, lazy loading, interactionsreferences/navigation-architecture.md — Navigation patterns, deep linking, state restorationreferences/controls-inputs.md — All system controls, forms, pickers, inputsreferences/gestures-touch.md — Gesture design, touch targets, hit testingreferences/modals-sheets.md — Sheets, alerts, popovers, confirmation dialogsreferences/motion-animation.md — Timing, springs, choreography, Reduce Motionreferences/haptics-feedback.md — UIFeedbackGenerator, sensory feedback patternsreferences/feedback-status.md — Progress, loading, success/error statesreferences/platform-specific.md — iOS, iPadOS, macOS, watchOS, tvOS, visionOSreferences/branding.md — Appropriate branding, launch screens, app iconsreferences/onboarding-ftue.md — First-run experience, permissions, feature discoveryreferences/localization-rtl.md — Internationalization, RTL support, formattingreferences/privacy-ux.md — Permission requests, Privacy Manifest, data handling
</reference_library><required_reading>
references/audit-checklist.md — Start herereferences/philosophy.md — Understand the three perspectivesreferences/accessibility.md — ALWAYS requiredreferences/common-mistakes.md — Know what to look forreferences/colors.mdreferences/typography.mdreferences/dark-mode.mdreferences/accessibility.mdreferences/gestures-touch.md (touch targets)references/motion-animation.md (Reduce Motion)references/navigation-architecture.mdreferences/modals-sheets.mdreferences/platform-specific.mdreferences/controls-inputs.mdreferences/gestures-touch.mdreferences/haptics-feedback.mdreferences/feedback-status.mdRead all core references plus:
references/privacy-ux.mdreferences/localization-rtl.mdreferences/branding.md
</required_reading><context_mapping>
| App Category | Primary Focus | Why | |--------------|---------------|-----| | Productivity (Linear, Notion) | Clarity + Consistency | Users have clear goals, efficiency matters | | Media (Photos, Music) | Deference | Content is the hero | | Social (Messages, Twitter) | Consistency | Familiarity reduces friction | | Creative (Procreate, Figma) | Balance all | Both tool clarity and canvas deference | | Utility (Calculator, Weather) | Clarity | Single purpose, immediate understanding | | Games | Deference | Immersion over conventions | | Enterprise | Consistency | Training costs, reliability | </context_mapping>
<success_criteria> A complete HIG audit:
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).