·golang-base-practices
</>

golang-base-practices

Go 语言最佳实践指南涵盖框架 (Gin/Go-Kratos)、ORM (GORM)、数据库迁移 (Goose)、DDD 项目结构、错误处理、并发模式、测试(99% 覆盖率目标)和 Lint 工具。在编写、审查或重构 Go 代码时应使用此技能,以确保遵循最佳实践。触发 Go 项目开发、代码审查、性能优化或架构设计。

7安装·2热度·@cexll

安装

$npx skills add https://github.com/cexll/golang-base-practices-skills --skill golang-base-practices

如何安装 golang-base-practices

通过命令行快速安装 golang-base-practices AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/cexll/golang-base-practices-skills --skill golang-base-practices
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:cexll/golang-base-practices-skills。

SKILL.md

查看原文

Comprehensive Go development best practices guide, organized by priority for code generation, review, and refactoring. Contains 53 rules referenced from Effective Go, Google Go Style Guide, Uber Go Style Guide, and Go Code Review Comments.

| 1 | Framework Selection | CRITICAL | framework- | | 2 | Database & ORM | CRITICAL | db- | | 3 | DDD Project Structure | HIGH | ddd- | | 4 | Error Handling | HIGH | error- | | 5 | Concurrency Patterns | HIGH | concurrency- | | 6 | Idiomatic Go | MEDIUM | idiomatic- | | 7 | Testing Practices | CRITICAL | testing- |

| 8 | Performance Optimization | MEDIUM | performance- | | 9 | Lint & Toolchain | MEDIUM | lint- |

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/cexll/golang-base-practices-skills --skill golang-base-practices
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from cexll/golang-base-practices-skills

快速解答

什么是 golang-base-practices?

Go 语言最佳实践指南涵盖框架 (Gin/Go-Kratos)、ORM (GORM)、数据库迁移 (Goose)、DDD 项目结构、错误处理、并发模式、测试(99% 覆盖率目标)和 Lint 工具。在编写、审查或重构 Go 代码时应使用此技能,以确保遵循最佳实践。触发 Go 项目开发、代码审查、性能优化或架构设计。 来源:cexll/golang-base-practices-skills。

如何安装 golang-base-practices?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/cexll/golang-base-practices-skills --skill golang-base-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/cexll/golang-base-practices-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25

相关 Skills

暂无