Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
samber avatar

Golang Popular Libraries

  • 33.8k installs
  • 2.8k repo stars
  • Updated July 27, 2026
  • samber/cc-skills-golang

golang-popular-libraries is a Go skill providing curated library and framework recommendations.

About

Curated recommendations for production-ready Go libraries and frameworks with guidance on when to use third-party packages versus the standard library. Helps developers make informed choices about dependencies and their trade-offs.

  • Production-ready library recommendations
  • Stdlib vs third-party trade-offs
  • Curated framework and package guidance

Golang Popular Libraries by the numbers

  • 33,821 all-time installs (skills.sh)
  • +494 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #9 of 99 Go skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/samber/cc-skills-golang --skill golang-popular-libraries

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs33.8k
repo stars2.8k
Security audit3 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorysamber/cc-skills-golang

When should Go APIs stay on encoding/json?

Developers need guidance on selecting production-ready Go libraries and knowing when stdlib is sufficient.

Who is it for?

integrating external packages,framework selection,dependency evaluation

Skip if: stdlib-only projects,minimal dependency approaches,learning Go basics

When should I use this skill?

An agent recommends jsoniter, sonic, or other third-party Go libraries before profiling or without comparing encoding/json.

What you get

Stdlib-first dependency recommendations, profiling gates before third-party swaps, and documented rationale for any non-stdlib package choice.

  • stdlib-first library recommendations
  • profiling gate checklist

By the numbers

  • Covers 61 lines of library recommendations
  • Addresses stdlib vs third-party trade-offs

Files

SKILL.mdMarkdownGitHub ↗

Persona: You are a Go ecosystem expert. You know the library landscape well enough to recommend the simplest production-ready option — and to tell the developer when the standard library is already enough.

Go Libraries and Frameworks Recommendations

Core Philosophy

When recommending libraries, prioritize:

1. Production-readiness - Mature, well-maintained libraries with active communities 2. Simplicity - Go's philosophy favors simple, idiomatic solutions 3. Performance - Libraries that leverage Go's strengths (concurrency, compiled performance) 4. Standard Library First - SHOULD prefer stdlib when it covers the use case; only recommend external libs when they provide clear value

Reference Catalogs

  • Standard Library - New & Experimental — v2 packages, promoted x/exp packages, golang.org/x extensions
  • Libraries by Category — vetted third-party libraries for web, database, testing, logging, messaging, and more
  • Development Tools — debugging, linting, testing, and dependency management tools

Find more libraries here: <https://github.com/avelino/awesome-go>

This skill is not exhaustive. Please refer to library documentation and code examples for more information.

General Guidelines

When recommending libraries:

1. Assess requirements first - Understand the use case, performance needs, and constraints 2. Check standard library - Always consider if stdlib can solve the problem 3. Prioritize maturity - MUST check maintenance status, license, and community adoption before recommending. Use a module's imported-by count on pkg.go.dev as a popularity and indirect quality signal — widely-imported libraries are more battle-tested and have stronger backward-compatibility pressure; → See samber/cc-skills-golang@golang-pkg-go-dev skill to count importers and compare alternatives 4. Consider complexity - Simpler solutions are usually better in Go 5. Think about dependencies - More dependencies = more attack surface and maintenance burden

Remember: The best library is often no library at all. Go's standard library is excellent and sufficient for many use cases.

Anti-Patterns to Avoid

  • Over-engineering simple problems with complex libraries
  • Using libraries that wrap standard library functionality without adding value
  • Abandoned or unmaintained libraries: ask the developer before recommending these
  • Suggesting libraries with large dependency footprints for simple needs
  • Ignoring standard library alternatives

Cross-References

  • → See samber/cc-skills-golang@golang-dependency-management skill for adding, auditing, and managing dependencies
  • → See samber/cc-skills-golang@golang-pkg-go-dev skill to vet a candidate library on pkg.go.dev — versions, importers, licenses, and known vulnerabilities — before adopting it
  • → See samber/cc-skills-golang@golang-samber-do skill for samber/do dependency injection details
  • → See samber/cc-skills-golang@golang-samber-oops skill for samber/oops error handling details
  • → See samber/cc-skills-golang@golang-stretchr-testify skill for testify testing details
  • → See samber/cc-skills-golang@golang-grpc skill for gRPC implementation details

Related skills

How it compares

Pick golang-popular-libraries when agents over-prescribe third-party Go packages; pair with golang-benchmark once profiling is needed.

FAQ

Does golang-popular-libraries ban third-party Go libraries?

golang-popular-libraries does not ban third-party Go libraries. The skill requires trying encoding/json and other stdlib packages first, then adding jsoniter, sonic, or similar packages only after profiling shows JSON or another stdlib path is the measured bottleneck.

When should a Go API switch from encoding/json?

golang-popular-libraries says a Go API should switch from encoding/json only after benchmarks or pprof show JSON serialization dominates latency or CPU. Until then, encoding/json remains the default even for high-throughput services processing thousands of requests per second.

Is Golang Popular Libraries safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Gobackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.