golang-samber-slog
golang-samber-slog is an agent skill published by samber, listed under writing code. It lives in the samber/cc-skills-golang repository, which has 3,672 GitHub stars and is licensed under MIT; we last read it on 2026-09-16.
Provides structured logging extensions for Golang using samber/slog packages, including multi-handler pipelines, log sampling, attribute formatting, and HTTP middleware for various frameworks, with support for multiple backend routing options. Requires the use or adoption of slog packages or an existing import of any github.com/samber/slog-* package.
Install
skills is a generic installer for any repository of Claude agent skills -- it reads samber/cc-skills-golang’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.
npx skills add samber/cc-skills-golang
Maintenance
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.
golang-samber-slog compared with similar skills
| Skill | Publisher | What it does | Repo stars | Last update |
|---|---|---|---|---|
| golang-samber-slog (this page) | samber | Structured logging extensions for Golang using samber/slog-**** packages — multi-handler pipelines (slog-mult… | 3,672 | 2026-10-23 |
| golang-data-structures(same repository) | samber | Golang data structures — slices (internals, capacity growth, preallocation, slices package), maps (internals,… | 3,672 | 2026-10-23 |
| golang-dependency-injection(same repository) | samber | Comprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupli… | 3,672 | 2026-10-23 |
| golang-dependency-management(same repository) | samber | Dependency management for Golang projects — go.mod and go.sum, `go get` install and upgrade flows, Minimal Ve… | 3,672 | 2026-10-23 |
| golang-error-handling(same repository) | samber | Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types,… | 3,672 | 2026-10-23 |
| golang-google-wire(same repository) | samber | Compile-time dependency injection in Golang using google/wire — wire.NewSet, wire.Build, wire.Bind (interface… | 3,672 | 2026-10-23 |
| golang-graphql(same repository) | samber | Implements GraphQL APIs in Golang using gqlgen or graphql-go. Apply when building GraphQL servers, designing… | 3,672 | 2026-10-23 |
Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.
Common questions about golang-samber-slog
- What does golang-samber-slog do?
- Provides structured logging extensions for Golang using samber/slog packages, including multi-handler pipelines, log sampling, attribute formatting, and HTTP middleware for various frameworks, with support for multiple backend routing options. Requires the use or adoption of slog packages or an existing import of any github.com/samber/slog-* package.
- How do I install golang-samber-slog?
- Run npx skills add samber/cc-skills-golang. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
- Who publishes golang-samber-slog?
- samber.
- Is golang-samber-slog maintained, and what licence does it use?
- Its repository has 3,672 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-23. The repository declares the MIT licence.
More agent skills for writing code
- chat-uiby 101-skills
- pitch-deck-visualsby 101-skills
- video-ad-specsby 101-skills
- test-driven-developmentby addyosmani
- angular-developerby angular
- nitroby antfu