swift-development

Swift language-level guidance that applies across all Apple platforms.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "swift-development" with this command: npx skills add rshankras/claude-code-apple-skills/rshankras-claude-code-apple-skills-swift-development

Swift Development

Swift language-level guidance that applies across all Apple platforms.

When This Skill Activates

Use this skill when the user:

  • Asks about Swift concurrency (async/await, actors, Sendable, TaskGroup)

  • Needs help with Swift 6 strict concurrency migration

  • Has data race or actor isolation errors

  • Asks about InlineArray, Span, or low-level memory performance

  • Wants to eliminate heap allocations or replace unsafe pointers

  • Asks about modern Swift patterns independent of any specific platform

Available Modules

concurrency-patterns/

Swift concurrency architecture and patterns.

  • Swift 6.2 approachable concurrency features

  • Structured concurrency (async let, TaskGroup, .task modifier)

  • Actors, isolation, reentrancy, @MainActor

  • Continuations for bridging legacy APIs

  • Swift 6 strict concurrency migration guide

memory/

Swift 6.2 InlineArray and Span for low-level memory performance.

  • InlineArray: fixed-size, stack-allocated collections with zero heap overhead

  • Span family: safe, non-escapable access to contiguous memory

  • Lifetime dependencies and non-escapable type constraints

  • Performance guidance: when to use InlineArray/Span vs Array/UnsafePointer

How to Use

  • Identify user's need from their question

  • Read relevant module files from subdirectories

  • Apply the guidance to their specific context

  • Cross-reference with platform-specific skills (ios/, macos/) as needed

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

macos-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

ios-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

app-store

No summary provided by upstream source.

Repository SourceNeeds Review