SwiftUI Reference

SkillMonitoring & ops

This skill gives your AI Apple's own SwiftUI and platform guidance, extracted from Xcode. Once added, your AI can write and review SwiftUI code that follows Apple's recommended patterns instead of guessing at the right approach.

Use SwiftUI Reference in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add SwiftUI Reference and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the SwiftUI Reference skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add the skill, then ask your AI a SwiftUI question or share code you want it to improve. It will draw on Apple's guidance when it answers.

SwiftUI ReferenceStart free

What your AI can do with it

  • Answer SwiftUI questions using Apple's own guidance
  • Write SwiftUI views that follow Apple's recommended patterns
  • Review your SwiftUI code against Apple's documented practices
  • Explain Apple platform conventions while building interfaces
  • Suggest layouts and view structures based on Apple's guidance

What this skill tells your AI

The instructions your AI receives, as published by prisma-labs-dev/apple-skills in skills/swiftui/SKILL.md and read by Ahel’s review.

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

Downloaded Reference Files

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

FileContent
swiftui-overview.mdFull SwiftUI framework index (907KB)
view-protocol.mdView 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.mdNavigationStack (iOS 16+)
navigationsplitview.mdNavigationSplitView
tabview.mdTabView
list.mdList view
canvas.mdCanvas — immediate-mode drawing (iOS 15+)
graphicscontext.mdGraphicsContext — 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

TopicURL Path
Textswiftui/text
Buttonswiftui/button
Imageswiftui/image
VStackswiftui/vstack
HStackswiftui/hstack
ZStackswiftui/zstack
Formswiftui/form
Sheetswiftui/sheet
Alertswiftui/alert
Pickerswiftui/picker
Toggleswiftui/toggle
Sliderswiftui/slider
ProgressViewswiftui/progressview
AsyncImageswiftui/asyncimage
GeometryReaderswiftui/geometryreader
ScrollViewswiftui/scrollview
LazyVStackswiftui/lazyvstack
LazyHStackswiftui/lazyhstack
NavigationLinkswiftui/navigationlink
ToolbarItemswiftui/toolbaritem
Canvasswiftui/canvas
GraphicsContextswiftui/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

Signals

GitHub stars
338
Forks
19
Last commit
Sep 2026
Advanced
Item type
skill
Key
swiftui
Source
github.com/prisma-labs-dev/apple-skills