swift-expert
An agent skill by Jeffallan, from Jeffallan/claude-skills. Tags: architecture, debugging, mobile, performance, swift.
What it does
Builds iOS/macOS/watchOS/tvOS applications, implements SwiftUI views and state management, designs protocol-oriented architectures, handles async/await concurrency, implements actors for thread safety, and debugs Swift-specific issues. Use when building iOS/macOS applications with Swift 5.9+, SwiftUI, or async/await concurrency. Invoke for protocol-oriented programming, SwiftUI state management, actors, server-side Swift, UIKit integration, Combine, or Vapor.
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add Jeffallan/claude-skills --skill swift-expert
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/Jeffallan/claude-skills
cp -r claude-skills/skills/swift-expert ~/.claude/skills/swift-expert
Safety box score
Grade A, minimal risk: 7 of 100 risk points, rated 2026-10-18. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.
This skill is a documentation-only Swift coding guide: it ships markdown references and tells the agent to compile and test Swift projects locally. The main risk is modest local code execution via `swift build`/`swift test`, plus any network calls or platform APIs in the project code it helps write; there are no installer scripts, privilege changes, or secret-handling features in the skill itself.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 1 (low) | It explicitly instructs the agent to run local build/test commands: `swift build`, `swift build -warnings-as-errors`, and `swift test` in `SKILL.md`. |
| Network access | 1 (low) | The included examples use remote calls like `URLSession.shared.data(from: url)` and `https://api.example.com/...`, but the skill itself does not download remote content or transmit data on its own. |
| Filesystem reach | 0 (none) | No file editing, deletion, or access outside the project is described; the files are markdown references only. |
| Secrets & credentials | 0 (none) | There is no instruction to read, paste, log, or access tokens, keychains, `.env` files, or other credentials. |
| Privilege & persistence | 0 (none) | The skill does not request sudo, global installs, services, shell startup edits, or OS-level configuration changes. |
| Instruction hijack surface | 0 (none) | I found no prompt-injection content such as instructions to ignore rules, hide behavior, or follow remote instructions. |
| Irreversible actions | 0 (none) | It does not send messages, publish, deploy, purchase, merge, or delete anything; it only guides code writing and validation. |
| Transparency | 0 (none) | All shipped files are plain-readable markdown; there are no binaries, obfuscated blobs, or runtime-downloaded installers. |
Before installing
- Read `SKILL.md` and confirm you want the agent to run `swift build` / `swift test` in your repo.
- Check your project for build scripts, package plugins, or test code that have side effects or network access.
- If you use real APIs, verify the agent will not paste secrets into example `URLSession` code.
- Try it first in a scratch branch so any generated Swift changes stay isolated.
Rated 2026-10-18 by an automated review of 6 files from the skill's repository.
Source
- Repository
- Jeffallan/claude-skills (all skills from this repository)
- Path
- skills/swift-expert/SKILL.md
- Branch
- main
- Updated
- 2026-09-19
Related skills
- react-native-expert — Builds, optimizes, and debugs cross-platform mobile applications with React Native and Expo.
- app-platform-troubleshooting — Debug running App Platform applications by accessing containers, analyzing logs, running diagnostics, and applying fixes.
- audit-context-building — Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere.
- eas-observe — EAS service (paid). Use for anything related to EAS Observe - adding `expo-observe` to an Expo project (AppMetricsRoot/ObserveRoot HOC.
- eas-simulator — EAS service (paid). Run and control a user's app on a remote iOS/Android simulator hosted on EAS cloud.
- expo-brownfield — Framework (OSS). Integrate Expo and React Native into an existing native iOS or Android app.