sdd-skills 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/git-engineer/SKILL.md +26 -28
package/package.json
CHANGED
|
@@ -105,12 +105,13 @@ git add frontend/src/components/LoginForm.vue
|
|
|
105
105
|
**格式**:
|
|
106
106
|
```
|
|
107
107
|
<type>(<scope>): <subject>
|
|
108
|
-
|
|
109
|
-
<body>
|
|
110
|
-
|
|
111
|
-
<footer>
|
|
112
108
|
```
|
|
113
109
|
|
|
110
|
+
**要求**:
|
|
111
|
+
- **单行提交**:commit message 保持在一行内,不超过 50 个单词
|
|
112
|
+
- **简洁明了**:直接描述做了什么,不需要详细的 body
|
|
113
|
+
- **禁止 AI 标识**:不要包含 "Claude Code"、"Generated by AI" 等 AI 相关信息
|
|
114
|
+
|
|
114
115
|
**Type 类型**:
|
|
115
116
|
- `feat`: 新功能
|
|
116
117
|
- `fix`: Bug 修复
|
|
@@ -124,29 +125,34 @@ git add frontend/src/components/LoginForm.vue
|
|
|
124
125
|
**示例提交**:
|
|
125
126
|
```bash
|
|
126
127
|
# 新功能
|
|
127
|
-
git commit -m "feat(auth): add user login with JWT authentication
|
|
128
|
+
git commit -m "feat(auth): add user login with JWT authentication"
|
|
128
129
|
|
|
129
|
-
|
|
130
|
-
-
|
|
131
|
-
- JWT token generation
|
|
132
|
-
- Redis session storage
|
|
133
|
-
- Password encryption with bcrypt
|
|
130
|
+
# Bug 修复
|
|
131
|
+
git commit -m "fix(api): resolve N+1 query in user list endpoint"
|
|
134
132
|
|
|
135
|
-
|
|
133
|
+
# 重构
|
|
134
|
+
git commit -m "refactor(frontend): migrate LoginForm to Composition API"
|
|
136
135
|
|
|
137
|
-
#
|
|
138
|
-
git commit -m "
|
|
136
|
+
# 多个相关变更
|
|
137
|
+
git commit -m "feat(user): add registration and email verification"
|
|
138
|
+
```
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
**错误示例(避免)**:
|
|
141
|
+
```bash
|
|
142
|
+
# ❌ 太长,包含 body
|
|
143
|
+
git commit -m "feat(auth): add login
|
|
142
144
|
|
|
143
|
-
|
|
145
|
+
Implement user login functionality with following features:
|
|
146
|
+
- Email and password validation
|
|
147
|
+
- JWT token generation"
|
|
144
148
|
|
|
145
|
-
#
|
|
146
|
-
git commit -m "
|
|
149
|
+
# ❌ 包含 AI 信息
|
|
150
|
+
git commit -m "feat(auth): add login
|
|
147
151
|
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
🤖 Generated with Claude Code"
|
|
153
|
+
|
|
154
|
+
# ❌ 太过详细
|
|
155
|
+
git commit -m "feat(auth): add user login with JWT authentication, password encryption using bcrypt, Redis session storage, and input validation"
|
|
150
156
|
```
|
|
151
157
|
|
|
152
158
|
#### 4. 提交消息验证
|
|
@@ -509,14 +515,6 @@ fi
|
|
|
509
515
|
已创建提交:
|
|
510
516
|
```
|
|
511
517
|
feat(auth): add user login with JWT authentication
|
|
512
|
-
|
|
513
|
-
Implement user login functionality with following features:
|
|
514
|
-
- Email and password validation
|
|
515
|
-
- JWT token generation
|
|
516
|
-
- Redis session storage
|
|
517
|
-
- Password encryption with bcrypt
|
|
518
|
-
|
|
519
|
-
Related to: #123
|
|
520
518
|
```
|
|
521
519
|
|
|
522
520
|
已推送到远程:feature/user-login
|