guide-swift-testing
Swift Testing patterns — structs over classes, async confirmations, parameterized tests, exit tests, attachments, common agent mistakes.
Skill by Prisma-Labs-Dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/prisma-labs-dev-guide-swift-testing
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/guide-swift-testing
What's inside
- Skill name
guide-swift-testing- Description
- Swift Testing patterns — structs over classes, async confirmations, parameterized tests, exit tests, attachments, common agent mistakes. Use when writing, reviewing, or migrating Swift Testing code.
- License
- MIT
- Instructions
- 34 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- async-tests.md · references/
- core-rules.md · references/
- migrating-from-xctest.md · references/
- new-features.md · references/
- writing-better-tests.md · references/
SKILL.md (first lines)
> **Guide Skill** — This is an expert workflow/pattern guide, not API reference documentation. > Originally from [twostraws/Swift-Testing-Agent-Skill](https://github.com/twostraws/Swift-Testing-Agent-Skill) by Paul Hudson. MIT License. # Swift Testing Patterns 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. ## Core Instructions - Target Swift 6.2 or later, using modern Swift concurrency. - Swift Testing does *not* support UI tests — XCTest must be used there. - Do not rewrite existing XCTest to Swift Testing unless requested. ## Review Process 1. Ensure tests follow core conventions using `references/core-rules.md`. 2. Validate structure, assertions, dependency injection, and best practices using `references/writing-better-tests.md`. 3. Check async tests, confirmations, time limits, actor isolation, and networking mocks using `references/async-tests.md`. 4. Ensure new features like raw identifiers, exit tests, and attachments are used correctly using `references/new-features.md`. 5. If migrating from XCTest, follow `references/migrating-from-xctest.md`. If doing partial work, load only the relevant reference files. ## References | 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` |
From Prisma-Labs-Dev/apple-skills, MIT.
More from Prisma-Labs-Dev/apple-skills
- 0.797score
ios-dev
Prisma-Labs-Dev
Start here for any iOS or SwiftUI task.
SkillAFreshness: A★ 349Claude Code +9 - 0.760score
guide-swiftdata
Prisma-Labs-Dev
SwiftData patterns — autosave, relationships, dangerous predicates, CloudKit constraints, indexing, class inheritance.
SkillBFreshness: B★ 349Claude Code +9 - 0.760score
guide-swiftui-ui-patterns
Prisma-Labs-Dev
Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive…
SkillBFreshness: B★ 349Claude Code +9 - 0.754score
guide-swiftui-animations
Prisma-Labs-Dev
SwiftUI animation patterns — implicit/explicit animations, transitions, phase/keyframe animations, the Animatable protocol, and the @Animatable macro.
SkillBFreshness: B★ 349Claude Code +9 - 0.751score
core-animation
Prisma-Labs-Dev
API reference: Core Animation (QuartzCore).
SkillBFreshness: B★ 349Claude Code +9 - 0.703score
guide-swiftui-view-refactor
Prisma-Labs-Dev
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency…
SkillCFreshness: C★ 349Claude Code +9 - 0.697score
apple-docs-index
Prisma-Labs-Dev
Index of Apple developer documentation for iOS, macOS, and related frameworks.
SkillCFreshness: C★ 349Claude Code +9 - 0.697score
ios-design-consultant
Prisma-Labs-Dev
UX and visual design consultant for iOS apps using Apple's Liquid Glass design system (iOS 26+).
SkillCFreshness: C★ 349Claude Code +9 - 0.697score
ios-ui-craft
Prisma-Labs-Dev
Production-grade SwiftUI with Apple Design Award-quality aesthetics.
SkillCFreshness: C★ 349Claude Code +9 - 0.693score
uikit
Prisma-Labs-Dev
API reference: UIKit.
SkillCFreshness: C★ 349Claude Code +9 - 0.693score
hig
Prisma-Labs-Dev
Fact lookup: Apple Human Interface Guidelines corpus (greppable markdown).
SkillCFreshness: C★ 349Claude Code +9 - 0.693score
ios-liquid-glass
Prisma-Labs-Dev
API reference: Liquid Glass (iOS 26+).
SkillCFreshness: C★ 349Claude Code +9
Signals
- Stars
- 349
- Forks
- 21
- Open issues
- 1
- Last commit (this folder)
- Apr 12, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Prisma-Labs-Dev/apple-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Prisma-Labs-Dev
- 0.797score
ios-dev
Prisma-Labs-Dev
Start here for any iOS or SwiftUI task.
SkillAFreshness: A★ 349Claude Code +9 - 0.760score
guide-swiftdata
Prisma-Labs-Dev
SwiftData patterns — autosave, relationships, dangerous predicates, CloudKit constraints, indexing, class inheritance.
SkillBFreshness: B★ 349Claude Code +9 - 0.760score
guide-swiftui-ui-patterns
Prisma-Labs-Dev
Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive…
SkillBFreshness: B★ 349Claude Code +9 - 0.754score
guide-swiftui-animations
Prisma-Labs-Dev
SwiftUI animation patterns — implicit/explicit animations, transitions, phase/keyframe animations, the Animatable protocol, and the @Animatable macro.
SkillBFreshness: B★ 349Claude Code +9 - 0.751score
core-animation
Prisma-Labs-Dev
API reference: Core Animation (QuartzCore).
SkillBFreshness: B★ 349Claude Code +9 - 0.703score
guide-swiftui-view-refactor
Prisma-Labs-Dev
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency…
SkillCFreshness: C★ 349Claude Code +9
Cite this page
guide-swift-testing skill. Agent Mart. https://agentmart.dev/skills/prisma-labs-dev-guide-swift-testing (last updated 2026-10-24)