modelscope.cn

git-commit-standard

强制执行基于云效分类、Gitmoji、结构化文档及 Issue ?

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
priority
100
bashPattern
git (add|commit|push)

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,235 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

🎯 核心目标

确保每一次 Git 提交都像编写技术文档一样严谨。提交记录必须包含 Gitmoji 视觉标识云效业务分类Issue 编号关联,以及结构化的变更详情列表。同时,在提交前自动维护 .gitignore 文件。

📋 提交规范映射表(必须严格遵守)

AI 在生成提交信息时,必须根据代码变更的性质,从下表中选择对应的 TypeEmoji

云效分类 Type Gitmoji 图标 场景描述
新特性 feat :sparkles: 新增业务功能、接口或逻辑
缺陷 fix :bug: 🐛 修复 Bug、逻辑错误
紧急 hotfix :ambulance: 🚑 线上紧急修复、补丁
测试 test :whitecheckmark: 添加或修改测试用例
异味 refactor :recycle: ♻️ 代码重构、消除代码异味
性能 perf :zap: 性能优化、提升响应速度
文档 docs :memo: 📝 仅文档变更(README, 注释等)
配置 chore :wrench: 🔧 配置文件变更(pom.xml, yml)、依赖升级
安全 security :lock: 🔒 修复安全漏洞、权限控制
移除 remove :fire: 🔥 删除代码或文件
发布 release :tada: 🎉 版本发布、打 Tag

📝 提交格式模板(结构化)

提交信息必须由 标题行详情列表 组成,中间用空行分隔。

<Emoji> <Type>(<Scope>): <简短有力的标题> (#<IssueID>)
- <具体变更点 1>(类名/方法名 + 动作)
- <具体变更点 2>(逻辑补充/修正)
- <具体变更点 3>(新增测试/文档)
  • 零署名:提交信息中不得出现 Powered byCreated byCo-authored-byGenerated by 或任何形式的工具/AI 署名