AGENT SKILLS · 任务装备 / victorzhuk

victorzhuk · Agent Skills

89 skills with substantive source documentation and an official publisher or observed installation demand. Read each skill’s original documentation through its card.

victorzhuk
社区

z-go-dockerfile

Multi-stage Dockerfile authoring for Go services — a deps layer cached separately from source, BuildKit cache mounts, CGOENABLED=0 static builds, and the scratch vs distroless vs alpine call. Use when writing a service Dockerfile, picking a base image, or explaining why a container has no shell. Triggers on "Dockerfile", "multi-stage build", "distroless", "CGOENABLED=0". Build/push pipeline is [[z-go-ci]]; local parity [[z-go-makefile]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-documentation

Go documentation conventions — godoc comments, package comments, README structure, Example tests, API docs, and llms.txt. Use when writing or reviewing doc comments, examples, or project docs for a library or CLI. Triggers on "godoc", "pkg.go.dev", "ExampleXxx", "doc comment", "llms.txt", "go doc". Does not cover naming; see [[z-go-naming]]. Does not cover test structure or comment discipline; see [[z-go-testing]] and [[z-zero-comments]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-entrypoint

Thin Go main and testable run for func main, cmd/ packages, CLI startup, or service bootstrap. Excludes cobra trees [[z-go-cobra-patterns]], wiring [[z-go-clean-arch-di]], and tests [[z-go-testing]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-env-v11

Parse environment configuration in Go with caarlos0/env v11 — generics, env.Options, struct tags, custom parsers, and injecting a custom env source for hermetic tests. Use when adding env-driven config, choosing required vs notEmpty, injecting env.Options.Environment, or parsing durations/slices/enums. Triggers on "caarlos0/env", "env.Parse", "ParseAsWithOptions", "envDefault", "env tag", "config from env", "notEmpty".

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-errors

Idiomatic Go error handling, wrapping, inspection, and hygiene — the single handling rule, sentinel vs typed errors, panic discipline. Use when creating, wrapping, or inspecting errors; auditing log-and-return patterns; or designing error boundaries. Triggers on "errors.Is", "errors.As", "%w", "log and return", "double handling", "error hygiene". Does not cover slog ecosystem; see [[z-go-observability]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-feature-flags

Feature flag lifecycle in a Go service — typed flag constants, a layered Evaluator (env kill-switch → remote provider → default), fail-open/fail-closed semantics, a fake evaluator for tests. Use when adding a kill switch or gating a feature on a remote provider (PostHog, LaunchDarkly, OpenFeature). Triggers on "feature flag", "kill switch", "IsEnabled", "Evaluator". Env parsing — [[z-go-env-v11]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-goose

Schema migrations for Go using goose (github.com/pressly/goose) — numbered SQL files, up/down blocks, PL/pgSQL wrapping with StatementBegin/End, embed.FS embedding, bare-text enum pattern, and startup version gating. Use when adding migrations, wiring goose into a binary, or choosing enum representation. Triggers on "goose", "+goose StatementBegin", "goose up", "embed.FS migrations". Sqlc is [[z-go-sqlc]]; repository queries [[z-go-database]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-grpc

gRPC and protobuf service design in Go — field evolution, deadline propagation, the status-code/errdetails error model, interceptor ordering, streaming vs unary, and buf as the schema toolchain. Use when evolving a .proto service or setting up buf lint/breaking. Triggers on "protobuf", "buf lint", "buf breaking", "grpc interceptor", "status.Error", "errdetails". Does not cover context, errors, or API semantics; see [[z-go-context]], [[z-go-errors]], [[z-go-api-design]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-http-client

Outbound HTTP client hardening for Go calling external APIs — timeouts, transport tuning, body draining, retry with backoff/jitter, and circuit breakers. Use when a Go client calls another service. Triggers on "http.Client", "RoundTripper", "MaxIdleConnsPerHost", "retry with backoff", "circuit breaker", "otelhttp". Does not cover deadlines, API design, OTel, or API testing; see [[z-go-context]], [[z-go-api-design]], [[z-go-observability]], [[z-qa-api]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-idioms

Go design idioms from the official canon — Effective Go, Go Proverbs, Code Review Comments, Google's style guide — as decision rules: accept interfaces return structs, zero value useful, errors are values, don't panic. Use to judge whether a design "feels like Go" or to unlearn Java/C projections. Mechanics route to siblings via the router table; formatting [[z-go-style]], naming [[z-go-naming]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-lint

Configure and run golangci-lint, suppress warnings correctly, fix common lint findings, and integrate linting into CI/pre-commit hooks — legacy-codebase adoption and code-review pre-checks included. Triggers on "golangci-lint", "nolint", "go vet", "staticcheck", "revive", "gosec". Does not cover style rules linters enforce; see [[z-go-naming]], [[z-go-safety]]. Does not cover CI pipeline setup; see [[z-go-ci]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-makefile

Author a clean Makefile for a Go project's inner loop — DRY build recipes, build-dir handling (inline mkdir or order-only prereq), self-documenting help, version stamping, go tool codegen, and test/lint layering. Use when writing or refactoring a Makefile, adding a make target, or splitting build commands from orchestration. Triggers on "Makefile", "make target", "make build", ".PHONY", "build/test/lint command", "GOBUILD".

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-mcp-server

MCP (Model Context Protocol) server authoring in Go — SDK choice, transport selection, stdio discipline, tool design, and testing. Use when building or extending a Go MCP server — modelcontextprotocol/go-sdk vs mark3labs/mcp-go, stdio vs streamable HTTP, agent-actionable tool/error descriptions. Does not cover consuming/calling LLMs from Go; see [[z-go-llm-streaming]]. Does not cover context propagation; see [[z-go-context]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-messaging

At-least-once messaging for Go on Kafka, RabbitMQ, or NATS — idempotent-consumer dedup, the transactional outbox, consumer-group rebalancing, and dead-letter queues. Use when wiring a consumer/producer, an outbox relay, or DLQ routing. Triggers on "at-least-once", "idempotent consumer", "transactional outbox", "consumer group", "dead-letter queue", "JetStream". Does not cover transaction wiring or goroutines; see [[z-go-database]] and [[z-go-concurrency]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-naming

Go naming conventions — MixedCaps, package stuttering, constructors, booleans, acronyms, enums, error strings, receivers, getters, functional options. Use for naming decisions like "New vs NewTypeName", "isConnected vs connected", "ErrNotFound vs NotFoundError". Triggers on "MixedCaps", "snakecase identifier", "stuttering", "receiver name". Does not cover formatting/line-length; see [[z-go-style]]. Interface depth belongs to [[z-go-interfaces]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-observability

Production observability for Go services — structured logging with log/slog, Prometheus metrics, OpenTelemetry tracing, pprof profiling, signal correlation. Use when instrumenting a service, adding metrics or spans, or migrating from zap/logrus/zerolog. Triggers on "slog", "prometheus", "opentelemetry", "otel", "pprof", "traceid". Does not cover profiling methodology; see [[z-go-troubleshooting]]. Error handling strategy lives in [[z-go-errors]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-ogen

OpenAPI-first HTTP transport in Go using ogen (github.com/ogen-go/ogen). Use when editing an OpenAPI spec, regenerating the transport layer, or implementing handlers against the generated Server interface. Triggers on "ogen", "go tool ogen", "openapi.yaml", "generated Server interface", "SecurityHandler", "UnimplementedHandler". Does not cover database access, custom codegen, or contract semantics; see [[z-go-sqlc]], [[z-go-codegen-patterns]], and [[z-go-api-design]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-perf-gate

CI benchmark non-regression gate — repo-owned gold-set corpus, tiered thresholds, paired interleaved hosted runs, burden-of-proof reruns, stored baselines; latency is decidable only on the quiet fixed runner.

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-performance

Go performance optimization — allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, hot-path patterns. Use when profiling found a bottleneck, or in review to flag anti-patterns before measuring. Triggers on "sync.Pool", "escape analysis", "GOMEMLIMIT", "fieldalignment", "pprof", "benchstat". Measurement methodology is [[z-go-troubleshooting]]; concurrency [[z-go-concurrency]]; aliasing [[z-go-safety]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-pgvector

pgvector-backed similarity search in Go — declaring vector(N) columns, encoding []float32 via pgvector.NewVector, L2/cosine/inner-product distance operators, ORDER BY / LIMIT k queries, and choosing exact scan vs ivfflat vs hnsw indexes. Use when adding embedding storage or writing ANN queries. Triggers on "pgvector", "vector(1536)", "cosine distance", "ivfflat", "hnsw", "pgvector.NewVector". Does not cover general SQL access or migrations; see [[z-go-database]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-pkg

Query the official pkg.go.dev API (v1) for Go module and package metadata — package info, module versions, symbols, imported-by, search, and vulnerabilities. Use for authoritative, machine-readable Go module data instead of scraping pkg.go.dev HTML or guessing. Triggers on module version lookup, symbol listing, imported-by search, vulnerability check, package search.

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-safety

Defensive Go against panics and silent data corruption — nil panics, append aliasing, map concurrent-write panics, float comparison, numeric overflow, defer-in-loop leaks. Also hardens exported API boundaries — copying slices/maps, compile-time interface checks, zero-value design. Triggers on "nil interface", "append alias", "type assertion", "int overflow". Does not cover error wrapping; see [[z-go-errors]]. Concurrency belongs to [[z-go-concurrency]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-security

Go security hardening — injection prevention, crypto, path traversal, secrets, timing safety, and race-free concurrency. Triggers on "sql injection", "exec.Command", "crypto/rand", "path traversal", "hardcoded secret", "race condition". Does not cover database query patterns; see [[z-go-sqlc]]. Does not cover config/secret loading; see [[z-go-env-v11]].

安装量
1
GitHub Stars
0
最近更新
10月22日
victorzhuk
社区

z-go-service-bootstrap

Day-0 checklist for standing up a new Go web service — fires on "bootstrap a new Go service", "new service scaffold", "greenfield Go service", "what does a new Go service need". Maps each day-0 artifact (lint config, env mirror, Dockerfile+compose, version stamping, entrypoint, metrics port, healthz/readyz, timeouts/drain, CI scan) to its owner skill. Does not cover the detail of any artifact; each is owned by its linked skill.

安装量
1
GitHub Stars
0
最近更新
10月22日