A comprehensive reference for modern Swift language features from 5.9 through 6.3. You get if/switch expressions, typed throws, result builders, property wrappers, and the some/any distinction explained clearly with working examples. Also covers Regex builders, Codable patterns with custom CodingKeys, modern collection methods like count(where:), and FormatStyle for dates and numbers. The examples are practical and the opaque vs existential types section actually clarifies when to use each. Use this when you're writing core Swift code with generics, protocols, or modern syntax and want to avoid the outdated patterns that still fill most tutorials. Deliberately excludes concurrency and SwiftUI, which have separate skills.

skills.sh installs
4.1K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Backend & APIs, Documentation, Code Review & Quality, Mobile Development, Design & UI/UX
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1ailabs-393 avatartravel-plannerailabs-393/ai-labs-claude-skillsThis skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first4.1Kskills.sh installs
2agents365-ai avatarplantuml-skillagents365-ai/365-skillsUse when user requests diagrams, flowcharts, sequence diagrams, class diagrams, component diagrams, ER diagrams, architecture charts, or visualizations — includ4.1Kskills.sh installs
3tradermonty avatarportfolio-managertradermonty/claude-trading-skillsComprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual st4.1Kskills.sh installs
4alibaba avataropen-code-review-delegatealibaba/open-code-reviewDelegation mode for open-code-review (OCR). Instead of OCR calling an LLM endpoint, this skill instructs the host agent to perform the code review itself, using4.1Kskills.sh installs
5softaworks avatarmeme-factorysoftaworks/agent-toolkitGenerate memes using the memegen.link API. Use when users request memes, want to add humor to content, or need visual aids for social media. Supports 100+ popul4Kskills.sh installs
6gokapso avatarobserve-whatsappgokapso/agent-skillsObserve and troubleshoot WhatsApp in Kapso: search Logs across API, Meta webhook, workflow, and webhook-delivery events; debug message delivery; inspect webhook4Kskills.sh installs