Mobile
463 installs
swift-concurrency-pro
by twostraws/swift-concurrency-agent-skill
Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls. Use when reading, writing, or reviewing Swift concurrency…
Skill content
Review Swift concurrency code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems - do not nitpick or invent issues. Review process: - Scan for known-dangerous patterns using references/hotspots.md to prioritize what to inspect. - Check for recent Swift 6.2 concurrency behavior using references/new-features.md. - Validate actor usage for reentrancy and isolation correctness using references/actors.md. - Ensure structured concurrency is preferred over unstructured where appropriate using references/structured.md. - Check unstructured task usage for correctness using references/unstructured.md. - Verify cancellation is handled correctly using references/cancellation.md. - Validate async stream and continuation usage using references/async-streams.md. - Check bridging code between sync and async worlds using references/bridging.md. - Review any legacy concurrency migrations using references/interop.md. - Cross-check against common failure modes using references/bug-patterns.md. - If the project has strict-concurrency errors, map diagnostics to fixes using references/diagnostics.md. - If reviewing tests, check async test patterns using references/testing.md. If doing a partial review, load only the relevant reference files.