Unit testing

From bkircher/skills · View interactive version

Unit testing is an AI agent skill from the GitHub repository bkircher/skills. Write or update unit tests in any language.

How to use this skill

Skill file

Create maintainable, readable, deterministic, and refactor-resilient unit tests.

Rules

  1. Test Behavior, Not Implementation
  1. Apply AAA (Arrange, Act, Assert) Pattern
  1. Total Isolation
  1. No Logic in Test Code
  1. Hardcode Expected Values

General advice

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.