/galdr-extras:go-engineeringfrom galdr-extras
Provides Go engineering guidance for design, implementation, review, debugging, and refactoring. Establishes an evidence-led baseline with idiomatic Go patterns, error handling, and dependency discipline.
Ships in galdr-extras. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use current repository evidence and scale inspection to the change. Reuse earlier reads while available and current; refresh affected facts after relevant file changes, context loss, or uncertainty. Inspect applicable go.mod, project instructions, code, tests, and CI requirements, rather than rereading every source for a routine fix. Respect the module's declared Go version, build tags, platforms, and existing dependency policy.
%w when callers need to inspect the cause. Use errors.Is and errors.As across error chains.context.Context as the first argument for blocking or request-scoped work. Propagate it; never replace it with context.Background() mid-request. Always call the cancellation function returned by cancellable context constructors.Use synchronous code until concurrency has a demonstrated benefit. Every goroutine needs an identified owner, exit/cancellation, waiter, error path, channel owner and work/memory bounds. Reuse service shutdown or request completion mechanisms; durability is a separate requirement. Do not hold locks across blocking I/O.
Read references/concurrency-and-context.md only when the task adds, changes, reviews, or diagnoses goroutines, channels, synchronization, worker pools, or nontrivial context lifetimes. Routine context propagation and synchronous code do not require that reference.
Preserve caller cancellation and end-to-end budgets. Ordinary database calls follow the repository's query and transaction patterns. Before adding retries, circuit breakers, caching, singleflight, or new telemetry, inspect the existing client, transport, service-mesh, database, and repository policy so application code does not duplicate infrastructure. Retry only operations that are safe to repeat or protected by documented idempotency.
Read references/network-resiliency.md only when the task adds, changes, reviews, or diagnoses timeout budgets, retry or backoff, circuit breaking, caching, singleflight, upstream-failure classification, database transaction retry, or outbound-call observability. Routine request mapping, response parsing, client wiring, and ordinary SQL or database edits do not require that reference.
Also read references/circuit-breaker.md when the task adds, changes, reviews, or diagnoses a circuit breaker, and references/observability.md when it adds, changes, reviews, or diagnoses metrics, traces, or logs for outbound calls.
Read references/diagnostics-and-benchmarking.md only when the task diagnoses a hang, race, goroutine leak, CPU or memory problem, latency regression, or makes a performance claim. Routine compiler errors and ordinary focused test failures do not require that reference.
Test observable behavior at a public or meaningful boundary, not private implementation or collaborator calls. Unit tests run in one process with no network, real time, Docker, or real databases; keep integration tests separate and isolated. Use an isolated real database for database behavior.
After Go changes, format changed files, run go vet on affected packages, and run focused tests. Broaden validation by risk:
go test -race for affected packages;go mod tidy when appropriate), inspect go.mod and go.sum for unrelated drift, and run the repository's vulnerability checks;Use the repository's documented commands and CI requirements when they are stricter.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nyelonong/galdr --plugin galdr-extras2 skills in this plugin
Other plugins' skills for the same job