Engineering
swift-review avatar

swift-review

Expert Swift code review for macOS/iOS. Detects memory leaks, threading bugs, concurrency issues, and accessibility gaps using parallel analysis agents.

Introduction

This skill provides a comprehensive, agent-driven auditing service for Swift-based macOS and iOS applications. It is designed for developers who need to ensure high-quality code, resolve performance bottlenecks, and satisfy Apple's platform guidelines. By launching six specialized parallel subagents, the skill performs a deep dive into critical infrastructure, including CoreAudio, CoreData, and SwiftUI state management systems. It identifies common pitfalls such as retain cycles, race conditions, main thread blocking, and missing accessibility labels.

  • Performs automated code audits using parallel exploration agents to identify high-severity risks like memory leaks, concurrency violations, and improper delegate cleanup.

  • Deeply analyzes system framework usage, providing specific file and line-number references for issues involving C/Objective-C API bridging and CF type handling.

  • Validates thread safety, focusing on @MainActor usage, actor isolation, and potential deadlocks within DispatchQueues or Combine pipelines.

  • Evaluates UI/UX accessibility against platform standards, checking for proper labels, hints, and dynamic value descriptions for assistive technology.

  • Assesses platform version compatibility, including deprecation warnings and API availability checks for modern Swift features like @Observable.

  • Users should trigger this skill when conducting pre-release audits, investigating intermittent crashes, or troubleshooting UI synchronization issues.

  • The tool expects a standard Swift project structure (e.g., .xcodeproj, Package.swift, or project.yml) and performs an initial discovery phase to adapt its analysis to the specific app type, such as menu bar apps, widgets, or standard applications.

  • Outputs are structured in a prioritized report format, categorizing findings into Critical, High-Severity, Medium, and Low levels to streamline the remediation process.

  • Provides actionable fix plans with code snippets and testing recommendations to ensure that developers can quickly mitigate identified vulnerabilities or bugs.

  • Ideal for developers working with complex asynchronous patterns, real-time audio/system processing, or legacy codebases requiring modern safety audits.

Repository Stats

Stars
0
Forks
0
Open Issues
0
Language
Swift
Default Branch
main
Sync Status
Idle
Last Synced
May 4, 2026, 12:15 AM
View on GitHub