ワンクリックで
go-test
Run go test with race detector, analyze failures, fix issues, and re-run until green
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run go test with race detector, analyze failures, fix issues, and re-run until green
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Improve the visual design and UX of the VitePress docs site — layout, colors, typography, components, and responsiveness
Build, preview, and update the VitePress documentation site in docs-site/
Review pull requests against repo standards — Go conventions, test coverage, race detector, CHANGELOG, and docs
Create a GitHub release with tag after a PR merge — follows the repo's tag and gh release create workflow
Handle upstream-release issues — read changelog deltas, update spec docs, sync protocol and gateway types, run tests, open PR, tag release
| name | go-test |
| description | Run go test with race detector, analyze failures, fix issues, and re-run until green |
| license | MIT |
| metadata | {"audience":"developers","workflow":"testing"} |
Run the Go test suite with the race detector, analyze any failures, apply fixes, and iterate until all tests pass.
Use this skill before committing changes, before opening a PR, or when asked to fix failing tests.
Run the full test suite:
go test ./... -race -v
Analyze failures — for each failing test:
gateway/methods_test.go:TestChatSend)Fix the issue — apply the minimal correct fix:
Re-run tests:
go test ./... -race
Repeat steps 2-4 until all tests pass.
Run vet as a final check:
go vet ./...
[]struct{ name string; ... } with t.Run()gateway/methods_test.go uses a mock WebSocket server that validates request frames and sends response frames-race; the gateway client is concurrent and race bugs are real| File | What it covers |
|---|---|
gateway/methods_test.go | All 96+ typed RPC methods |
gateway/client_test.go | Connection lifecycle, handshake, reconnect |
protocol/types_test.go | Serialization round-trips |
protocol/parse_test.go | Frame parsing edge cases |
chatcompletions/client_test.go | HTTP client, SSE streaming |
openresponses/client_test.go | Responses API, SSE events |
toolsinvoke/client_test.go | Tools invoke HTTP client |
discovery/browser_test.go | mDNS discovery |
acp/server_test.go | JSON-RPC dispatch, handler interface |
-count=0 or t.Skip() to hide failures-race flag