Development v1.0.0

git-conventions

Git commit message conventions and workflow rules. Use when making git commits, pushing changes, or performing git...

douglarek 更新于 2026-03-14 1 浏览
下载 SKILL

技能说明

Git commit message conventions and workflow rules. Use when making git commits, pushing changes, or performing git operations.

使用场景

Git commit message conventions and workflow rules. Use when making git commits, pushing changes, or performing git operations.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/git-conventions
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 14 kB
SKILL.md text/markdown
---
name: git-conventions
description: Git commit message conventions and workflow rules. Use when making git commits, pushing changes, or performing git operations.
---

# Git Commit Conventions

## Commit Message Format

Use semantic commit format: `<type>(<scope>): <subject>`

### Commit Types

- `feat`: add new feature
- `fix`: correct bug
- `docs`: update documentation
- `style`: format code (no functional changes)
- `refactor`: restructure code
- `test`: add/modify tests
- `chore`: update build tasks

## Workflow Rules

1. **Language**: Use English only for git commit messages.

2. **Force Push**: Always confirm before `git push --force`.

3. **Sign-off**: Include `--signoff` flag with all commits.

4. **Consolidation**: Consolidate changes into meaningful commits.

5. **Push Confirmation**: After making a local commit, ALWAYS prompt the user whether they want to push to the remote repository.

6. **Display URL**: After successfully pushing to remote, display the repository's access URL.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。