skills/smithery.ai/swift-standards

swift-standards

Installation
SKILL.md

Swift Best Practices

When to Use This Skill

This skill should be triggered when:

  • Writing or reviewing Swift code
  • Setting up Swift packages or Xcode projects
  • Working with iOS, macOS, watchOS, tvOS, or visionOS
  • Discussing Swift patterns, concurrency, or architecture
  • Configuring Package.swift or build settings

Core Capabilities

  1. Package Management: Swift Package Manager (SPM) exclusively
  2. Type Safety: Strict concurrency, avoid Any, leverage generics
  3. Error Handling: Typed throws (Swift 6), Result types
  4. State Modeling: Enums with associated values for impossible states
  5. Concurrency: async/await, actors, structured concurrency
Installs
1
First Seen
Apr 4, 2026