A comprehensive TDD toolkit for iOS and macOS development that goes beyond just generating test files. It gives you specific workflows: characterization tests for capturing existing behavior before refactoring, reproduce-first bug fixes that prevent regressions, and proper red-green-refactor scaffolding for new features. The test contract system is smart, letting you define requirements like "any DataStore must handle empty state, single item, 100 items, and errors" then generating suites to validate implementations. Also includes snapshot testing setup and test data factories. The real value is in the methodology, not just boilerplate. If you're pair programming with Claude on production code, these workflows keep you from shipping untested AI-generated changes.

skills.sh installs
481
GitHub stars
879
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/rshankras/claude-code-apple-skills
Categories
Testing & QA, Code Review & Quality, Cloud & Infrastructure, Mobile Development
First seen
Jun 3, 2026

More from rshankras/claude-code-apple-skills

All 17
1secondsky avatarmobile-app-testingsecondsky/claude-skillsMobile app testing with unit tests, UI automation, performance testing. Use for test infrastructure, E2E tests, testing standards, or encountering test framewor480skills.sh installs
2oakoss avatarplaywrightoakoss/agent-skillsPlaywright browser automation API, web scraping, and tooling. Covers locator strategies, assertions, API testing, stealth mode, anti-bot bypass, authenticated s466skills.sh installs
3secondsky avatarmutation-testingsecondsky/claude-skillsValidate test effectiveness with mutation testing using Stryker (TypeScript/JavaScript with Vitest or bun test via @hughescr/stryker-bun-runner) and mutmut (Pyt456skills.sh installs
4mrgoonie avatarweb-testingmrgoonie/claudekit-skillsWeb testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile ges448skills.sh installs
5manutej avatarshell-testing-frameworkmanutej/luxor-claude-marketplaceShell script testing expertise using bash test framework patterns from unix-goto, covering test structure (arrange-act-assert), 4 test categories, assertion pat440skills.sh installs
6tldraw avatarwrite-e2e-teststldraw/tldrawWriting Playwright E2E tests for tldraw. Use when creating browser tests, testing UI interactions, or adding E2E coverage in apps/examples/e2e or apps/dotcom/cl436skills.sh installs