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-codeInstalls 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
