Catalogskills.sh · mindrally

swift

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

Review advisedVerified hub706 installs

Savant verdict: Review advised

Security analysis or source-hub review identified patterns requiring attention.

Live evaluation

Not evaluated yet. Workspaces can request a live evaluation.

Security assessment

Risk score
17/100
Recommendation
SAFE
Severity
LOW
Savant decision
Passed
The security assessment rated this package safe. Static security analysis completed.

1 pattern found

  • Privilege Escalation: Keychainhigh · SKILL.md:39 · Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Structure

  • No license declaredConfirm you may reuse this skill before importing it into your repository.
  • The source hub's security checks flagged this skillRunlayer: warn (1/1 file flagged)

SKILL.md

---
name: swift
description: Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms
metadata:
  maintainer: Mindrally
  source: https://github.com/Mindrally/skills
---

# 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