复制安装命令
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
Apple development skills for Claude Code, Codex, and other coding agents — current iOS 26+ APIs...
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
来源文件:README.md
Apple development skills for Claude Code, Codex, and other coding agents — current iOS 26+ APIs, SwiftUI, UIKit, Liquid Glass, Human Interface Guidelines, and practical workflow guides.
Pick your agent:
claude plugin marketplace add Prisma-Labs-Dev/apple-skills
claude plugin install apple-skills@apple-skills
npx skills add Prisma-Labs-Dev/apple-skills --agent codex --skill '*' -g -y
npx skills add Prisma-Labs-Dev/apple-skills --agent cursor --skill '*' -g -y
For Claude Code marketplace installs:
claude plugin update apple-skills@apple-skills
For Codex or Cursor, re-run the install command for your agent.
For Claude Code marketplace installs:
claude plugin uninstall apple-skills@apple-skills
For Skills CLI installs, run the remover and select the Apple Skills entries:
npx skills remove -g
| Skill | Description |
|---|---|
| swiftui | SwiftUI views, modifiers, navigation, state management, charts |
| uikit | UIKit views, controllers, controls, scenes, Auto Layout, presentation |
| swift-testing | Swift Testing framework (@Test, @Suite, #expect, #require) |
| swift-concurrency | async/await, Task, TaskGroup, Actor, AsyncSequence |
| swiftdata | @Model, ModelContext, @Query, schema migrations |
| healthkit | HKHealthStore, HKQuantitySample, workouts, health data |
| combine | Publishers, subscribers, operators |
| storekit | StoreKit 2 (Product, Transaction, SubscriptionStoreView) |
| mapkit | MapKit for SwiftUI (Map, Marker, Annotation, MapCameraPosition) |
| tipkit | TipKit (Tip protocol, TipView, TipUIPopoverViewController) |
| appintents | App Intents, Siri, Shortcuts, Spotlight integration |
| widgetkit | Widget timelines, entries, providers |
| usernotifications | Local/remote notifications, triggers |
| eventkit | EKEventStore, EKEvent, EKReminder, calendar access |
| photosui | PhotosPicker, photo selection |
| corehaptics | CHHapticEngine, haptic patterns |
| backgroundtasks | BGTaskScheduler, app refresh |
| xcuitest | XCUITest with Swift 6 @MainActor patterns |
| Skill | Description |
|---|---|
| ios-dev | Start here. Routes to best-practice guides, correctness checks, and API references for any iOS/SwiftUI task |
| Skill | Description |
|---|---|
| hig | Apple Human Interface Guidelines |
| ios-liquid-glass | Liquid Glass API reference (iOS 26+) |
Expert workflow/pattern guides that teach how to approach tasks, as opposed to the reference docs above which document what APIs exist.
| Skill | Description | Origin |
|---|---|---|
| guide-swift-concurrency | Concurrency patterns — actors, structured concurrency, cancellation, diagnostics, GCD migration | twostraws/Swift-Concurrency-Agent-Skill |
| guide-swift-testing | Swift Testing patterns — structs over classes, async tests, exit tests, common agent mistakes | twostraws/Swift-Testing-Agent-Skill |
| guide-swiftdata | SwiftData patterns — autosave, predicates, CloudKit constraints, class inheritance | twostraws/SwiftData-Agent-Skill |
| guide-swiftui-animations | Animation patterns — implicit/explicit, transitions, phase/keyframe, @Animatable | AvdLee/SwiftUI-Agent-Skill |
| guide-swiftui-charts | Swift Charts — marks, axes, selection, styling, Chart3D, accessibility | AvdLee/SwiftUI-Agent-Skill |
| guide-swiftui-performance-audit | Audit and improve SwiftUI runtime performance | Dimillian/Skills |
| guide-swiftui-ui-patterns | Best practices for building SwiftUI views and components | Dimillian/Skills, twostraws/SwiftUI-Agent-Skill |
| guide-macos-spm-packaging | Scaffold, build, and package SwiftPM-based macOS apps without Xcode | Dimillian/Skills |
Skills in disabled-skills/ are kept in the repo but not loaded by agents. They impose a specific taste or architecture (aesthetic manifestos, MV-over-MVVM mandates, "Apple-approved" design gatekeeping) — the model should form its own design judgment and use the reference docs for facts. Move a directory back into skills/ to re-enable it.
| Skill | Why disabled |
|---|---|
| ios-ui-craft | Aesthetic manifesto (anti-pattern tables, "design dark first", font/color mandates) |
| ios-design-consultant | "Apple-approved" / Design Award framing forces HIG conformity |
| guide-swiftui-view-refactor | Mandates MV over MVVM and strict property ordering |
| Skill | Description |
|---|---|
| apple-docs-index | Index of Apple developer documentation — start here to find what you need |
| simulator-utils | iOS Simulator commands, screenshots, device management |
| apple-aso | App Store Optimization for metadata |
These skills intentionally target the latest Apple APIs and platform conventions.
Why bleeding edge? LLMs already have plenty of legacy Apple APIs in their training data — when a project needs backward compatibility, agents can add it on their own. But for the newest APIs, agents need to be steered with up-to-date docs; without them, they'll hallucinate or fall back to deprecated patterns.
iOS 26+ / Swift 6 — no legacy patterns. Uses:
@Observable macro (not ObservableObject)NavigationStack (not NavigationView)async/await, not completion handlers)MIT
name: hig
user-invocable: true
description: "Fact lookup: Apple Human Interface Guidelines corpus (greppable markdown). Query on demand for accessibility and ergonomic minimums (hit-target sizes, Dynamic Type), platform terminology, system component capabilities, and App-Review-relevant conventions. Not design direction."
context: fork
agent: ExploreLocal greppable copy of Apple's Human Interface Guidelines — an on-demand fact lookup, not design direction.
Use it to answer factual questions: what a system component can do, what Apple calls something, accessibility and ergonomic minimums (44pt hit targets, Dynamic Type behavior, contrast), and conventions App Review actually checks.
Visual design in our repos is the designing model's own taste. Consult the HIG for facts, never for aesthetics — it describes what the system provides and requires, not what your screen should look like.
All key HIG documentation is available locally (grep-friendly):
| File | Content | Size |
|---|---|---|
| hig-index.md | Full HIG table of contents | 11KB |
| designing-for-ios.md | iOS design principles | 5KB |
| File | Content | Size |
|---|---|---|
| app-icons.md | App icon design guidelines | 14KB |
| color.md | Color usage and system colors | 17KB |
| typography.md | Fonts, text styles, Dynamic Type | 17KB |
| layout.md | Layout principles, safe areas | 21KB |
| materials.md | Materials, blur effects, vibrancy | 14KB |
| motion.md | Animation principles | 9KB |
| accessibility.md | Accessibility best practices | 19KB |
| sf-symbols.md | SF Symbols usage | 21KB |
| File | Content | Size |
|---|---|---|
| onboarding.md | Onboarding flows | 6KB |
| modality.md | Modal presentations | 7KB |
| launching.md | App launch experience | 6KB |
| feedback.md | User feedback patterns | 5KB |
| playing-haptics.md | Haptic feedback | 10KB |
| searching.md | Search patterns | 7KB |
| settings.md | Settings patterns | 7KB |
| File | Content | Size |
|---|---|---|
| tab-bars.md | Tab bar design | 11KB |
| navigation-bars.md | Navigation bar patterns | 17KB |
| toolbars.md | Toolbar design | 17KB |
| sidebars.md | Sidebar patterns | 8KB |
| File | Content | Size |
|---|---|---|
| sheets.md | Sheet presentations | 11KB |
| alerts.md | Alert dialogs | 10KB |
| action-sheets.md | Action sheets | 4KB |
| menus.md | Menu design | 14KB |
| File | Content | Size |
|---|---|---|
| buttons.md | Button styles and usage | 17KB |
| lists-and-tables.md | List and table patterns | 9KB |
| toggles.md | Toggle/switch design | 9KB |
| pickers.md | Picker controls | 6KB |
| sliders.md | Slider controls | 6KB |
| steppers.md | Stepper controls | 2KB |
| text-fields.md | Text input fields | 6KB |
# Find color guidance
grep -i "semantic" color.md
# Find button styles
grep -i "bordered" buttons.md
# Find haptic patterns
grep -i "notification" playing-haptics.md
# Browse the full HIG index
grep -i "navigation" hig-index.md
.md files first.SKILL.md frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.sosumi.ai Markdown mirror. For example, /design/human-interface-guidelines/buttons maps to https://sosumi.ai/design/human-interface-guidelines/buttons.| Topic | URL Path |
|---|---|
| Full Index | human-interface-guidelines |
| iOS Design | human-interface-guidelines/designing-for-ios |
| iPadOS Design | human-interface-guidelines/designing-for-ipados |
| macOS Design | human-interface-guidelines/designing-for-macos |
| App Icons | human-interface-guidelines/app-icons |
| Color | human-interface-guidelines/color |
| Typography | human-interface-guidelines/typography |
| Layout | human-interface-guidelines/layout |
| Accessibility | human-interface-guidelines/accessibility |
| SF Symbols | human-interface-guidelines/sf-symbols |
| Buttons | human-interface-guidelines/buttons |
| Tab Bars | human-interface-guidelines/tab-bars |
| Navigation Bars | human-interface-guidelines/navigation-bars |
| Sheets | human-interface-guidelines/sheets |
| Alerts | human-interface-guidelines/alerts |
What the system provides out of the box:
评论 (0)
暂无评论,成为第一个评论者吧!