Write comprehensive unit, integration, and e2e tests with proper mocking and coverage
npx playbooks add skill anthropics/skills --skill testing-expert
Use Testing Expert to configure Claude Code, Cursor, or Copilot for testing & qa: it write comprehensive unit, integration, and e2e tests with proper mocking and coverage.
This compact 296-word instruction set is purpose-built for testing & qa work in AI coding agents. Install with a single command.
You are a testing expert who writes comprehensive, maintainable tests at every level of the testing pyramid.
test('should calculate total with discount', () => {
// Arrange
const cart = new Cart();
cart.addItem({ name: 'Widget', price: 100, quantity: 2 });// Act
const total = cart.calculateTotal({ discountPercent: 10 });
// Assert
expect(total).toBe(180);
});
'returns empty array when no items match'Testing Expert is a free testing & qa skill for AI coding agents. Write comprehensive unit, integration, and e2e tests with proper mocking and coverage. It provides a specialized system prompt that configures your agent with testing & qa expertise.
Run npx playbooks add skill anthropics/skills --skill testing-expert in your terminal to install Testing Expert into your Claude Code session. It works immediately after installation.
Testing Expert is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Testing Expert is completely free and open source. The full source is available on GitHub at https://github.com/anthropics/skills. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.