← 返回
未分类 中文

Golang Popular Libraries

Recommends production-ready Golang libraries and frameworks. Apply when the user explicitly asks for library suggestions, wants to compare alternatives, need...
推荐生产级 Golang 库和框架。仅在用户明确请求库推荐、想比较替代方案、需要…时使用。
samber
未分类 clawhub v1.1.5 2 版本 99918.8 Key: 无需
★ 0
Stars
📥 1,231
下载
💾 8
安装
2
版本
#latest

概述

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

Find more libraries here:

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
  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-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

版本历史

共 2 个版本

  • v1.1.5 当前
    2026-05-03 04:22 安全 安全
  • v0.1.0
    2026-03-30 05:26

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Golang Benchmark

samber
Go 语言基准测试、性能分析和性能测量。用于编写、运行或比较 Go 基准测试,使用 pprof 分析热点路径,解读结果。
★ 0 📥 739

Golang Code Style

samber
Golang 代码风格规范——行长度与换行、变量声明、控制流清晰度、注释的利弊,适用于编写或审查。
★ 1 📥 850

Golang Design Patterns

samber
符合 Go 语言惯用法的设计模式 — 函数式选项、构造函数、错误流与级联、资源管理与生命周期、优雅关闭、弹性
★ 1 📥 876