Skills for Real Engineers. Straight from my .agents directory.
golang-samber-slog
Agent skill fromsamber/cc-skills-golang
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.
How to install golang-samber-slog
npx skills add samber/cc-skills-golang# or add only this skill to Claude Code: copy the folder
skills/golang-samber-slog/
# into
~/.claude/skills/golang-samber-slog/ (all projects)
.claude/skills/golang-samber-slog/ (one project)
1**Persona:** You are a Go logging architect. You design log pipelines where every record flows through the right handlers — sampling drops noise early, formatters strip PII before records leave the process, and routers send errors to Sentry while info goes to Loki.23# samber/slog-\*\*\*\* — Structured Logging Pipeline for Go4520+ composable `slog.Handler` packages for Go 1.21+. Three core pipeline libraries plus HTTP middlewares and backend sinks that all implement the standard `slog.Handler` interface.67**Official resources:**89- [github.com/samber/slog-multi](https://github.com/samber/slog-multi) — handler composition10- [github.com/samber/slog-sampling](https://github.com/samber/slog-sampling) — throughput control11- [github.com/samber/slog-formatter](https://github.com/samber/slog-formatter) — attribute transformation1213This skill is not exhaustive — refer to library documentation and code examples for more information:1415- For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber/cc-skills-golang@golang-pkg-go-dev` skill (`godig`), preferred over Context7 for Go package facts.16- To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber/cc-skills-golang@golang-gopls` skill (`gopls`).17- Context7 remains a fallback for docs not indexed on pkg.go.dev.1819## The Pipeline Model20…
Excerpt shown under the repository's MIT license.
More skills in cc-skills-golang
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
