/ios-application-dev
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific
$ npx -y skills add minimax-ai/skills --skill ios-application-dev --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ios-application-dev
Context preview
The summary Claude sees to decide when to auto-load this skill.
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific
SKILL.md
ios-application-dev.SKILL.mdname: ios-application-dev
description: |
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files.
Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.
license: MIT
metadata:
author: MiniMax-OpenSource
version: "1.0.0"
category: mobile
sources:
- Apple Human Interface Guidelines
- Apple Developer DocumentationiOS Application Development Guide
A practical guide for building iOS applications using UIKit, SnapKit, and SwiftUI. Focuses on proven patterns and Apple platform conventions.
Quick Reference
UIKit
| Purpose | Component | |---------|-----------| | Main sections | `UITabBarController` | | Drill-down | `UINavigationController` | | Focused task | Sheet presentation | | Critical choice | `UIAlertController` | | Secondary actions | `UIContextMenuInteraction` | | List content | `UICollectionView` + `DiffableDataSource` | | Sectioned list | `DiffableDataSource` + `headerMode` | | Grid layout | `UICollectionViewCompositionalLayout` | | Search | `UISearchController` | | Share | `UIActivityViewController` | | Location (once) | `CLLocationButton` | | Feedback | `UIImpactFeedbackGenerator` | | Linear layout | `UIStackView` | | Custom shapes | `CAShapeLayer` + `UIBezierPath` | | Gradients | `CAGradientLayer` | | Modern buttons | `UIButton.Configuration` | | Dynamic text | `UIFontMetrics` + `preferredFont` | | Dark mode | Semantic colors (`.systemBackground`, `.label`) | | Permissions | Contextual request + `AVCaptureDevice` | | Lifecycle | `UIApplication` notifications |
SwiftUI
| Purpose | Component | |---------|-----------| | Main sections | `TabView` + `tabItem` | | Drill-down | `NavigationStack` + `NavigationPath` | | Focused task | `.sheet` + `presentationDetents` | | Critical choice | `.alert` | | Secondary actions | `.contextMenu` | | List content | `List` + `.insetGrouped` | | Search | `.searchable` | | Share | `ShareLink` | | Location (once) | `LocationButton` | | Feedback | `UIImpactFeedbackGenerator` | | Progress (known) | `ProgressView(value:total:)` | | Progress (unknown) | `ProgressView()` | | Dynamic text | `.font(.body)` semantic styles | | Dark mode | `.primary`, `.secondary`, `Color(.systemBackground)` | | Scene lifecycle | `@Environment(\.scenePhase)` | | Reduce motion | `@Environment(\.accessibilityReduceMotion)` | | Dynamic type | `@Environment(\.dynamicTypeSize)` |
Core Principles
Layout
- Touch targets >= 44pt
- Content within safe areas (SwiftUI respects by default, use `.ignoresSafeArea()` only for backgrounds)
- Use 8pt spacing increments (8, 16, 24, 32, 40, 48)
- Primary actions in thumb zone
- Support all screen sizes (iPhone SE 375pt to Pro Max 430pt)
Typography
- UIKit: `preferredFont(forTextStyle:)` + `adjustsFontForContentSizeCategory = true`
- SwiftUI: semantic text styles `.headline`, `.body`, `.caption`
- Custom fonts: `UIFontMetrics` / `Font.custom(_:size:relativeTo:)`
- Adapt layout at accessibility sizes (minimum 11pt)
Colors
- Use semantic system colors (`.systemBackground`, `.label`, `.primary`, `.secondary`)
- Asset catalog variants for custom colors (Any/Dark Appearance)
- No color-only information (pair with icons or text)
- Contrast ratio >= 4.5:1 for normal text, 3:1 for large text
Accessibility
- Labels on icon buttons (`.accessibilityLabel()`)
- Reduce motion respected (`@Environment(\.accessibilityReduceMotion)`)
- Logical reading order (`.accessibilitySortPriority()`)
- Support Bold Text, Increase Contrast preferences
Navigation
- Tab bar (3-5 sections) stays visible during navigation
- Back swipe works (never override system gestures)
- State preserved across tabs (`@SceneStorage`, `@State`)
- Never use hamburger menus
Privacy & Permissions
- Request permissions in context (not at launch)
- Custom explanation before system dialog
- Support Sign in with Apple
- Respect ATT denial
Checklist
Layout
- [ ] Touch targets >= 44pt
- [ ] Content within safe areas
- [ ] Primary actions in thumb zone (bottom half)
- [ ] Flexible widths for all screen sizes (SE to Pro Max)
- [ ] Spacing aligns to 8pt grid
Typography
- [ ] Semantic text styles or UIFontMetrics-scaled custom fonts
- [ ] Dynamic Type supported up to accessibility sizes
- [ ] Layouts reflow at large sizes (no truncation)
- [ ] Minimum text size 11pt
Colors
- [ ] Semantic system colors or light/dark asset variants
- [ ] Dark Mode is intentional (not just inverted)
- [ ] No color-only information
- [ ] Text contrast >= 4.5:1 (normal) / 3:1 (large)
- [ ] Single accent color for interactive elements
Accessibility
- [ ] VoiceOver labels on all interactive elements
- [ ] Logical reading order
- [ ] Bold Text preference respected
- [ ] Reduce Motion disables decorative animations
- [ ] All gestures have alternative access paths
Navigation
- [ ] Tab bar for 3-5 top-level sections
- [ ] No hamburger/drawer menus
- [ ] Tab bar stays visible during navigation
- [ ] Back swipe works throughout
- [ ] State preserved across tabs
Components
- [ ] Alerts for critical decisions only
- [ ] Sheets have dismiss path (button and/or swipe)
- [ ] List rows >= 44pt tall
- [ ] Destructive buttons use `.destructive` role
Privacy
- [ ] Permissions requested in context (not at launch)
- [ ] Custom explanation before system permission dialog
- [ ] Sign in with Apple offered with other providers
- [ ] Basic features usable without account
- [ ] ATT prompt shown if tracking, denial respected
System Integration
- [ ] App handles interruptions gracefully (calls, background, Siri)
- [ ] App c
Read more
name: ios-application-dev
description: |
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files.
Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.
license: MIT
metadata:
author: MiniMax-OpenSource
version: "1.0.0"
category: mobile
sources:
- Apple Human Interface Guidelines
- Apple Developer DocumentationiOS Application Development Guide
A practical guide for building iOS applications using UIKit, SnapKit, and SwiftUI. Focuses on proven patterns and Apple platform conventions.
Quick Reference
UIKit
| Purpose | Component | |---------|-----------| | Main sections | `UITabBarController` | | Drill-down | `UINavigationController` | | Focused task | Sheet presentation | | Critical choice | `UIAlertController` | | Secondary actions | `UIContextMenuInteraction` | | List content | `UICollectionView` + `DiffableDataSource` | | Sectioned list | `DiffableDataSource` + `headerMode` | | Grid layout | `UICollectionViewCompositionalLayout` | | Search | `UISearchController` | | Share | `UIActivityViewController` | | Location (once) | `CLLocationButton` | | Feedback | `UIImpactFeedbackGenerator` | | Linear layout | `UIStackView` | | Custom shapes | `CAShapeLayer` + `UIBezierPath` | | Gradients | `CAGradientLayer` | | Modern buttons | `UIButton.Configuration` | | Dynamic text | `UIFontMetrics` + `preferredFont` | | Dark mode | Semantic colors (`.systemBackground`, `.label`) | | Permissions | Contextual request + `AVCaptureDevice` | | Lifecycle | `UIApplication` notifications |
SwiftUI
| Purpose | Component | |---------|-----------| | Main sections | `TabView` + `tabItem` | | Drill-down | `NavigationStack` + `NavigationPath` | | Focused task | `.sheet` + `presentationDetents` | | Critical choice | `.alert` | | Secondary actions | `.contextMenu` | | List content | `List` + `.insetGrouped` | | Search | `.searchable` | | Share | `ShareLink` | | Location (once) | `LocationButton` | | Feedback | `UIImpactFeedbackGenerator` | | Progress (known) | `ProgressView(value:total:)` | | Progress (unknown) | `ProgressView()` | | Dynamic text | `.font(.body)` semantic styles | | Dark mode | `.primary`, `.secondary`, `Color(.systemBackground)` | | Scene lifecycle | `@Environment(\.scenePhase)` | | Reduce motion | `@Environment(\.accessibilityReduceMotion)` | | Dynamic type | `@Environment(\.dynamicTypeSize)` |
Core Principles
Layout
- Touch targets >= 44pt
- Content within safe areas (SwiftUI respects by default, use `.ignoresSafeArea()` only for backgrounds)
- Use 8pt spacing increments (8, 16, 24, 32, 40, 48)
- Primary actions in thumb zone
- Support all screen sizes (iPhone SE 375pt to Pro Max 430pt)
Typography
- UIKit: `preferredFont(forTextStyle:)` + `adjustsFontForContentSizeCategory = true`
- SwiftUI: semantic text styles `.headline`, `.body`, `.caption`
- Custom fonts: `UIFontMetrics` / `Font.custom(_:size:relativeTo:)`
- Adapt layout at accessibility sizes (minimum 11pt)
Colors
- Use semantic system colors (`.systemBackground`, `.label`, `.primary`, `.secondary`)
- Asset catalog variants for custom colors (Any/Dark Appearance)
- No color-only information (pair with icons or text)
- Contrast ratio >= 4.5:1 for normal text, 3:1 for large text
Accessibility
- Labels on icon buttons (`.accessibilityLabel()`)
- Reduce motion respected (`@Environment(\.accessibilityReduceMotion)`)
- Logical reading order (`.accessibilitySortPriority()`)
- Support Bold Text, Increase Contrast preferences
Navigation
- Tab bar (3-5 sections) stays visible during navigation
- Back swipe works (never override system gestures)
- State preserved across tabs (`@SceneStorage`, `@State`)
- Never use hamburger menus
Privacy & Permissions
- Request permissions in context (not at launch)
- Custom explanation before system dialog
- Support Sign in with Apple
- Respect ATT denial
Checklist
Layout
- [ ] Touch targets >= 44pt
- [ ] Content within safe areas
- [ ] Primary actions in thumb zone (bottom half)
- [ ] Flexible widths for all screen sizes (SE to Pro Max)
- [ ] Spacing aligns to 8pt grid
Typography
- [ ] Semantic text styles or UIFontMetrics-scaled custom fonts
- [ ] Dynamic Type supported up to accessibility sizes
- [ ] Layouts reflow at large sizes (no truncation)
- [ ] Minimum text size 11pt
Colors
- [ ] Semantic system colors or light/dark asset variants
- [ ] Dark Mode is intentional (not just inverted)
- [ ] No color-only information
- [ ] Text contrast >= 4.5:1 (normal) / 3:1 (large)
- [ ] Single accent color for interactive elements
Accessibility
- [ ] VoiceOver labels on all interactive elements
- [ ] Logical reading order
- [ ] Bold Text preference respected
- [ ] Reduce Motion disables decorative animations
- [ ] All gestures have alternative access paths
Navigation
- [ ] Tab bar for 3-5 top-level sections
- [ ] No hamburger/drawer menus
- [ ] Tab bar stays visible during navigation
- [ ] Back swipe works throughout
- [ ] State preserved across tabs
Components
- [ ] Alerts for critical decisions only
- [ ] Sheets have dismiss path (button and/or swipe)
- [ ] List rows >= 44pt tall
- [ ] Destructive buttons use `.destructive` role
Privacy
- [ ] Permissions requested in context (not at launch)
- [ ] Custom explanation before system permission dialog
- [ ] Sign in with Apple offered with other providers
- [ ] Basic features usable without account
- [ ] ATT prompt shown if tracking, denial respected
System Integration
- [ ] App handles interruptions gracefully (calls, background, Siri)
- [ ] App c
Beta — This project is under active development. Skills, APIs, and configuration formats may change without notice. We welcome feedback and contributions. Development skills for AI coding agents.
Repo: minimax-ai/skills
Other skills on minimax-skills.
- /pr-review
Review pull requests for the MiniMax Skills repository. Use when reviewing PRs, validating new skill submissions, or checking existing skills for compliance. Run the validation script first for hard checks, then apply quality guidelines for content review. Triggers: PR review,
Open skill - /color-font-skill
Choose presentation-ready color palettes and font pairings for PPT/design tasks. Use when users ask for visual theme choices, brand-safe palettes, or font recommendations. Triggers include: 配色, 色板, 字体, color palette, font, PPT配色, 字体搭配.
Open skill - /design-style-skill
Select a consistent visual design system for PPT slides using radius/spacing style recipes. Use when users ask for overall style direction or component styling consistency. Includes Sharp/Soft/Rounded/Pill recipes, component mappings, typography/spacing rules, and mixing
Open skill - /ppt-editing-skill
Edit existing PowerPoint files or templates with XML-safe workflows. Use for template-based deck updates: analyze layouts, map content to slides, duplicate/reorder/delete slides safely, edit slide XML in parallel, clean orphaned assets, and repack validated PPTX output.
Open skill - /ppt-orchestra-skill
Plan and orchestrate multi-slide PowerPoint creation from scratch. Use before generating a full deck with subagents: classify each slide type, enforce visual variety, set typography/spacing rules, and run text-based QA to catch content issues.
Open skill - /slide-making-skill
Implement single-slide PowerPoint pages with PptxGenJS. Use when writing or fixing slide JS files: dimensions, positioning, text/image/chart APIs, styling rules, and export expectations for native .pptx output.
Open skill

