
Swift Testing Pro
From Paul Hudson, this does exactly what you'd expect: writes Swift Testing code and reviews existing tests against modern best practices. It catches the usual migration issues like using structs instead of XCTest classes, switching XCTAssertEqual to #expect, and using #require for safe unwrapping. What's genuinely helpful is that it knows the newer Swift Testing features like confirmations, exit tests, and attachments that most other resources miss. The review format is clean with before/after code snippets and prioritized summaries, making it easy to fix the important stuff first.
- skills.sh installs
- 10.6K
- GitHub stars
- 478
- last updated
- Aug 21, 2026
Install
$ npx -y skills add twostraws/swift-testing-agent-skill --skill swift-testing-pro --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
references/core-rules.md. - Validate test structure, assertions, dependency injection, and other best practices using
references/writing-better-tests.md. - Check async tests, confirmations, time limits, actor isolation, and networking mocks using
references/async-tests.md. - Ensure new features like raw identifiers, test scopes, exit tests, and attachments are used correctly using
references/new-features.md. - 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
Sponsors