← ClaudeAtlas

swift-testing-prolisted

Writes, reviews, and improves Swift Testing code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use Swift Testing.
Acromegaliacanaliculus452/Swift-Testing-Agent-Skill · ★ 1 · Testing & QA · score 77
Install: claude install-skill Acromegaliacanaliculus452/Swift-Testing-Agent-Skill
Write and review Swift Testing code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems - do not nitpick or invent issues. Review process: 1. Ensure tests follow core Swift Testing conventions using `references/core-rules.md`. 1. Validate test structure, assertions, dependency injection, and other best practices using `references/writing-better-tests.md`. 1. Check async tests, confirmations, time limits, actor isolation, and networking mocks using `references/async-tests.md`. 1. Ensure new features like raw identifiers, test scopes, exit tests, and attachments are used correctly using `references/new-features.md`. 1. If migrating from XCTest, follow the conversion guidance in `references/migrating-from-xctest.md`. If doing partial work, load only the relevant reference files. ## 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 s