swift-testing-agent-skill marketplace

A guide to Swift Testing, Apple’s framework for writing automated tests for Swift code.

In plain words
What is it for?
It helps write tests with @Test, #expect, and #require, organize suites and fixtures, use mocks, stubs, and spies, and create integration or snapshot tests.
Why use it?
It explains testing patterns and helps developers move from the older XCTest system to Swift Testing.

Plugin for Claude Code

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.

Claude Code
/plugin marketplace add bocato/swift-testing-agent-skill
agentmods
npx agentmods add plugins/bocato/swift-testing-agent-skill/marketplace
Clone the repo
git clone --depth 1 https://github.com/bocato/swift-testing-agent-skill

Made for: Claude Code.

Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

swift-testing-agent-skill marketplace 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 3d 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.

.claude-plugin/marketplace.json · 60 lines

What it actually says

{
  "$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
  "name": "swift-testing-agent-skill",
  "version": "1.0.0",
  "owner": {
    "name": "Eduardo Bocato",
    "email": "[email protected]"
  },
  "metadata": {
    "description": "Expert guidance on Swift Testing: @Test, #expect, #require, test doubles, fixtures, and XCTest migration patterns."
  },
  "plugins": [
    {
      "name": "swift-testing",
      "description": "Expert guidance on Swift Testing best practices, patterns, and implementation. Covers @Test, #expect, #require, @Suite, test doubles (mocks, stubs, spies), fixtures, integration testing, snapshot testing, and XCTest migration strategies.",
      "repository": "https://github.com/bocato/swift-testing-agent-skill",
      "version": "1.0.0",
      "author": {
        "name": "Eduardo Bocato",
        "email": "[email protected]"
      },
      "license": "MIT",
      "category": "development",
      "keywords": [
        "swift",
        "testing",
        "swift-testing",
        "xctest",
        "unit-test",
        "integration-test",
        "snapshot-test",
        "test-doubles",
        "mocks",
        "stubs",
        "spies",
        "fixtures",
        "tdd",
        "ios",
        "macos",
        "apple"
      ],
      "tags": [
        "swift",
        "testing",
        "swift-testing",
        "xctest",
        "test-doubles",
        "fixtures",
        "tdd",
        "apple-platforms"
      ],
      "source": "./",
      "skills": [
        "./swift-testing"
      ],
      "strict": false
    }
  ]
}
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. 3d ago First seen · 60 lines scan A e724f2656cbc

Subscribe to this mod's changes

swift-testing-agent-skill marketplace is a plugin published in the GitHub repository bocato/swift-testing-agent-skill (79 stars, last pushed 7mo ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-08-30.

Related

Other plugins, from other repositories

swift-testing-expert

Expert Swift Testing guidance for test structure, #expect/#require usage, traits and tags, parameterized tests, async waiting patterns, parallel execution, and XCTest migration.

AvdLee/Swift-Testing-Agent-Skill · not measured

swift-concurrency

Expert guidance on Swift Concurrency best practices, patterns, and implementation. Covers async/await, actors, tasks, Sendable conformance, data race prevention, and Swift 6 migration strategies.

AvdLee/Swift-Concurrency-Agent-Skill · not measured

swift-architecture-skill

Swift iOS architecture guidance and playbooks for MVVM, MVI, TCA, Clean Architecture, VIPER, MVP, Coordinator, and Reactive patterns. Use when designing, implementing, refactoring, or reviewing the architecture of a SwiftUI or UIKit feature, module, or codebase.

efremidze/swift-architecture-skill · not measured

swift-ios-skills marketplace

Plugin marketplace listing 11 plugins: swiftui-skills, swift-core-skills, ios-app-framework-skills, ios-data-framework-skills, ios-ai-ml-skills.

dpearson2699/swift-ios-skills · not measured

everything-claude-code-mobile

Complete Claude Code configs for mobile development - Android, iOS, and Kotlin Multiplatform.

ahmed3elshaer/everything-claude-code-mobile · not measured

widgets

Reviews and writes Swift WidgetKit code: timeline providers, configurations, families, accented/tinted rendering, interactive widgets, Controls, Live Activities, Smart Stack relevance, push-updated widgets, data loading, deep links, animations, and SiriKit/ClockKit migration.

n0an/Widgets-Agent-Skill · not measured