golang
✓全面的 Go 1.26 开发技能,强制执行惯用模式、使用 fmt.Errorf %w 进行错误包装、小型接口、表驱动测试。在“go”、“golang”、“.go 文件”、“write go”、“go function”、“go struct”、“go 接口”、“go 方法”、“go 错误处理”、“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 generated”,“go embed”,“go template”,“http handler”,“gin”,“echo”,“chi”,“ Fiber”,“gorm”,“sqlx”,“go project”,“go package”,“go模块”、“延迟”、“紧急恢复”、“切片”、“映射”、“指针”。主动:在写入任何 .go 文件时必须调用。
SKILL.md
ABOUTME: Go 1.26 idiomatic development skill with automated quality gates ABOUTME: Enforces 2025 best practices, pre-commit hooks, and golangci-lint
| Simplicity | Start with simplest solution; justify every abstraction | | Explicitness | Clear code paths; no magic | | Composition | Small interfaces; embedding over inheritance | | Errors | Values, not exceptions; always wrap with context | | Functions | ≤50 lines, ≤4 params, single responsibility | | Duplication | Rule of Three before abstracting |
Before EVERY Write or Edit tool call on a .go file:
全面的 Go 1.26 开发技能,强制执行惯用模式、使用 fmt.Errorf %w 进行错误包装、小型接口、表驱动测试。在“go”、“golang”、“.go 文件”、“write go”、“go function”、“go struct”、“go 接口”、“go 方法”、“go 错误处理”、“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 generated”,“go embed”,“go template”,“http handler”,“gin”,“echo”,“chi”,“ Fiber”,“gorm”,“sqlx”,“go project”,“go package”,“go模块”、“延迟”、“紧急恢复”、“切片”、“映射”、“指针”。主动:在写入任何 .go 文件时必须调用。 来源:mauromedda/agent-toolkit。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/mauromedda/agent-toolkit --skill golang- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 golang?
全面的 Go 1.26 开发技能,强制执行惯用模式、使用 fmt.Errorf %w 进行错误包装、小型接口、表驱动测试。在“go”、“golang”、“.go 文件”、“write go”、“go function”、“go struct”、“go 接口”、“go 方法”、“go 错误处理”、“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 generated”,“go embed”,“go template”,“http handler”,“gin”,“echo”,“chi”,“ Fiber”,“gorm”,“sqlx”,“go project”,“go package”,“go模块”、“延迟”、“紧急恢复”、“切片”、“映射”、“指针”。主动:在写入任何 .go 文件时必须调用。 来源:mauromedda/agent-toolkit。
如何安装 golang?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mauromedda/agent-toolkit --skill golang 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/mauromedda/agent-toolkit
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01