pre-flight-test-checker
Validate test environment before `npm test`. Checks ESLint config, external fixtures, platform compliance, and test assertions.
SKILL.mdskills/pre-flight-test-checker/SKILL.md
GitHubPre-Flight Test Checker
Validate test environment assumptions before running npm test.
Trigger
/skill pre-flight-test-checker [options]
Input Schema
interface Input {
repoRoot?: string; // default: cwd
verbose?: boolean; // default: false
failOnWarning?: boolean; // default: false (RED on blockers only)
}
Output Schema
interface Output {
status: "success" | "error";
verdict: "RED" | "YELLOW" | "GREEN";
checks: Array<{
name: string; // e.g., "ESLint Config"
level: "error" | "warning" | "pass";
message: string;
details?: string[];
}>;
timestamp: string;
readyToTest: boolean;
}
Exit Codes
0: GREEN (ready to test)1: YELLOW (warnings, can proceed with caution)2: RED (blockers, do not run tests)
Full reference: See Skill Operator Guide.
For examples and troubleshooting: See docs/USAGE.md.