golang-popular-libraries — скилл для Claude Code: выбор библиотек Go
Скилл помогает подобрать production-ready библиотеки и фреймворки Go по категориям (веб, БД, тестирование, логирование, обмен сообщениями). Применяется, когда нужно сравнить альтернативы или выбрать зависимость для новой задачи.
npx skills add samber/cc-skills-golang --skill golang-popular-libraries -a claude-codeЧто делает golang-popular-libraries
Скилл содержит каталог vetted библиотек, новые пакеты stdlib и рекомендации по их выбору. Внутри — справочники по категориям, сигналы зрелости (статус поддержки, лицензия, число импортёров), а также руководство: сначала проверить stdlib, потом оценить production-readiness и простоту решения. Помогает избежать over-engineering и излишних зависимостей.
Скилл работает с инструментами для проверки библиотек на pkg.go.dev (версии, импортёры, уязвимости), интеграцией с gopls для изучения исходника и кросс-ссылками на другие скиллы (управление зависимостями, специфичные библиотеки вроде samber/do или testify). Требует установленного go в системе.
Какие задачи решает
- выбрать библиотеку для веб-приложения, БД или тестирования
- сравнить альтернативные решения и оценить их зрелость
- понять, когда stdlib достаточно и не нужна внешняя зависимость
- найти production-ready опцию с активной поддержкой
Примеры запросов агенту
- Какую библиотеку посоветуешь для HTTP-сервера в Go?
- Сравни gin и chi для REST API — что выбрать?
- Нужна ли внешняя библиотека для логирования или хватит stdlib?
Как установить golang-popular-libraries
1Через Skills CLI (Vercel)
npx skills add samber/cc-skills-golang --skill golang-popular-libraries -a claude-code2Вручную: положить файлы
~/.claude/skills/golang-popular-libraries/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/golang-popular-libraries/
1Через Skills CLI (Vercel)
npx skills add samber/cc-skills-golang --skill golang-popular-libraries -a codex2Вручную: положить файлы
.agents/skills/golang-popular-libraries/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add samber/cc-skills-golang --skill golang-popular-libraries -a cursor2Вручную: положить файлы
.cursor/skills/golang-popular-libraries/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install samber/cc-skills-golang golang-popular-libraries2Вручную: положить файлы
.github/skills/golang-popular-libraries/SKILL.md1Через Skills CLI (Vercel)
npx skills add samber/cc-skills-golang --skill golang-popular-libraries -a gemini-cli2Командой платформы
gemini skills install https://github.com/samber/cc-skills-golang --path skills/golang-popular-librariesВручную: положить файлы
.devin/skills/golang-popular-libraries/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add samber/cc-skills-golang --skill golang-popular-libraries -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора32
Весь набор →Похожие
Вопросы о golang-popular-libraries
Как установить golang-popular-libraries в Claude Code?
Выполни команду npx skills add samber/cc-skills-golang --skill golang-popular-libraries -a claude-code, затем найди файл скилла в ~/.claude/skills/golang-popular-libraries/SKILL.md.
Что делает golang-popular-libraries?
Скилл помогает выбрать подходящие библиотеки и фреймворки Go для вашего проекта. Он содержит каталоги vetted решений, оценивает их production-readiness и показывает, когда стандартной библиотеки достаточно.
Для каких платформ работает этот скилл?
Скилл поддерживает Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Требует установленного Go в проекте.
Исходный текст
SKILL.md · MIT
---
name: golang-popular-libraries
description: "Golang library and framework selection — vetted production-ready options by category (web, database, testing, logging, messaging), new and experimental stdlib packages, standard-library-first tradeoffs, and maturity signals (maintenance, license, importer counts). Apply when the user asks for library suggestions, wants to compare alternatives, needs to choose a library for a specific task, or when a new dependency is being added to the project. Not for a specific library's API once chosen (→ See that library's dedicated skill, e.g. `samber/cc-skills-golang@golang-samber-lo`), nor for go.mod mechanics, upgrades, or vulnerability audits (→ See `samber/cc-skills-golang@golang-dependency-management` skill)."
user-invocable: true
license: MIT
compatibility: Designed for Claude Code, Codex or similar harness, and for projects using Golang.
metadata:
author: samber
version: "1.2.2"
openclaw:
emoji: "📚"
homepage: https://github.com/samber/cc-skills-golang
requires:
bins:
- go
install: []
allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch WebSearch AskUserQuestion mcp__context7__resolve-library-id mcp__context7__query-docs Bash(godig:*) Bash(gopls:*) LSP mcp__gopls__*
---
**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](./references/stdlib.md) — v2 packages, promoted x/exp packages, golang.org/x extensions
- [Libraries by Category](./references/libraries.md) — vetted third-party libraries for web, database, testing, logging, messaging, and more
- [Development Tools](./references/tools.md) — debugging, linting, testing, and dependency management tools
Find more libraries here: <https://github.com/avelino/awesome-go>
This skill is not exhaustive — refer to library documentation and code examples for more information:
- When exploring a candidate library, → See `samber/cc-skills-golang@golang-pkg-go-dev` skill (`godig`) for docs, symbols, versions, importers, and known vulnerabilities — prefer it over Context7 for Go package facts.
- Once a candidate is added to your build, → See `samber/cc-skills-golang@golang-gopls` skill (`gopls`) to browse its actual resolved source and compare candidates side by side.
- Context7 remains a fallback for docs not indexed on pkg.go.dev.
## 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-hot` skill for samber/hot in-memory caching 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
© samber · MIT · samber/cc-skills-golang