swift-testing-expert — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited swift-testing-expert (Plugin) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Expert guidance for any AI coding tool that supports the Agent Skills open format - modern Swift Testing APIs, XCTest migration, parameterized tests, traits/tags, async testing, and parallel execution patterns.
This repository distills practical Swift Testing best practices into actionable, concise references for agents and code review workflows.
Install this skill with a single command:
npx skills add https://github.com/avdlee/swift-testing-agent-skill --skill swift-testing-expertFor more information, visit the skills.sh platform page.
Then use the skill in your AI agent, for example:
Use the swift testing skill and review this test target for migration opportunities and flaky parallel behavior.
#### Personal Usage To install this Skill for your personal use in Claude Code:
/plugin marketplace add AvdLee/Swift-Testing-Agent-Skill/plugin install swift-testing-expert@swift-testing-agent-skill#### Updating After a Release If Claude Code still shows an older version after a new GitHub release, refresh the marketplace before reinstalling or updating the Skill:
/plugin marketplace update swift-testing-agent-skillClaude Code reads available plugin versions from your local marketplace copy, so updating the marketplace is what pulls the latest .claude-plugin/marketplace.json.
#### Project Configuration To automatically provide this Skill to everyone working in a repository, configure the repository's .claude/settings.json:
{
"enabledPlugins": {
"swift-testing-expert@swift-testing-agent-skill": true
},
"extraKnownMarketplaces": {
"swift-testing-agent-skill": {
"source": {
"source": "github",
"repo": "AvdLee/Swift-Testing-Agent-Skill"
}
}
}
}When team members open the project, Claude Code will prompt them to install the Skill.
1) Clone this repository. 2) Install or symlink the swift-testing-expert/ folder following your tool's official skills installation docs (see links below). 3) Use your AI tool as usual and ask it to use the "swift-testing-expert" skill for Swift Testing tasks.
#### Where to Save Skills Follow your tool's official documentation, here are a few popular ones:
How to verify:
Your agent should reference the routing/playbook in swift-testing-expert/SKILL.md and jump into the relevant file in swift-testing-expert/references/.
This skill gives your AI coding tool practical Swift Testing guidance. It can:
.serialized is a temporary compromise#expect effectively with rich diagnostics#require for prerequisite flow and safer unwrappingXCTAssert* patterns to Swift Testing macrosXCUIApplication, XCTMetric, Objective-C tests)Source-grounded: Built from SwiftLee's complete Swift Testing article set plus WWDC 2024 sessions "Meet Swift Testing" and "Go further with Swift Testing."
Non-Opinionated: Focuses on test correctness, readability, and maintainability without forcing a project architecture.
Modern-first: Prioritizes Swift Testing primitives, parallel defaults, and macro-based diagnostics over legacy assertion styles.
Practical and concise: Emphasizes playbooks and decision points teams actually use during migrations and ongoing test maintenance.
<!-- references-structure:start -->
swift-testing-expert/
SKILL.md
references/
_index.md
async-testing-and-waiting.md - Async waiting, continuations, and callback-event testing
expectations.md - #expect, #require, throw checks, and known issues
fundamentals.md - @Test, suites, structure, and naming patterns
migration-from-xctest.md - Incremental XCTest coexistence and migration strategy
parallelization-and-isolation.md - Parallel defaults, randomized order, and .serialized usage
parameterized-testing.md - Single/multi-argument tests, zip pairing, and scaling
performance-and-best-practices.md - High-signal testing defaults for speed, determinism, and flakiness prevention
traits-and-tags.md - Traits, tags, conditions, bug links, and test-plan filtering
xcode-workflows.md - Test navigator/report workflows and diagnostics practices<!-- references-structure:end -->
This skill is based on:
Contributions are welcome! This repository follows the Agent Skills open format, which has specific structural requirements.
We strongly recommend using AI assistance for contributions:
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for:
SKILL.md and references safelyCreated by Antoine van der Lee. This skill distills Swift Testing guidance from SwiftLee articles and WWDC material into an implementation-oriented playbook for AI assistants.
This skill is open-source and available under the MIT License. See LICENSE for details.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.