apple-swift

Build, test, and lint Swift 6 codebases for Apple platforms.

16|2|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/maroffo/claude-forge --skill apple-swift
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple-swift
Source: https://github.com/maroffo/claude-forge/tree/main/skills/apple-swift
Command: npx skills add https://github.com/maroffo/claude-forge --skill apple-swift

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and tools for developing modern applications across all Apple platforms using Swift 6, SwiftUI, and advanced concurrency features.

Core Features & Use Cases

  • Swift 6 Migration: Guidance on adopting strict concurrency, @Observable, and new language features.
  • SwiftUI Best Practices: Patterns for NavigationStack, SwiftData, MVVM, and dependency injection.
  • Concurrency Management: Solutions for async/await, TaskGroups, MainActor isolation, and actor patterns.
  • Performance Optimization: Techniques for profiling, memory management, and efficient SwiftUI rendering.
  • Use Case: You need to refactor an existing iOS app to use Swift 6's strict concurrency rules and update its UI to use the latest SwiftUI patterns like NavigationStack and @Observable.

Quick Start

Use the apple-swift skill to get a quick reference for building and testing Swift projects with Xcode and SwiftLint.

Frequently Asked Questions about apple-swift

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate an existing iOS app to Swift 6 strict concurrency?

Migrating to Swift 6 strict concurrency involves adopting async/await, TaskGroups, and MainActor isolation. This Skill provides guidance on refactoring existing iOS apps to meet Swift 6 concurrency rules and update UI patterns using @Observable.

What's the best way to implement SwiftUI NavigationStack and dependency injection?

Implementing SwiftUI NavigationStack and dependency injection requires following modern patterns. This Skill provides guidance on integrating NavigationStack, applying the @Observable macro, and structuring dependency injection for SwiftUI views.

Do I need Xcode and platform SDKs to build macOS and iOS applications with Swift?

Yes, building macOS and iOS applications requires Xcode and platform SDKs. This Skill facilitates building, testing, and linting Swift codebases across iOS, macOS, watchOS, and visionOS using these required Apple development environments.

How does SwiftLint integration improve Swift codebase quality?

SwiftLint integration improves Swift codebase quality by enforcing code style and identifying potential issues during development. This Skill optionally integrates SwiftLint with Xcode to maintain code quality across iOS and macOS projects.

Can I use SwiftData and MVVM patterns for watchOS and visionOS development?

Yes, you can use SwiftData and MVVM patterns for watchOS and visionOS development. This Skill addresses common development tasks across all Apple platforms, providing patterns for SwiftData integration and MVVM architecture in SwiftUI.

Why does my SwiftUI view re-render excessively and how can I optimize performance?

SwiftUI views re-render excessively due to improper state management or inefficient view updates. This Skill provides performance optimization techniques for profiling, memory management, and efficient SwiftUI rendering using the @Observable macro.