Skip to content

Swift Testing Agent Skill

An agent skill focused entirely on Swift Testing, helping you write better tests, migrate from XCTest, improve test architecture, and adopt modern Swift testing patterns with…

Install: /plugin marketplace add AvdLee/Swift-Testing-Agent-Skill

Works with Claude Code · 479 GitHub stars

Install

$/plugin marketplace add AvdLee/Swift-Testing-Agent-Skill

Install command taken from the project's README or registry entry. Always review code before running it.

Swift Testing Agent Skill

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.

Who this is for

  • Teams adopting Swift Testing who want quick, correct defaults
  • Developers migrating existing XCTest suites incrementally
  • Anyone debugging flaky tests, parallel test behavior, or async test reliability

See also my other skills:

How to Use This Skill

Option A: Using skills.sh (recommended)

Install this skill with a single command:

npx skills add https://github.com/avdlee/swift-testing-agent-skill --skill swift-testing-expert

For 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.

Option B: Claude Code Plugin

Personal Usage

To install this Skill for your personal use in Claude Code:

  1. Add the marketplace:
/plugin marketplace add AvdLee/Swift-Testing-Agent-Skill
  1. Install the 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-skill

Claude 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.

Option C: Manual install

  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:

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related