$22
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiongolangExecute the skills CLI command in your project's root directory to begin installation:
Fetches golang from saisudhir14/golang-agent-skill and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate golang. Access via /golang in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
2
total installs
2
this week
6
GitHub stars
0
upvotes
Run in your terminal
2
installs
2
this week
6
stars
Production patterns from Google, Uber, and the Go team. Updated for Go 1.25.
Sub-skills:
skills/go-error-handling,skills/go-concurrency,skills/go-testing,skills/go-performance,skills/go-code-review,skills/go-linting,skills/go-project-layout,skills/go-security. Deep-dive references inreferences/.
Readable code prioritizes these attributes in order:
Full guide:
skills/go-error-handling/SKILL.md| Reference:references/error-handling.md
%w when callers need errors.Is/errors.As; use %v at boundaries"new store: %w" not "failed to create new store: %w"errors.Join (Go 1.20+) for multiple independent failuresErr prefix for vars, Error suffix for typesif err != nil {
return fmt.Errorf("load config: %w", err)
}
Full guide:
skills/go-concurrency/SKILL.md| Reference:references/concurrency.md
errgroup.Group over manual sync.WaitGroup for error-returning goroutinesatomic.Int64, atomic.Bool, atomic.Pointer[T]sync.Map (Go 1.24+): significantly improved performance for disjoint key setsg, ctx := errgroup.WithContext(ctx)
g.SetLimit(10)
for _, item := range items {
g.Go(func() error { return process(ctx, item) })
}
return g.Wait()
MaxLength not MAX_LENGTH)URL, ID, HTTP not Url, Id, Http)i for loops, DefaultTimeout for globals)this/selfutil/common/mischttp.Serve not http.HTTPServe; c.WriteTo not c.WriteConfigTo| Pointer receiver | Value receiver |
|---|---|
| Modifies receiver | Small, immutable struct |
| Large struct | Doesn't modify state |
| Contains sync.Mutex | Map, func, or chan |
| Consistency with other methods | Basic types |
import (
"context"
"fmt"
"github.com/google/uuid"
"golang.org/x/sync/errgroup"
"yourcompany/internal/config"
)
import _ "pkg") only in main or testsTrack tool dependencies in go.mod with tool directives:
tool (
golang.org/x/tools/cmd/stringer
github.com/golangci/golangci-lint/cmd/golangci-lint
)
go get -tool golang.org/x/tools/cmd/stringer # add
go tool stringer -type=Status # run
go get tool # update all
go install tool # install to GOBIN
var for zero value structs: var user Uservar t []string (use []string{} only for JSON [] encoding)copy() or maps.Clone() to prevent mutationmake([]T, 0, len(input)) when size is knownslices and maps packages: slices.Sort, slices.Clone, maps.Clone, maps.Equalcmp.Ordered or custom constraints for type safetytype Set[T comparable] = map[T]struct{}func Filter[T any](s []T, pred func(T) bool) []T {
result := make([]T, 0, len(s))
for _, v := range s {
if pred(v) {
result = append(result, v)
}
}
return result
}
Range over functions for custom iterators:
func Backward[T any](s []T) func(yield func(int, T) bool) {
return func(yield func(int, T) bool) {
for i := len(s) - 1; i >= 0; i-- {
if !yield(i, s[i]) {
return
}
}
}
}
for i, v := range Backward(items) {
fmt.Println(i, v)
}
String/bytes iterators (Go 1.24+): strings.Lines, strings.SplitSeq, strings.SplitAfterSeq
slog.Info("user created", "id", userID, "email", email)
slog.With("service", "auth").Info("starting")
handler := slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})
slog.DiscardHandler (Go 1.24+) for suppressing logs in testsslog.GroupFull guide:
skills/go-performance/SKILL.md| Reference:references/performance.md
strconv over fmt: strconv.Itoa(n) not fmt.Sprintf("%d", n)[]byte conversions: store once, reusemake(map[string]int, len(items))strings.Builder with Grow() for concatenationFull guide:
skills/go-testing/SKILL.md| Reference:references/testing.md
t.Parallel() for subtestsgo-cmp over reflect.DeepEqual for clear diff outputt.Fatal for setup failuresT.Context and T.Chdir (Go 1.24+)b.Loop() (Go 1.24+): cleaner benchmarks, no b.ResetTimer() neededsynctest.Test (Go 1.25+): deterministic concurrent testing with synthetic timeruntime.AddCleanup: multiple cleanups per object, no cycle leaks (replaces SetFinalizer)weak.Pointer[T]: weak references for caches, canonicalization, observersos.Root: scoped file access preventing path traversal attacksFull reference:
references/patterns.md
WithTimeout(d), WithLogger(l) for configurable constructorsvar _ http.Handler = (*Handler)(nil)srv.Shutdown(ctx)time.Duration: never raw ints for timet, ok := i.(string) to avoid panicsfunc Process(ctx context.Context, ...)init(): prefer explicit initialization in main//go:embed (Go 1.16+): embed static filesjson:"name" on marshaled structsFull reference:
references/gotchas.md
| Gotcha | Fix |
|---|---|
| Loop variable capture (pre-1.22) | Fixed in Go 1.22+ (per-iteration vars) |
| Defer evaluates args immediately | Capture in closure |
| Nil interface vs nil pointer | Return nil explicitly |
| Use result before error check | Always check err first (Go 1.25 enforces) |
| Map iteration order | Sort keys with slices.Sorted(maps.Keys(m)) |
| Slice append shared backing | Full slice expression a[:2:2] |
Full guide:
skills/go-linting/SKILL.md
go get -tool github.com/golangci/golangci-lint/cmd/golangci-lintgolangci/golangci-lint-action for GitHub Actions//nolint commentsFull guide:
skills/go-project-layout/SKILL.md
cmd/: one subdirectory per executable, keep main.go thininternal/: private packages, enforced by the Go toolchainpkg/, src/, models/, utils/: name packages by purposeCGO_ENABLED=0, distrPrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
tomlord1122/tomtom-skill
samber/cc-skills-golang
jwynia/agent-skills
mindrally/skills
kostja94/marketing-skills
github/awesome-copilot
golang has been reliable in day-to-day use. Documentation quality is above average for community skills.
Solid pick for teams standardizing on skills: golang is focused, and the summary matches what you get after install.
golang has been reliable in day-to-day use. Documentation quality is above average for community skills.
golang reduced setup friction for our internal harness; good balance of opinion and flexibility.
Useful defaults in golang — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
golang has been reliable in day-to-day use. Documentation quality is above average for community skills.
I recommend golang for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
golang reduced setup friction for our internal harness; good balance of opinion and flexibility.
golang reduced setup friction for our internal harness; good balance of opinion and flexibility.
golang fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 68