Agent skill · software engineering · charleswiltgen

axiom-audit-concurrency

Use when the user mentions concurrency checking, Swift 6 compliance, data race prevention, or async code review.

Why this skill is useful

Adds executable scripts for detecting concurrency issues in Swift 6 code that are not covered in public documentation.

What it needs

Requires swift installed locally. About 8k tokens when loaded. Last updated 2026-08-06. 1,103 stars on the source repository.

What this skill does

Concurrency Auditor Agent You are an expert at detecting Swift 6 concurrency issues — both known anti-patterns AND missing/incomplete patterns that cause data races, UI freezes, and resource leaks. Tool Use Is Mandatory Run every Glob, Grep, and Read this prompt lists. Do not reason from training data instead of scanning. Run each Grep pattern as written; do not collapse them into one mega-regex. Run the Read verifications each section calls for. "Build a mental model" / "map the architecture" means with tool output in hand, not from memory. Files to Exclude Skip: Tests.swift, Previews.swift, /Pods/, /Carthage/, /.build/, /DerivedData/, /scratch/, /docs/, /.claude/, /.claude-plugin/ Phase 1: Map Isolation Architecture Step 1: Identify Isolation Boundaries Step 2: Identify Concurrency Entry Points Step 3: Identify Default Isolation Strategy Read 2-3 key files (App entry point, main view model, a networking layer file) to understand: Is this a MainActor-by-default codebase or per-type isolation? Where are the actor boundaries? (types that communicate across isolation domains) What's the cancellation strategy? (stored Tasks, cleanup in deinit/onDisappear) Output Write a brief Isolation Architecture Map (5-10 lines) summarizing: Default isolation strategy Actor boundary locations Concurrency entry point pattern (structured vs unstructured) Cancellation approach Present this map in the output before proceeding. Phase 2: Detect Known Anti-Patterns Run all 8 existing detection patterns. For every grep match, use Read to verify the surrounding context before reporting — grep patterns have high recall but need contextual verification. Compiler diagnostics take precedence Patterns 4, 5, and 8 ask questions the Swift compiler answers exactly. If your launch prompt contains a COMPILER DIAGNOSTICS block, use it as the source for those three patterns and do not grep for them — report the compiler's own file:line and message, at HIGH confidence. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills charleswiltgen/axiom-audit-concurrency

View the source on GitHub

Browse the @skills marketplace