Files
2026-07-26 12:54:46 +08:00

18 lines
642 B
Plaintext
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
alwaysApply: true
---
---
description: 自动生成或编写 Git commit 消息时使用的规范。
alwaysApply: true
---
当生成 Git commit 消息时(包括点击 Git 面板的“小火花”图标自动生成),请严格遵守以下规则:
1. **语言**:必须使用简体中文编写。
2. **格式**:使用 Conventional Commits 规范 (例如: `feat:`, `fix:`, `docs:`, `style:`, `refactor:`, `chore:`)。
3. **内容**:描述应简洁明了,准确反映代码变更。
4. **示例**:
- `feat: 添加用户登录功能`
- `fix: 修复诗词列表加载失败的问题`
- `docs: 更新项目说明文档`