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-code

Installs 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:

  1. Ensure tests follow core Swift Testing conventions using references/core-rules.md.
  2. Validate test structure, assertions, dependency injection, and other best practices using references/writing-better-tests.md.
  3. Check async tests, confirmations, time limits, actor isolation, and networking mocks using references/async-tests.md.
  4. Ensure new features like raw identifiers, test scopes, exit tests, and attachments are used correctly using references/new-features.md.
  5. 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

Details

Repository
github.com/twostraws/swift-testing-agent-skill
Categories
Testing & QA, Documentation, AI & Agent Building, Mobile Development
1cypress-io avatarcypress-docscypress-io/ai-toolkitSearch and extract Cypress information from official documentation (docs.cypress.io, cypress.io); prefer LLM markdown under /llm/* and refuse unverified API or 8.7Kskills.sh installs
2google avatardetection-engineering-coverage-evaluationgoogle/skillsAutomates the end-to-end detection engineering workflow in Google SecOps using MCP tools. Use when fetching threat intelligence from blogs, generating Threat De7.3Kskills.sh installs
3trailofbits avatarcoverage-analysistrailofbits/skillsCoverage analysis measures code exercised during fuzzing. Use when assessing harness effectiveness or identifying fuzzing blockers.5.8Kskills.sh installs
4trailofbits avatartesting-handbook-generatortrailofbits/skillsMeta-skill that analyzes the Trail of Bits Testing Handbook (appsec.guide) and generates Claude Code skills for security testing tools and techniques. Use when 5.6Kskills.sh installs
5trailofbits avatarconstant-time-testingtrailofbits/skillsConstant-time testing detects timing side channels in cryptographic code. Use when auditing crypto implementations for timing vulnerabilities.5.6Kskills.sh installs
6forcedotcom avatardx-devops-test-failures-analyzeforcedotcom/sf-skillsAnalyzes DevOps Center test failures and Code Analyzer violations in plain language — failure category, offending file/class/method/line, rule violated, fix dir5.1Kskills.sh installs