Code Change Verification
Overview
Ensure work is only marked complete after formatting, linting, type checking, and tests pass. Use this skill when changes affect runtime code (src/), tests, or build configuration. Skip it for docs-only or repository metadata changes unless a user asks for the full stack.
Quick start
bash .agents/skills/code-change-verification/scripts/run.sh
The script runs npm run format first, then npm run lint, npm run typecheck, and npm test in parallel with fail-fast semantics.
Manual workflow
Run from the repository root:
npm run format— apply formatting fixes- Then in parallel:
npm run lint,npm run typecheck,npm test - Stop and fix issues immediately when a command fails.
- Re-run the full stack after applying fixes.
When to run
- Changes to
src/(server code, tools, types) - Changes to
tests/ - Changes to
package.json,tsconfig.json, or CI config