关于 git
git 是指导 Git 操作的技能,面向需要按约定执行版本控制工作的开发者。它说明 Conventional Commits 格式,并指向 GitHub 操作规则与资源。
主要功能
- 01Conventional Commits 提交格式
- 02提交类型说明
- 03GitHub 规则与权限指引
- 04GitHub 操作资源链接
适用场景
- 01按约定编写提交消息
- 02查阅 GitHub 操作权限
- 03了解维护类提交类型
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ i9wa4/ dotfiles --skill git安装后在 Claude Code 中输入/git确认已加载。
详细介绍
Git 技能
Git 操作指南。有关强制规则和权限,
请参阅 rules/github.md。
1. 提交消息格式(Conventional Commits)
<type>(<scope>): <brief description> (#<Issue number>)
<detailed description>
## Summary
- Same as detailed description is OK
## Background
- Briefly explain the background and purpose
## Changes
- Specific change 1
- Specific change 2
## Technical Details
- Technical implementation details
- Reasons for design decisions
- Focus on "why" throughout
## Verification
- Describe verification if performed
## Related URLs
- <Related Issue>
- <External URL>
- Others if applicable
1.1. 类型示例
| 类型 | 描述 |
|---|---|
| feat | 新功能 |
| fix | Bug 修复 |
| docs | 仅文档 |
| style | 格式调整,不修改代码 |
| refactor | 修改代码,但不修复 Bug 或添加功能 |
| test | 添加或更新测试 |
| chore | 维护、依赖项 |
2. 相关资源
| 资源 | 用途 |
|---|---|
| rules/github | 强制规则和权限 |
| skills/github | GitHub 特定操作 |
评论
支持 Markdown