К основному содержанию
скилл CX Codex

ios-dev — скилл для Claude Code: что делает и как установить

Точка входа для разработки под iOS и SwiftUI в ИИ-агентах. Координирует руководства по паттернам, чек-лист корректности и справочники по API Apple.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Prisma-Labs-Dev/apple-skills --skill ios-dev -a claude-code
Открыть на GitHub

Что делает ios-dev

Скилл работает как диспетчер для набора Apple-навыков. Он подсказывает агенту, какой гайд или справочник загрузить при создании экранов или аудите производительности. Скилл одинаково поддерживает SwiftUI и UIKit, не навязывая конкретную архитектуру вроде MVVM или TCA.

Внутри заложены три рабочих процесса: ревью кода, улучшение существующих компонентов и создание новой функциональности. Проверка опирается на строгий чек-лист: запрет бизнес-логики в body, приватность @State и обязательный @MainActor для @Observable из-за требований многопоточности Swift 6.

Свойства @AppStorage или @Query внутри наблюдаемых классов требуют аннотации @ObservationIgnored, иначе возникнут ошибки компилятора макросов. Этот чек-лист сразу отсекает скрытые сбои синхронизации состояния.

Какие задачи решает

  • координировать выбор руководств и API Apple для задач по iOS
  • проверять SwiftUI-код по строгому чек-листу типовых ошибок
  • находить нужные гайды по навигации, анимациям и многопоточности
  • выстраивать поток данных перед написанием новой функциональности

Примеры запросов агенту

  • Проведи ревью этого SwiftUI-экрана по чек-листу ios-dev
  • Помоги спланировать архитектуру данных и написать форму ввода на SwiftUI
  • Найди руководство по оптимизации производительности списков и ScrollView

Как установить ios-dev

1Через Skills CLI (Vercel)

npx skills add Prisma-Labs-Dev/apple-skills --skill ios-dev -a claude-code

2Вручную: положить файлы

~/.claude/skills/ios-dev/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/ios-dev/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора21

ios-liquid-glass Справочник по API Liquid Glass из iOS 26+: модификаторы glassEffect, контейнеры, морфинг-переходы и навигация. Пригодится, когда верстаешь стеклянные панели в SwiftUI. CX Codex +1 803установок hig Локальный справочник Apple Human Interface Guidelines в Markdown для проверки размеров кнопок, Dynamic Type, терминологии и системных компонентов без выхода в сеть. CX Codex +1 786установок healthkit Скилл подкладывает агенту документацию по HealthKit: операции с хранилищем, выборки образцов, тренировки, единицы измерения. Пригодится, когда пишете код под iOS и не хотите каждый раз лезть в документацию Apple. CX Codex +1 712установок apple-docs-index Индекс документации Apple для iOS и macOS. Помогает агенту находить нужные API в SwiftUI, UIKit или SwiftData без лишних поисковых запросов в сеть. CX Codex +1 673установок combine Скилл поднимает документацию Combine и отвечает на вопросы про паблишеры, сабскрайберы, операторы и асинхронные потоки данных. CX Codex +1 618установок corehaptics Скилл поднимает документацию по Core Haptics, чтобы агент отвечал на вопросы про тактильную отдачу без поиска по сайту Apple. CX Codex +1 501установок usernotifications Скилл находит справку по фреймворку UserNotifications от Apple. Пригодится при настройке локальных или пуш-уведомлений в iOS и macOS. CX Codex +1 473установок apple-aso Разбирает store.config.json и приводит заголовок, подзаголовок и ключевые слова к лимитам App Store. Пригодится, когда готовите релиз или новую локализацию. CX Codex +1 471установок

Похожие

ios-developer Seth Hobson Проектирует нативные iOS-приложения на Swift 6 и SwiftUI под iOS 18, настраивает работу с Core Data и готовит сборки к App Store. CX Codex 2 684установок ios-development rshankras Скилл для iOS-разработки: разбор Swift-кода, проверка UI по Apple HIG, аудит доступности и планирование приложения. CX Codex +1 821установок ios-application-dev MiniMax-OpenSource Скилл-справочник по iOS-интерфейсам: UIKit, SnapKit и SwiftUI, чек-листы по вёрстке, Dynamic Type, тёмной теме и доступности. CX Codex +1 2 100установок ios-design-guidelines platform-design-skills Проверяет интерфейсы iPhone по правилам Apple HIG при создании и рефакторинге SwiftUI или UIKit. Нужен для навигации, доступности и адаптивной вёрстки. CX Codex +1 1 900установок swift-architecture-skill efremidze Помогает выбрать и применить архитектуру для SwiftUI или UIKit: от новой функции до рефакторинга и ревью кода. CX Codex +1 2 000установок ios-hig-design wondelai Скилл помогает проектировать нативные iOS-интерфейсы в соответствии с Human Interface Guidelines Apple. Пригодится, когда вы делаете приложение для iPhone или iPad и хотите, чтобы оно выглядело как родное для платформы. CX Codex +1 8 200установок

Рядом в теме «Мобильная разработка»

Всё по теме «Мобильная разработка» →

Вопросы о ios-dev

Как установить ios-dev в Claude Code?

Выполните команду npx skills add Prisma-Labs-Dev/apple-skills --skill ios-dev -a claude-code. Файл навыка будет сохранён по пути ~/.claude/skills/ios-dev/SKILL.md.

Что делает скилл ios-dev?

Он служит стартовой точкой для задач по iOS: определяет подходящие руководства по фреймворкам, запускает чек-лист корректности кода и помогает агенту обращаться к документации Apple.

Навязывает ли скилл конкретную архитектуру приложения?

Нет, скилл не требует обязательного использования MVVM, VIPER или TCA. Главное правило — отделять бизнес-логику от представлений и изолировать состояние.

Исходный текст

SKILL.md · MIT
---
name: ios-dev
user-invocable: true
description: "Start here for any iOS or SwiftUI task. Coordinates best-practice guides, correctness checks, and full Apple API references. Use before navigating to other Apple skills — for building, reviewing, refactoring, or debugging iOS apps."
---

# iOS Development

Start here. This skill coordinates the Apple skills collection — it tells you *which* skill to use and *when*, so you get opinionated guidance and full API references together.

## Operating Rules

- SwiftUI and UIKit are both first-class — pick whichever fits the task. UIKit is a valid choice whenever it gives more control or flexibility; when bridging the two, watch state sync, lifecycle, and animation/environment boundaries.
- Do not enforce specific architectures (MVVM, VIPER, MV, TCA, etc.) — encourage separating business logic from views without mandating how
- Hold a high bar for UI craft: apps should feel current-generation — fluid, design-forward, alive. Sweat the tiny details. Custom components, novel interactions, and custom Metal shaders are all in-bounds when they serve the experience; system defaults are a floor, not a ceiling.
- Do not prescribe how that craft is delivered — no house style, no "Apple-approved" gatekeeping, no aesthetic checklists. Design direction is your own judgment call, made per app. The `hig` and `ios-liquid-glass` skills document what the system provides; they are references, not style mandates. **When the task is designing a screen or making it look good, there is no doc to route to** — design from your own taste; grep references only when you need API mechanics or a factual minimum (e.g. hit-target sizes).
- Present performance optimizations as suggestions backed by reasoning, not blanket requirements
- When you need exact API details, grep the framework reference skills — they contain full Apple documentation

## Task Workflows

### Review existing code

1. Read the code and identify which topics apply
2. Run the **Correctness Checklist** below — violations are bugs
3. Use the **Topic Router** to load the relevant guide for each topic
4. For API correctness, grep the matching framework reference skill

### Improve existing code

1. Run the correctness checklist first
2. For performance issues: use `guide-swiftui-performance-audit`
3. For navigation, state, or pattern questions: use Apple's `swiftui-specialist` (shipped with Xcode 27; exported to the user skills dir), then the `swiftui` API reference
4. For API details: grep the matching framework reference skill

### Build a new feature

1. Design data flow first — identify owned vs. injected state
2. For UI patterns and app wiring: use Apple's `swiftui-specialist`, then the `swiftui` API reference
3. For API details: grep the matching framework reference skill
4. Structure views for optimal diffing — extract subviews early
5. Run the correctness checklist before finishing

## Topic Router

The **Guide** column has opinionated, short pattern guides. The **API Reference** column has full Apple documentation as grepable Markdown — use `apple-docs-index` to find which framework has what.

| Topic | Guide | API Reference |
|-------|-------|---------------|
| State management | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (state.md, binding.md, observation.md, environment.md) |
| View composition | — | `swiftui` (view-protocol.md) |
| Performance | `guide-swiftui-performance-audit` | — |
| Navigation | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (navigationstack.md, navigationsplitview.md, navigationlink.md) |
| Sheets & modals | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (sheet.md, inspector.md, alert.md, confirmationdialog.md) |
| Lists & ForEach | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (list.md) |
| ScrollView | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (scrollview.md) |
| Forms & input | — | `swiftui` (form.md, textfield.md, picker.md, toggle.md, slider.md) |
| Charts | `guide-swiftui-charts` | `swiftui` (chart.md, charts-overview.md) |
| Animations | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (swiftui-overview.md) |
| Layout | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (geometryreader.md, grid.md, hstack.md, vstack.md, zstack.md, spacer.md) |
| TabView | `swiftui-specialist` (Apple, Xcode 27) | `swiftui` (tabview.md) |
| Liquid Glass | — | `ios-liquid-glass` |
| Accessibility | `swiftui-specialist` (Apple, Xcode 27) | `hig` (a11y/ergonomic facts) |
| macOS apps | `guide-macos-spm-packaging` | `swiftui`, `uikit` |
| Data persistence | `guide-swiftdata` | `swiftdata` |
| Testing | `guide-swift-testing` | `swift-testing`, `xcuitest` |
| Concurrency | `guide-swift-concurrency` | `swift-concurrency` |
| In-app purchases | — | `storekit` |
| Maps | — | `mapkit` |
| Health data | — | `healthkit` |
| Notifications | — | `usernotifications` |
| App Intents / Siri | `app-intents-specialist`, `app-intents-whats-new-27` (Apple, Xcode 27) | — |
| Widgets | — | `widgetkit` |
| App Store metadata | `apple-aso` | — |
| Finding docs | `apple-docs-index` | — |

## Correctness Checklist

These are hard rules — violations are always bugs:

- [ ] `@State` properties are `private`
- [ ] `@Binding` only where a child needs to mutate parent state
- [ ] Values passed in are never declared as `@State` — they silently ignore updates
- [ ] Use `@State` with `@Observable` classes — not `@StateObject` or `ObservableObject`
- [ ] Use `@Bindable` for injected observables that need bindings
- [ ] `ForEach` uses stable identity — never `.indices` on dynamic content
- [ ] Each `ForEach` element produces a constant number of views
- [ ] `.animation(_:value:)` always includes the `value:` parameter
- [ ] `@FocusState` properties are `private`
- [ ] `@Observable` classes are `@MainActor` — Swift 6 strict concurrency requires it
- [ ] Property wrappers (`@AppStorage`, `@SceneStorage`, `@Query`) inside `@Observable` classes are marked `@ObservationIgnored` — they conflict with the macro and cause compiler errors
- [ ] No business logic in `body` — use `.task`, `.onChange`, or methods
- [ ] No `AnyView` unless truly unavoidable — fix with better composition

## Related Skills

**System API reference:**
- `/ios-liquid-glass` — Liquid Glass API reference

**Workflow guides:**
- `/swiftui-specialist` — Apple's SwiftUI best practices (Xcode 27): structure, data flow, environment, ForEach identity, localization, soft deprecations
- `/swiftui-whats-new-27` — iOS 27 SwiftUI changes (@State macro, @ContentBuilder, reorderable, toolbar overflow)
- `/guide-swiftui-charts` — Marks, axes, selection, styling, accessibility
- `/guide-swiftui-performance-audit` — Diagnose and fix performance issues
- `/guide-swift-testing` — Swift Testing patterns, async tests, common agent mistakes
- `/guide-swift-concurrency` — Concurrency patterns, actors, diagnostics, bug patterns
- `/guide-swiftdata` — SwiftData patterns, predicates, CloudKit constraints
- `/guide-macos-spm-packaging` — Build macOS apps with SwiftPM

**Utilities:**
- `/apple-docs-index` — Find the right Apple documentation
- `/apple-aso` — App Store Optimization

© Prisma-Labs-Dev · MIT · Prisma-Labs-Dev/apple-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой