golang-patterns

57.0k
affaan-maffaan-m

Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.

193 days ago

golang-testing

57.0k
affaan-maffaan-m

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.

193 days ago

golang-pro

18.0k
sickn33sickn33

Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices. Expert in the latest Go ecosystem including generics, workspaces, and cutting-edge frameworks. Use PROACTIVELY for Go development, architecture design, or performance optimization.

193 days ago

golang-pro

4.1k
JeffallanJeffallan

Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration.

193 days ago

Pipeline Plugin Development

2.5k
TencentBlueKingTencentBlueKing

A complete guide to pipeline plugin development, covering plugin creation, task.json configuration specifications, multi-language development examples (Python/Java/NodeJS/Golang), input/output specifications, error code conventions, release process, and debugging methods. Use this when you need to develop Blue Shield pipeline plugins, configure task.json, handle plugin inputs and outputs, or troubleshoot plugin errors.

193 days ago

upgrading-golang

529
chainloop-devchainloop-dev

Upgrades Go version across the entire Chainloop codebase including source files, Docker images, CI/CD workflows, and documentation. Use when the user mentions upgrading Go, golang version, or updating Go compiler version.

193 days ago

Effective Go

512
openshiftopenshift

Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations.

193 days ago

go-testing

499
alex-ilgayevalex-ilgayev

Handles all Golang testing tasks including running tests, writing new tests, and fixing test failures. Follows MCPSpy testing conventions with require for critical assertions and assert for non-critical ones.

193 days ago

Logging

279
HoangNguyen0403HoangNguyen0403

Standards for structured logging and observability in Golang.

193 days ago

API Server

279
HoangNguyen0403HoangNguyen0403

Standards for building HTTP services, REST APIs, and middleware in Golang.

193 days ago

Database

279
HoangNguyen0403HoangNguyen0403

Standards for database interaction, connection pooling, and repository patterns in Golang.

193 days ago

golang

241
MadAppGangMadAppGang

Use when building Go backend services, implementing goroutines/channels, handling errors idiomatically, writing tests with testify, or following Go best practices for APIs/CLI tools.

193 days ago

golang-performance

241
MadAppGangMadAppGang

Use when profiling Go applications (pprof), running benchmarks, optimizing memory/CPU usage, or debugging performance bottlenecks in production Go code.

193 days ago

golang-style

206
fredrikaverpilfredrikaverpil

Use this skill BEFORE writing or editing any Go (.go) files. Triggers when about to create, modify, or add code to .go files. Enforces happy path coding, error wrapping, sentinel errors, and godoc-style comments.

193 days ago

golang-developer

92
GoldziherGoldziher

Assists with Go development tasks

193 days ago

golang

75
htlin222htlin222

Write idiomatic Go with goroutines, channels, and interfaces. Use for Go development, concurrency, or performance.

193 days ago

Go Testing Patterns

71
PramodDuttaPramodDutta

Go testing with testing package, table-driven tests, subtests, benchmarks, test fixtures, httptest, and testify assertions.

gogolangtable-driven+2
193 days ago

golang-patterns

67
xu-xiangxu-xiang

Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.

193 days ago

golang-testing

67
xu-xiangxu-xiang

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.

193 days ago

create-openapi-schemas-from-golang-models

63
mesherymeshery

Create OpenAPI schemas from Golang models in Layer5 Cloud, generating schema artifacts in Meshery Schemas repository. Handles cross-repository schema creation workflow with proper naming conventions, Go code generation, and backwards compatibility validation.

193 days ago

custom-linter-creator

41
j5ik2oj5ik2o

A skill to create custom lint rules by leveraging each programming language's existing linter ecosystem. This is a linter intended for AI agents rather than humans: error messages are designed to act as fix-instruction prompts for an AI. Create custom rules in the lints/ directory using the standard per-language methods (e.g., Rust (dylint), TypeScript/JavaScript (ESLint), Python (pylint), Go (golangci-lint)). Use cases: (1) when you want to force project-specific coding rules on an AI, (2) when you want lint rules that output AI-readable fix instructions on violation, (3) when you want to enforce naming conventions, structural patterns, or consistency rules via AI-driven linting. Triggers: "create a linter rule", "add a lint rule", "enforce this pattern", "AI linter", "custom lint", "code rules", "naming rule", "structure rule".

193 days ago

golang-backend-development

40
manutejmanutej

Complete guide for Go backend development including concurrency patterns, web servers, database integration, microservices, and production deployment

golanggoconcurrency+7
193 days ago

Golang Pro

39
404kidwiz404kidwiz

Expert Go developer specializing in Go 1.21+ features, concurrent programming with goroutines and channels, and comprehensive stdlib utilization. This agent excels at building high-performance, concurrent systems with idiomatic Go patterns and robust error handling.

193 days ago

golang-pro

36
zenobi-uszenobi-us

Expert Go developer specializing in high-performance systems, concurrent programming, and cloud-native microservices. Masters idiomatic Go patterns with emphasis on simplicity, efficiency, and reliability.

193 days ago

prometheus-go-code-review

33
existential-birdsexistential-birds

Reviews Prometheus instrumentation in Go code for proper metric types, labels, and patterns. Use when reviewing code with prometheus/client_golang metrics.

193 days ago

go-local-health

25
regenrekregenrek

Run local Go health checks (tests, coverage, lint) in Go repositories that contain go.mod/go.sum. Use when the user asks to run or interpret local Go test/coverage/lint workflows using tools like lazygotest, gocovsh, tparse, and golangci-lint. Do not use for Rust or non-Go projects.

193 days ago

go

23
MindrallyMindrally

Expert in Go/Golang development with focus on APIs, microservices, and clean architecture

193 days ago

golang-pro

19
herdiansahherdiansah

Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices. Expert in the latest Go ecosystem including generics, workspaces, and cutting-edge frameworks. Use PROACTIVELY for Go development, architecture design, or performance optimization.

193 days ago

lint-check

18
mehdicmehdic

Run code quality linters when reviewing code. Checks style, complexity, and best practices. Supports Python (ruff), JavaScript (eslint), Go (golangci-lint), Ruby (rubocop), Java (Checkstyle/PMD). Use when reviewing any code changes for quality issues.

193 days ago

golang-lo

16
DCjanusDCjanus

Go >= 1.18 项目中希望用 samber/lo(Lodash 风格泛型库)简化集合/映射/字符串、错误处理、重试/节流/防抖、通道并发或指针空值场景时使用。

193 days ago

golang-observability-opentelemetry

15
bobmatnycbobmatnyc

Instrumenting Go applications with OpenTelemetry for distributed tracing, Prometheus for metrics, and structured logging with slog

observabilitygolangopentelemetry+5
193 days ago

golang-grpc

15
bobmatnycbobmatnyc

Production gRPC in Go: protobuf layout, codegen, interceptors, deadlines, error codes, streaming, health checks, TLS, and testing with bufconn

golanggrpcprotobuf+4
193 days ago

golang-database-patterns

15
bobmatnycbobmatnyc

Go database integration patterns using sqlx, pgx, and migration tools like golang-migrate

databasegolangsqlx+4
193 days ago

golang-http-frameworks

15
bobmatnycbobmatnyc

Go HTTP API development with net/http, Chi, Gin, Echo, and Fiber frameworks

httpgolangchi+5
193 days ago

golang-cli-cobra-viper

15
bobmatnycbobmatnyc

Building production-quality CLI tools with Cobra command framework and Viper configuration management

cligolangcobra+3
193 days ago

golang-testing-strategies

15
bobmatnycbobmatnyc

Comprehensive Go testing strategies including table-driven tests, testify assertions, gomock interface mocking, benchmark testing, and CI/CD integration

testinggolangtestify+3
193 days ago

golang-concurrency-patterns

15
bobmatnycbobmatnyc

Go concurrency patterns for production services: context cancellation, errgroup, worker pools, bounded parallelism, fan-in/fan-out, and common race/deadlock pitfalls

golangconcurrencycontext+5
193 days ago

golang

9
mauromeddamauromedda

Comprehensive Go 1.26 development skill enforcing idiomatic patterns, error wrapping with fmt.Errorf %w, small interfaces, table-driven tests. Triggers on "go", "golang", ".go file", "write go", "go function", "go struct", "go interface", "go method", "go error handling", "errors.Is", "errors.As", "fmt.Errorf", "go concurrency", "goroutine", "channel", "sync.Mutex", "errgroup", "context.Context", "go mod", "go.mod", "go.sum", "go test", "go build", "go run", "golangci-lint", "go fmt", "gofmt", "go vet", "go generate", "go embed", "go template", "http handler", "gin", "echo", "chi", "fiber", "gorm", "sqlx", "go project", "go package", "go module", "defer", "panic recover", "go slice", "go map", "go pointer". PROACTIVE: MUST invoke when writing ANY .go file.

193 days ago

golang-web

9
majiayu000majiayu000

Modern Go web application architecture guide. Use when creating new Go web projects, APIs, or microservices. Covers project structure, tech stack selection, and best practices based on Go standards.

193 days ago

atr-analyze

8
imyousufimyousuf

Run tests, linters, type checkers, and builds with AI-powered analysis. Use this INSTEAD OF running test/lint/build commands directly via Bash. Wraps any command (pytest, jest, go test, make test, npm test, make lint, mypy, tsc, eslint, golangci-lint, cargo clippy, make typecheck, make build, etc.) to produce clean summarized output, keeping conversation context small. When a test or lint fails, ATR analyzes the full output and returns actionable failure insights.

193 days ago

golang-pro

8
dsjacobsendsjacobsen

Expert Go developer specializing in Go 1.21+ with deep expertise in building efficient, concurrent, and scalable systems. Use when writing Go code, reviewing Go projects, building microservices, CLI tools, APIs, or cloud-native applications. Triggers on Go file editing, module setup, concurrency patterns, or performance optimization.

193 days ago

golang-development

7
comalicecomalice

Expert Go (Golang) development following best practices. Use when writing, reviewing, refactoring, or debugging Go code, structuring modules, handling concurrency, or optimizing performance.

193 days ago

go-workflow

7
iludeilude

Go project workflow guidelines. Activate when working with Go files (.go), go.mod, Go modules, golang, or Go-specific tooling.

193 days ago

swe-programming-golang

7
wahidyankfwahidyankf

Go coding standards from authoritative docs/explanation/software-engineering/programming-languages/golang/ documentation

193 days ago

go-test-standards

6
iceleaf916iceleaf916

Golang unit testing standards and best practices guide

golanggo-test-standardsunit-test+3
193 days ago

code-review-assistant

6
iceleaf916iceleaf916

A code review assistant that supports local Git repositories and Gerrit reviews. It can review the latest commit, staged changes, unstaged changes, etc., and also supports Gerrit Code Review for multi-language projects such as Golang, Qt/C++, and Ansible. Provides a three-level review classification (Must Fix / Should Fix / Optional Improvement) and generates a Markdown report.

code-reviewgerritgit+4
193 days ago

golang

6
jaeyeomjaeyeom

Expert Go developer guide. Use when writing, debugging, or reviewing Go code.

193 days ago

go-patterns

6
ZateZate

This skill should be used for Go idioms, error handling, goroutines, interfaces, and testing, golang, Go language, Go modules, Go concurrency

193 days ago