Agent skill

af-write-jest-tests

Write Jest unit tests for pure functions, validation logic, and business rules. Use when creating test files, debugging failing unit tests, or improving test coverage for non-UI code.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/af-write-jest-tests

SKILL.md

Jest Unit Tests

What to read

TDD workflow (Red → Green → Refactor): → testing-guide.md#tdd-workflow

Jest setup, test structure, mocking, and fixtures: → testing-guide.md#unit-testing-with-jest

Test best practices (naming, AAA pattern, independence): → testing-guide.md#best-practices

Running tests and CI/CD integration: → testing-guide.md#running-tests

For comprehensive testing rules and pitfalls: → af-configure-test-frameworks/SKILL.md

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results