بنقرة واحدة
go
Go module conventions for this repo: idiomatic error handling, goroutines, testing patterns, and toolchain hygiene.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Go module conventions for this repo: idiomatic error handling, goroutines, testing patterns, and toolchain hygiene.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Operate Harkonnen through the repo-local MCP server and CLI. TRIGGER: user asks about run history, PackChat threads or messages, checkpoints, board snapshots, reasoning trails, benchmark suites or reports, wants to diagnose a failure, wants a run report, or wants to start, queue, or watch a run. Preferred over raw shell commands for Harkonnen interactions.
Databricks on Azure: cluster lifecycle, Delta Lake operations, MLflow tracking, and Unity Catalog patterns for this repo.
Azure cloud resources: ARM/Bicep templates, Azure CLI patterns, RBAC, service principals, and subscription safety for this repo.
Docker and Compose: image builds, container lifecycle, networking, volume management, and safety conventions for this repo.
SQL database patterns: schema migrations, query safety, index design, and transaction hygiene for this repo.
WinCC OA SCADA: CTRL scripts, panels, datapoint operations, manager lifecycle, and live-system safety for this repo.
| name | go |
| description | Go module conventions for this repo: idiomatic error handling, goroutines, testing patterns, and toolchain hygiene. |
| user-invocable | false |
| allowed-tools | ["Bash(go *)"] |
This repo uses Go. Apply these conventions.
go.mod declares the module path and minimum Go version — do not edit manually without go mod commands.go mod tidy after adding or removing imports to keep go.sum consistent.go mod vendor in projects that require hermetic builds; add vendor/ to git._ unless the function's signature makes it semantically safe.fmt.Errorf("reading config: %w", err) — the %w verb enables errors.Is/errors.As.var ErrSomething = errors.New("...") in the package that owns them.context.Context for cancellation propagation; pass it as the first argument.sync.WaitGroup for fan-out + join; prefer channels for producer/consumer patterns.go test -race ./...._test.go and live alongside the code they test.[]struct{ name, input, want } with t.Run(tc.name, ...).t.Helper() in assertion helpers so failure lines point to the call site.func BenchmarkXxx(b *testing.B) — run with go test -bench=..gofmt and goimports are non-negotiable — run in CI; reject unformatted code.go vet ./... catches common mistakes; treat warnings as errors.golangci-lint for broader static analysis.