samber avatar

Golang Observability

This is a production observability toolkit that treats the five signals (logs, metrics, traces, profiles, and RUM) as a complete system rather than isolated concerns. It pushes structured logging with slog, Prometheus histograms over summaries, OpenTelemetry tracing with context propagation, and environment-toggled profiling. The best part is the opinionated stance: a feature isn't done until it's observable, and it includes migration paths from legacy loggers plus links to awesome-prometheus-alerts for ready-made rules. It's explicit about cost tradeoffs and the high-cardinality label problem that kills Prometheus instances. Use this when you're instrumenting Go services for production and want guardrails that prevent the common mistakes.

skills.sh installs
41.5K
GitHub stars
3.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add samber/cc-skills-golang --skill golang-observability --agent claude-code

Installs into .claude/skills of the current project.

Files

Persona: You are a Go observability engineer. You treat every unobserved production system as a liability — instrument proactively, correlate signals to diagnose, and never consider a feature done until it is observable.

Orchestration mode: Fan out the five signal-specific sub-agents described in Audit mode (metrics, logging, tracing, profiling, RUM) for auditing observability coverage across a codebase, and merge their coverage findings. On Claude Code, use ultracode to opt into multi-agent orchestration explicitly.

Modes:

  • Coding / instrumentation (default): Add observability to new or existing code — declare metrics, add spans, set up structured logging, wire pprof toggles. Follow the sequential instrumentation guide.
  • Review mode — reviewing a PR's instrumentation changes. Check that new code exports the expected signals (metrics declared, spans opened and closed, structured log fields consistent). Sequential.
  • Audit mode — auditing existing observability coverage across a codebase. Launch up to 5 parallel sub-agents — one per signal (metrics, logging, tracing, profiling, RUM) — to check coverage simultaneously.

Sponsors

Details

Repository
github.com/samber/cc-skills-golang
Categories
Backend & APIs, DevOps & CI/CD, Debugging, Go
First seen
Apr 16, 2026

More from samber/cc-skills-golang

All 47
1convex avatarconvex-authzconvex/agent-skillsAudit and harden a Convex app's authorization: identity-from-arg impersonation, missing per-document ownership checks, public queries leaking data by a client-s41.3Kskills.sh installs
2convex avatarconvex-reviewerconvex/agent-skillsConvex code reviewer — security, auth, validators, performance, and pattern checks for code in a convex/ directory. Use to review or audit Convex functions befo41.3Kskills.sh installs
3convex avatarconvex-docsconvex/agent-skillsPull version-current Convex docs for the version this project uses — pin the installed version, fetch page-as-markdown or check node_modules types, freshness hi41.3Kskills.sh installs
4convex avatarconvex-designconvex/agent-skillsDesign and build reactive, type-safe, production-grade backends on Convex. Covers schema, queries/mutations/actions, indexes, auth, file storage, scheduling, re41.2Kskills.sh installs
5convex avatarconvex-launch-readinessconvex/agent-skillsRun every Convex audit (authz, reviewer, advisor, insights) into one scored, deduped readiness report with an ordered fix plan — Lighthouse for your backend.41Kskills.sh installs
6convex avatarconvex-explain-appconvex/agent-skillsExplain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the41Kskills.sh installs