CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-observability

Golang everyday observability — the always-on signals in production. Covers structured logging with slog, Prometheus metrics, OpenTelemetry distributed tracing, continuous profiling with pprof/Pyroscope, server-side RUM event tracking, alerting, and Grafana dashboards. Apply when instrumenting Go services for production monitoring, setting up metrics or alerting, adding OpenTelemetry tracing, correlating logs with traces, migrating legacy loggers (zap/logrus/zerolog) to slog, adding observability to new features, or implementing GDPR/CCPA-compliant tracking with Customer Data Platforms (CDP). Not for temporary deep-dive performance investigation (→ See `samber/cc-skills-golang@golang-benchmark` and `samber/cc-skills-golang@golang-performance` skills).

86

1.20x
Quality

82%

Does it follow best practices?

Impact

94%

1.20x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

17%

Instrument an Order Processing API with Prometheus Metrics

Prometheus metrics instrumentation for HTTP service

Criteria
Without context
With context

Histogram for latency

100%

100%

Base unit: seconds

100%

100%

Counter _total suffix

100%

100%

No high-cardinality labels

100%

100%

Latency per endpoint

100%

100%

Error rate per endpoint

100%

100%

PromQL comments above metrics

0%

100%

No irate in comments

100%

100%

/metrics endpoint

100%

100%

Namespace in metric names

37%

100%

No Summary for latency

100%

100%

83%

19%

Modernize Observability in a Legacy Go Order Service

Migrate zerolog to slog and add OpenTelemetry tracing

Criteria
Without context
With context

slog JSON handler

100%

100%

LevelInfo for production

0%

100%

Context slog variants

70%

100%

No log-and-return

20%

100%

zerolog removed

100%

100%

otelslog bridge

0%

0%

Spans on service methods

100%

100%

Spans on DB operations

100%

100%

Spans on external HTTP calls

100%

100%

RecordError AND SetStatus

100%

100%

Context propagation on DB

33%

44%

100%

11%

Add Privacy-Compliant Analytics and Production Profiling to a SaaS Backend

GDPR-compliant analytics and continuous profiling setup

Criteria
Without context
With context

user_id as identity key

100%

100%

No email as identity key

100%

100%

Consent check before tracking

100%

100%

Data deletion endpoint

75%

100%

Data export endpoint

100%

100%

Profiling env var toggle

100%

100%

pprof not on public port

100%

100%

slog for profiling logs

0%

100%

Compliance checklist present

100%

100%

Repository
samber/cc-skills-golang
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.