←Leaderboard/Testing/Swift-Testing-Agent-Skill
Last commit on March 8, 2026·Created on February 12, 2026

AvdLee/Swift-Testing-Agent-Skill

“Write and migrate tests using Swift Testing.”
Combined rank
#583
across all skills
In Testing
#5
category rank
Stars
479
+0.6% in last 7d
Forks
20
0.0% in last 7d
Watchers
7
0.0% in last 7d
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
TL;DR

This skill gives concrete guidance for Swift Testing: test structure, assertions, parameterized tests, async patterns, and incremental migration from XCTest. It helps Swift developers on Apple platforms and server projects write clearer tests, isolate flaky failures, and adopt modern test patterns without rewriting everything at once.

WHO IT'S FOR
Apple Platform Developers
write modern Swift tests for Apple platforms
Swift Server Developers
write and maintain tests for Swift server projects
Test Automation Engineers on Apple Stacks
debug flaky tests and improve test reliability
XCTest Migration Teams
migrate existing XCTest suites to Swift Testing
Repository contents

1 skill file

Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.

Use this skill

Follow the documented setup, then try a first task.

I’m using

Install with skills.sh

Installs: Installs the swift-testing-expert skill from the Swift-Testing-Agent-Skill repository. · Any AI coding tool that supports the Agent Skills open format

  1. Run this terminal command to add the swift-testing-expert skill from the repository.

    npx skills add https://github.com/avdlee/swift-testing-agent-skill --skill swift-testing-expert
README.md ↗ · Checked Nov 5, 2026.claude-plugin/plugin.json ↗ · Checked Nov 5, 2026

Give it something to do.

Suggested first task

Review a Swift test target

Uses swift-testing-expert

  • Path to a Swift test target, or its pasted test code
  • Xcode/Swift version and platform targets
  • Whether failures are deterministic or flaky
  • Any shared databases, files, network resources, or global state used by the tests
Use the swift-testing-expert skill and review this test target for migration opportunities and flaky parallel behavior. Start with a concise list of the highest-value findings and suggested next steps; do not modify files. Test target: <path-or-pasted-test-code>.
swift-testing-expert/SKILL.md ↗ · Checked Nov 5, 2026README.md ↗ · Checked Nov 5, 2026
Suggested first task

Turn repetitive tests into one parameterized test

Uses swift-testing-expert

  • Path to, or pasted code for, a small group of repetitive Swift tests
  • Xcode/Swift version and platform targets
Use the swift-testing-expert skill to review these repetitive Swift tests: <path-or-pasted-tests>. Propose one small conversion to a parameterized @Test(arguments:) test, with a clean argument design and a brief explanation of how the change preserves behavior. Do not modify files.
swift-testing-expert/SKILL.md ↗ · Checked Nov 5, 2026
Suggested first task

Plan an incremental XCTest migration

Uses swift-testing-expert

  • Path to, or pasted code for, an XCTest test or test file
  • Xcode/Swift version and platform targets
Use the swift-testing-expert skill to assess this XCTest test or test file: <path-or-pasted-test-code>. Produce a small first-step migration plan that converts assertions before reorganizing suites or adding parameterization and traits. Identify anything that should remain in XCTest, such as UI automation, performance metrics, or Objective-C-only test code. Do not modify files.
swift-testing-expert/SKILL.md ↗ · Checked Nov 5, 2026