Apple-skills swiftui
API reference: SwiftUI. Query for views, layouts, navigation, @State/@Binding/@Observable, view modifiers, NavigationStack, iOS 26+ features.
install
source · Clone the upstream repo
git clone https://github.com/vabole/apple-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/vabole/apple-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/swiftui" ~/.claude/skills/vabole-apple-skills-swiftui && rm -rf "$T"
manifest:
skills/swiftui/SKILL.mdsource content
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 | Full SwiftUI framework index (907KB) |
| view-protocol.md | View protocol and all modifiers (59KB) |
| state.md | @State property wrapper |
| binding.md | @Binding property wrapper |
| environment.md | @Environment property wrapper |
| observation.md | @Observable macro (iOS 17+) |
| navigationstack.md | NavigationStack (iOS 16+) |
| navigationsplitview.md | NavigationSplitView |
| tabview.md | TabView |
| list.md | List view |
Fetching More Docs
- Search this skill's local
files first..md - If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or
frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.SKILL.md - If no installed skill has the page, use the relevant documentation path from
with theswiftui-overview.md
Markdown mirror. For example,sosumi.ai
maps to/documentation/swiftui/button
.https://sosumi.ai/documentation/swiftui/button
Common SwiftUI Doc Paths
| Topic | URL Path |
|---|---|
| Text | |
| Button | |
| Image | |
| VStack | |
| HStack | |
| ZStack | |
| Form | |
| Sheet | |
| Alert | |
| Picker | |
| Toggle | |
| Slider | |
| ProgressView | |
| AsyncImage | |
| GeometryReader | |
| ScrollView | |
| LazyVStack | |
| LazyHStack | |
| NavigationLink | |
| ToolbarItem | |
Usage Instructions
- Check downloaded files first - Grep the local
files for your topic.md - Use the overview as an index - Search
for documentation pathsswiftui-overview.md - Fetch only when needed - If no installed skill has the page, use
with documentation paths from the overviewsosumi.ai
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