Apple-authored SwiftUI and Apple platform guidance, packaged as skills for AI coding agents.
$ npx -y skills add ameyalambat128/swiftui-skills --agent claude-code
Apple-authored SwiftUI and Apple platform guidance, packaged as skills for AI coding agents.
SwiftUI is opinionated. Most AI agents do not know those opinions.
/swiftui-skills extracts internal Apple documentation shipped inside Xcode and turns it into reusable skills that help AI agents write idiomatic, Apple-native SwiftUI code.
Installation differs a bit by harness. If you use more than one, keep the shared payload the same and choose the install surface that fits that tool.
curl -fsSL https://swiftui-skills.ameyalambat.com/install | bash
The installer extracts local Xcode docs and installs the skill into detected runtimes, including OpenClaw shared installs at ~/.openclaw/skills/swiftui-skills.
You can also use the skills TUI:
npx skills add ameyalambat128/swiftui-skills
Choose the install scope in the skills TUI and keep Symlink (Recommended) selected.
~/.agents/skills/swiftui-skills/setup.sh
./.agents/skills/swiftui-skills/setup.sh
This repo ships a native Claude Code plugin manifest at ./.claude-plugin/plugin.json.
For local plugin testing, symlink the repo into a Claude skills directory and start a new session:
ln -s /absolute/path/to/swiftui-skills ~/.claude/skills/swiftui-skills-plugin
This repo ships a native Cursor plugin manifest at ./.cursor-plugin/plugin.json.
For local plugin testing, symlink the repo into Cursor's local plugins directory and reload the window:
mkdir -p ~/.cursor/plugins/local
ln -s /absolute/path/to/swiftui-skills ~/.cursor/plugins/local/swiftui-skills
This repo ships a native Codex plugin manifest at ./.codex-plugin/plugin.json.
Codex plugin packaging is included here so the repo is plugin-ready, but marketplace distribution is still optional. The direct skill install remains the simpler path today.
OpenClaw can load the same canonical skill package from any of these paths:
~/.agents/skills/swiftui-skills~/.openclaw/skills/swiftui-skills<workspace>/skills/swiftui-skillsFor a shared OpenClaw install:
mkdir -p ~/.openclaw/skills
cp -R skills/swiftui-skills ~/.openclaw/skills/swiftui-skills
~/.openclaw/skills/swiftui-skills/setup.sh
For a workspace-local OpenClaw install:
mkdir -p ./skills
cp -R skills/swiftui-skills ./skills/swiftui-skills
./skills/swiftui-skills/setup.sh
After setup, start a new OpenClaw session or restart the gateway.
If Xcode is installed in a non-standard location:
# Custom Xcode location
bash src/scripts/install.sh --xcode-path /Applications/Xcode-beta.app
# Direct path to docs folder
bash src/scripts/install.sh --docs-path /path/to/AdditionalDocumentation
No Apple documentation is redistributed. Everything is extracted locally during setup.
This project is still a developer-focused SwiftUI skill.
OpenClaw support means:
SKILL.md is compatible with OpenClaw skill loading.~/.agents/skills, ~/.openclaw/skills, or <workspace>/skills.setup.sh.openclaw skills list.This does not add a plugin, split the package, or change the product into an OpenClaw-only tool.
Documentation extracted from Xcode covers:
The installer can place the skill directly into detected agent paths like ~/.claude/skills, ~/.codex/skills, and related runtimes.
The repo root also carries native plugin manifests for Claude Code, Cursor, and Codex, while the canonical skill payload now lives at skills/swiftui-skills/.
OpenClaw already loads visible skills from these paths, in precedence order:
<workspace>/skills<workspace>/.agents/skills~/.agents/skills~/.openclaw/skillsTo verify the skill is visible:
openclaw skills list
Then start a new session and try a representative SwiftUI task:
openclaw agent --message "Build a SwiftUI settings screen with a toolbar and explain which local docs you used."
Expected smoke-test behavior:
docs/ is empty, the agent tells you to run setup.sh before proceeding.swiftui-skills/
├── .claude-plugin/
│ └── plugin.json # Claude Code plugin manifest
├── .codex-plugin/
│ └── plugin.json # Codex plugin manifest
├── .cursor-plugin/
│ └── plugin.json # Cursor plugin manifest
├── skills/
│ └── swiftui-skills/ # Canonical shared skill payload
│ ├── SKILL.md # Canonical skill contract
│ ├── manifest.json # Tool compatibility helpers
│ ├── prompts/ # System, router, reviewer, generator, refactorer
│ ├── docs/ # Populated by setup
│ └── setup.sh # Local Xcode docs extraction
├── src/
│ ├── app/ # Next.js website
│ └── scripts/
│ ├── install.sh
│ └── uninstall.sh
└── public/
└── install # curl target
bash src/scripts/uninstall.sh
MIT
Built by Ameya Lambat. Not affiliated with Apple.
swiftui-skills is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Mobile category. Install it with the command on its page. It includes swiftui-skills. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it