The Problem
AI coding assistants asked to write unit tests typically stop as soon as the test build passes. However, a green suite with 100% branch coverage can still fail to catch real defects if the assertions are shallow or incomplete.
Architecture and Workflow
The mavka-ai/unit-tests-skills repository injects a disciplined process via AGENTS.md and plugin definitions. Instead of prompting for tests in a single step, the agent must first inspect code branches and propose a test plan. Next, it writes focused Given-When-Then test cases using JUnit 5, Mockito, and AssertJ. Finally, it must compile and execute the suite before marking the task complete.
Target Audience and Maturity
This project targets Java developers using AI assistants like Claude Code, Cursor, or Codex who need reliable test suites for legacy or newly added services. With 75 stars, 11 forks, and an MIT license, the repository is relatively new and niche, but it demonstrates how workflow constraints improve code verification beyond basic prompting.