By lazygophers
Golang 开发插件 - 提供 Golang 开发规范、最佳实践和代码智能支持。包括通用 Golang 开发规范和基于 lazygophers 生态的最佳实践指导
npx claudepluginhub lazygophers/ccplugin --plugin golangGolang debugging expert - race detection, pprof analysis, deadlock diagnosis. example: "debug goroutine leak with pprof" example: "diagnose data race with -race flag"
Golang development expert specializing in modern Go 1.23+ best practices, high-performance concurrent programming, and cloud-native applications. example: "build a REST API with Go standard library and sqlc" example: "optimize goroutine pool with errgroup" example: "implement structured logging with slog"
Golang performance expert - pprof, benchmarks, memory optimization, zero-allocation. example: "profile and optimize hot path with pprof" example: "reduce allocations with sync.Pool"
Golang testing expert - table-driven tests, fuzzing, benchmarks, coverage. example: "write table-driven tests for API handlers" example: "add fuzz testing for parser"
Go 并发编程规范:goroutine 生命周期管理、errgroup 并发编排、context 超时取消传播、sync.Pool 对象复用、go.uber.org/atomic 原子操作、channel 模式、Go 1.23 iter 迭代器。适用于并发设计、竞态排查、性能调优场景。
Go 1.23+ 核心开发规范:强制约定、代码格式、新特性(range-over-func/slog/min/max/clear)、提交检查清单。编写Go代码时自动加载。
Go错误处理规范:禁止单行if err、必须记录日志(lazygophers/log或slog)、禁止包装错误、errors.Join聚合、sentinel errors模式。处理Go错误和异常时自动加载。
Go 模板开发规范:text/template 与 html/template 最佳实践、XSS 安全防护、模板预编译缓存优化、自定义 FuncMap、Go 1.22+ embed 嵌入集成、常见错误模式。适用于模板渲染、HTML 生成、代码生成场景。
Go优先库选型规范:字符串stringx、集合candy(Map/Filter/Each)、文件osx、日志lazygophers/log、JSON lazygophers/utils/json。选择Go第三方库和工具函数时自动加载。
Go 静态分析与 lint 规范:golangci-lint v2 配置(version 2 schema)、linter 启用禁用规则、自定义 linter、govulncheck 漏洞扫描、CI 集成配置。适用于配置 lint 规则、修复 lint 警告、代码质量检查场景。
Go命名规范:Id/Uid字段、IsActive布尔前缀、CreatedAt时间字段、接收者用p、Go 1.22+路由模式命名。定义变量、函数、结构体命名时自动加载。
Go项目结构规范:三层架构(API->Impl->State)、全局状态模式、go.mod workspace、禁止Repository接口。设计Go项目架构和目录结构时自动加载。
Go 测试编写规范:表驱动测试(table-driven)、子测试(t.Run)、模糊测试(go test -fuzz)、基准测试(benchmark/benchstat)、testify 断言与 mock、覆盖率 >= 90%、测试辅助函数。适用于编写单元测试、集成测试、性能基准场景。
Go 工具链使用规范:gofmt/goimports 格式化、go mod 依赖管理、golangci-lint v2 静态检查、govulncheck 安全扫描、delve 调试器、go test -fuzz 模糊测试、pprof 性能分析。适用于工具选型、命令执行、开发环境配置场景。
Complete developer toolkit for Claude Code
Matches all tools
Hooks run on every tool call, not just specific ones
Uses power tools
Uses Bash, Write, or Edit tools
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Orchestrate multi-agent teams for parallel code review, hypothesis-driven debugging, and coordinated feature development using Claude Code's Agent Teams
Comprehensive toolkit for developing Claude Code plugins. Includes 7 expert skills covering hooks, MCP integration, commands, agents, and best practices. AI-assisted plugin creation and validation.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications
Context-Driven Development plugin that transforms Claude Code into a project management tool with structured workflow: Context → Spec & Plan → Implement