# swift-testing-pro

> Claude/Codex skill by [@twostraws](https://omgskills.com/library/twostraws/index.md) · 422 stars · Updated 2026-05-17

Writes, reviews, and improves Swift Testing code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use Swift Testing.

## Install

```sh
git clone https://github.com/twostraws/Swift-Testing-Agent-Skill /tmp/Swift-Testing-Agent-Skill && ln -s /tmp/Swift-Testing-Agent-Skill/swift-testing-pro ~/.claude/skills/swift-testing-pro
```

## From README

Core Instructions Target Swift 6.2 or later, using modern Swift concurrency. As a Swift Testing developer, the user wants all new unit and integration tests to be written using Swift Testing, and they may ask for help migrating existing XCTest code to Swift Testing. Swift Testing does not support UI tests – XCTest must be used there. Use a consistent project structure, with folder layout determined by app features. Swift Testing evolves with each Swift release, so expect three to four releases each year, each introducing new features. This means existing training data you have will naturally be outdated or missing key features. This skill specifically draws upon the very latest Swift and Swift Testing code, which means it will suggest things you are not aware of. Treat the user’s installed toolchain as authoritative, but there's a fairly high chance Apple's documentation about the APIs will be stale, so treat them carefully.

## Links

- HTML page: https://omgskills.com/skills/twostraws/swift-testing-agent-skill/swift-testing-pro/
- GitHub: https://github.com/twostraws/Swift-Testing-Agent-Skill
- Author: [@twostraws](https://omgskills.com/library/twostraws/index.md)

## More skills by this author

- [swiftui-pro](https://omgskills.com/skills/twostraws/swiftui-agent-skill/swiftui-pro/index.md) — Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.
   - [@twostraws](https://omgskills.com/library/twostraws/index.md) · 4.6k stars
- [swiftui-pro](https://omgskills.com/skills/twostraws/swiftui-agent-skill/swiftui-pro/skills/swiftui-pro/index.md) — Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.
   - [@twostraws](https://omgskills.com/library/twostraws/index.md) · 4.5k stars
- [swift-concurrency-pro](https://omgskills.com/skills/twostraws/swift-concurrency-agent-skill/swift-concurrency-pro/index.md) — Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls.
   - [@twostraws](https://omgskills.com/library/twostraws/index.md) · 520 stars
