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).

90

1.38x
Quality

89%

Does it follow best practices?

Impact

93%

1.38x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Evaluation results

94%

3%

Add GDPR-Compliant Analytics to an EU E-Commerce Service

GDPR-compliant server-side analytics tracking in Go

The agent wrote 1 file outside the evaluated workspace (Without this skill)

These are not visible to scoring or included in the download.

/home/agent/go/pkg/mod/cache/lock

The agent wrote 2655 files outside the evaluated workspace (With this skill)

These are not visible to scoring or included in the download.

/home/agent/go/pkg/mod/cache/download/github.com/andybalholm/brotli/@v/list

/home/agent/go/pkg/mod/cache/download/github.com/andybalholm/brotli/@v/v1.1.1.info

/home/agent/go/pkg/mod/cache/download/github.com/andybalholm/brotli/@v/v1.1.1.lock

/home/agent/go/pkg/mod/cache/download/github.com/andybalholm/brotli/@v/v1.1.1.mod

/home/agent/go/pkg/mod/cache/download/github.com/andybalholm/brotli/@v/v1.1.1.zip

Criteria
Without this skill
With this skill

user_id as DistinctId

100%

100%

Consent gate on tracking

100%

100%

Deletion propagates to PostHog

100%

100%

Deletion propagates to Segment

100%

100%

Deletion propagates to DB

100%

100%

Data export endpoint

100%

100%

No PII in event properties

100%

100%

slog *Context variants

10%

40%

Error log-or-return

100%

100%

92%

49%

Make the Order Service Production-Ready

Full observability instrumentation of a Go HTTP order service

The agent wrote 10484 files outside the evaluated workspace (Without this skill)

These are not visible to scoring or included in the download.

/home/agent/go/pkg/mod/cache/download/github.com/!x!s!a!m/otelsql/@v/list

/home/agent/go/pkg/mod/cache/download/github.com/!x!s!a!m/otelsql/@v/v0.44.0.info

/home/agent/go/pkg/mod/cache/download/github.com/!x!s!a!m/otelsql/@v/v0.44.0.lock

/home/agent/go/pkg/mod/cache/download/github.com/!x!s!a!m/otelsql/@v/v0.44.0.mod

/home/agent/go/pkg/mod/cache/download/github.com/!x!s!a!m/otelsql/@v/v0.44.0.zip

The agent wrote 10602 files outside the evaluated workspace (With this skill)

These are not visible to scoring or included in the download.

/home/agent/go/pkg/mod/cache/download/github.com/beorn7/perks/@v/list

/home/agent/go/pkg/mod/cache/download/github.com/beorn7/perks/@v/v1.0.1.info

/home/agent/go/pkg/mod/cache/download/github.com/beorn7/perks/@v/v1.0.1.lock

/home/agent/go/pkg/mod/cache/download/github.com/beorn7/perks/@v/v1.0.1.mod

/home/agent/go/pkg/mod/cache/download/github.com/beorn7/perks/@v/v1.0.1.zip

Criteria
Without this skill
With this skill

JSON log handler

0%

100%

otelslog bridge

0%

100%

Context log variants

0%

100%

No PII logged

100%

100%

Error log-or-return

25%

100%

Histogram not Summary

28%

100%

Latency + error counter

57%

71%

Bounded labels only

100%

100%

Metric naming conventions

50%

100%

PromQL comments

0%

100%

Service and repo spans

71%

100%

Span error recording

100%

71%

DB context variants

100%

100%

otelhttp transport

0%

0%

Prometheus exemplars

0%

100%

Failed

Prometheus alerting and metric declaration for a Go SLO service

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.