swift-concurrency-pro
Skill by jacklandrin
Reviews Swift code for concurrency correctness, modern API usage, and async/await pitfalls. Built for developers reading, writing, or reviewing Swift concurrency code, and reports only genuine problems.
Install swift-concurrency-pro
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jacklandrin/OnlySwitch /tmp/OnlySwitch && mkdir -p ~/.claude/skills && cp -r /tmp/OnlySwitch/doc/skills/swift-concurrency-pro ~/.claude/skills/swift-concurrency-proRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jacklandrin/OnlySwitch /tmp/OnlySwitch && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OnlySwitch/doc/skills/swift-concurrency-pro ~/.gemini/antigravity-cli/skills/swift-concurrency-proAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install swift-concurrency-pro in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Swift Concurrency Pro is an agent skill that reviews Swift code for concurrency correctness, modern API usage, and async/await pitfalls. It works through a set of reference files covering hotspots, actors, structured and unstructured tasks, cancellation, async streams, bridging, interop, bug patterns, diagnostics, and testing. Findings are organized by file, with the rule violated and a brief before and after fix, ending with a prioritized summary.
The skill targets Swift 6.2 or later with strict concurrency checking. It prefers task groups over unstructured Task calls, async/await over closure-based APIs, and Swift concurrency over Grand Central Dispatch for new code. It reports only genuine problems and does not suggest @unchecked Sendable to silence errors. It is for developers reading, writing, or reviewing Swift concurrency code.
Written from the project's SKILL.md and checked against it.
What it can do
- Actor reentrancy reviewChecks actor usage for reentrancy and isolation correctness.
- Structured concurrency checkFlags loops of unstructured tasks and suggests task groups instead.
- Cancellation reviewVerifies that cancellation propagates and is checked correctly.
- Async stream reviewValidates AsyncStream and continuation lifecycle and back-pressure.
- Bridging reviewChecks sync and async bridging code and checked continuations.
- Legacy migration reviewReviews migrations from GCD, locks, completion handlers and Combine.
- Strict concurrency diagnosticsMaps strict-concurrency compiler errors to likely fixes.
- Async test reviewChecks async test patterns with Swift Testing and avoids timing tests.
- Swift 6.2 behavior checksApplies Swift 6.2 changes such as default actor isolation and @concurrent.
What you need
- Swift 6.2 or later
- Strict concurrency checking enabled
Try asking
- Review this Swift actor for reentrancy problems
- Check my Swift code for async/await pitfalls
- Convert this loop of Task calls to a task group
Good to know
- Targets Swift 6.2 or later.
- Does not suggest @unchecked Sendable to fix compiler errors.
- Does not introduce third-party concurrency frameworks without asking first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: doc/skills/swift-concurrency-pro/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
agents/openai.yaml380 B -
assets/swift-concurrency-pro-icon.png3 KB -
assets/swift-concurrency-pro-icon.svg1 KB -
references/actors.md5 KB
Show all 16 files
-
references/async-streams.md2 KB -
references/bridging.md3 KB -
references/bug-patterns.md4 KB -
references/cancellation.md4 KB -
references/diagnostics.md4 KB -
references/hotspots.md2 KB -
references/interop.md4 KB -
references/new-features.md8 KB -
references/structured.md3 KB -
references/testing.md8 KB -
references/unstructured.md2 KB
Alternatives to swift-concurrency-pro
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
swift-concurrency-pro: common questions
What Swift version does swift-concurrency-pro target?
The skill targets Swift 6.2 or later with strict concurrency checking. It is written for that setting.
Does the skill fix concurrency errors by adding @unchecked Sendable?
No. The source says not to suggest @unchecked Sendable to fix compiler errors, and to prefer actors, value types, or sending parameters instead.
How are the review results organized?
Findings are grouped by file. Each one gives the file and line, the rule violated, and a brief before and after fix, followed by a prioritized summary.
How do I install swift-concurrency-pro?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is swift-concurrency-pro free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is swift-concurrency-pro safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to swift-concurrency-pro?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
