.claude/skills/check/SKILL.md
Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.
npx skillsauth add PeterBooker/veloria checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the full quality gate: vet, lint, and tests with race detection. Stops at the first failure category.
/check - Check all packages/check ./internal/repo/... - Check specific packageRun go vet
go vet $ARGUMENTS 2>&1
If no arguments: go vet ./... 2>&1
If vet fails, report errors and stop.
Run golangci-lint
golangci-lint run $ARGUMENTS 2>&1
If no arguments: golangci-lint run ./... 2>&1
If lint fails, report errors and stop.
Run tests with race detector
go test -race -timeout 5m $ARGUMENTS 2>&1
If no arguments: go test -race -timeout 5m ./... 2>&1
Report results
## Pre-Push Check Results
| Step | Status |
|------|--------|
| go vet | pass/fail |
| golangci-lint | pass/fail |
| go test -race | pass/fail |
### Issues
- [details of any failures]
This mirrors what CI runs on every push. Running /check locally before pushing avoids CI failures and saves time.
development
Run Go unit tests. Use after code changes to verify correctness.
development
Run gosec and govulncheck to find security vulnerabilities. Use before releases or after dependency changes.
tools
Trigger reindexing of a specific WordPress extension. Use to rebuild the search index for a plugin, theme, or core version.
development
Run Go race detector to find data races in concurrent code. Use after any change to mutexes, goroutines, or channels.