Repository

cxuu/golang-skills agent skills

Every skill in the cxuu/golang-skills repository on GitHub, ranked by score, with the commands to install them.
skills
20
GitHub stars
173

GitHub description: “AI Agent Skills for idiomatic, production-ready Go code, distilled from Google, Uber, Community”

Stars
173 (19 forks)
Licence
Apache-2.0
Last push
Jun 2026
Created
Jan 2026
  • ai-agent
  • ai-assistant
  • go
  • golang
  • agent-skills
  • llm
  • claude
  • claude-code
  • codex
  • cursor

Install all skills

skills CLI (any agent)
npx skills add cxuu/golang-skills

Add --skill <name> for a single skill and -a <agent> to choose the agent (see the agent guides).

Skills in cxuu/golang-skills, ranked

Ranked by score. Sort bymost stars,trending,newest,recently updated

Skills in cxuu/golang-skills, ranked
#SkillRepositoryStarsUsed inTokensAuto-checkLicenceUpdated
1

A skill your agent uses when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff.

cxuu/golang-skills1731 repo~1.3kAutomated safety check: PassApache-2.03 mo ago
2

A skill your agent uses when reviewing Go code or checking code against community style standards.

cxuu/golang-skills173—~2.7kAutomated safety check: PassApache-2.03 mo ago
3

A skill your agent uses when optimizing Go code, investigating slow performance, or writing performance-critical sections.

cxuu/golang-skills1731 repo~1.3kAutomated safety check: PassApache-2.03 mo ago
4

A skill your agent uses when writing or reviewing documentation for Go packages, types, functions, or methods.

cxuu/golang-skills173—~1.3kAutomated safety check: PassApache-2.03 mo ago
5

A skill your agent uses when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and fmt.Errorf (%w vs %v), structuring error flow, or deciding…

cxuu/golang-skills173—~1.5kAutomated safety check: PassApache-2.03 mo ago
6

A skill your agent uses when defining or implementing Go interfaces, designing abstractions, creating mockable boundaries for testing, or composing types through embedding.

cxuu/golang-skills173—~1.4kAutomated safety check: PassApache-2.03 mo ago
7

A skill your agent uses when naming any Go identifier — packages, types, functions, methods, variables, constants, or receivers — to ensure idiomatic, clear names.

cxuu/golang-skills173—~1.7kAutomated safety check: PassApache-2.03 mo ago
8

A skill your agent uses when creating Go packages, organizing imports, managing dependencies, or deciding how to structure Go code into packages.

cxuu/golang-skills1731 repo~1.2kAutomated safety check: PassApache-2.03 mo ago
9

A skill your agent uses when setting up linting for a Go project, configuring golangci-lint, or adding Go checks to a CI/CD pipeline.

cxuu/golang-skills173—~1.4kAutomated safety check: PassApache-2.03 mo ago
10

A skill your agent uses when writing concurrent Go code — goroutines, channels, mutexes, or thread-safety guarantees.

cxuu/golang-skills173—~1.8kAutomated safety check: PassApache-2.03 mo ago
11

A skill your agent uses when working with context.Context in Go — placement in signatures, propagating cancellation and deadlines, and storing values in context vs parameters.

cxuu/golang-skills173—~937Automated safety check: PassApache-2.03 mo ago
12

A skill your agent uses when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches, and blank…

cxuu/golang-skills173—~1.4kAutomated safety check: PassApache-2.03 mo ago
13

A skill your agent uses when working with Go slices, maps, or arrays — choosing between new and make, using append, declaring empty slices (nil vs literal for JSON), implementing sets with maps, and…

cxuu/golang-skills173—~1.1kAutomated safety check: PassApache-2.03 mo ago
14

A skill your agent uses when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope with if-init, formatting composite literals, designing iota…

cxuu/golang-skills173—~1.1kAutomated safety check: PassApache-2.03 mo ago
15

A skill your agent uses when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for cleanup, time.Time/time.Duration, or avoiding mutable globals.

cxuu/golang-skills173—~1.6kAutomated safety check: PassApache-2.03 mo ago
16

A skill your agent uses when designing a Go constructor or factory function with optional configuration — especially with 3+ optional parameters or extensible APIs.

cxuu/golang-skills173—~1.1kAutomated safety check: PassApache-2.03 mo ago
17

A skill your agent uses when organizing functions within a Go file, formatting function signatures, designing return values, or following Printf-style naming conventions.

cxuu/golang-skills173—~976Automated safety check: PassApache-2.03 mo ago
18

A skill your agent uses when deciding whether to use Go generics, writing generic functions or types, choosing constraints, or picking between type aliases and type definitions.

cxuu/golang-skills173—~1.2kAutomated safety check: PassApache-2.03 mo ago
19

A skill your agent uses when choosing a logging approach, configuring slog, writing structured log statements, or deciding log levels in Go.

cxuu/golang-skills173—~1.5kAutomated safety check: PassApache-2.03 mo ago
20

A skill your agent uses when working with Go formatting, line length, nesting, naked returns, semicolons, or core style principles.

cxuu/golang-skills173—~1.3kAutomated safety check: PassApache-2.03 mo ago

Questions, answered from the data.

What is the best skill in cxuu/golang-skills?

Go Testing from cxuu/golang-skills ranks first of the 20 skills in cxuu/golang-skills listed here, with the highest score: its repository has 173 GitHub stars, 1 other GitHub owner carry a copy, its SKILL.md loads about 1.3k tokens and it passes the automated safety check with no findings. Next come Go Code Review and Go Performance.

Are the skills in cxuu/golang-skills official?

None yet. All 20 skills in cxuu/golang-skills listed here come from community repositories; a skill counts as official when the product's own GitHub organization publishes it.

How do I install all skills from cxuu/golang-skills?

Run npx skills add cxuu/golang-skills in your project: the open-source skills CLI installs the repository's skills into your coding agent's skills folder. To install a single skill, open its page here for the exact command.

How are these skills ranked?

By Skill Navigator score, which combines the GitHub stars of the skill's repository (shared across that repo's skills and discounted for large collections), how many other GitHub owners carry a copy of the skill, and automated SKILL.md quality checks, minus penalties for safety-check warnings and for each further skill from the same repository. Skills that fail the safety check are not listed.