$npx skillfedfor your agent

swift-code-review

This skill systematically audits Swift source files for concurrency hazards, including unsafe async/await patterns, actor reentrancy, Sendable conformance gaps, and memory leaks from retain cycles. It establishes Swift language version context upfront, reads full enclosing symbols rather than diffs alone, and applies targeted checklists for error handling, force unwraps, and closure capture semantics before reporting findings.

Swift Code Review examines Swift code for concurrency safety, async/await patterns, and memory management issues.

AI-generated summary based on this skill's SKILL.md

74 10 Apache-2.0updated by existential-birds

Decision gist · record as of 2026-07-21

Swift Code Review examines Swift code for concurrency safety, async/await patterns, and memory management issues. This skill systematically audits Swift source files for concurrency hazards, including unsafe async/await patterns, actor reentrancy, Sendable conformance gaps, and memory leaks from retain cycles. It establishes Swift language version context upfront, reads full enclosing symbols rather than diffs alone, and applies targeted checklists for error handling, force unwraps, and closure capture semantics before reporting findings.

manual: git clone https://github.com/existential-birds/beagle → cp -r beagle/plugins/beagle-ios/skills/swift-code-review ~/.claude/skills/swift-code-review
plugins/beagle-ios/skills/swift-code-review/SKILL.md · version 6dac64dd

Use it when

  • swift-code-review reviews Swift code for concurrency by analyzing async/await safety, checking actor isolation boundaries.
  • Yes.

Verify before relying

Read SKILL.md below before installing (5 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

existential-birds/beagle/swift-code-review · repository language: TypeScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What does swift-code-review check for in my code?

swift-code-review systematically audits Swift source files for concurrency hazards, including unsafe async/await patterns, actor reentrancy, Sendable conformance gaps, and memory leaks from retain cycles. It also validates error handling patterns, detects force unwraps, and reviews closure capture semantics to ensure your code follows Swift best practices.

How does swift-code-review review Swift code for concurrency?

swift-code-review reviews Swift code for concurrency by analyzing async/await safety, checking actor isolation boundaries, verifying Sendable conformance on shared types, and identifying unsafe patterns in task spawning and cancellation. It reads full enclosing symbols rather than diffs alone to understand context and applies targeted checklists for concurrent access patterns.

Can swift-code-review check Swift code for memory leaks?

Yes. swift-code-review checks Swift code for memory leaks by identifying retain cycles in closures and object graphs. It analyzes closure capture semantics, detects unowned and weak reference misuse, and flags patterns that commonly lead to memory management issues in Swift applications.

What error handling patterns does swift-code-review validate?

swift-code-review validates error handling and exception patterns by reviewing try/catch usage, force unwrap detection, optional chaining safety, and error propagation correctness. It ensures errors are properly caught, handled, or propagated rather than silently ignored or unsafely forced.

Does swift-code-review verify Sendable conformance?

Yes. swift-code-review verifies Sendable conformance and actor isolation in Swift types, ensuring that data shared across concurrency boundaries meets thread-safety requirements. It checks that types intended for concurrent use properly declare Sendable conformance and respect actor isolation rules.

What Swift language context does swift-code-review establish?

swift-code-review establishes Swift language version context upfront to apply version-appropriate rules and patterns. This ensures recommendations align with the Swift version your project targets, since concurrency features, Sendable, and best practices evolve across Swift releases.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

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 any per-target Swift language version or swiftSettings in the manifest; for Xcode, SWIFT_VERSION (or equivalent) in project or target build settings; note if review is single-file only.
    Pass: You state a concrete Swift language version or mode (e.g. Swift 6 language mode, tools 5.10) before advice that depends on strict 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

(truncated - see the full file via the links below)

File tree — 5 files
plugins/beagle-ios/skills/swift-code-review/SKILL.md
plugins/beagle-ios/skills/swift-code-review/references/common-mistakes.md
plugins/beagle-ios/skills/swift-code-review/references/concurrency.md
plugins/beagle-ios/skills/swift-code-review/references/error-handling.md
plugins/beagle-ios/skills/swift-code-review/references/observable.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Review Swift code for concurrency bugs and async/await safety issues”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

go-code-review
by existential-birds · existential-birds/beagle

Go Code Review systematically audits Go source files against idiomatic patterns, error handling practices, concurrency safety, and common pitfalls. The skill applies version-aware guidance based on your project's Go baseline, covering generics, structured logging, and loop variable semantics. It follows a structured workflow that reads full context, applies targeted checklists, and verifies findings before reporting issues with severity calibration.

Apache-2.0updated Jul 2026
★ 74repo stars
python-code-review
by existential-birds · existential-birds/beagle

This skill systematically audits Python code across five key dimensions: PEP8 compliance, type annotation completeness, async/await correctness, exception handling rigor, and frequent pitfalls like mutable defaults. It provides a checklist-driven review workflow with reference guides for each category and context-sensitive rules to avoid false positives.

Apache-2.0updated Jul 2026
★ 74repo stars
prompt-improver
by existential-birds · existential-birds/beagle

Prompt Improver refines code-related prompts by evaluating task clarity, investigation depth, verification steps, and scope control. It applies transformation rules to strengthen prompts for implementation, debugging, refactoring, code review, and testing tasks. The skill ensures prompts follow investigation-first principles and include appropriate verification checks before execution.

Apache-2.0updated Jul 2026
★ 74repo stars
ios-development
by travisjneuman · travisjneuman/.claude

This skill equips you to develop production-ready Apple platform applications using modern Swift tooling and SwiftUI's declarative interface. Leverage Claude's code generation capabilities to accelerate native app development across iPhone, iPad, and Apple TV ecosystems.

MITupdated Jul 2026
★ 85repo stars
swift-actor-persistence
by xu-xiang · xu-xiang/everything-claude-code-zh

Swift Actor Persistence demonstrates how to construct a thread-safe persistence layer by combining actor isolation with hybrid storage—keeping frequently accessed data in memory while syncing changes to disk. The pattern leverages Swift's compile-time guarantees to prevent data races without manual locks, making it ideal for offline-first applications and shared mutable state across concurrent contexts.

MITdocs in Chineseupdated Mar 2026
★ 1,767repo stars
swift-expert
by Jeffallan · Jeffallan/claude-skills

swift-expert equips you with expert-level guidance for crafting robust iOS and macOS applications using Swift 5.9 and beyond. Leverage modern concurrency features and type-safety principles to accelerate your full-stack development workflow. This skill bridges the gap between foundational Swift knowledge and production-ready app architecture.

MITupdated May 2026
★ 10,759repo stars

More skills watchos-code-review (Apache-2.0) · core-data-expert (MIT) · urlsession-code-review (Apache-2.0) · swiftdata-code-review (Apache-2.0)

Tags
concurrency-safetymemory-managementasync-patternsactor-isolationerror-handlingcode-qualitybest-practicesswift-6retain-cyclessendable-types