plugins/tools/git/skills/issue/SKILL.md
GitHub Issue创建与管理:生成Bug报告和Feature Request模板,包含描述、复现步骤、标签分类,适用于创建issue、报告bug、提交需求场景
npx skillsauth add lazygophers/ccplugin plugins/tools/git/skills/issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Issue 模板 - Bug 报告
## Bug 描述
<!-- 清晰简洁地描述 bug -->
## 复现步骤
1.
2.
3.
## 期望行为
<!-- 描述期望发生什么 -->
## 实际行为
<!-- 描述实际发生了什么 -->
## 环境信息
- 操作系统:
- 版本:
- 浏览器:
## 截图
<!-- 如适用,添加截图帮助解释 -->
## 其他信息
<!-- 添加任何其他有助于理解问题的信息 -->
Issue 模板 - 功能请求
## 功能描述
<!-- 清晰简洁地描述你想要的功能 -->
## 问题背景
<!-- 描述这个功能要解决什么问题 -->
## 建议方案
<!-- 描述你建议的解决方案 -->
## 替代方案
<!-- 描述你考虑过的其他方案 -->
## 其他信息
<!-- 添加任何其他相关信息或截图 -->
Issue 命名规范
格式: [<type>] <subject>
类型:
[bug]: Bug 报告[feat]: 功能请求[docs]: 文档问题[question]: 问题咨询[discussion]: 讨论示例:
[bug] 用户登录失败[feat] 支持暗黑模式[docs] API 文档缺失Issue 标签规范
优先级:
P0: 紧急,需立即处理P1: 高优先级P2: 中优先级P3: 低优先级类型:
bug: Bug 报告enhancement: 功能增强documentation: 文档相关help wanted: 需要帮助good first issue: 适合新手状态:
status: in progress: 进行中status: blocked: 阻塞status: review needed: 待审查Issue 管理流程
注意事项
[<type>] <subject>development
Go 数据库规范——GORM Model 命名 ModelXxx、表名单数、枚举 uint8 + 常量、索引 idx_ 前缀 + deleted_at leading column、禁 time.Time 统一 int64 unix、禁指针/nullable 字段、TEXT/BLOB/JSON 禁 default、AutoMigrate 禁改主键。设计 DB model、写 GORM tag、建索引、做 migration 审查时触发。
development
Go HTTP API 规范——响应始终 200 + body code 字段、路由 /api/* 全 POST 单段 <Action><Model>、中间件逐路由注册禁 Group(prefix,mw...)、handler 仅返回 (rsp,error)、认证走 header。设计 HTTP API、写路由/handler/中间件时触发。
development
Go 项目结构规范——三层架构(API → Impl → State)、全局状态模式、internal/ 私有包、cmd/ 仅 main.go、go.work 多模块、禁止 Repository 接口和 DI 容器、struct 公共字段开头全 omitempty、handler var rsp 顶声明、禁 legacy migration。设计项目骨架、新建目录、组织包、做架构评审时触发。
development
Go 命名规范——Id/Uid 字段(非 ID)、IsActive/HasMFA 布尔前缀、CreatedAt 时间字段、接收者统一用 p、包名全小写无下划线、泛型类型参数描述性命名、集合字段 xxx_list 禁 xxxs 复数、Enum 0 值 XxxNil 禁 Unknown、禁 Status 统一 State、Set/Update 语义区分。定义结构体字段、函数、变量、包、接收者名、泛型、枚举时触发。