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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdd-skills",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Spec-Driven Development Skills for Claude Code - SAE/ADE workflow automation",
5
5
  "type": "module",
6
6
  "main": "install.js",
@@ -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
- Implement user login functionality with following features:
130
- - Email and password validation
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
- Related to: #123"
133
+ # 重构
134
+ git commit -m "refactor(frontend): migrate LoginForm to Composition API"
136
135
 
137
- # Bug 修复
138
- git commit -m "fix(api): resolve N+1 query in user list endpoint
136
+ # 多个相关变更
137
+ git commit -m "feat(user): add registration and email verification"
138
+ ```
139
139
 
140
- Use Preload to fetch associated orders in a single query
141
- instead of iterating over users.
140
+ **错误示例(避免)**:
141
+ ```bash
142
+ # ❌ 太长,包含 body
143
+ git commit -m "feat(auth): add login
142
144
 
143
- Performance improvement: 200ms -> 50ms (P95)"
145
+ Implement user login functionality with following features:
146
+ - Email and password validation
147
+ - JWT token generation"
144
148
 
145
- # 重构
146
- git commit -m "refactor(frontend): migrate LoginForm to Composition API
149
+ # ❌ 包含 AI 信息
150
+ git commit -m "feat(auth): add login
147
151
 
148
- Replace Options API with Composition API for better
149
- type safety and code organization."
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