From apple-skills
Guides writing, reviewing, and migrating Swift Testing code with patterns for structs over classes, async confirmations, parameterized tests, exit tests, attachments, and common pitfalls.
npx claudepluginhub vabole/apple-skills --plugin apple-skillsThis skill uses the workspace's default tool permissions.
> **Guide Skill** — This is an expert workflow/pattern guide, not API reference documentation.
Guides writing tests with Swift Testing framework using @Test, #expect, #require macros, migrating from XCTest, async tests, and parameterization.
Guides Swift Testing: test structure, #expect/#require macros, traits/tags, parameterized tests, plans, parallel execution, async patterns, XCTest migration. For new tests, modernizing suites, flaky debugging.
Writes and migrates Swift tests using Swift Testing framework (@Test, @Suite, #expect/#require, traits, parameterized tests, mocking). Converts XCTest, organizes tests, handles async patterns.
Share bugs, ideas, or general feedback.
Guide Skill — This is an expert workflow/pattern guide, not API reference documentation. Originally from twostraws/Swift-Testing-Agent-Skill by Paul Hudson. MIT License.
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.
references/core-rules.md.references/writing-better-tests.md.references/async-tests.md.references/new-features.md.references/migrating-from-xctest.md.If doing partial work, load only the relevant reference files.
| Topic | Reference |
|---|---|
Structs over classes, @Suite, parallel execution, withKnownIssue, tags | references/core-rules.md |
Test hygiene, structure, DI, #expect vs #require, Issue.record(), verification methods | references/writing-better-tests.md |
Serialized tests, confirmation(), time limits, actor isolation, mocking networking | references/async-tests.md |
| Raw identifiers, exit tests, attachments, test scoping traits, range-based confirmations | references/new-features.md |
| XCTest-to-Swift Testing conversion, assertion mappings, floating-point tolerance | references/migrating-from-xctest.md |