ios-application-dev
Что он делает
Скилл — руководство по созданию приложений для iOS с помощью UIKit, SnapKit и SwiftUI. Он нужен разработчикам, которые хотят экраны в стиле Apple, удобные для всех.
Когда использовать
- ✓Когда вы создаёте или проверяете экран приложения для iPhone.
- ✓Когда вам нужны навигация, списки или сетки в приложении iOS.
- ✓Когда вы хотите, чтобы приложение поддерживало тёмную тему, крупный текст и доступность.
Ссылка на скилл
https://github.com/MiniMax-AI/skills/blob/main/skills/ios-application-dev/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Хочу создать экран списка на SwiftUI для моего приложения для iPhone с поддержкой крупного текста и тёмной темы.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл даёт краткий справочник компонентов для каждой задачи, а также правила для областей нажатия, безопасных зон и доступности. Агент подбирает подходящие компоненты для вашего экрана.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
iOS 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
Частые вопросы
Охватывает ли он и SwiftUI?
Да. Скилл охватывает и UIKit, и SwiftUI, с кратким справочником для каждого.
Что такое Dynamic Type?
Это настройка iOS для размера текста, и скилл показывает, как её поддерживать.
Есть ли справочные файлы?
Да. Он ссылается на дополнительные справочные файлы по отдельным темам.
Подробности
Оригинальное описание автора
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.
repo: MiniMax-AI/skills
Популярность
- Звёзды на GitHub
- 14k
- Место в рейтинге
- #11292
- Лицензия
- MIT
- Обновлён
- 18.04.2026
Комментарии
- …
Другие скиллы из этого репозитория
design-style-skill
14kПомогает агенту выбрать единый визуальный стиль для слайдов, от резкого и компактного до мягкого, скруглённого или воздушного, с согласованными углами и отступами.
ppt-editing-skill
14kПомогает агенту безопасно редактировать существующий файл PowerPoint или шаблон: менять текст, переставлять или удалять слайды и пересобирать корректную презентацию.
ppt-orchestra-skill
14kПомогает агенту спланировать всю презентацию PowerPoint до её создания: каждый слайд относится к стандартному типу страницы, а затем проверяется разнообразие и качество текста.
slide-making-skill
14kПомогает агенту писать отдельные слайды PowerPoint на JavaScript с PptxGenJS: макет, текст, изображения, диаграммы и шрифты для нативных файлов .pptx.
Похожие скиллы
android-clean-architecture
280kПомогает агенту эффективно организовывать Android-проекты. Структурирует код, чтобы его было проще поддерживать и развивать.
compose-multiplatform-patterns
280kПомогает агенту применять паттерны Compose Multiplatform и Jetpack Compose в KMP-проектах: состояние, навигация, темы и производительность.
dart-flutter-patterns
280kАгент пишет код для приложений на Dart и Flutter по современным паттернам, чтобы они были надёжными и управляемыми.