CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-samber-slog

Structured logging extensions for Golang using samber/slog-**** packages — multi-handler pipelines (slog-multi), log sampling (slog-sampling), attribute formatting (slog-formatter), HTTP middleware (slog-fiber, slog-gin, slog-chi, slog-echo), and backend routing (slog-datadog, slog-sentry, slog-loki, slog-syslog, slog-logstash, slog-graylog...). Apply when using or adopting slog, or when the codebase already imports any github.com/samber/slog-* package.

96

1.00x
Quality

96%

Does it follow best practices?

Impact

100%

1.00x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

Grafana Loki Integration for a Distributed Tracing-Heavy Go Service

Loki high-cardinality attributes via structured metadata

Criteria
Without context
With context

HandleRecordsWithMetadata enabled

100%

100%

Loki graceful shutdown

100%

100%

Option constructor pattern

100%

100%

Versioned import path

100%

100%

Level field configured

100%

100%

High-cardinality fields as slog attributes

100%

100%

Loki client initialization

100%

100%

100%

Request Logging Overhaul for a Chi-Based HTTP API

HTTP middleware noise filtering and attribute namespacing

Criteria
Without context
With context

Path filter applied

100%

100%

Status filter applied

100%

100%

WithGroup namespacing

100%

100%

NewWithConfig used

100%

100%

ClientErrorLevel set

100%

100%

ServerErrorLevel set

100%

100%

slog-chi import

100%

100%

Middleware registered

100%

100%

100%

Two-Layer Log Sampling Pipeline for a High-Throughput Payment Processor

Multi-layer sampling pipeline with observability hooks

Criteria
Without context
With context

ThresholdSamplingOption used

100%

100%

Threshold Rate for post-threshold sampling

100%

100%

AbsoluteSamplingOption used

100%

100%

Both strategies chained via Pipe

100%

100%

ThresholdSamplingOption Matcher

100%

100%

AbsoluteSamplingOption Matcher

100%

100%

OnDropped hook wired

100%

100%

NewMiddleware called

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.