| 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):
Fetching More Docs
- Search this skill's local
.md files first.
- 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.
- 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
- Check downloaded files first - Grep the local
.md files for your topic
- Use the overview as an index - Search
swiftui-overview.md for documentation paths
- Fetch only when needed - If no installed skill has the page, use
sosumi.ai with documentation paths from the overview
Example workflow:
grep -i "padding" view-protocol.md
grep -i "font" text.md
Sources