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.
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?