ワンクリックで
check
Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run Go benchmarks and compare results to detect performance regressions. Use before and after performance-related changes.
Run tests with coverage analysis and identify untested code paths. Use to find gaps before releases.
Check and tidy Go module dependencies. Use after adding/removing imports or before releases.
Run go generate to build templ templates and frontend assets. Use after changing templates or CSS/JS.
Run integration tests that require Docker (Postgres, MinIO via testcontainers). Use to validate database and storage behavior.
Run golangci-lint and static analysis on Go code. Use before pushing or to check code quality.
| name | check |
| description | Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code. |
| disable-model-invocation | true |
| argument-hint | package-path |
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.