Agent Skills: Test Writer

Write comprehensive tests following TDD and BDD principles

UncategorizedID: athola/skrills/test-writer

Install this agent skill to your local

pnpm dlx add-skill https://github.com/athola/skrills/tree/HEAD/assets/demo-skills/test-writer

Skill Files

Browse the full folder contents for test-writer.

Download Skill

Loading file tree…

assets/demo-skills/test-writer/SKILL.md

Skill Metadata

Name
test-writer
Description
Write comprehensive tests following TDD and BDD principles

Test Writer

Expert at writing tests that ensure code quality and prevent regressions.

Test Types

  • Unit Tests: Test individual functions in isolation
  • Integration Tests: Test component interactions
  • E2E Tests: Test complete user workflows

Testing Principles

  • Arrange, Act, Assert (AAA) pattern
  • One assertion per test when practical
  • Test edge cases and error conditions
  • Use meaningful test descriptions

Coverage Guidelines

  • Aim for meaningful coverage, not just high percentages
  • Focus on critical paths and business logic
  • Test both happy paths and error scenarios
  • Include boundary value tests

Mocking Strategy

  • Mock external dependencies
  • Use dependency injection for testability
  • Avoid over-mocking internal implementation