swiftui-skills
ListedApple-authored SwiftUI and platform guidance extracted from Xcode. Helps AI agents write idiomatic, Apple-native SwiftUI with reduced hallucinations.
Install on your platform
Showing OpenClaw.
- 1
Run this in your terminal
terminal$
What we know about this skill
Publisher
ameyalambat128
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 2 hosts that are neither well-known infrastructure nor declared in the skill's frontmatter: apps.apple.com, developer.apple.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
apps.apple.comundeclareddeveloper.apple.comundeclaredWhat it found
- skills/swiftui-skills/setup.sh:223contacts apps.apple.com
print_substep "- App Store: https://apps.apple.com/app/xcode/id497799835" - skills/swiftui-skills/setup.sh:224contacts developer.apple.com
print_substep "- Developer: https://developer.apple.com/xcode/"
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned ameyalambat128/swiftui-skills at c7d3315ff9.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- c7d3315ff9
- Manifest
- skills/swiftui-skills/SKILL.md
- Scanned
- 9 files, 451 lines
About this skill
What it does
This skill leverages Apple's official SwiftUI documentation and platform guidance to generate code snippets and complete views in a manner consistent with Apple’s design principles. It helps ensure generated SwiftUI code is accurate, follows best practices, and avoids common pitfalls that lead to non-functional or visually incorrect results. The skill focuses on producing idiomatic SwiftUI code for iOS, macOS, watchOS, and tvOS applications.
When to use it
- Generating a basic list view with data from an array.
- Creating custom UI elements using
VStack,HStack, and other layout containers. - Implementing state management within a SwiftUI view using
@Stateor@ObservedObject. - Building previews for SwiftUI views to ensure they render correctly across different devices and screen sizes.
Key capabilities
- Generates idiomatic SwiftUI code.
- Adheres to Apple’s design principles.
- Provides platform guidance (iOS, macOS, watchOS, tvOS).
- Reduces hallucinations in generated SwiftUI code.
Example prompts
- "Create a simple SwiftUI view displaying a list of names."
- "Generate the code for a
VStackcontaining an image and a text label." - "Show me how to use
@Stateto manage user input in a SwiftUI form."
Tips & gotchas
This skill relies on Apple's official documentation; therefore, it is most effective when used within the context of current iOS/macOS development practices. Be aware that very experimental or cutting-edge SwiftUI features might not be fully supported.