본문으로 건너뛰기
cccskills
무료GitHub에 공개

ios-dev

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

TopicGuideAPI Reference
State managementswiftui-specialist (Apple, Xcode 27)swiftui (state.md, binding.md, observation.md, environment.md)
View composition—swiftui (view-protocol.md)
Performanceguide-swiftui-performance-audit—
Navigationswiftui-specialist (Apple, Xcode 27)swiftui (navigationstack.md, navigationsplitview.md, navigationlink.md)
Sheets & modalsswiftui-specialist (Apple, Xcode 27)swiftui (sheet.md, inspector.md, alert.md, confirmationdialog.md)
Lists & ForEachswiftui-specialist (Apple, Xcode 27)swiftui (list.md)
ScrollViewswiftui-specialist (Apple, Xcode 27)swiftui (scrollview.md)
Forms & input—swiftui (form.md, textfield.md, picker.md, toggle.md, slider.md)
Chartsguide-swiftui-chartsswiftui (chart.md, charts-overview.md)
Animationsswiftui-specialist (Apple, Xcode 27)swiftui (swiftui-overview.md)
Layoutswiftui-specialist (Apple, Xcode 27)swiftui (geometryreader.md, grid.md, hstack.md, vstack.md, zstack.md, spacer.md)
TabViewswiftui-specialist (Apple, Xcode 27)swiftui (tabview.md)
Liquid Glass—ios-liquid-glass
Accessibilityswiftui-specialist (Apple, Xcode 27)hig (a11y/ergonomic facts)
macOS appsguide-macos-spm-packagingswiftui, uikit
Data persistenceguide-swiftdataswiftdata
Testingguide-swift-testingswift-testing, xcuitest
Concurrencyguide-swift-concurrencyswift-concurrency
In-app purchases—storekit
Maps—mapkit
Health data—healthkit
Notifications—usernotifications
App Intents / Siriapp-intents-specialist, app-intents-whats-new-27 (Apple, Xcode 27)—
Widgets—widgetkit
App Store metadataapple-aso—
Finding docsapple-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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

apple-aso

무료

Optimize Apple App Store metadata in store.config.json for ASO (App Store Optimization). Use when working with store.config.json, App Store keywords, titles, subtitles, descriptions, or localizing app metadata. Helps maximize app visibility and downloads.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Prisma-Labs-Dev/apple-skills3472026년 9월 26일 업데이트

Index of Apple developer documentation for iOS, macOS, and related frameworks. Use when looking up what APIs exist in a framework, browsing available documentation, or deciding what docs to fetch. Covers SwiftUI, UIKit, Core Animation (QuartzCore), XCTest, HealthKit, Combine, SwiftData, and more.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Prisma-Labs-Dev/apple-skills3472026년 9월 26일 업데이트

API reference: BackgroundTasks. Query for BGTaskScheduler, app refresh, background processing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Prisma-Labs-Dev/apple-skills3472026년 9월 26일 업데이트

combine

무료

API reference: Combine. Query for publishers, subscribers, operators, async data streams.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Prisma-Labs-Dev/apple-skills3472026년 9월 26일 업데이트

API reference: Core Animation (QuartzCore). Query for CALayer, CAAnimation, CABasicAnimation, CAKeyframeAnimation, CASpringAnimation, CATransaction, CAShapeLayer, CAGradientLayer, CAEmitterLayer, CATransform3D, CADisplayLink.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Prisma-Labs-Dev/apple-skills3472026년 9월 26일 업데이트

API reference: Core Haptics. Query for CHHapticEngine, haptic patterns, tactile feedback.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Prisma-Labs-Dev/apple-skills3472026년 9월 26일 업데이트

Prisma-Labs-Dev의 스킬 모두 보기

이 스킬의 문제 신고