code-change-verification
Purpose
Auto-detect which services were changed and run their lint/type-check/build verification.
Trigger
After any code modification is complete.
What it does
- Reads
git diff --name-onlyto identify changed service directories - Runs the appropriate verification command per service:
- Python services →
poetry run mypy app && poetry run flake8 app - tgo-web →
yarn type-check && yarn lint && yarn build - tgo-widget-js →
npm run build - tgo-device-agent →
go vet ./...
- Python services →
- Outputs pass/fail per service
Usage
bash .skills/code-change-verification/scripts/verify.sh