From axiom
Use when writing ANY test, debugging flaky tests, making tests faster, or asking about Swift Testing vs XCTest. Covers unit tests, UI tests, fast tests without simulator, async testing, test architecture.
How this skill is triggered — by the user, by Claude, or both
Slash command
/axiom:ios-testingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**You MUST use this skill for ANY testing-related question, including writing tests, debugging test failures, making tests faster, or choosing between testing approaches.**
You MUST use this skill for ANY testing-related question, including writing tests, debugging test failures, making tests faster, or choosing between testing approaches.
Use this router when you encounter:
This router invokes specialized skills based on the specific testing need:
Triggers:
@Test, #expect, #require, @Suite)withMainSerialExecutor, TestClockswift test)Why swift-testing: Modern Swift Testing framework with parallel execution, better async support, and the ability to run without launching simulator.
Invoke: Read the swift-testing skill
Triggers:
sleep() or arbitrary timeoutsWhy ui-testing: XCUITest requires simulator and has unique patterns for reliability.
Invoke: Read the ui-testing skill
Triggers:
Why xcode-debugging: Test failures from environment issues, not test logic.
Invoke: Read the xcode-debugging skill
User has testing question
│
├─ Writing unit tests or asking about Swift Testing?
│ └─ YES → swift-testing
│
├─ Writing UI tests or debugging XCUITest?
│ └─ YES → ui-testing
│
├─ Tests crash or environment seems wrong?
│ └─ YES → xcode-debugging (via ios-build)
│
├─ Tests are slow, want to speed them up?
│ └─ YES → swift-testing (Fast Tests section)
│
└─ Testing async code, seeing flaky failures?
└─ YES → swift-testing (Async Testing section)
| Need | Use |
|---|---|
| Unit tests (logic, models) | Swift Testing |
| UI tests (tap, swipe, assert screens) | XCUITest (XCTest) |
| Tests without simulator | Swift Testing + Package/Framework |
| Parameterized tests | Swift Testing |
| Performance measurements | XCTest (XCTMetric) |
| Objective-C tests | XCTest |
Do NOT skip this router for:
Fast, reliable tests are foundational to code quality.
User: "How do I write a unit test in Swift?" → Invoke: swift-testing
User: "My UI tests are flaky in CI" → Invoke: ui-testing
User: "How do I test async code without flakiness?" → Invoke: swift-testing (Async Testing section)
User: "I want my tests to run faster" → Invoke: swift-testing (Fast Tests section)
User: "Should I use Swift Testing or XCTest?" → Invoke: swift-testing (Migration section) + this decision tree
User: "Tests crash before any assertions" → Invoke: xcode-debugging
npx claudepluginhub dorucioclea/axiom --plugin axiomGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.