Skip to content

Test-driven development, characterization, snapshot, and deterministic quality-gate skills for Apple platform apps.

CCM score
55 of 100
skills.sh installs
509
GitHub stars
914
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers TDD workflows for new code and characterization and bug-fix workflows for existing code, plus fast-suite guidance
  • Includes skills for test contracts, snapshot tests, test data factories, integration scaffolds, and Simulator flow walkthroughs
  • Adds deterministic gates: architecture fitness functions, a coverage ratchet with an advisory CRAP report, and experimental advisory-only mutation testing
  • Designed for AI-assisted development on iOS and macOS projects, both new codebases and existing ones that need a safety net before refactoring

Install

$ npx -y skills add rshankras/claude-code-apple-skills --skill testing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Testing & TDD Skills

Test-driven development workflows and testing infrastructure for Apple platform apps. Works with both new and existing codebases.

When This Skill Activates

Use this skill when the user:

  • Wants to do TDD (test-driven development) with AI-generated code
  • Needs to add tests before refactoring existing code
  • Wants to fix a bug using the red-green-refactor cycle
  • Needs test infrastructure (factories, mocks, contracts)
  • Asks about snapshot/visual regression testing
  • Wants to ensure AI-generated code is correct via tests
  • Wants deterministic gates around agent-written code (architecture invariants, coverage floors, mutation audits)

Available Skills

For Existing Codebases

characterization-test-generator/ Capture current behavior of existing code before refactoring. Generates tests that document what code actually does (not what it should do), giving you a safety net for AI-assisted refactoring.

tdd-bug-fix/ Reproduce-first bug fix workflow. Write a failing test that demonstrates the bug, then fix it. Ensures the bug never regresses — critical when AI generates fixes.

Details

Repository
github.com/rshankras/claude-code-apple-skills
Categories
Testing & QA, Mobile Apps
First seen
Jun 3, 2026

Questions

What does the testing skill for iOS and macOS apps do?

The testing skill covers test-driven development for iOS and macOS apps, including characterization tests, TDD workflows, test contracts, snapshot tests and test infrastructure. It also sets up deterministic quality gates such as fitness functions, a coverage ratchet and mutation testing, which help keep agent-written code correct.

How do I install the testing skill for Apple platform apps?

Run npx -y skills add rshankras/claude-code-apple-skills --skill testing -y inside your project. The skill then gives your agent workflows for test-driven development, adding tests to existing code and building test infrastructure.

Which skills lead the Testing and QA category?

The testing skill sits in the Testing and QA category alongside tdd, migrate-to-shoehorn, test-driven-development, webapp-testing and break-ui. Its own focus is Apple platform work, with test-driven development and snapshot tests for iOS and macOS apps.

Can the testing skill help keep my test suite fast?

Yes, the skill includes a Keep Tests Fast section that advises using parameterized tests, fakes for the network, clock and storage, and avoiding sleeps and fixed waits. It also says to keep unit tests free of disk, network and Simulator access.

More from rshankras/claude-code-apple-skills

All 17

Similar to Testing

More Testing & QA