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.
98
100%
Does it follow best practices?
Impact
100%
1.00xAverage score across 3 eval scenarios
Passed
No known issues
Loki high-cardinality label handling
Option constructor pattern
100%
100%
HandleRecordsWithMetadata enabled
100%
100%
No label explosion with HandleRecordsWithMetadata false
100%
100%
Loki client graceful shutdown
100%
100%
Versioned import path
100%
100%
High-cardinality attrs logged
100%
100%
Explanation or comment
100%
100%
Sampling observability via drop/accept hooks
ThresholdSamplingOption used
100%
100%
OnAccepted hook present
100%
100%
OnDropped hook present
100%
100%
Correct Tick and Threshold values
100%
100%
Pipe integration
100%
100%
No custom interception wrapper
100%
100%
Drop ratio reported
100%
100%
Sentry structured error context with groups
Option constructor pattern
100%
100%
Versioned import
100%
100%
Error key is 'error' or 'err'
100%
100%
User group for user context
100%
100%
Tags group for Sentry tags
100%
100%
environment attribute recognized
100%
100%
release attribute recognized
100%
100%
b88f91d
Table of Contents
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.