testing
TDD and testing skills for iOS/macOS apps. Covers characterization tests, TDD workflows, test contracts, snapshot tests, test infrastructure, and deterministic quality gates (fitness functions, coverage ratchet, mutation testing). Use for test-driven development, adding tests to existing code, or building test infrastructure.
npx skills add rshankras/claude-code-apple-skills --skill testing --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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. **tdd-refactor-guard/** Pre-refactor safety checklist. Verifies test coverag
- When This Skill Activates
- Available Skills
- For Existing Codebases
- For New Code
- Infrastructure
- Deterministic Gates
- How to Use
- Relationship to test-generator
What does the testing skill do?
TDD and testing skills for iOS/macOS apps. Covers characterization tests, TDD workflows, test contracts, snapshot tests, test infrastructure, and deterministic quality gates (fitness functions, coverage ratchet, mutation testing). Use for test-driven development, adding tests to existing code, or building test infrastructure.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill testing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
