verify
Run unit tests then integration tests (LocalStack) and surface any failures before committing
SKILL.md.claude/skills/verify/SKILL.md
GitHubWhen the user invokes /verify, run the full test suite in two stages and report clearly.
Steps
Lint — run golangci-lint first:
make lint 2>&1Report any issues. If golangci-lint is not installed, skip and note it.
Unit tests — run and capture output:
make test 2>&1Report pass/fail. If any tests fail, show the failing test names and error output, then stop (don't proceed to integration tests).
Integration tests — only if unit tests passed:
make test-integration 2>&1These require Docker. If Docker is not running, tell the user and skip this step. Report pass/fail. Show failing test names and errors if any.
Summary: Report the final status clearly:
- All tests passed → "Ready to commit."
- Failures found → list which tests failed and in which packages.
- Docker unavailable → note that integration tests were skipped.