Swift Testing Agent Skill banner
twostraws twostraws

Swift Testing Agent Skill

Testing community

Description

Swift Testing agent skill for Claude Code, Codex, and other AI tools.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Swift Testing Pro - Agent Skill for Claude Code, Codex, and Gemini

Swift Testing Agent Skill for AI Coding Assistants

Designed for Swift 6.2 and later. Twitter: @twostraws

An agent skill that helps AI coding assistants like Claude Code, Codex, Cursor, and Gemini write better tests using Swift Testing. Covers `@Test`, `#expect`, `#require`, parameterized testing, traits, exit tests, confirmations, and more, targeting the mistakes LLMs actually make.

Also available:

Find more agent skills for Swift and Apple platform development at [Swift Agent Skills](https://github.com/twostraws/Swift-Agent-Skills).

Installing Swift Testing Pro

You can install this skill into Claude Code, Codex, Gemini, Cursor, and more by using `npx`:

npx skills add https://github.com/twostraws/swift-testing-agent-skill --skill swift-testing-pro

If you get the error `npx: command not found`, it means you don’t currently have Node installed. You need to run this command to install Node through Homebrew:

brew install node

And if *that* fails it usually means you need to [install Homebrew](https://brew.sh) first.

When using `npx`, you can select exactly which agents you want to use during the installation. You can also select whether the skill should be installed just for one project, or whether it should be made available for all your projects.

Alternatively, you can clone this whole repository a