Skip to content
existential-birds avatar

Swift Code Review

Structured Swift review workflow that checks concurrency safety, error handling, and memory management before reporting findings.

CCM score
46 of 100
skills.sh installs
253
GitHub stars
91
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full review sequence: toolchain baseline, reading enclosing symbols, scoping the checklist, and pre-report verification
  • Includes reference files for concurrency, @Observable state, error handling, and common mistakes, plus an 11-item review checklist
  • Enforces a hard gate that no finding is reported until its verification protocol passes, and requires [FILE:LINE] proof with severity labels
  • Designed for reviewing .swift files for async/await patterns, actor isolation, Sendable conformance, and general Swift practices

Install

$ npx -y skills add existential-birds/beagle --skill swift-code-review -y

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

Files

Swift Code Review

Review Workflow

Follow this sequence in order. Do not emit findings until every Pass below is satisfied.

  1. Swift / toolchain baseline — Establish language and tooling context: Package.swift // swift-tools-version and per-target swiftSettings (including NonisolatedNonsendingByDefault, InferIsolatedConformances, or MainActor default isolation); for Xcode, SWIFT_VERSION and Swift 6.2 SWIFT_DEFAULT_ACTOR_ISOLATION / approachable concurrency build settings; note if review is single-file only.
    Pass: You state a concrete Swift language version or mode (e.g. Swift 6.2 with MainActor default isolation, Swift 6 language mode, tools 5.10) before advice that depends on strict concurrency, approachable concurrency, migration-only syntax, or SDK availability.

  2. Read surrounding code — For each changed .swift file, read the full enclosing type, function, method, or property that contains the edits, not only the diff hunk.
    Pass: At least one full enclosing symbol (type or member) containing the change was read per changed file.

Details

Repository
github.com/existential-birds/beagle
Categories
Code Review & Quality, Mobile Apps
First seen
Jun 3, 2026

Questions

What does the swift-code-review skill check in Swift code?

swift-code-review reviews Swift code for concurrency safety, error handling, memory management, and common mistakes. It focuses on async/await patterns, actor isolation, Sendable conformance, and general Swift best practices in .swift files.

How do I install the swift-code-review skill?

Run npx -y skills add existential-birds/beagle --skill swift-code-review -y in a project to install it. Once installed, swift-code-review lets your agent review changed .swift files against its concurrency, error handling and memory checklist.

Which skills lead swift-code-review in its category?

swift-code-review sits in the Code Review & Quality category, where improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review also appear. swift-code-review stands apart by targeting Swift-specific concerns such as actor isolation and Sendable conformance.

Does swift-code-review check the Swift language version before giving advice?

Yes, swift-code-review requires the review to state a concrete Swift language version or mode before advice that depends on strict concurrency or SDK availability. It reads Package.swift tools version and per-target swiftSettings, or Xcode SWIFT_VERSION settings, first.

Who is swift-code-review for?

swift-code-review is for developers reviewing Swift code, especially code that uses async/await, actors, Sendable types, or Swift 6.2 isolation settings. It also suits teams who want consistent checks for force unwraps, retain cycles and swallowed CancellationError.

More from existential-birds/beagle

All 37

Similar to Swift Code Review

More Code Review & Quality