This skill helps you write and migrate Swift tests using Apple's modern Swift Testing framework instead of XCTest. It guides you through expect/require macros, parameterized tests, parallel execution, and traits for metadata and filtering. The agent pushes you toward isolated, parallel-safe tests by default and only suggests serialization as a last resort. It's opinionated about incremental migration: convert assertions first, then refactor suites, then add parameterization. Use it when modernizing legacy XCTest suites, debugging flaky tests, or setting up new test targets on Apple platforms or Swift server projects. The verification checklist and routing map keep you from drowning in reference docs.

skills.sh installs
5.5K
GitHub stars
479
last updated
Aug 21, 2026

Install

$ npx -y skills add avdlee/swift-testing-agent-skill --skill swift-testing-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

Swift Testing

Overview

Use this skill to write, review, migrate, and debug Swift tests with modern Swift Testing APIs. Prioritize readable tests, robust parallel execution, clear diagnostics, and incremental migration from XCTest where needed.

Agent behavior contract (follow these rules)

Sponsors

Details

Repository
github.com/avdlee/swift-testing-agent-skill
Categories
Backend & APIs, Testing & QA, Documentation, Code Review & Quality, AI & Agent Building, Debugging, Automation & Workflows, Mobile Development
1affaan-m avatarios-icon-genaffaan-m/eccGenerate iOS app icons as PNG imagesets for Xcode asset catalogs from SF Symbols (5000+ Apple-native) or Iconify API (275k+ open source icons from 200+ collecti5.5Kskills.sh installs
2affaan-m avatarregex-vs-llm-structured-textaffaan-m/eccDecision framework for choosing between regex and LLM when parsing structured text — start with regex, add LLM only for low-confidence edge cases.5.5Kskills.sh installs
3affaan-m avatarhomelab-wireguard-vpnaffaan-m/eccWireGuard VPN server setup, peer configuration, key generation, split tunneling vs full tunnel routing, and remote access to a home network from mobile and lapt5.5Kskills.sh installs
4affaan-m avatarclickhouse-ioaffaan-m/eccClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.5.5Kskills.sh installs
5trailofbits avatarburpsuite-project-parsertrailofbits/skillsSearches and explores Burp Suite project files (.burp) from the command line. Use when searching response headers or bodies with regex patterns, extracting secu5.4Kskills.sh installs
6affaan-m avatarhomelab-vlan-segmentationaffaan-m/eccSegmenting home networks into VLANs for IoT, guest, trusted, and server traffic using UniFi, pfSense/OPNsense, and MikroTik — including switch trunk config, fir5.4Kskills.sh installs