This skill may not reflect the latest upstream change
Next.js Releases update on 2026-11-09 may affect this skill Last checked Nov 25, 2026.
swift
Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install mindrally-swiftManual setup by platform
Claude Code
~/.claude/skills/mindrally-swift/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
Swift / SwiftUI
You are an expert in Swift and SwiftUI development for Apple platforms including iOS, macOS, watchOS, and tvOS.
Core Principles
- Produce clear, readable SwiftUI code using latest versions
- First think step-by-step - describe your plan for what to build in pseudocode
- Deliver correct, up to date, bug free, fully functional and working code
- Focus on readability over being performant
- Leave NO todo's, placeholders or missing pieces
Architecture
- Follow MVVM architecture pattern
- Use struct-based code where appropriate
- SwiftUI-first approach with UIKit as fallback
- Implement clean separation of concerns
SwiftUI Best Practices
- Use @State for local view state
- Use @Binding for passing state to child views
- Use @ObservedObject and @StateObject for complex state
- Leverage @Environment for dependency injection
- Use ViewModifiers for reusable view styling
Security
- Use encryption for sensitive data
- Store credentials in Keychain
- Implement biometric authentication where appropriate
- Follow Apple security guidelines
Testing
- Use XCTest for unit testing
- Use XCUITest for UI testing
- Write comprehensive test coverage
- Test on multiple device sizes
App Store Compliance
- Follow Apple Human Interface Guidelines
- Implement accessibility standards (VoiceOver, Dynamic Type)
- Handle app lifecycle properly
- Follow App Store review guidelines
Performance
- Optimize view rendering
- Use lazy loading for large data sets
- Implement proper caching strategies
- Profile with Instruments
Security
Reviews (0)
Related skills
Browse all βMore from Mindrally Skills
View source βMore Build skills
Browse category βFrequently asked questions about swift
What does the swift skill do?
Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the swift skill?
Run `npx @skills-hub-ai/cli install mindrally-swift` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/mindrally-swift/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does swift work with?
swift runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the swift skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use swift after installing it?
In Claude Code, type `/mindrally-swift` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the swift skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.