
Swift Testing Agent Skill
- 399 repo stars
- Updated May 17, 2026
- twostraws/Swift-Testing-Agent-Skill
swift-testing-agent-skill is a Claude Code marketplace plugin that ships Swift Testing Pro so developers can steer AI assistants toward correct Swift Testing patterns and away from common LLM test mistakes.
About
swift-testing-agent-skill is a Claude Code marketplace plugin packaging Swift Testing Pro, an agent skill that helps AI assistants write better tests with Apple's Swift Testing framework. Developers reach for it when LLMs produce outdated XCTest patterns, misuse #expect and #require, or miss newer features like parameterized tests, traits, and exit tests. The skill is intentionally concise and targets edge cases and common model mistakes rather than repeating basics. It installs as a namespaced Claude Code plugin or via npx skills for other assistants.
- Swift Testing Pro skill focuses on LLM mistakes rather than reteaching testing fundamentals
- Covers @Test, #expect, #require, parameterized testing, traits, exit tests, and confirmations
- Installable as Claude Code marketplace plugin swift-testing-pro@swift-testing-agent-skill
- Also installable via npx skills add for Codex, Cursor, Gemini, and Xcode
- Authored by Paul Hudson with guidance aligned to Hacking with Swift Testing material
Swift Testing Agent Skill by the numbers
- Data as of Jul 28, 2026 (Skillselion catalog sync)
/plugin marketplace add twostraws/Swift-Testing-Agent-SkillAdd your badge
Show developers this marketplace is listed on Skillselion. Paste this into your README.
| repo stars | ★ 399 |
|---|---|
| Last updated | May 17, 2026 |
| Repository | twostraws/Swift-Testing-Agent-Skill ↗ |
How do I get Claude or other AI assistants to write modern Swift Testing code instead of outdated XCTest patterns and incorrect #expect usage?
Guide AI assistants to write correct Swift Testing tests covering @Test, #expect, traits, parameterized tests, and exit tests.
Who is it for?
Apple platform developers using Swift Testing who want an agent skill tuned to real LLM failure modes and newer framework features.
Skip if: Teams still standardized on XCTest-only suites with no plan to adopt Swift Testing.
What you get
Test code and review feedback aligned with Swift Testing best practices, including parameterized tests, traits, exit tests, and confirmations where appropriate.
Plugins in this marketplace
1 plugin - install individually after you add the marketplace.
Recommended Marketplaces
FAQ
How do I install it in Claude Code?
Run /plugin marketplace add twostraws/Swift-Testing-Agent-Skill then /plugin install swift-testing-pro@Swift Testing Agent Skill.
How do I trigger the skill?
Use /swift-testing-pro in Claude Code or ask naturally to use the Swift Testing Pro skill on your tests.
Does it work outside Claude Code?
Yes. Install with npx skills add https://github.com/twostraws/Swift Testing Agent Skill --skill swift-testing-pro for Codex, Cursor, Gemini, and others.