Verification
Every completed task needs verification.
Start with the smallest relevant check. Do not run broad expensive suites by default when a targeted check proves the touched surface.
Verification Ladder
Section titled “Verification Ladder”- targeted unit test
- targeted integration test
- typecheck
- lint
- build
- smoke command
- manual QA checklist
Examples
Section titled “Examples”Docs-only:
git diff --checkTypeScript utility:
pnpm test path/to/file.test.tspnpm typecheckNext.js UI change:
pnpm lintpnpm typecheckpnpm buildPython API endpoint:
pytest tests/test_endpoint.pyruff check .mypy .If Verification Cannot Run
Section titled “If Verification Cannot Run”Say why, and provide the exact command:
Verification not run: local dependencies are not installed.
Run:pnpm installpnpm test