sumulige-claude 1.0.11 → 1.1.1
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/.claude/commands/todos.md +41 -6
- package/.claude/hooks/pre-commit.cjs +86 -0
- package/.claude/hooks/pre-push.cjs +103 -0
- package/.claude/hooks/session-restore.cjs +102 -0
- package/.claude/hooks/session-save.cjs +164 -0
- package/.claude/hooks/todo-manager.cjs +262 -141
- package/.claude/quality-gate.json +61 -0
- package/.claude/settings.local.json +12 -1
- package/.claude/skills/api-tester/SKILL.md +52 -23
- package/.claude/skills/test-workflow/SKILL.md +191 -0
- package/.claude/templates/tasks/develop.md +69 -0
- package/.claude/templates/tasks/research.md +64 -0
- package/.claude/templates/tasks/test.md +96 -0
- package/.claude-plugin/marketplace.json +2 -2
- package/.versionrc +25 -0
- package/AGENTS.md +7 -1
- package/CHANGELOG.md +83 -4
- package/PROJECT_STRUCTURE.md +40 -3
- package/Q&A.md +184 -0
- package/README.md +52 -2
- package/cli.js +102 -5
- package/config/official-skills.json +183 -0
- package/config/quality-gate.json +61 -0
- package/development/todos/.state.json +4 -0
- package/development/todos/INDEX.md +64 -38
- package/docs/RELEASE.md +93 -0
- package/lib/commands.js +1865 -39
- package/lib/config-manager.js +441 -0
- package/lib/config-schema.js +408 -0
- package/lib/config-validator.js +330 -0
- package/lib/config.js +52 -1
- package/lib/errors.js +305 -0
- package/lib/quality-gate.js +431 -0
- package/lib/quality-rules.js +373 -0
- package/lib/utils.js +102 -14
- package/lib/version-check.js +169 -0
- package/package.json +11 -2
- package/template/.claude/hooks/project-kickoff.cjs +190 -1
- package/template/.claude/hooks/session-restore.cjs +102 -0
- package/template/.claude/hooks/session-save.cjs +164 -0
|
@@ -1,28 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: api-tester
|
|
3
|
+
description: API testing and HTTP request validation tool for REST/GraphQL endpoints
|
|
4
|
+
see_also:
|
|
5
|
+
- mcp-builder
|
|
6
|
+
- webapp-testing
|
|
7
|
+
---
|
|
2
8
|
|
|
3
|
-
|
|
9
|
+
# API Tester
|
|
4
10
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
> Test and validate REST/GraphQL APIs with automated request/response checking
|
|
12
|
+
|
|
13
|
+
**Version**: 1.0.0
|
|
14
|
+
**Author**: sumulige
|
|
15
|
+
**Tags**: [api, testing, http, rest, graphql]
|
|
16
|
+
**Difficulty**: 中级
|
|
9
17
|
|
|
10
18
|
---
|
|
11
19
|
|
|
12
20
|
## 概述
|
|
13
21
|
|
|
14
|
-
|
|
22
|
+
API Tester 是一个用于测试和验证 API 接口的技能。支持 REST 和 GraphQL,可以自动检查响应状态码、数据结构和性能指标。
|
|
15
23
|
|
|
16
24
|
## 适用场景
|
|
17
25
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
26
|
+
- 测试 REST API 端点
|
|
27
|
+
- 验证 API 响应格式
|
|
28
|
+
- 检查 HTTP 状态码
|
|
29
|
+
- 测试 API 认证
|
|
30
|
+
- 性能基准测试
|
|
21
31
|
|
|
22
32
|
## 触发关键词
|
|
23
33
|
|
|
24
34
|
```
|
|
25
|
-
|
|
35
|
+
api test, "test the api", "check endpoint", http request, "validate api",
|
|
36
|
+
graphql query, rest api, postman, curl
|
|
26
37
|
```
|
|
27
38
|
|
|
28
39
|
## 使用方法
|
|
@@ -30,32 +41,50 @@ keyword1, keyword2, "exact phrase"
|
|
|
30
41
|
### 基础用法
|
|
31
42
|
|
|
32
43
|
```bash
|
|
33
|
-
#
|
|
34
|
-
|
|
44
|
+
# 测试 GET 请求
|
|
45
|
+
curl -X GET https://api.example.com/users
|
|
46
|
+
|
|
47
|
+
# 测试 POST 请求
|
|
48
|
+
curl -X POST https://api.example.com/users \
|
|
49
|
+
-H "Content-Type: application/json" \
|
|
50
|
+
-d '{"name": "John"}'
|
|
35
51
|
```
|
|
36
52
|
|
|
37
|
-
###
|
|
53
|
+
### 验证响应
|
|
38
54
|
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
|
|
55
|
+
```javascript
|
|
56
|
+
// 检查状态码
|
|
57
|
+
response.status === 200
|
|
58
|
+
|
|
59
|
+
// 验证数据结构
|
|
60
|
+
response.data.users.forEach(user => {
|
|
61
|
+
assert(user.id, 'User must have id');
|
|
62
|
+
assert(user.email, 'User must have email');
|
|
63
|
+
});
|
|
42
64
|
```
|
|
43
65
|
|
|
44
66
|
## 输出格式
|
|
45
67
|
|
|
46
|
-
|
|
68
|
+
```
|
|
69
|
+
✅ GET /api/users - 200 OK (142ms)
|
|
70
|
+
✅ POST /api/users - 201 Created (89ms)
|
|
71
|
+
❌ GET /api/users/999 - 404 Not Found (45ms)
|
|
72
|
+
```
|
|
47
73
|
|
|
48
74
|
## 注意事项
|
|
49
75
|
|
|
50
|
-
-
|
|
51
|
-
-
|
|
76
|
+
- 使用测试环境 API,避免生产数据修改
|
|
77
|
+
- 检查 API 速率限制
|
|
78
|
+
- 验证认证 Token 有效性
|
|
79
|
+
- 处理分页响应
|
|
52
80
|
|
|
53
81
|
## 相关技能
|
|
54
82
|
|
|
55
|
-
- [
|
|
56
|
-
- [
|
|
83
|
+
- [mcp-builder](../mcp-builder/) - MCP 服务器构建
|
|
84
|
+
- [webapp-testing](../webapp-testing/) - Web 应用测试
|
|
57
85
|
|
|
58
86
|
## 更新日志
|
|
59
87
|
|
|
60
|
-
### 1.0.0 (
|
|
88
|
+
### 1.0.0 (2026-01-15)
|
|
61
89
|
- 初始版本
|
|
90
|
+
- 添加 REST/GraphQL 支持
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: test-workflow
|
|
3
|
+
description: Automated testing workflow that combines Playwright testing, Slack GIF recording, and test report generation. Use when user mentions "测试"、"test"、"Playwright" or asks for QA/testing workflows. Automatically generates: (1) Test execution with Playwright, (2) Slack-optimized GIF of test process, (3) Screenshot at each verification point, (4) Markdown test report with embedded screenshots.
|
|
4
|
+
|
|
5
|
+
see_also:
|
|
6
|
+
- webapp-testing
|
|
7
|
+
- slack-gif-creator
|
|
8
|
+
- doc-coauthoring
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Test Workflow - 自动化测试工作流
|
|
12
|
+
|
|
13
|
+
完整的测试工作流技能,整合 Playwright 测试、GIF 录制和测试报告生成。
|
|
14
|
+
|
|
15
|
+
## 默认行为
|
|
16
|
+
|
|
17
|
+
当用户说"测试 xxx"时,自动执行完整流程:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
用户输入 → 测试执行 → GIF录制 → 截图 → 测试报告
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**无需用户明确说明** - 只要提到"测试"就默认包含所有能力。
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 📋 工作流程
|
|
28
|
+
|
|
29
|
+
### 阶段 1: 理解测试需求
|
|
30
|
+
|
|
31
|
+
向用户确认测试范围:
|
|
32
|
+
```
|
|
33
|
+
我将对 [目标] 进行自动化测试,包括:
|
|
34
|
+
1. Playwright 测试执行
|
|
35
|
+
2. 测试过程 GIF 录制 (Slack 优化)
|
|
36
|
+
3. 验证点截图
|
|
37
|
+
4. Markdown 测试报告
|
|
38
|
+
|
|
39
|
+
测试范围:[确认测试场景]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 阶段 2: 执行测试 (Playwright)
|
|
43
|
+
|
|
44
|
+
```python
|
|
45
|
+
from playwright.sync_api import sync_playwright
|
|
46
|
+
from PIL import Image
|
|
47
|
+
import io
|
|
48
|
+
import json
|
|
49
|
+
|
|
50
|
+
# 配置
|
|
51
|
+
GIF_SIZE = (128, 128) # Slack emoji 尺寸
|
|
52
|
+
SCREENSHOT_DIR = "./test_screenshots"
|
|
53
|
+
FRAMES = [] # 用于 GIF 的帧
|
|
54
|
+
|
|
55
|
+
def capture_frame(page):
|
|
56
|
+
"""捕获一帧用于 GIF"""
|
|
57
|
+
screenshot = page.screenshot()
|
|
58
|
+
img = Image.open(io.BytesIO(screenshot))
|
|
59
|
+
img_resized = img.resize(GIF_SIZE)
|
|
60
|
+
return img_resized
|
|
61
|
+
|
|
62
|
+
# 测试执行
|
|
63
|
+
with sync_playwright() as p:
|
|
64
|
+
browser = p.chromium.launch(headless=True)
|
|
65
|
+
page = browser.new_page()
|
|
66
|
+
|
|
67
|
+
# 执行测试步骤,每步捕获
|
|
68
|
+
# ... 测试逻辑 ...
|
|
69
|
+
|
|
70
|
+
browser.close()
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 阶段 3: 生成 GIF (Slack 优化)
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
# GIF 规格 (Slack 要求)
|
|
77
|
+
- 尺寸: 128x128 (emoji) 或 480x480 (message)
|
|
78
|
+
- FPS: 10-20
|
|
79
|
+
- 颜色: 48-64 种
|
|
80
|
+
- 时长: < 3 秒
|
|
81
|
+
|
|
82
|
+
FRAMES[0].save(
|
|
83
|
+
"test_process.gif",
|
|
84
|
+
save_all=True,
|
|
85
|
+
append_images=FRAMES[1:],
|
|
86
|
+
duration=100, # 10fps
|
|
87
|
+
optimize=True,
|
|
88
|
+
colors=48
|
|
89
|
+
)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### 阶段 4: 生成测试报告 (Markdown)
|
|
93
|
+
|
|
94
|
+
```markdown
|
|
95
|
+
# 测试报告 - [功能名称]
|
|
96
|
+
|
|
97
|
+
## 测试概述
|
|
98
|
+
- 测试时间: 2026-01-15 14:30
|
|
99
|
+
- 测试人员: AI Automation
|
|
100
|
+
- 测试环境: Chrome / localhost:3000
|
|
101
|
+
|
|
102
|
+
## 测试过程
|
|
103
|
+

|
|
104
|
+
|
|
105
|
+
## 测试用例
|
|
106
|
+
|
|
107
|
+
### 用例 1: 用户登录
|
|
108
|
+
**预期**: 用户成功登录
|
|
109
|
+
**实际**: ✅ 通过
|
|
110
|
+
**截图**:
|
|
111
|
+

|
|
112
|
+
|
|
113
|
+
### 用例 2: 数据验证
|
|
114
|
+
**预期**: 显示用户数据
|
|
115
|
+
**实际**: ✅ 通过
|
|
116
|
+
**截图**:
|
|
117
|
+

|
|
118
|
+
|
|
119
|
+
## 测试结果
|
|
120
|
+
| 用例 | 状态 | 说明 |
|
|
121
|
+
|------|------|------|
|
|
122
|
+
| 用户登录 | ✅ | 正常跳转 |
|
|
123
|
+
| 数据验证 | ✅ | 数据正确 |
|
|
124
|
+
|
|
125
|
+
## 总结
|
|
126
|
+
- 通过: 2/2
|
|
127
|
+
- 失败: 0
|
|
128
|
+
- 测试结论: PASS
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 🎯 触发条件
|
|
134
|
+
|
|
135
|
+
**自动触发场景** (无需用户详细说明):
|
|
136
|
+
|
|
137
|
+
| 用户说 | 解释 |
|
|
138
|
+
|--------|------|
|
|
139
|
+
| "测试登录功能" | 完整流程 |
|
|
140
|
+
| "用 Playwright 测试" | 完整流程 |
|
|
141
|
+
| "test the checkout" | 完整流程 |
|
|
142
|
+
| "跑一下测试" | 完整流程 |
|
|
143
|
+
|
|
144
|
+
**Claude 应主动执行**,不要问用户是否需要 GIF 或报告。
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 📦 输出文件
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
test_output/
|
|
152
|
+
├── test_process.gif # Slack GIF
|
|
153
|
+
├── test_report.md # 测试报告
|
|
154
|
+
└── screenshots/
|
|
155
|
+
├── step1_login.png
|
|
156
|
+
├── step2_data.png
|
|
157
|
+
└── step3_result.png
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## ⚙️ 配置选项
|
|
163
|
+
|
|
164
|
+
用户可以自定义规格:
|
|
165
|
+
|
|
166
|
+
```python
|
|
167
|
+
# 用户可以指定
|
|
168
|
+
- GIF 尺寸: 默认 128x128,可选 480x480
|
|
169
|
+
- 截图格式: 默认 PNG
|
|
170
|
+
- 报告格式: 默认 Markdown,可选 HTML
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## 🔗 关联技能
|
|
176
|
+
|
|
177
|
+
本技能协调以下技能:
|
|
178
|
+
|
|
179
|
+
- **webapp-testing**: Playwright 测试执行
|
|
180
|
+
- **slack-gif-creator**: GIF 生成和优化
|
|
181
|
+
- **doc-coauthoring**: 报告文档结构
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## 💡 设计理念
|
|
186
|
+
|
|
187
|
+
**"说测试,就要全套"**
|
|
188
|
+
|
|
189
|
+
用户不应该需要说明"我要 GIF"、"我要报告"、"我要截图"。
|
|
190
|
+
|
|
191
|
+
提到"测试" = 默认包含所有输出。
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# 开发任务标题
|
|
2
|
+
|
|
3
|
+
> **类型**: 💻 Develop | 实现/编码/重构
|
|
4
|
+
> **状态**: 进行中
|
|
5
|
+
> **优先级**: P0/P1/P2
|
|
6
|
+
> **创建时间**: YYYY-MM-DD
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📋 任务描述
|
|
11
|
+
|
|
12
|
+
简要描述开发目标和需求。
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## ✅ 子任务清单
|
|
17
|
+
|
|
18
|
+
### 第一阶段
|
|
19
|
+
- [ ] 任务1.1
|
|
20
|
+
- [ ] 任务1.2
|
|
21
|
+
|
|
22
|
+
### 第二阶段
|
|
23
|
+
- [ ] 任务2.1
|
|
24
|
+
- [ ] 任务2.2
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 🎯 验收标准
|
|
29
|
+
|
|
30
|
+
- [ ] 功能正常运行
|
|
31
|
+
- [ ] 无 TypeScript 错误
|
|
32
|
+
- [ ] 无 ESLint 警告
|
|
33
|
+
- [ ] 通过测试验证
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 📁 关键文件
|
|
38
|
+
|
|
39
|
+
| 文件 | 说明 | 状态 |
|
|
40
|
+
|------|------|------|
|
|
41
|
+
| `path/to/file` | 文件说明 | 🔴 待实现 |
|
|
42
|
+
| `path/to/file` | 文件说明 | 🟡 进行中 |
|
|
43
|
+
| `path/to/file` | 文件说明 | 🟢 已完成 |
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 🔗 依赖任务
|
|
48
|
+
|
|
49
|
+
- 前置任务:[任务名]
|
|
50
|
+
- 后续任务:[任务名]
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## 📝 开发日志
|
|
55
|
+
|
|
56
|
+
### YYYY-MM-DD
|
|
57
|
+
- 进度记录
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 🧪 测试说明
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# 运行测试
|
|
65
|
+
npm test
|
|
66
|
+
|
|
67
|
+
# 本地验证
|
|
68
|
+
npm run dev
|
|
69
|
+
```
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# 研究任务标题
|
|
2
|
+
|
|
3
|
+
> **类型**: 📊 Research | 调研/设计/探索
|
|
4
|
+
> **状态**: 进行中
|
|
5
|
+
> **优先级**: P0/P1/P2
|
|
6
|
+
> **创建时间**: YYYY-MM-DD
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📋 任务描述
|
|
11
|
+
|
|
12
|
+
简要描述研究目标和背景。
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 🎯 研究目标
|
|
17
|
+
|
|
18
|
+
1. 目标一
|
|
19
|
+
2. 目标二
|
|
20
|
+
3. 目标三
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 🔍 研究方法
|
|
25
|
+
|
|
26
|
+
- [ ] 文献调研
|
|
27
|
+
- [ ] 技术方案对比
|
|
28
|
+
- [ ] 原型验证
|
|
29
|
+
- [ ] 风险评估
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 📊 研究成果
|
|
34
|
+
|
|
35
|
+
### 调研发现
|
|
36
|
+
|
|
37
|
+
1. 发现一
|
|
38
|
+
2. 发现二
|
|
39
|
+
|
|
40
|
+
### 推荐方案
|
|
41
|
+
|
|
42
|
+
| 方案 | 优点 | 缺点 | 推荐度 |
|
|
43
|
+
|------|------|------|--------|
|
|
44
|
+
| 方案A | | | ⭐⭐⭐ |
|
|
45
|
+
| 方案B | | | ⭐⭐ |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 📁 相关文件
|
|
50
|
+
|
|
51
|
+
- 调研文档:
|
|
52
|
+
- 技术文档:
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 🔗 依赖任务
|
|
57
|
+
|
|
58
|
+
无
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 📝 备注
|
|
63
|
+
|
|
64
|
+
记录研究过程中的重要发现和决策点。
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# 测试任务标题
|
|
2
|
+
|
|
3
|
+
> **类型**: 🧪 Test | 测试/验证/QA
|
|
4
|
+
> **状态**: 进行中
|
|
5
|
+
> **优先级**: P0/P1/P2
|
|
6
|
+
> **创建时间**: YYYY-MM-DD
|
|
7
|
+
> **相关开发任务**: [链接到开发任务]
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 📋 任务描述
|
|
12
|
+
|
|
13
|
+
描述测试范围和目标。
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 🎯 测试范围
|
|
18
|
+
|
|
19
|
+
| 功能/模块 | 测试类型 | 优先级 |
|
|
20
|
+
|----------|----------|--------|
|
|
21
|
+
| 模块A | 功能测试 | P0 |
|
|
22
|
+
| 模块B | 集成测试 | P1 |
|
|
23
|
+
| 模块C | 回归测试 | P2 |
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## ✅ 测试用例
|
|
28
|
+
|
|
29
|
+
### 功能测试
|
|
30
|
+
|
|
31
|
+
| 用例ID | 用例描述 | 步骤 | 预期结果 | 状态 |
|
|
32
|
+
|--------|----------|------|----------|------|
|
|
33
|
+
| T001 | 描述 | 步骤 | 预期 | ⬜ |
|
|
34
|
+
|
|
35
|
+
### 边界测试
|
|
36
|
+
|
|
37
|
+
| 用例ID | 用例描述 | 步骤 | 预期结果 | 状态 |
|
|
38
|
+
|--------|----------|------|----------|------|
|
|
39
|
+
| T101 | 描述 | 步骤 | 预期 | ⬜ |
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 🐛 问题记录
|
|
44
|
+
|
|
45
|
+
| ID | 问题描述 | 严重程度 | 状态 | 修复方案 |
|
|
46
|
+
|----|----------|----------|------|----------|
|
|
47
|
+
| B001 | | 🔴高/🟡中/🟢低 | ⬜ | |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 📁 测试文件
|
|
52
|
+
|
|
53
|
+
| 文件 | 说明 |
|
|
54
|
+
|------|------|
|
|
55
|
+
| `path/to/test` | 测试文件 |
|
|
56
|
+
| `/tmp/screenshots/` | 截图目录 |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🧪 测试命令
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# 运行测试
|
|
64
|
+
npm test
|
|
65
|
+
|
|
66
|
+
# Playwright E2E
|
|
67
|
+
npx playwright test
|
|
68
|
+
|
|
69
|
+
# 手动测试 URL
|
|
70
|
+
http://localhost:3000/test-page
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 📝 测试结果
|
|
76
|
+
|
|
77
|
+
### 测试统计
|
|
78
|
+
|
|
79
|
+
- 总用例数: 0
|
|
80
|
+
- 通过: 0
|
|
81
|
+
- 失败: 0
|
|
82
|
+
- 跳过: 0
|
|
83
|
+
- 通过率: 0%
|
|
84
|
+
|
|
85
|
+
### 回归测试
|
|
86
|
+
|
|
87
|
+
- 上次通过率: 0%
|
|
88
|
+
- 本次通过率: 0%
|
|
89
|
+
- 变化: 0%
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 🔗 关联问题
|
|
94
|
+
|
|
95
|
+
- 相关 Bug: [链接]
|
|
96
|
+
- 相关需求: [链接]
|
package/.versionrc
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"types": [
|
|
3
|
+
{ "type": "feat", "section": "Added" },
|
|
4
|
+
{ "type": "fix", "section": "Fixed" },
|
|
5
|
+
{ "type": "chore", "hidden": false },
|
|
6
|
+
{ "type": "docs", "section": "Changed", "hidden": false },
|
|
7
|
+
{ "type": "style", "hidden": true },
|
|
8
|
+
{ "type": "refactor", "section": "Changed" },
|
|
9
|
+
{ "type": "perf", "section": "Changed" },
|
|
10
|
+
{ "type": "test", "hidden": false }
|
|
11
|
+
],
|
|
12
|
+
"commitUrlFormat": "https://github.com/sumulige/sumulige-claude/commits/{{hash}}",
|
|
13
|
+
"compareUrlFormat": "https://github.com/sumulige/sumulige-claude/compare/{{previousTag}}...{{currentTag}}",
|
|
14
|
+
"issueUrlFormat": "https://github.com/sumulige/sumulige-claude/issues/{{id}}",
|
|
15
|
+
"bumpFiles": [
|
|
16
|
+
{
|
|
17
|
+
"filename": "package.json",
|
|
18
|
+
"type": "json"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"skip": {
|
|
22
|
+
"tag": true,
|
|
23
|
+
"commit": false
|
|
24
|
+
}
|
|
25
|
+
}
|
package/AGENTS.md
CHANGED
|
@@ -29,7 +29,7 @@ Usage notes:
|
|
|
29
29
|
|
|
30
30
|
<skill>
|
|
31
31
|
<name>api-tester</name>
|
|
32
|
-
<description
|
|
32
|
+
<description>API testing and HTTP request validation tool for REST/GraphQL endpoints</description>
|
|
33
33
|
<location>project</location>
|
|
34
34
|
</skill>
|
|
35
35
|
|
|
@@ -105,6 +105,12 @@ Usage notes:
|
|
|
105
105
|
<location>project</location>
|
|
106
106
|
</skill>
|
|
107
107
|
|
|
108
|
+
<skill>
|
|
109
|
+
<name>test-workflow</name>
|
|
110
|
+
<description>Automated testing workflow that combines Playwright testing, Slack GIF recording, and test report generation. Use when user mentions "测试"、"test"、"Playwright" or asks for QA/testing workflows. Automatically generates: (1) Test execution with Playwright, (2) Slack-optimized GIF of test process, (3) Screenshot at each verification point, (4) Markdown test report with embedded screenshots.</description>
|
|
111
|
+
<location>project</location>
|
|
112
|
+
</skill>
|
|
113
|
+
|
|
108
114
|
<skill>
|
|
109
115
|
<name>theme-factory</name>
|
|
110
116
|
<description>Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.</description>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,88 @@
|
|
|
1
|
-
|
|
1
|
+
## [Unreleased] (2026-01-15)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### ✨ Features
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
- kickoff creates tasks in backlog (d1a6f958)
|
|
6
|
+
- add 'help' command as alias (697d5ef2)
|
|
7
|
+
- add --check-update flag to sync command (b8ab1131)
|
|
8
|
+
- add version update check (stage 1 & 2) (dd116a75)
|
|
9
|
+
- add safety options to smc template command (74441b8f)
|
|
10
|
+
- upgrade todo-manager to v2.0 with R-D-T lifecycle (16e8f7ea)
|
|
11
|
+
- add test-workflow skill and enhance CLI commands (972a6762)
|
|
12
|
+
|
|
13
|
+
### 📝 Documentation
|
|
14
|
+
|
|
15
|
+
- add Q4 for version update flow (16c43298)
|
|
16
|
+
- add Q3 for smc template vs sync comparison (346e9a6e)
|
|
17
|
+
|
|
18
|
+
### 🧹 Chores
|
|
19
|
+
|
|
20
|
+
- **release**: 1.1.0 (ba1afd24)
|
|
21
|
+
|
|
22
|
+
## [1.1.0](https://github.com/sumulige/sumulige-claude/compare/v1.0.11...v1.1.0) (2026-01-15)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
* sync documentation with v1.0.11 ([b00c509](https://github.com/sumulige/sumulige-claude/commits/b00c50928038bf8a4a655e81712420cd3294935d))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
* add standard-version for automated releases ([32522fa](https://github.com/sumulige/sumulige-claude/commits/32522fa912dd26a4540cba10532c24d4e29e6daf))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
* add test-workflow skill and enhance CLI commands ([972a676](https://github.com/sumulige/sumulige-claude/commits/972a6762411c5f863d9bfa3e360df7dc7f379aab))
|
|
36
|
+
|
|
37
|
+
## [1.0.11] - 2026-01-15
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
- Complete test suite with 78 tests across 5 modules
|
|
41
|
+
- Version-aware migration system (`lib/migrations.js`)
|
|
42
|
+
- `smc migrate` command for manual migration
|
|
43
|
+
- Auto-migration of old hooks format on `smc sync`
|
|
44
|
+
- Code simplifier integration
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
- Modularized codebase for better maintainability
|
|
48
|
+
|
|
49
|
+
### Fixed
|
|
50
|
+
- Test coverage improvements
|
|
51
|
+
|
|
52
|
+
## [1.0.10] - 2026-01-15
|
|
53
|
+
|
|
54
|
+
### Added
|
|
55
|
+
- Conversation logger Hook (`conversation-logger.cjs`)
|
|
56
|
+
- Automatic conversation recording to `DAILY_CONVERSATION.md`
|
|
57
|
+
- Date-grouped conversation history
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
- Auto-migration for old hooks format
|
|
61
|
+
|
|
62
|
+
## [1.0.9] - 2026-01-15
|
|
63
|
+
|
|
64
|
+
### Fixed
|
|
65
|
+
- Clean up stale session entries
|
|
66
|
+
|
|
67
|
+
## [1.0.8] - 2026-01-14
|
|
68
|
+
|
|
69
|
+
### Added
|
|
70
|
+
- Skill Marketplace system with external repository support
|
|
71
|
+
- Auto-sync mechanism via GitHub Actions (daily schedule)
|
|
72
|
+
- 6 new marketplace commands: `list`, `install`, `sync`, `add`, `remove`, `status`
|
|
73
|
+
- Claude Code native plugin registry (`.claude-plugin/marketplace.json`)
|
|
74
|
+
- Skill categorization system (7 categories)
|
|
75
|
+
- Development documentation (`docs/DEVELOPMENT.md`)
|
|
76
|
+
- Marketplace user guide (`docs/MARKETPLACE.md`)
|
|
77
|
+
|
|
78
|
+
### Changed
|
|
79
|
+
- Refactored CLI into modular architecture (`lib/` directory)
|
|
80
|
+
- Streamlined README with dedicated documentation files
|
|
81
|
+
|
|
82
|
+
## [1.0.7] - 2026-01-13
|
|
83
|
+
|
|
84
|
+
### Changed
|
|
85
|
+
- Project template updates
|
|
7
86
|
|
|
8
87
|
## [1.0.6] - 2026-01-14
|
|
9
88
|
|