Comprehensive design rules derived from Apple's Human Interface Guidelines for iPhone app development.
Works with
Covers 10 critical areas: layout and safe areas, navigation, typography with Dynamic Type support, color and Dark Mode, accessibility, gestures, components, patterns, privacy, and system integration
Includes 100+ specific rules with code examples showing correct and incorrect implementations across SwiftUI and UIKit
Provides a quick-reference table for common UI components and an ev
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionios-design-guidelinesExecute the skills CLI command in your project's root directory to begin installation:
Fetches ios-design-guidelines from ehmo/platform-design-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate ios-design-guidelines. Access via /ios-design-guidelines in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
313
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
313
stars
Comprehensive rules derived from Apple's Human Interface Guidelines. Apply these when building, reviewing, or refactoring any iPhone app interface.
Impact: CRITICAL
All interactive elements must have a minimum tap target of 44x44 points. This includes buttons, links, toggles, and custom controls.
Correct:
Button("Save") { save() }
.frame(minWidth: 44, minHeight: 44)
Incorrect:
// 20pt icon with no padding — too small to tap reliably
Button(action: save) {
Image(systemName: "checkmark")
.font(.system(size: 20))
}
// Missing .frame(minWidth: 44, minHeight: 44)
Never place interactive or essential content under the status bar, Dynamic Island, or home indicator. Use SwiftUI's automatic safe area handling or UIKit's safeAreaLayoutGuide.
Correct:
struct ContentView: View {
var body: some View {
VStack {
Text("Content")
}
// SwiftUI respects safe areas by default
}
}
Incorrect:
struct ContentView: View {
var body: some View {
VStack {
Text("Content")
}
.ignoresSafeArea() // Content will be clipped under notch/Dynamic Island
}
}
Use .ignoresSafeArea() only for background fills, images, or decorative elements — never for text or interactive controls.
Place primary actions at the bottom of the screen where the user's thumb naturally rests. Secondary actions and navigation belong at the top.
Correct:
VStack {
ScrollView { /* content */ }
Button("Continue") { next() }
.buttonStyle(.borderedProminent)
.padding()
}
Incorrect:
VStack {
Button("Continue") { next() } // Top of screen — hard to reach one-handed
.buttonStyle(.borderedProminent)
.padding()
ScrollView { /* content */ }
}
Design for iPhone SE (375pt wide) through iPhone Pro Max (430pt wide). Use flexible layouts, avoid hardcoded widths.
Correct:
HStack(spacing: 12) {
ForEach(items) { item in
CardView(item: item)
.frame(maxWidth: .infinity) // Adapts to screen width
}
}
Incorrect:
HStack(spacing: 12) {
ForEach(items) { item in
CardView(item: item)
.frame(width: 180) // Breaks on SE, wastes space on Pro Max
}
}
Align spacing, padding, and element sizes to multiples of 8 points (8, 16, 24, 32, 40, 48). Use 4pt for fine adjustments.
Support landscape orientation unless the app is task-specific (e.g., camera). Use ViewThatFits or GeometryReader for adaptive layouts.
Impact: CRITICAL
Use a tab bar at the bottom of the screen for 3 to 5 top-level sections. Each tab should represent a distinct category of content or functionality.
Correct:
TabView {
HomeView()
.tabItem {
Label("Home", systemImage: "house")
}
SearchView()
.tabItem {
Label("Search", systemImage: "magnifyingglass")
}
ProfileView()
.tabItem {
Label("Profile", systemImage: "person")
}
}
Incorrect:
// Hamburger menu hidden behind three lines — discoverability is near zero
NavigationView {
Button(action: { showMenu.toggle() }) {
Image(systemName: "line.horizontal.3")
}
}
Hamburger (drawer) menus hide navigation, reduce discoverability, and violate iOS conventions. Use a tab bar instead. If you have more than 5 sections, consolidate or use a "More" tab.
Use .navigationBarTitleDisplayMode(.large) for top-level views. Titles transition to inline (.inline) when the user scrolls.
Correct:
NavigationStack {
List(items) { item in
ItemRow(item: item)
}
.navigationTitle("Messages")
.navigationBarTitleDisplayMode(.large)
}
The swipe-from-left-edge gesture for back navigation is a system-level expectation. Never attach custom gesture recognizers that interfere with it.
Incorrect:
.gesture(
DragGesture()
.onChanged { /* custom drawer */ } // Conflicts with system back swipe
)
Use NavigationStack (not the deprecated NavigationView) for drill-down content. Use NavigationPath for programmatic navigation.
Correct:
NavigationStack(path: $path) {
List(items) { item in
NavigationLink(value: item) {
ItemRow(item: item)
}
}
.navigationDestination(for: Item.self) { item in
ItemDetail(item: item)
}
}
When users navigate back and then forward, or switch tabs, restore the previous scroll position and input state. Use @SceneStorage or @State to persist view state.
Keep current location, recent choices, and available destinations visible. Restore tab, scroll, filter, and selection state so users continue from recognition instead of reconstructing context from memory.
Impact: HIGH
Always use semantic text styles rather than hardcoded sizes. These scale automatically with Dynamic Type.
Correct:
VStack(alignment: .leading, spacing: 4) {
Text("Section Title")
.font(.headline)
Text(Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Steps
- 1Install skill using provided installation command
- 2Test with simple use case relevant to your work
- 3Evaluate output quality and relevance
- 4Iterate on prompts to improve results
- 5Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Related Skills
frontend-design
662anthropics/claude-code
Frontendtag: designantigravity-design-expert
209sickn33/antigravity-awesome-skills
Frontendtag: designhigh-end-visual-design
193leonxlnx/taste-skill
Frontendtag: designinterior-design-expert
145erichowens/some_claude_skills
Frontendtag: designtui-design
105hyperb1iss/hyperskills
Frontendtag: designgame-ui-design
64omer-metin/skills-for-antigravity
Frontendtag: designReviews
4.6★★★★★31 reviews- CCarlos Taylor★★★★★Dec 28, 2024
Solid pick for teams standardizing on skills: ios-design-guidelines is focused, and the summary matches what you get after install.
- DDev Park★★★★★Dec 24, 2024
Registry listing for ios-design-guidelines matched our evaluation — installs cleanly and behaves as described in the markdown.
- AArjun Martinez★★★★★Nov 19, 2024
We added ios-design-guidelines from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- CCarlos Brown★★★★★Nov 15, 2024
Useful defaults in ios-design-guidelines — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- IIsabella Yang★★★★★Nov 3, 2024
Keeps context tight: ios-design-guidelines is the kind of skill you can hand to a new teammate without a long onboarding doc.
- LLi Park★★★★★Oct 22, 2024
ios-design-guidelines is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- AArjun Huang★★★★★Oct 10, 2024
ios-design-guidelines fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- CCarlos Tandon★★★★★Oct 6, 2024
I recommend ios-design-guidelines for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- IIsabella Sethi★★★★★Sep 25, 2024
Solid pick for teams standardizing on skills: ios-design-guidelines is focused, and the summary matches what you get after install.
- OOshnikdeep★★★★★Sep 5, 2024
ios-design-guidelines has been reliable in day-to-day use. Documentation quality is above average for community skills.
showing 1-10 of 31
1 / 4Discussion
Comments — not star reviews- No comments yet — start the thread.