首页/ AI 技能 / @skilllib/skill-2117939930272414821
Skill站外收录 @skilllib/skill-2117939930272414821

go-development

支持 Go 代码开发流程,涵盖核心应用、共享包与命令行工具的修改。提供代码静态检查、依赖整理、构建验证与单元测试执行能力,确保符合架构规范与编码标准,适用于内部模块及服务的持续集成场景。

0.0 (0) 30 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# Go Development Workflow Workflow for Go code changes in this repository. ## Prerequisites - **Use `git-workflow` Skill** for branch management, commit conventions, and PR creation. - **Refer to `.claude/rules/go.md`** for detailed verification commands and coding rules (SSOT). ## Applicable Directories | Directory | Description | |-----------|-------------| | `internal/` | Core application code (Clean Architecture) | | `pkg/` | Reusable shared packages | | `cmd/` | Application entry points | ## Workflow ### 1. Make Changes Edit Go files following the rules in `.claude/rules/go.md`. ### 2. Verify (from rules/go.md) ```bash make go-lint && make tidy && make check-build && make gotest ``` ### 3. Self-Review Checklist - [ ] Domain layer has ZERO infrastructure dependencies - [ ] Error handling uses `fmt.Errorf("context: %w", err)` - [ ] No private keys or sensitive data logged - [ ] Auto-generated files not edited ## Database Changes If modifying database schema, use `db-migration` skill. ## Related - `.claude/rules/go.md` - Go rules (SSOT) - `git-workflow` - Branch, commit, PR workflow - `db-migration` - Database schema workflow

评论 0

还没有评论,来抢沙发。