Skip to content
Development
Skill

/swiftui

API reference: SwiftUI. Query for views, layouts, navigation, @State/@Binding/@Observable, view modifiers, NavigationStack, iOS 26+ features.

From plugin
prisma-labs-dev-apple-skills
29933 skills
Install
$ npx -y skills add Prisma-Labs-Dev/apple-skills --skill swiftui --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/swiftui

Context preview

The summary Claude sees to decide when to auto-load this skill.

API reference: SwiftUI. Query for views, layouts, navigation, @State/@Binding/@Observable, view modifiers, NavigationStack, iOS 26+ features.

SKILL.md

swiftui.SKILL.md
name: swiftui
user-invocable: true
description: "API reference: SwiftUI. Query for views, layouts, navigation, @State/@Binding/@Observable, view modifiers, NavigationStack, iOS 26+ features."
context: fork
agent: Explore

SwiftUI Reference

This skill provides access to SwiftUI documentation via downloaded reference files.

Downloaded Reference Files

The following Apple documentation pages are available locally (grep-friendly):

| File | Content | |------|---------| | [swiftui-overview.md](swiftui-overview.md) | Full SwiftUI framework index (907KB) | | [view-protocol.md](view-protocol.md) | View protocol and all modifiers (59KB) | | [state.md](state.md) | @State property wrapper | | [binding.md](binding.md) | @Binding property wrapper | | [environment.md](environment.md) | @Environment property wrapper | | [observation.md](observation.md) | @Observable macro (iOS 17+) | | [navigationstack.md](navigationstack.md) | NavigationStack (iOS 16+) | | [navigationsplitview.md](navigationsplitview.md) | NavigationSplitView | | [tabview.md](tabview.md) | TabView | | [list.md](list.md) | List view | | [canvas.md](canvas.md) | Canvas — immediate-mode drawing (iOS 15+) | | [graphicscontext.md](graphicscontext.md) | GraphicsContext — drawing API used inside Canvas |

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 documentation path from `swiftui-overview.md` with the `sosumi.ai` Markdown mirror. For example, `/documentation/swiftui/button` maps to `https://sosumi.ai/documentation/swiftui/button`.

Common SwiftUI Doc Paths

| Topic | URL Path | |-------|----------| | Text | `swiftui/text` | | Button | `swiftui/button` | | Image | `swiftui/image` | | VStack | `swiftui/vstack` | | HStack | `swiftui/hstack` | | ZStack | `swiftui/zstack` | | Form | `swiftui/form` | | Sheet | `swiftui/sheet` | | Alert | `swiftui/alert` | | Picker | `swiftui/picker` | | Toggle | `swiftui/toggle` | | Slider | `swiftui/slider` | | ProgressView | `swiftui/progressview` | | AsyncImage | `swiftui/asyncimage` | | GeometryReader | `swiftui/geometryreader` | | ScrollView | `swiftui/scrollview` | | LazyVStack | `swiftui/lazyvstack` | | LazyHStack | `swiftui/lazyhstack` | | NavigationLink | `swiftui/navigationlink` | | ToolbarItem | `swiftui/toolbaritem` | | Canvas | `swiftui/canvas` | | GraphicsContext | `swiftui/graphicscontext` |

Usage Instructions

1. **Check downloaded files first** - Grep the local `.md` files for your topic 2. **Use the overview as an index** - Search `swiftui-overview.md` for documentation paths 3. **Fetch only when needed** - If no installed skill has the page, use `sosumi.ai` with documentation paths from the overview

Example workflow:

# Looking for info on modifiers?
grep -i "padding" view-protocol.md

# Need full Text documentation? Check the local file first.
grep -i "font" text.md

Sources

  • [SwiftUI | Apple Developer Documentation](https://developer.apple.com/documentation/swiftui)
Read more
Ships withprisma-labs-dev-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.

Get the whole plugin
Stats
300
Stars
16
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4h ago
Last commit
5mo ago
Created

Repo: Prisma-Labs-Dev/apple-skills