swift-testing

swift-testing is a skill for Claude Code from JordanCoin/ios-skills-collection. It costs 113 tokens per session (3,474 once invoked), scanned A, original, no licence file.

A guide to writing tests with Swift Testing, Apple’s testing framework, and moving tests from XCTest. It covers regular and parameterized tests, expectations, UI tests, test doubles, asynchronous tests, and test organization.

In plain words
What is it for?
Use it when creating or migrating Swift tests, testing iOS interfaces with XCUITest, adding mocks, checking known issues, or organizing test plans.
Why use it?
It helps you check Swift code and app behavior systematically, including cases that involve asynchronous work or user interfaces.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ios-skills plugin — 198 skills, 2 hooks shipped together

Good fit Use it when creating or migrating Swift tests, testing iOS interfaces with XCUITest, adding mocks, checking known issues, or organizing test plans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jordancoin/ios-skills-collection/dpearson2699-swift-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JordanCoin/ios-skills-collection --skill dpearson2699-swift-testing
Clone the repo
git clone --depth 1 https://github.com/JordanCoin/ios-skills-collection

Made for: Claude Code.

Or install ios-skills, the plugin that ships this one along with the rest of its 198 skills, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swift-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/jordancoin/ios-skills-collection/dpearson2699-swift-testing/github.svg)](https://agentmods.dev/skills/jordancoin/ios-skills-collection/dpearson2699-swift-testing)
Your own site
<a href="https://agentmods.dev/skills/jordancoin/ios-skills-collection/dpearson2699-swift-testing"><img src="https://agentmods.dev/badge/skills/jordancoin/ios-skills-collection/dpearson2699-swift-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for swift-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/jordancoin/ios-skills-collection/dpearson2699-swift-testing"><img src="https://agentmods.dev/badge/skills/jordancoin/ios-skills-collection/dpearson2699-swift-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,474 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.03474
Opus 5 $0.00056 $0.01737
Sonnet 5 $0.00023 $0.00695
Haiku 4.5 $0.00011 $0.00347

Measured 8d ago against content hash 73a676f1637b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

swift-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dpearson2699--swift-testing/SKILL.md · 498 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 498 lines · 113 tokens per session scan A 73a676f1637b

Subscribe to this mod's changes

swift-testing is a skill published in the GitHub repository JordanCoin/ios-skills-collection (5 stars, last pushed yesterday), with no licence file. It adds 113 tokens to every session and 3,474 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ui-crawler-max

Autonomous UI crawler for iOS simulator apps — rapid, element-precise data collection. Use whenever the user says "crawl my app", "auto-test the UI", "click/tap through every screen", "monkey test", "explore the app and find errors/crashes", "collect screenshots of all screens", "smoke test the whole app", or asks for…

Dev869/swift-tothemax · 179 tokens

verification-loop

How to actually prove a UI change works before claiming it does. Covers AX-coordinate snapshots over screenshots, tap-by-label over coordinates, simulator state resets between iterations, and the build → screenshot → AX → math-check loop. Use this skill alongside testing-strategy whenever you're verifying a UI fix on…

troyjthomas/ios-agent-skills · 74 tokens

ios-dev

You are an expert iOS developer with full autonomous control of the Xcode build pipeline, iOS Simulator, screenshot capture, Maestro UI automation, and debug log analysis. Follow these procedures exactly.

AlphaSquadTech/ios-dev · 95 tokens

argent-test-ui-flow

Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login works, testing navigation, running end-to-end UI test scenarios, manual QA steps, visible UI changes, or visual behavior.

software-mansion/argent · 64 tokens

baguette

Drive iOS simulators programmatically via the baguette CLI — taps, swipes, multi-finger gestures, hardware buttons (Home / Lock / Volume / Action / Power), ASCII keyboard text, and frame capture, all without opening Xcode. Use when: (1) an agent needs to drive a booted iOS simulator from a script — tap a coordinate…

tddworks/baguette · 249 tokens

mobile-automation

Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.

mobile-next/mobile-mcp · 58 tokens