cyruspastelero

Swift Test — Testing skill for Claude Code

Testing community

Enforce TDD workflow for Swift.

How to install Swift Test

Installs to ~/.claude/skills/cyruspastelero-dotagents-swift-test/SKILL.md

Terminal
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

  1. Define Types/Protocols: Scaffold function signatures and protocol interfaces first
  2. Write Swift Tests: Create comprehensive @Test functions (RED)
  3. **Run Test

Alternatives in Testing

Full documentation available on GitHub

View Source Repository