Unit Test Improver

Installation
SKILL.md

Unit Test Improver

What this skill does

This skill directs the agent to review an existing set of unit tests and improve them. It looks for weak or incomplete tests — tests that pass even when the code is broken, tests that don't assert the right things, tests that are missing critical edge cases, and tests that test implementation details instead of behavior. The output is an improved, rewritten test suite that is harder to fool and more useful as a safety net.

Use this before a major refactor (so you can trust the tests will catch regressions), during a code review, or when a bug slips past your existing tests.

How to use

Claude Code / Cline

Copy this file to .agents/skills/unit-test-improver/SKILL.md in your project root.

Then ask:

  • "Use the Unit Test Improver skill on tests/cart.test.ts."
  • "Review and improve the unit tests for calculateDiscount using the Unit Test Improver skill."

Provide both the test file and the code being tested.

Installs
GitHub Stars
8
First Seen
Unit Test Improver — notysoty/openagentskills