Skip to content
Back to skills

Golang Popular Libraries

ASecurity

Select and review Go library integrations for API fit, pinned-version behavior, lifecycle, compatibility, maintenance, security, licensing, and migration cost.

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsgosqltestingapidatabasesecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add aiproxer/aiproxer --skill golang-popular-libraries --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Golang Popular Libraries?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Golang Popular Libraries
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiproxer-golang-popular-libraries/badge)](https://www.skillsdirectory.com/skills/aiproxer-golang-popular-libraries)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: golang-popular-libraries
description: "Select and review Go library integrations for API fit, pinned-version behavior, lifecycle, compatibility, maintenance, security, licensing, and migration cost."
---

# Go library selection

Library popularity is not a correctness signal. Start with the standard library and the module's existing dependencies. Add a dependency when it removes meaningful risk or complexity and its maintenance, license, transitive graph, and operational behavior are acceptable.

Before recommending a package, verify its current module path, latest compatible release, supported Go versions, license, repository activity, security advisories, and the API in the exact version the project will pin. Do not infer a maintainer or lifecycle guarantee from a README badge.

## Focused review

For a review, keep the work read-only unless fixes are requested. Establish the review base, supported versions, and relevant contract; inspect changed code plus the callers and tests needed to assess it. Stay within this skill’s lens.

- Evaluate the specific pinned module and used APIs, not a popularity ranking. Connect added/transitive dependencies to a capability the current standard library or stack lacks.
- Inspect context, retry, timeout, concurrency, cleanup, serialization, and error contracts at actual call sites; README feature claims do not prove integration correctness.
- Check target Go versions/platforms, CGO, licensing, provenance, advisories, and maintenance evidence from primary sources.
- Estimate the adapter/migration burden and test substitutability. Preserve an explicitly chosen library unless a concrete incompatibility or defect warrants a change.

Report each actionable finding with severity, confidence, file/symbol, trigger, consequence, and smallest remedy. Separate introduced/worsened defects from pre-existing debt, and state executed checks versus inference. If none survives validation, say so and identify coverage gaps.

## Practical evaluation

Compare candidates against the actual constraint:

- standard-library capability and missing behavior;
- API fit and whether context/cancellation are supported;
- failure, retry, timeout, and resource-ownership semantics;
- compatibility with the project's Go version and build targets;
- transitive dependencies, generated code, CGO, and binary size;
- release cadence, issue responsiveness, license, and known vulnerabilities;
- migration and exit cost.

Prefer a small, direct dependency to an abstraction stack. Keep third-party calls behind a narrow adapter when the library is volatile or external. Pin versions through normal Go module review; run go mod tidy and tests after changes. Never use go get -u as an unreviewed bulk upgrade.

## Useful baselines

- HTTP: net/http, httptest, and standard URL/encoding packages cover many clients and servers.
- JSON: encoding/json is the stable baseline. Do not use old golang.org/x/exp/json guidance as if it were a released encoding/json/v2 API; verify the target Go release and module path.
- Logging: log/slog with a handler selected for the deployment.
- SQL: database/sql plus a driver; sqlx or pgx when their explicit features justify them.
- RPC: google.golang.org/grpc or net/http according to the wire contract.
- Tests: testing, fuzzing, and benchmark support; testify is optional.
- CLI: flag for small tools, then a command framework when command-tree features justify it.
- Schema/migrations: use the project's reviewed migration tool and driver conventions.

Examples in this skill are categories, not a mandated stack. Check pkg.go.dev and the upstream repository for exact symbols, versions, and security notices before writing code.

Files in this skill

  • SKILL.md3.6 KB
  • evals/evals.json11.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.