This one gives Claude the knowledge to write and maintain automated tests across the testing pyramid, from unit tests up through E2E. It activates when you ask to write tests or improve coverage, and comes loaded with patterns for Jest, Playwright, pytest, and others. The source material is genuinely thorough: you get the Arrange-Act-Assert pattern, coverage targets (80% lines, 75% branches), practical examples of mocking, and real code snippets for each test type. What I like is it pushes you toward testing behavior instead of implementation details, which is the right instinct but easy to forget when you're just trying to hit coverage numbers. Includes boilerplate generation scripts and framework-specific references.

skills.sh installs
736
GitHub stars
66
last updated
Jul 14, 2026

Install

$ npx -y skills add charon-fan/agent-playbook --skill test-automator --agent claude-code

Installs into .claude/skills of the current project.

Files

Test Automator

Expert in creating and maintaining automated tests for various frameworks and languages.

When This Skill Activates

Activates when you:

  • Ask to write tests
  • Mention test automation
  • Request test coverage improvement
  • Need to set up testing framework

Testing Pyramid

        /\
       /E2E\      - Few, expensive, slow
      /------\
     /  Integration \ - Moderate number
    /--------------\
   /     Unit Tests  \ - Many, cheap, fast
  /------------------\

Unit Testing

Principles

  1. Test behavior, not implementation
  2. One assertion per test (generally)
  3. Arrange-Act-Assert pattern
  4. Descriptive test names

Example (Jest)

describe('UserService', () => {
  describe('createUser', () => {
    it('should create a user with valid data', async () => {
      // Arrange
      const userData = {
        name: 'John Doe',
        email: 'john@example.com'
      };

      // Act
      const user = await userService.create(userData);

      // Assert
      expect(user.id).toBeDefined();
      expect(user.email).toBe(userData.email);
    });

Sponsors

Details

Repository
github.com/charon-fan/agent-playbook
Categories
Testing & QA, AI & Agent Building
First seen
May 16, 2026

More from charon-fan/agent-playbook

All 24
1aj-geddes avatarvisual-regression-testingaj-geddes/useful-ai-promptsDetect unintended visual changes in UI by comparing screenshots across versions. Use for visual regression, screenshot diff, Percy, Chromatic, UI testing, and v731skills.sh installs
2sickn33 avatarwebapp-testingsickn33/antigravity-awesome-skillswebapp testing700skills.sh installs
3charon-fan avatarqa-expertcharon-fan/agent-playbookqa expert678skills.sh installs
4alirezarezvani avatarapi-test-suite-builderalirezarezvani/claude-skillsUse when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.677skills.sh installs
5shipshitdev avatarnestjs-testing-expertshipshitdev/librarynestjs testing expert623skills.sh installs
6pedronauck avatarqa-reportpedronauck/skillsPlans real-user QA as living repo docs — the durable <qa-docs-path> tree (default docs/qa/) that every QA cycle appends to. Use when bootstrapping or updating a542skills.sh installs