axiom-analyze-test-failures

Analyze Swift test suites for flaky patterns and concurrency issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the frustration of intermittent test failures in Swift projects, specifically targeting race conditions, concurrency issues, and timing-dependent bugs that pass locally but fail in CI environments.

Core Features & Use Cases

  • Flaky Pattern Detection: Automatically scans your test suite for common pitfalls like missing @MainActor isolation, improper async waiting, and shared mutable state.
  • Crash Analysis: Integrates with system diagnostic reports to identify the root cause of test-generated crashes.
  • Use Case: When a test suite fails randomly in CI, use this skill to pinpoint exactly which test is suffering from parallel execution races or missing confirmation handlers.

Quick Start

Run the axiom-analyze-test-failures skill to scan the current repository for flaky test patterns and provide remediation steps.

Frequently Asked Questions about axiom-analyze-test-failures

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

FAQPage Schema
How do I fix flaky Swift tests that pass locally but fail in CI?

Flaky Swift tests in CI are typically caused by race conditions, missing @MainActor isolation, or shared mutable state. Analyze the test source files to detect improper async waiting and parallel execution races to resolve these intermittent failures.

What causes concurrency violations in Swift test suites during parallel execution?

Concurrency violations in Swift test suites stem from missing async confirmations, lack of @MainActor isolation, and shared mutable state. These timing-dependent bugs cause tests to fail randomly when executed concurrently in CI pipelines.

How do I diagnose Swift test crashes using system diagnostic logs?

Diagnose Swift test crashes by integrating system diagnostic reports with your test source files. This triage process identifies the root cause of test-generated crashes and detects flaky test patterns like missing concurrency isolation.

Can I scan my repository for missing async confirmation handlers in Swift tests?

Yes, you can scan a repository's test files to identify missing async confirmation handlers and other flaky test patterns. This requires access to test source files and system diagnostic logs to perform comprehensive failure triage.

What is the best way to identify shared mutable state causing intermittent test failures?

Identify shared mutable state by scanning test suites for common flaky test patterns including concurrency violations and improper async waiting. Targeting test files within the repository isolates the exact tests suffering from parallel execution races.

What are the limitations of automated flaky test pattern detection in Swift?

Automated flaky test detection requires access to test source files and system diagnostic logs. It targets Swift-specific patterns like missing @MainActor isolation and cannot diagnose failures without adequate system diagnostic reports for crash analysis.