pdd-skills 3.1.13 → 3.2.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/LICENSE +21 -21
- package/package.json +1 -1
- package/scaffolds/python-fullstack/.github/workflows/ci.yml +1 -1
- package/scaffolds/python-fullstack/Dockerfile +1 -1
- package/scaffolds/python-fullstack/docker-compose.yml +1 -1
- package/scaffolds/python-fullstack/frontend/Dockerfile +1 -1
- package/scaffolds/python-fullstack/frontend/nginx.conf +1 -1
- package/scaffolds/python-fullstack/frontend/postcss.config.js +1 -1
- package/scaffolds/python-fullstack/frontend/src/api/client.ts +1 -1
- package/scaffolds/python-fullstack/frontend/src/composables/useResponsive.ts +1 -1
- package/scaffolds/python-fullstack/frontend/src/router/index.ts +1 -1
- package/scaffolds/python-fullstack/frontend/src/stores/user.ts +1 -1
- package/scaffolds/python-fullstack/frontend/src/styles/responsive.css +1 -1
- package/scaffolds/python-fullstack/frontend/src/styles/variables.css +1 -1
- package/scaffolds/python-fullstack/frontend/src/views/DashboardView.vue +1 -1
- package/scaffolds/python-fullstack/frontend/src/views/HomeView.vue +1 -1
- package/scaffolds/python-fullstack/frontend/src/views/LoginView.vue +1 -1
- package/scaffolds/python-fullstack/frontend/tailwind.config.js +1 -1
- package/skills/core/official-doc-writer/README.md +232 -232
- package/skills/core/official-doc-writer/SKILL.md +4 -7
- package/skills/core/official-doc-writer/fonts/FONTS_LIST.md +44 -44
- package/skills/core/official-doc-writer/references/GBT_9704-2012_/345/205/232/346/224/277/346/234/272/345/205/263/345/205/254/346/226/207/346/240/274/345/274/217.md +422 -422
- package/skills/core/pdd-ba/SKILL.md +1 -11
- package/skills/core/pdd-entropy-reduction/SKILL.md +1 -9
- package/skills/core/pdd-extract-features/SKILL.md +1 -10
- package/skills/core/pdd-generate-spec/SKILL.md +1 -10
- package/skills/core/pdd-main/evals/evals.json +215 -215
- package/skills/core/pdd-verify-feature/SKILL.md +1 -10
- package/skills/core/pdd-vm/SKILL.md +1 -11
- package/skills/entropy/expert-arch-enforcer/SKILL.md +292 -292
- package/skills/entropy/expert-auto-refactor/SKILL.md +316 -327
- package/skills/entropy/expert-code-quality/SKILL.md +468 -468
- package/skills/entropy/expert-entropy-auditor/SKILL.md +276 -276
- package/skills/expert/expert-activiti/SKILL.md +488 -497
- package/skills/expert/expert-bug-fixer/SKILL.md +1 -26
- package/skills/expert/expert-mysql/SKILL.md +832 -832
- package/skills/expert/expert-ruoyi/SKILL.md +664 -674
- package/skills/expert/expert-springcloud/SKILL.md +1 -10
- package/skills/expert/expert-vue3/SKILL.md +1 -10
- package/skills/expert/testcase-agent/SKILL.md +5 -0
- package/skills/expert/testcase-modeler/SKILL.md +40 -2
- package/skills/pr/pdd-multi-review/SKILL.md +534 -534
- package/skills/pr/pdd-pr-batch/SKILL.md +303 -303
- package/skills/pr/pdd-pr-create/SKILL.md +344 -344
- package/skills/pr/pdd-pr-merge/SKILL.md +286 -286
- package/skills/pr/pdd-pr-review/SKILL.md +217 -217
- package/skills/pr/pdd-task-manager/SKILL.md +636 -636
- package/skills/pr/pdd-template-engine/SKILL.md +386 -386
- package/tests/login_manager.py +5 -30
- package/tests/recorder.py +362 -294
- package/tests/testcase-ai.py +1184 -11
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: expert-springcloud
|
|
3
|
-
description: "Spring Cloud
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: Spring Cloud / Spring Cloud Alibaba 微服务项目
|
|
6
|
-
metadata:
|
|
7
|
-
author: "neuqik@hotmail.com"
|
|
8
|
-
version: "1.0"
|
|
9
|
-
triggers:
|
|
10
|
-
- "/springcloud" | "/微服务"
|
|
11
|
-
- "微服务" | "网关" | "服务注册" | "Nacos" | "Gateway"
|
|
12
|
-
- "熔断" | "Sentinel" | "链路追踪" | "Feign" | "OpenFeign"
|
|
3
|
+
description: "Spring Cloud microservice architecture expert. Invoke when projects involve service registry, config center, gateway routing, circuit breaker, or distributed tracing. 支持中文触发:微服务、网关配置、服务注册。"
|
|
13
4
|
---
|
|
14
5
|
|
|
15
6
|
# Spring Cloud 微服务专家 / Spring Cloud Microservice Expert
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: expert-vue3
|
|
3
|
-
description: "Vue 3
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: Vue 3 + Element Plus / Ant Design Vue 前端项目
|
|
6
|
-
metadata:
|
|
7
|
-
author: "neuqik@hotmail.com"
|
|
8
|
-
version: "1.0"
|
|
9
|
-
triggers:
|
|
10
|
-
- "/vue3" | "/前端"
|
|
11
|
-
- "Vue组件" | "页面开发" | "前端问题" | "组件封装"
|
|
12
|
-
- "Element Plus" | "Pinia" | "Composition API" | "表单校验"
|
|
3
|
+
description: "Vue 3 frontend development expert. Invoke when projects involve Vue 3 Composition API, Pinia, Vue Router 4, or Element Plus. 支持中文触发:Vue组件、页面开发、前端问题、组件封装。"
|
|
13
4
|
---
|
|
14
5
|
|
|
15
6
|
# Vue 3 前端开发专家 / Vue 3 Frontend Development Expert
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: testcase-agent
|
|
3
|
+
description: "Automated E2E test execution expert using Chrome DevTools MCP. Invoke when users want to run tests, replay test cases, or execute YAML test files. 支持中文触发:执行测试、运行测试、回放测试。"
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# Testcase Agent Skill - 自动化测试执行专家
|
|
2
7
|
|
|
3
8
|
> **版本**: 1.0.1
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: testcase-modeler
|
|
3
|
+
description: "Test case modeling expert that converts natural language descriptions into structured YAML test cases. Invoke when users need to create test case models. 支持中文触发:测试建模、YAML用例、测试用例设计。"
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# Testcase Modeler Skill - 测试用例建模师
|
|
2
7
|
|
|
3
|
-
> **版本**: 2.0.
|
|
8
|
+
> **版本**: 2.0.1
|
|
4
9
|
> **分类**: Expert Skill
|
|
5
10
|
> **作者**: PDD Team
|
|
6
|
-
> **最后更新**: 2026-05-
|
|
11
|
+
> **最后更新**: 2026-05-20
|
|
7
12
|
|
|
8
13
|
---
|
|
9
14
|
|
|
@@ -136,6 +141,38 @@ TEST_AMOUNT=1000000
|
|
|
136
141
|
- [ ] 每个步骤都有 `step`, `desc`, `action`
|
|
137
142
|
- [ ] 🆕 已创建配套的 `.env` 文件
|
|
138
143
|
|
|
144
|
+
#### 🆕 步骤编号规范(v2.0.1 新增,2026-05-20)
|
|
145
|
+
|
|
146
|
+
> ⚠️ **强制规则**:`step` 字段**必须是纯整数**,禁止使用混合格式。
|
|
147
|
+
|
|
148
|
+
| ✅ 正确 | ❌ 错误 | 原因 |
|
|
149
|
+
|---------|---------|------|
|
|
150
|
+
| `step: 19` | `step: 19b` | 字符串无法参与算术运算 |
|
|
151
|
+
| `step: 20` | `step: step_2` | 框架内部做 `old_num + offset` 重编号 |
|
|
152
|
+
|
|
153
|
+
**技术原因**:当 YAML 使用 `_include` 引用共享步骤时,框架的 `_resolve_includes()` 函数会对本文件步骤执行重编号(`new_num = old_num + step_offset`)。如果 `step` 是字符串(如 `"19b"`),Python 的 `str + int` 会抛出 `TypeError: can only concatenate str (not "int") to str`。
|
|
154
|
+
|
|
155
|
+
**正确写法示例**:
|
|
156
|
+
```yaml
|
|
157
|
+
# ✅ 连续整数编号(推荐)
|
|
158
|
+
- step: 19
|
|
159
|
+
desc: 点击日期选择器打开面板
|
|
160
|
+
action: click
|
|
161
|
+
target: 请选择评估基准日
|
|
162
|
+
- step: 20
|
|
163
|
+
desc: 输入日期值
|
|
164
|
+
action: fill
|
|
165
|
+
target: 请选择评估基准日
|
|
166
|
+
value: '2026-05-10'
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
```yaml
|
|
170
|
+
# ❌ 禁止:混合格式编号
|
|
171
|
+
- step: 19b # ← 这是字符串!重编号时会崩溃
|
|
172
|
+
desc: 输入日期值
|
|
173
|
+
...
|
|
174
|
+
```
|
|
175
|
+
|
|
139
176
|
---
|
|
140
177
|
|
|
141
178
|
### 规则 2:智能意图提取(Intent Extraction)
|
|
@@ -808,6 +845,7 @@ A: 查看截图确认实际效果,检查 target 文本是否与页面一致,
|
|
|
808
845
|
---
|
|
809
846
|
|
|
810
847
|
> **版本历史**
|
|
848
|
+
> - v2.0.1 (2026-05-20): 新增步骤编号规范 — step 必须纯整数,禁止 19b 等混合格式(_include 重编号兼容性)
|
|
811
849
|
> - v2.0.0 (2026-05-14): 重大更新 — 新增 .env 配对机制、el-select 处理、三层定位策略、spinbutton 支持、evaluate_script 能力、特殊组件处理规则
|
|
812
850
|
> - v1.0.1 (2026-05-08): 增强触发词覆盖(30个)、优化文档结构
|
|
813
851
|
> - v1.0.0 (2026-05-08): 初始版本
|