Swift Concurrency Agent Skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Swift Concurrency Agent Skill (Plugin) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<p align="center"> <a href="https://www.swiftconcurrencycourse.com?utm_source=github&utm_medium=agent-skill&utm_campaign=swift-concurrency-skill"> <img width="900px" src="assets/github_readme_banner.jpg" alt="Swift Concurrency Agent Skill banner"> </a> </p>
Expert guidance for any AI coding tool that supports the Agent Skills open format — safe concurrency, performance, and Swift 6+ migration.
Based on the comprehensive Swift Concurrency Course, distilled into actionable, concise references for agents.
This repository is packaged as a portable Agent Plugin (spec 1.0.0): compatible clients discover the skill automatically from the root plugin.json manifest and the skills/ directory. Client-specific manifests for Claude Code, Cursor, Codex, and pi are included as well, and the plugin is published in the OpenAI Plugins Directory for ChatGPT and Codex.
Install this skill with a single command:
npx skills@latest add https://github.com/avdlee/swift-concurrency-agent-skill --skill swift-concurrencyFor more information, visit the skills.sh platform page.
Installed before the Agent Plugins migration? Run npx skills@latest update using skills CLI 1.5.24 or newer. It migrates the saved skill path without treating the skill as deleted.Then use the skill in your AI agent, for example:
Use the swift concurrency skill and analyze the current project for Swift Concurrency improvements
This plugin is published in the universal OpenAI Plugins Directory shared by ChatGPT and Codex:
#### Personal Usage
To install this Skill for your personal use in Claude Code:
/plugin marketplace add AvdLee/Swift-Concurrency-Agent-Skill /plugin install swift-concurrency@swift-concurrency-agent-skill#### Project Configuration
To automatically provide this Skill to everyone working in a repository, configure the repository's .claude/settings.json:
{
"enabledPlugins": {
"swift-concurrency@swift-concurrency-agent-skill": true
},
"extraKnownMarketplaces": {
"swift-concurrency-agent-skill": {
"source": {
"source": "github",
"repo": "AvdLee/Swift-Concurrency-Agent-Skill"
}
}
}
}When team members open the project, Claude Code will prompt them to install the Skill.
Load the plugin from a local clone by placing it in ~/.cursor/plugins/local, or install it from the Cursor Marketplace once listed. Cursor supports both the portable Agent Plugins manifest (plugin.json) and the Cursor Plugin manifest (.cursor-plugin/plugin.json) included in this repository.
See INSTALLATION.md for all other installation options: pi, Gemini CLI, Autohand Code, and manual installation.
How to verify:
Your agent should reference the triage/playbook in skills/swift-concurrency/SKILL.md and jump into the relevant reference file for your error or task.
This skill gives your AI coding tool comprehensive Swift Concurrency guidance. It can:
@MainActor, custom actors, or nonisolatedSendable conformance correctly for value and reference types@MainActor isolation in testswithMainSerialExecutor for deterministic testingNSManagedObjectIDExpert Knowledge: Based on real-world experience migrating large production codebases to Swift 6, distilled from the comprehensive Swift Concurrency Course.
Non-Opinionated: Focuses on industry-standard best practices and compile-time safety, not architectural preferences. Works with any Swift project, coding style, or architecture.
Swift 6.2 Ready: Covers the latest Swift Concurrency features including:
isolated deinitnonisolated(nonsending) and @concurrentPractical & Concise: Assumes your AI agent is already smart. Focuses on what developers need to know, not what they already understand. Includes code examples for every pattern.
skills/swift-concurrency/
├── SKILL.md # Main skill file with decision trees
└── references/
├── _index.md # Quick navigation index for all reference files
├── actors.md # Actor isolation, global actors, reentrancy
├── async-algorithms.md # AsyncAlgorithms operators: debounce, merge, zip, Combine migration
├── async-await-basics.md # Fundamentals of async/await syntax
├── async-sequences.md # AsyncSequence and AsyncStream patterns
├── core-data.md # Core Data integration patterns
├── glossary.md # Terms & concepts for Swift Concurrency
├── linting.md # Linting rules for strict concurrency
├── memory-management.md # Retain cycles, weak self, isolated deinit
├── migration.md # Step-by-step Swift 6 migration guide
├── observation.md # @Observable isolation, observation tracking, Sendable snapshots
├── performance.md # Optimization with Xcode Instruments
├── sendable.md # Isolation domains and Sendable conformance
├── tasks.md # Task lifecycle, cancellation, priorities
├── testing.md # Testing concurrent code
└── threading.md # Threads vs tasks, suspension pointsContributions are welcome! This repository follows the Agent Skills open format, which has specific structural requirements.
We strongly recommend using AI assistance for contributions:
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for:
This skill is maintained to reflect the latest Swift Concurrency best practices and will be updated as the language evolves.
Created by Antoine van der Lee, a Swift Concurrency expert and creator of the Swift Concurrency Course. With years of experience in Swift & Swift Concurrency, this skill distills practical knowledge into actionable guidance for AI assistants. He published tens of articles on Swift Concurrency on his blog called SwiftLee.
This skill is open-source and available under the MIT License. See LICENSE for details.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.