Swift Testing Expert

Antoine van der Lee's Swift Testing skill: #expect, #require, traits, tags, parameterized tests and XCTest migration.

View on GitHub ↗
Stars
★ 474
Last commit
22 Apr 2026
Maintenance
Slowing
Licence
MIT
Category
Agent Skills
GitHub
AvdLee/Swift-Testing-Agent-Skill

Overview

An agent skill that gives AI coding tools practical Swift Testing guidance. It helps you structure tests, write clearer expectations, migrate from XCTest and fix flaky tests. It is built from SwiftLee's Swift Testing articles and the WWDC 2024 sessions on the framework.

Features

  • When to use suites, traits, tags and display names
  • Turning repetitive tests into parameterised ones
  • Using #expect and #require effectively
  • Running Swift Testing and XCTest side by side during migration
  • Removing hidden dependencies between tests exposed by parallel runs

Requirements

The source doesn't list any requirements, so check the project's own docs before you install.

Install

  1. Install with the skills CLI

    npx skills add https://github.com/avdlee/swift-testing-agent-skill --skill swift-testing-expert
  2. Or as a Claude Code plugin

    /plugin marketplace add AvdLee/Swift-Testing-Agent-Skill
    /plugin install swift-testing-expert@swift-testing-agent-skill

Example

Ask: "Use the swift testing skill and review this test target for migration opportunities and flaky parallel behavior."

Works with

Claude CodeCursorCodex

Listed in

swiftskills.devtwostraws/Swift-Agent-Skillsawesome-ios-ai

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

More in this category