Skills for Real Engineers. Straight from my .agents directory.
testing
Agent skill fromrshankras/claude-code-apple-skills
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 to install testing
npx skills add rshankras/claude-code-apple-skills# or add only this skill to Claude Code: copy the folder
skills/testing/
# into
~/.claude/skills/testing/ (all projects)
.claude/skills/testing/ (one project)
1# Testing & TDD Skills23Test-driven development workflows and testing infrastructure for Apple platform apps. Works with both new and existing codebases.45## When This Skill Activates67Use this skill when the user:8- Wants to do TDD (test-driven development) with AI-generated code9- Needs to add tests before refactoring existing code10- Wants to fix a bug using the red-green-refactor cycle11- Needs test infrastructure (factories, mocks, contracts)12- Asks about snapshot/visual regression testing13- Wants to ensure AI-generated code is correct via tests14- Wants deterministic gates around agent-written code (architecture invariants, coverage floors, mutation audits)1516## Available Skills1718### For Existing Codebases1920**characterization-test-generator/**21Capture 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.2223**tdd-bug-fix/**24Reproduce-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.2526**tdd-refactor-guard/**27Pre-refactor safety checklist. Verifies test coverage exists before allowing AI to touch existing code. Prevents the "refactor without a safety net" problem.2829### For New Code3031**tdd-feature/**32…
Excerpt shown under the repository's MIT license.
More skills in claude-code-apple-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
