axiom-audit-concurrency

Analyze Swift source code for concurrency anti-patterns and data races.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-audit-concurrency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-audit-concurrency
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-audit-concurrency
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-audit-concurrency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill identifies critical Swift 6 concurrency anti-patterns, data races, and UI-blocking code that lead to crashes and performance degradation in modern macOS applications.

Core Features & Use Cases

  • Isolation Mapping: Automatically maps actor boundaries and concurrency entry points to visualize thread safety.
  • Anti-Pattern Detection: Scans for unsafe task captures, missing MainActor annotations, and thread confinement violations.
  • Health Scoring: Provides a readiness score based on structured concurrency usage and legacy GCD bridge patterns.
  • Use Case: Use this during a code review to ensure your view models are properly isolated and that background tasks do not cause data races or UI freezes.

Quick Start

Run the axiom-audit-concurrency skill to scan the current repository for Swift 6 concurrency violations and provide a health report.

Frequently Asked Questions about axiom-audit-concurrency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect data races and Swift 6 concurrency violations in my codebase?

To detect data races and Swift 6 concurrency violations, you need to scan source code for unsafe task captures, missing MainActor annotations, and incomplete Sendable protocol conformance to ensure strict isolation boundaries.

What is Swift 6 strict concurrency compliance and when do I need it?

Swift 6 strict concurrency compliance ensures thread safety by enforcing actor isolation boundaries and Sendable conformance across asynchronous codebases. You need it to prevent UI thread stalls, data races, and crashes in modern macOS applications.

How to check if my view models are properly isolated for async-await code review?

To check view model isolation during async-await code review, map actor boundaries and concurrency entry points to verify thread safety, ensuring background tasks have proper MainActor annotations and do not cause UI freezes or data races.

Can I use this to scan legacy GCD bridge patterns and asynchronous code in macOS apps?

Yes, you can scan legacy GCD bridge patterns and complex asynchronous code in macOS apps. The analysis evaluates structured concurrency usage and provides a health readiness score to identify thread confinement violations and UI-blocking code.

Why does my Swift background task cause a UI freeze despite using async-await?

Swift background tasks cause UI freezes when async-await code lacks proper MainActor isolation or violates thread confinement. Scanning for missing annotations and unsafe task captures identifies the exact concurrency anti-patterns blocking the UI thread.

What is the best way to visualize actor boundaries and concurrency entry points?

The best way to visualize actor boundaries and concurrency entry points is through systematic isolation mapping of actor declarations and task creation points, which reveals thread safety gaps and missing Sendable protocol conformance in Swift code.