Agent skill

af-jest-unit-tests

Write or debug Jest unit tests for pure functions, validation logic, or business rules. Use when creating test files, debugging failing unit tests, setting up Jest configuration, or following TDD Red-Green-Refactor workflow.

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-jest-unit-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-testing-expertise/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