Swift Test — Testing skill for Claude Code
Enforce TDD workflow for Swift.
How to install Swift Test
Installs to ~/.claude/skills/cyruspastelero-dotagents-swift-test/SKILL.md
mkdir -p ~/.claude/skills/cyruspastelero-dotagents-swift-test && curl -fsSL https://raw.githubusercontent.com/cyruspastelero/dotagents/HEAD/commands/swift-test.md -o ~/.claude/skills/cyruspastelero-dotagents-swift-test/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Swift Test does
description: Enforce TDD workflow for Swift. Write Swift Testing tests first, then implement. Verify 80%+ coverage. disable-model-invocation: true
Swift TDD Command
This command enforces test-driven development methodology for Swift code using Swift Testing and protocol-based mocking.
What This Command Does
- Define Types/Protocols: Scaffold function signatures and protocol interfaces first
- Write Swift Tests: Create comprehensive
@Testfunctions (RED) - **Run Test
Alternatives in Testing
- AI Contribution Skills (Engram) — branch-pr: clean branch and PR workflow 2.5k ★
- Swift Testing Agent Skill — Swift Testing agent skill for Claude Code, Codex, and other AI tools 289 ★
- TDD Diagnostics.V1 — Follow strict TDD stages 272 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Cpp Test
Enforce TDD workflow for C++. Write GoogleTest tests first, then implement. Verify coverage with gcov/lcov.
Go Test
Enforce TDD workflow for Go. Write table-driven tests first, then implement. Verify 80%+ coverage with go test
Kotlin Test
Enforce TDD workflow for Kotlin. Write Kotest tests first, then implement. Verify 80%+ coverage with Kover.
Rust Test
Enforce TDD workflow for Rust. Write tests first, then implement. Verify 80%+ coverage with cargo-llvm-cov.
React Test
Enforce TDD workflow for React. Write React Testing Library tests first (behavior-focused, accessibility-first
Addy Test
Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.
Related Agents
iOS Unit Test Engineer
iOS unit testing expert. Use when asked to write tests, add test coverage, do TDD on new Swift code, review ex
Tester
Test writing specialist for creating and executing tests following TDD methodology. Uses Read, Write, Bash too
Ecc TDD Guide
Test-Driven Development specialist enforcing write-tests-first methodology. Use when writing new features, fix