Skip to content
Back to skills

Swift

ASecurity

Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms

  • 248 stars
  • 0 votes
  • 1 copy
  • 31 views
  • Added February 10, 2026
developmentswifttestingsecurityperformance

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add Mindrally/skills --skill swift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Swift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mindrally-swift/badge)](https://www.skillsdirectory.com/skills/mindrally-swift)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: swift
description: Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms
---

# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…