implement-conformance-testing-script
Installation
SKILL.md
Implement Conformance Testing Script
This skill produces a single executable script that runs the conformance tests for a generated build folder, following a consistent, language-agnostic pattern.
The reference implementations are:
- assets/run_conformance_tests_java.sh — Java, install-inline variant.
- assets/run_conformance_tests_python.sh — Python, install-inline variant.
- assets/run_conformance_tests_.ps1 — Windows PowerShell equivalents.
Read both before writing anything — every script you produce must be a faithful translation of the same pattern into the target language's tooling and the user's shell environment.
How conformance scripts differ from unit-test scripts
A conformance script is structurally very close to a unit-test script (see the sibling skill implement-unit-testing-script) but with two important differences:
- Two positional arguments instead of one. A conformance script takes both the build folder (source under test) and a separate conformance tests folder (the tests to execute against that build).
- Tests are loaded from outside the working folder. The build is staged into
.tmp/<lang>_<arg>and the scriptcds into it, but the test command is pointed at the original$current_dir/<conformance_tests_folder>. Tests are never copied into the staging area.