| name | swift-testing-pro |
| description | Writes, reviews, and improves Swift Testing code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use Swift Testing. |
| license | MIT |
| argument-hint | [focus area] |
| metadata | {"author":"Paul Hudson","version":"1.0"} |
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:
- Ensure tests follow core Swift Testing conventions using
${CLAUDE_SKILL_DIR}/references/core-rules.md.
- Validate test structure, assertions, dependency injection, and other best practices using
${CLAUDE_SKILL_DIR}/references/writing-better-tests.md.
- Check async tests, confirmations, time limits, actor isolation, and networking mocks using
${CLAUDE_SKILL_DIR}/references/async-tests.md.
- Ensure new features like raw identifiers, test scopes, exit tests, and attachments are used correctly using
${CLAUDE_SKILL_DIR}/references/new-features.md.
- If migrating from XCTest, follow the conversion guidance in
${CLAUDE_SKILL_DIR}/references/migrating-from-xctest.md.