SkillAtlasSkill 详情

hig

Apple development skills for Claude Code, Codex, and other coding agents — current iOS 26+ APIs...

审核状态:已审核Quality 80Security 80

复制安装命令

用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。

复制前请先查看来源、License 和安全提示。

项目 README

来源文件:README.md

抓取于 2026年7月29日

Apple Skills

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.

Install

Pick your agent:

Claude Code
claude plugin marketplace add Prisma-Labs-Dev/apple-skills
claude plugin install apple-skills@apple-skills
Codex
npx skills add Prisma-Labs-Dev/apple-skills --agent codex --skill '*' -g -y
Cursor
npx skills add Prisma-Labs-Dev/apple-skills --agent cursor --skill '*' -g -y

Update

For Claude Code marketplace installs:

claude plugin update apple-skills@apple-skills

For Codex or Cursor, re-run the install command for your agent.

Uninstall

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

What's Included

Framework Reference Docs

SkillDescription
swiftuiSwiftUI views, modifiers, navigation, state management, charts
uikitUIKit views, controllers, controls, scenes, Auto Layout, presentation
swift-testingSwift Testing framework (@Test, @Suite, #expect, #require)
swift-concurrencyasync/await, Task, TaskGroup, Actor, AsyncSequence
swiftdata@Model, ModelContext, @Query, schema migrations
healthkitHKHealthStore, HKQuantitySample, workouts, health data
combinePublishers, subscribers, operators
storekitStoreKit 2 (Product, Transaction, SubscriptionStoreView)
mapkitMapKit for SwiftUI (Map, Marker, Annotation, MapCameraPosition)
tipkitTipKit (Tip protocol, TipView, TipUIPopoverViewController)
appintentsApp Intents, Siri, Shortcuts, Spotlight integration
widgetkitWidget timelines, entries, providers
usernotificationsLocal/remote notifications, triggers
eventkitEKEventStore, EKEvent, EKReminder, calendar access
photosuiPhotosPicker, photo selection
corehapticsCHHapticEngine, haptic patterns
backgroundtasksBGTaskScheduler, app refresh
xcuitestXCUITest with Swift 6 @MainActor patterns

Coordinator

SkillDescription
ios-devStart here. Routes to best-practice guides, correctness checks, and API references for any iOS/SwiftUI task

Design & Guidelines

SkillDescription
higApple Human Interface Guidelines
ios-liquid-glassLiquid Glass API reference (iOS 26+)

Workflow & Pattern Guides

Expert workflow/pattern guides that teach how to approach tasks, as opposed to the reference docs above which document what APIs exist.

SkillDescriptionOrigin
guide-swift-concurrencyConcurrency patterns — actors, structured concurrency, cancellation, diagnostics, GCD migrationtwostraws/Swift-Concurrency-Agent-Skill
guide-swift-testingSwift Testing patterns — structs over classes, async tests, exit tests, common agent mistakestwostraws/Swift-Testing-Agent-Skill
guide-swiftdataSwiftData patterns — autosave, predicates, CloudKit constraints, class inheritancetwostraws/SwiftData-Agent-Skill
guide-swiftui-animationsAnimation patterns — implicit/explicit, transitions, phase/keyframe, @AnimatableAvdLee/SwiftUI-Agent-Skill
guide-swiftui-chartsSwift Charts — marks, axes, selection, styling, Chart3D, accessibilityAvdLee/SwiftUI-Agent-Skill
guide-swiftui-performance-auditAudit and improve SwiftUI runtime performanceDimillian/Skills
guide-swiftui-ui-patternsBest practices for building SwiftUI views and componentsDimillian/Skills, twostraws/SwiftUI-Agent-Skill
guide-macos-spm-packagingScaffold, build, and package SwiftPM-based macOS apps without XcodeDimillian/Skills

Disabled 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.

SkillWhy disabled
ios-ui-craftAesthetic manifesto (anti-pattern tables, "design dark first", font/color mandates)
ios-design-consultant"Apple-approved" / Design Award framing forces HIG conformity
guide-swiftui-view-refactorMandates MV over MVVM and strict property ordering

Utilities

SkillDescription
apple-docs-indexIndex of Apple developer documentation — start here to find what you need
simulator-utilsiOS Simulator commands, screenshots, device management
apple-asoApp Store Optimization for metadata

Target Platform

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)
  • Swift concurrency (async/await, not completion handlers)
  • Liquid Glass design system
  • Swift Testing where applicable

License

MIT

其他

中风险

  • 来源需自行核对维护者身份。
  • 包含脚本或命令调用,安装前请复核。
  • 未检测到明显外部权限要求。
  • 未检测到高风险命令。
  • 扫描发现:2 条。

Codex — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/Prisma-Labs-Dev/apple-skills.git
  3. 将 "skills/hig" 文件夹复制到 Codex 的 skills 目录中。
  4. 重启 Codex 让新的 skill 生效。

Codex — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Codex 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Codex 让新的 skill 生效。

Claude Code — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/Prisma-Labs-Dev/apple-skills.git
  3. 将 "skills/hig" 文件夹复制到 Claude Code 的 skills 目录中。
  4. 重启 Claude Code 让新的 skill 生效。

Claude Code — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Claude Code 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Claude Code 让新的 skill 生效。

Cursor — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/Prisma-Labs-Dev/apple-skills.git
  3. 将 "skills/hig" 文件夹复制到 Cursor 的 skills 目录中。
  4. 重启 Cursor 让新的 skill 生效。

Cursor — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Cursor 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Cursor 让新的 skill 生效。

GitHub Copilot — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/Prisma-Labs-Dev/apple-skills.git
  3. 将 "skills/hig" 文件夹复制到 GitHub Copilot 的 skills 目录中。
  4. 重启 GitHub Copilot 让新的 skill 生效。

GitHub Copilot — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 GitHub Copilot 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 GitHub Copilot 让新的 skill 生效。

Windsurf — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/Prisma-Labs-Dev/apple-skills.git
  3. 将 "skills/hig" 文件夹复制到 Windsurf 的 skills 目录中。
  4. 重启 Windsurf 让新的 skill 生效。

Windsurf — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Windsurf 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Windsurf 让新的 skill 生效。
查看 SKILL.md 原文
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: Explore

Human Interface Guidelines Reference

Local 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.

Downloaded Reference Files

All key HIG documentation is available locally (grep-friendly):

Getting Started

FileContentSize
hig-index.mdFull HIG table of contents11KB
designing-for-ios.mdiOS design principles5KB

Foundations

FileContentSize
app-icons.mdApp icon design guidelines14KB
color.mdColor usage and system colors17KB
typography.mdFonts, text styles, Dynamic Type17KB
layout.mdLayout principles, safe areas21KB
materials.mdMaterials, blur effects, vibrancy14KB
motion.mdAnimation principles9KB
accessibility.mdAccessibility best practices19KB
sf-symbols.mdSF Symbols usage21KB

Patterns

FileContentSize
onboarding.mdOnboarding flows6KB
modality.mdModal presentations7KB
launching.mdApp launch experience6KB
feedback.mdUser feedback patterns5KB
playing-haptics.mdHaptic feedback10KB
searching.mdSearch patterns7KB
settings.mdSettings patterns7KB

Components - Navigation

FileContentSize
tab-bars.mdTab bar design11KB
navigation-bars.mdNavigation bar patterns17KB
toolbars.mdToolbar design17KB
sidebars.mdSidebar patterns8KB

Components - Presentation

FileContentSize
sheets.mdSheet presentations11KB
alerts.mdAlert dialogs10KB
action-sheets.mdAction sheets4KB
menus.mdMenu design14KB

Components - Controls

FileContentSize
buttons.mdButton styles and usage17KB
lists-and-tables.mdList and table patterns9KB
toggles.mdToggle/switch design9KB
pickers.mdPicker controls6KB
sliders.mdSlider controls6KB
steppers.mdStepper controls2KB
text-fields.mdText input fields6KB

Searching the Docs

# 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

Fetching More Docs

  1. Search this skill's local .md files first.
  2. If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or SKILL.md frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.
  3. If no installed skill has the page, use the relevant Human Interface Guidelines path with the sosumi.ai Markdown mirror. For example, /design/human-interface-guidelines/buttons maps to https://sosumi.ai/design/human-interface-guidelines/buttons.

Common HIG Doc Paths

TopicURL Path
Full Indexhuman-interface-guidelines
iOS Designhuman-interface-guidelines/designing-for-ios
iPadOS Designhuman-interface-guidelines/designing-for-ipados
macOS Designhuman-interface-guidelines/designing-for-macos
App Iconshuman-interface-guidelines/app-icons
Colorhuman-interface-guidelines/color
Typographyhuman-interface-guidelines/typography
Layouthuman-interface-guidelines/layout
Accessibilityhuman-interface-guidelines/accessibility
SF Symbolshuman-interface-guidelines/sf-symbols
Buttonshuman-interface-guidelines/buttons
Tab Barshuman-interface-guidelines/tab-bars
Navigation Barshuman-interface-guidelines/navigation-bars
Sheetshuman-interface-guidelines/sheets
Alertshuman-interface-guidelines/alerts

Quick Facts

System Button Styles (iOS)

What the system provides out of the box:

  • Plain - Text only, minimal visual weight
  • Gray - Gray background
  • Tinted - Tinted background with accent color
  • Filled - Solid background
  • Bordered - Outlined with border
  • Bordered Prominent - Filled background, high prominence

Haptic Feedback Types

  • Selection - Light tap for selection changes
  • Impact - Light/medium/heavy/rigid/soft for collisions
  • Notification - Success/warning/error for outcomes

Safe Areas (ergonomic facts)

  • Content outside safe areas can be clipped by the notch/Dynamic Island, home indicator, or rounded corners
  • Interactive elements outside safe areas may be unreachable or intercepted by system gestures
  • Backgrounds can extend edge-to-edge without those risks

Sources

Apple Documentation

WWDC Sessions

发现问题?提交给管理员复核

评分:

评论 (0)

暂无评论,成为第一个评论者吧!