implement-unit-testing-script

Installation
SKILL.md

Implement Unit Testing Script

This skill produces a single executable script that runs the unit tests for a generated build folder, following a consistent, language-agnostic pattern.

The reference implementation is assets/run_unittests_java.sh. Read it first — every script you produce must be a faithful translation of that pattern into the target language's tooling and the user's shell environment. There are also Windows PowerShell equivalents of these scripts in assets/run_unittests_*.ps1.

Pick the Shell First

Before writing anything, decide which shell flavor the script must target — it depends on the user's environment, not on the language:

  • Bash (.sh) — macOS, Linux, WSL, CI runners on Linux. Default unless the user is on native Windows.
  • PowerShell (.ps1) — native Windows / PowerShell-only environments.

If you can't tell from the project (no obvious OS hints, no existing scripts), ask the user.

The same seven-step pattern applies to both. Only the syntax changes.

The Pattern

Installs
39
GitHub Stars
54
First Seen
May 12, 2026
implement-unit-testing-script — codeplain-ai/plain-forge