Swift Testing Agent Skill

Swift Testing skill covering test doubles, fixtures, async tests and moving over from XCTest.

View on GitHub ↗
Stars
★ 81
Last commit
28 Jan 2026
Maintenance
Slowing
Licence
MIT
Category
Agent Skills
GitHub
bocato/swift-testing-agent-skill

Overview

An agent skill that gives AI coding tools guidance on modern testing with Swift Testing. It's for teams adopting the framework who want current patterns. It comes with install instructions for several agents, including GitHub Copilot and Gemini CLI.

Features

  • Modern Swift Testing patterns
  • Guidance for writing tests for existing classes
  • Install routes for Claude Code, GitHub Copilot, Gemini CLI and others

Requirements

The source doesn't list any requirements, so check the project's own docs before you install.

Install

  1. Install with the skills CLI

    npx skills add https://github.com/bocato/swift-testing-agent-skill --skill swift-testing
  2. Or as a Claude Code plugin

    /plugin marketplace add bocato/swift-testing-agent-skill
    /plugin install swift-testing@swift-testing-agent-skill
  3. For GitHub Copilot, copy the swift-testing folder into .github/skills or ~/.copilot/skills; for Gemini CLI, into .gemini/skills

Example

Ask: "Use the swift testing skill and help me write tests for the UserService class."

Works with

Claude CodeCursorCodex

Listed in

swiftskills.devtwostraws/Swift-Agent-Skills

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

More in this category