full-stack-skills/swift-skills/swift-concurrency
Claude Code and agent skill by full-stack-skills/swift-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Implement and review Swift structured concurrency with async/await, Task groups, actors, global actors, Sendable, AsyncSequence, continuations, cancellation, priorities, clocks, and deterministic testing. Use for actor-isolation errors, data races, task leaks, callback bridging, cancellation defects, or Swift 6 strict-concurrency work.
Install
npx vskill@latest install full-stack-skills/swift-skills/swift-concurrencySKILL.md
Swift Concurrency
Treat isolation and cancellation as API contracts. Compile under the project's real Swift language and strict-concurrency settings.
Core rules
- Prefer structured child tasks and task groups. Detached tasks require an explicit ownership and context-transfer justification.
- Keep mutable shared state actor-isolated or otherwise synchronized; do not silence diagnostics with unchecked
Sendablewithout proof. - Propagate cancellation through loops, AsyncSequence production, continuations, and I/O adapters.
- Resume checked continuations exactly once on every path; retain cancellation handles for callback APIs.
- Do not block cooperative executors with synchronous I/O or locks held across suspension.
- Preserve actor isolation in public protocols and closures. Use
@MainActoronly for UI/main-thread state, not as a general race workaround. - Define ordering, buffering, backpressure, termination, and cleanup for AsyncStream/AsyncSequence adapters.
- Treat task-local values and priorities as contextual hints, not durable business state.
Review sequence
- Map task creation to owners and termination conditions.
- Trace actor isolation and
Sendablecrossings. - Trace cancellation from caller to resources and continuations.
- Identify blocking work, unbounded buffers, reentrancy assumptions, and priority inversions.
- Add deterministic lifecycle tests using clocks, continuations, or event-driven coordination.
- Run strict-concurrency compilation and stress the affected state transitions.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/swift-concurrency/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/full-stack-skills/swift-skills/swift-concurrency)