sdd-skills 1.3.1 → 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/install.js +3 -3
- package/package.json +1 -1
- package/skills/git-engineer/SKILL.md +26 -28
- package/skills/sae/SKILL.md +3 -6
package/install.js
CHANGED
|
@@ -177,7 +177,7 @@ function installSkills(targetDir) {
|
|
|
177
177
|
// Get list of skills
|
|
178
178
|
const skills = [
|
|
179
179
|
'sae',
|
|
180
|
-
'
|
|
180
|
+
'ade',
|
|
181
181
|
'tester',
|
|
182
182
|
'code-reviewer',
|
|
183
183
|
'git-engineer',
|
|
@@ -241,7 +241,7 @@ function displaySummary(location) {
|
|
|
241
241
|
console.log(chalk.bold.green('\n✨ Installation Complete!\n'));
|
|
242
242
|
console.log(chalk.bold('📋 Summary:\n'));
|
|
243
243
|
console.log(` ${chalk.gray('Location:')} ${chalk.cyan(skillsPath)}`);
|
|
244
|
-
console.log(` ${chalk.gray('Skills:')} ${chalk.cyan('6')} (SAE,
|
|
244
|
+
console.log(` ${chalk.gray('Skills:')} ${chalk.cyan('6')} (SAE, ADE, Tester, Reviewer, Git, Notifier)`);
|
|
245
245
|
|
|
246
246
|
console.log(chalk.bold('\n🚀 Getting Started:\n'));
|
|
247
247
|
console.log(' 1. Open Claude Code');
|
|
@@ -274,7 +274,7 @@ async function install() {
|
|
|
274
274
|
console.log(chalk.bold('\n📋 Installation Summary:\n'));
|
|
275
275
|
console.log(` ${chalk.gray('Location:')} ${chalk.cyan(answers.location === 'global' ? 'Global' : 'Local (Current Project)')}`);
|
|
276
276
|
console.log(` ${chalk.gray('Install to:')} ${chalk.cyan(targetDir)}`);
|
|
277
|
-
console.log(` ${chalk.gray('Skills:')} ${chalk.cyan('6')} (SAE,
|
|
277
|
+
console.log(` ${chalk.gray('Skills:')} ${chalk.cyan('6')} (SAE, ADE, Tester, Reviewer, Git, Notifier)`);
|
|
278
278
|
if (answers.configureDingTalk) {
|
|
279
279
|
console.log(` ${chalk.gray('DingTalk:')} ${chalk.cyan('Enabled')}`);
|
|
280
280
|
}
|
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
|
package/skills/sae/SKILL.md
CHANGED
|
@@ -97,8 +97,7 @@ description: 软件架构工程师,负责需求分析、架构设计和技术
|
|
|
97
97
|
3. [具体实现步骤 1];
|
|
98
98
|
4. [具体实现步骤 2];
|
|
99
99
|
5. [具体实现步骤 N];
|
|
100
|
-
6.
|
|
101
|
-
7. 提交代码并创建 MR。
|
|
100
|
+
6. 运行测试验证功能正确性。
|
|
102
101
|
```
|
|
103
102
|
|
|
104
103
|
#### 示例:用户登录 Spec
|
|
@@ -169,8 +168,7 @@ Response (401):
|
|
|
169
168
|
7. 实现前端登录页面:创建 LoginView.vue 和 LoginForm 组件;
|
|
170
169
|
8. 实现前端状态管理:创建 authStore.ts 管理登录状态;
|
|
171
170
|
9. 编写前端组件测试,确保覆盖率 >= 90%;
|
|
172
|
-
10.
|
|
173
|
-
11. 提交代码并创建 MR。
|
|
171
|
+
10. 运行全量测试验证功能正确性。
|
|
174
172
|
```
|
|
175
173
|
|
|
176
174
|
## 输出工件
|
|
@@ -337,8 +335,7 @@ SAE 是工作流的**起点**,完成需求分析后:
|
|
|
337
335
|
6. 实现前端登录页面;
|
|
338
336
|
7. 实现前端状态管理;
|
|
339
337
|
8. 编写前端组件测试;
|
|
340
|
-
9.
|
|
341
|
-
10. 提交代码并创建 MR。
|
|
338
|
+
9. 运行全量测试验证。
|
|
342
339
|
---
|
|
343
340
|
|
|
344
341
|
Spec 文档已生成,请确认后可调用 `/ade` 开始开发。
|