SkillsReviewed · samber

golang-observability

golang-observability is an AI assistant skill for Go developers adding production monitoring, but its examples need review for inconsistencies and missing setup. It covers structured logging, Prometheus metrics, OpenTelemetry tracing, profiling, server-side analytics, alerts and Grafana dashboards.

Researched 16 Nov 2026

In short.

golang-observability is an AI assistant skill for Go service teams adding production monitoring, but some examples conflict with its guidance or omit important setup. Its strongest features are concrete instrumentation patterns, PromQL queries beside metric declarations, and connections between logs, metrics and traces. The supplied evaluation scenarios establish intended behaviour rather than demonstrated effectiveness. No code or evaluations were executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied skills/golang-observability folder: SKILL.md, evals/evals.json and references/alerting.md, dashboards.md, logging.md, metrics.md, profiling.md, rum.md and tracing.md. The repository-level LICENSE is included as the related notice outside that folder. Other repository skills, linked websites, dependency implementations and hosted-service terms are excluded. The original source URLs and pinned revision identify the material assessed. No code, assistant session, evaluation, integration or production journey was executed.

The overview

Identity

golang-observability is a collection of instructions and examples that a coding assistant loads to help instrument Go services. It belongs to samber/cc-skills-golang, identifies samber as its author, and declares version 1.3.2. The accompanying licence names Samuel Berthe.

The resource consists of SKILL.md, seven reference guides and an evaluation file. Its source location is [https://github.com/samber/cc-skills-golang/tree/main/skills/golang-observability]. It provides assistant guidance rather than a running telemetry collector or monitoring backend.

Assessment

This is a useful starting point for teams standardizing Go instrumentation around slog, Prometheus and OpenTelemetry. It connects application changes to dashboards and alerts, and explains why bounded metric labels, context propagation and sampling matter.

Engineering review remains necessary. The detailed examples contain identifiable inconsistencies, and the evaluation file supplies expected answers without model responses, pass rates or comparative results. Effectiveness in an actual repository is unknown.

Intended users

Go backend developers, platform engineers and reliability engineers can use it when adding monitoring to a feature, reviewing instrumentation changes or surveying an existing codebase. Beginners receive explanations of the different signals, while experienced developers get Go snippets, PromQL expressions and migration patterns.

Applying the examples requires familiarity with Go services, HTTP handlers and context. The main file directs temporary performance investigations to separate benchmark and performance skills; this resource concentrates on ongoing production visibility.

Capabilities

The logging guide covers JSON output, log levels, contextual fields and incremental migration from zap, logrus or zerolog. Metrics guidance covers counters, gauges, histograms, naming, label cardinality and multi-window error-budget alerts. Tracing examples cover spans, HTTP instrumentation, error recording and sampling.

Profiling guidance combines protected pprof access with Pyroscope configuration. The analytics guide sketches PostHog and Segment integration, session-to-trace correlation, consent checks and data access or deletion handlers. Alerting and dashboard guides add runtime monitoring examples and Grafana dashboard IDs 21221, 6671 and 10826.

Using it

Requirements

The metadata declares a Go executable and compatibility with Claude Code, Codex or similar assistant hosts. Actual loading behaviour and compatibility were not exercised. The declared tool access includes file editing, Go, lint and Git commands, web access and an Agent tool; availability and permissions depend on the host.

The selected instrumentation paths require their respective libraries and operational backends. Examples also rely on application helpers such as statusWriter, WithLogger and auth.ConsentFromContext whose implementations are absent. No complete dependency lockfile or minimum Go version for the entire skill is supplied.

How it works

SKILL.md gives the assistant an observability role, shared conventions and links to signal-specific references. Coding and review modes are described as sequential. Audit mode proposes up to five parallel agents, assigned to metrics, logging, tracing, profiling and user analytics, with their findings combined afterward.

The assistant is expected to apply these instructions to application code; the instrumented service and its monitoring infrastructure produce the actual signals. Correlation examples attach trace identifiers to contextual logs and Prometheus exemplars, which associate a metric observation with a trace.

Setup

Load SKILL.md through the assistant host's supported skill mechanism and preserve the references directory so its relative links remain usable. No host-specific installation command appears in the selected files.

Application setup depends on the chosen signals: expose a Prometheus scrape endpoint, configure trace export, protect profiling endpoints, and connect dashboards and alert rules to actual metrics. Examples use PROFILING_ENABLED and PYROSCOPE_URL for profiling, POSTHOG_API_KEY and POSTHOG_HOST for PostHog, and SEGMENT_WRITE_KEY for Segment. The profiling flag is checked during setup; live reconfiguration is not demonstrated.

Grafana dashboards are imported by ID and require the relevant collector metrics. Dependency alerts also require their exporters, such as postgres_exporter or redis_exporter. Copying a dashboard or alert definition alone does not supply those metrics.

Example use

For an order-creation API, a focused task would ask the assistant to add request and error counters, a latency histogram using bounded route labels, contextual JSON logs, and spans around OrderService.Create and its database operation. This combines the resource's metric, logging and tracing patterns without requiring every integration at once.

The tracing example starts and ends spans, passes context into ExecContext, and calls both RecordError and SetStatus when an operation fails. Metric declarations can carry the associated dashboard and alert queries in comments. These are source examples; compilation, telemetry delivery and operational behaviour remain unassessed.

Assessment & evidence

Limitations

The metrics guide warns against raw URL paths as labels, but its HTTP instrumentation example uses r.URL.Path. Its latency SLI queries select the le="0.3" bucket, while the displayed histogram boundaries omit 0.3. Used together unchanged, those declarations cannot provide the bucket those queries request.

The privacy deletion example logs analytics or CDP deletion failures and still returns a success response. Its export example retrieves only repository data, despite the surrounding guidance calling for coverage across systems. These sketches do not establish complete data-rights handling or GDPR/CCPA compliance.

The profiling example logs PYROSCOPE_URL even though its sample URL contains a username and password, creating a credential exposure risk if copied that way. The log-correlation snippet also omits a complete log exporter and backend configuration. Current API compatibility and end-to-end integration remain unknown.

Why it may help

Keeping PromQL expressions beside metric declarations makes their intended dashboard and alert use visible during code review. The proposed log, metric and trace connections also give developers a concrete route from an observed symptom to a request or operation.

Those design choices support its usefulness as guidance. They do not demonstrate better assistant accuracy, faster incident resolution or production readiness. The evaluation file's claims about behaviour without the skill have no accompanying comparison outputs.

Alternatives

For a narrow instrumentation task, direct use of the relevant library's official documentation is an alternative. The skill itself recommends checking official Prometheus and OpenTelemetry documentation for current API signatures; its logging guide also links the slog resource directory at [https://go.dev/wiki/Resources-for-slog].

For temporary performance investigation, the main file points to golang-benchmark and golang-performance, while other references point to golang-troubleshooting for diagnosis. Their contents and relative effectiveness were not assessed here.

Evidence

The available material includes the central skill file, all seven reference guides, evals/evals.json and the repository MIT notice. It supports analysis of the instructions, examples, configuration patterns and internal inconsistencies.

The evaluation file contains 40 scenarios with prompts and expected assertions, covering matters such as histogram buckets, label cardinality, trace context and profiling exposure. No model answers, execution logs, evaluation results, production telemetry or measured outcomes are supplied. Linked external resources were not inspected.

Access & freshness

Costs

The evidence establishes no total operating price, assistant subscription charge or current monitoring-provider tariff. Model usage, telemetry hosting, storage and maintenance costs depend on the deployment and remain unknown.

The guides identify practical cost drivers: log volume, metric label combinations, span volume and attributes, profiling across replicas, and analytics events. Suggested controls include Info-level logging, bounded labels, trace sampling and profiling a subset of instances. The stated approximately 2–5% profiling CPU overhead is an author estimate without a supplied workload or benchmark result.

Rights and licence

The supplied repository licence is MIT, with copyright attributed to Samuel Berthe in 2026; SKILL.md also declares MIT. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. It supplies no warranty.

These terms cover the captured skill material. The terms of referenced libraries, dashboards and hosted services are not established by this licence. The captured notice is available at [https://raw.githubusercontent.com/samber/cc-skills-golang/d68d80aec298e1b74b37c2a472c002b5217248b3/LICENSE].

Version and freshness

The supplied snapshot was captured on 16 November 2026 at 02:52:41.879 UTC and pins repository revision d68d80aec298e1b74b37c2a472c002b5217248b3. SKILL.md declares version 1.3.2. These findings concern that snapshot; subsequent changes on main are unknown.

The files make version-specific claims about slog.NewMultiHandler on Go 1.26+ and profiling features on Go 1.27. Those claims were not independently verified. Compatibility with a particular Go release, dependency version or assistant host remains unassessed.

Suggested next steps

Begin with one endpoint or service operation and the signal-specific guides it needs. Confirm APIs against the project's actual dependency versions, replace raw-path labels with route templates, and align histogram boundaries with the queries that use them.

Before broader adoption, complete telemetry export configuration, remove credentials from profiling logs, and implement reliable cross-system privacy handling. Verify compilation, signal delivery, correlation, alert behaviour and overhead in an appropriate development environment. No evidence currently establishes those outcomes.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/golang-observability/SKILL.mdselected · checked 2026-11-16
skills/golang-observability/evals/evals.jsonselected · checked 2026-11-16
skills/golang-observability/references/rum.mdselected · checked 2026-11-16