Modern Swift language idioms for core code: expressions, typed throws, builders, and generics.

CCM score
65 of 100
skills.sh installs
4.3K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers if/switch expressions, typed throws, result builders, property wrappers, and some versus any types
  • Includes guard patterns, the Never type, Regex builders, basic Codable shaping, and modern collection APIs
  • Provides basic FormatStyle usage and string interpolation patterns, while routing deep Codable and formatting to sibling skills
  • Designed for generics, protocols, enums, and closures, without concurrency or SwiftUI state work

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-language -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Swift Language Patterns

Apply current Swift language syntax without changing behavior or evaluation order. Route deep decoding to swift-codable, formatting to swift-formatstyle, naming to swift-api-design-guidelines, concurrency to swift-concurrency, and SwiftUI state/view work to swiftui-patterns.

Contents

If/Switch Expressions

For modernization, pin current behavior and evaluation order, make one semantic rewrite, compile the affected module, and run focused fixtures/tests. Fix any change before continuing; repeat until behavior is preserved.

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Apps
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Swift Language

More Mobile Apps