Test Coverage Fix Fix test coverage for $ARGUMENTS (or the whole app if no argument is given). This skill enforces the 80% line coverage hard gate required for Flows app approval by finding AND fixing coverage gaps. Work through every step in order. Step 1 — Verify test framework and coverage tooling Check that the project has a working test framework with coverage configured:
Check for vitest or jest in package.json
grep -E "(vitest|jest)" package.json
Check for coverage configuration
cat vitest.config.ts 2
/dev/null || cat vitest.config.js 2
/dev/null || cat jest.config.ts 2
/dev/null || cat jest.config.js 2
/dev/null Show more