| name | verify |
|---|---|
| description | Run lint, build, and tests to verify changes. Use when user says /verify, check my changes, validate changes, run checks, verify everything passes, pre-commit check, ready to commit, does it pass, CI check, sanity check |
Run lint, build, and tests to verify the current state of the codebase.
- Run the following checks. Lint can run in parallel with the build+test sequence.
Lint:
npm run lintBuild:
npm run buildTests:
npm run test
npm run testruns Vitest in headless jsdom mode.npm run buildruns Vite and produces IIFE and CommonJS bundles + TypeScript type declarations.
- Report results in this format:
| Check | Status |
|---|---|
| Lint | PASS / FAIL |
| Build | PASS / FAIL |
| Tests | PASS / FAIL |
- If any check fails, show the relevant error output so the user can diagnose and fix the issue.
- TypeScript project — source is
src/Rokt-Kit.ts, tests aretest/src/tests.spec.ts - Build uses Vite and produces
dist/Rokt-Kit.iife.js,dist/Rokt-Kit.common.js, anddist/Rokt-Kit.d.ts - Tests run in jsdom via Vitest (no browser required)
npm run test:watchruns Vitest in watch mode for developmentnpm run test:coveragegenerates a V8 coverage report