pdd-skills 3.2.2 → 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/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"pdd-skills","version":"3.2.2","type":"module","description":"PDD Skills - PRD驱动开发框架 | 41+技能: 核心(12)/专家(8)/熵减(4)/OpenSpec(10)/PR管理(7) | AI原生开发工作流 | Bug模式库(14) | PRD规则(30) | 4级门控引擎","main":"index.js","bin":{"pdd":"./bin/pdd.js","pdd-skills":"./bin/pdd.js"},"files":["bin/","lib/","skills/","templates/","scaffolds/","scripts/","config/","hooks/","docs/","index.js","tests/testcase-ai.py","tests/login_manager.py","tests/recorder.py","tests/__init__.py","testcases/examples/"],"scripts":{"start":"node bin/pdd.js","list":"node bin/pdd.js list","lint":"node bin/pdd.js linter --type code prd sql activiti","generate":"node bin/pdd.js generate","verify":"node bin/pdd.js verify","report":"node bin/pdd.js report","config":"node bin/pdd.js config --list","api":"node bin/pdd.js api","api:dev":"node bin/pdd.js api -p 3000 --cors","init":"node bin/pdd.js init","update":"node bin/pdd.js update","cso":"node bin/pdd.js cso","eval":"node bin/pdd.js eval","token":"node bin/pdd.js token","i18n":"node bin/pdd.js i18n"},"keywords":["pdd","prd-driven-development","ai","claude","skills","tdd","code-generation","linter","api-server","cli"],"author":"PDD Team","license":"MIT","engines":{"node":">=18.0.0"},"dependencies":{"chalk":"^5.3.0","commander":"^12.0.0","fs-extra":"^11.2.0","yaml":"^2.3.0"}}
1
+ {"name":"pdd-skills","version":"3.2.3","type":"module","description":"PDD Skills - PRD驱动开发框架 | 41+技能: 核心(12)/专家(8)/熵减(4)/OpenSpec(10)/PR管理(7) | AI原生开发工作流 | Bug模式库(14) | PRD规则(30) | 4级门控引擎","main":"index.js","bin":{"pdd":"./bin/pdd.js","pdd-skills":"./bin/pdd.js"},"files":["bin/","lib/","skills/","templates/","scaffolds/","scripts/","config/","hooks/","docs/","index.js","tests/testcase-ai.py","tests/login_manager.py","tests/recorder.py","tests/__init__.py","testcases/examples/"],"scripts":{"start":"node bin/pdd.js","list":"node bin/pdd.js list","lint":"node bin/pdd.js linter --type code prd sql activiti","generate":"node bin/pdd.js generate","verify":"node bin/pdd.js verify","report":"node bin/pdd.js report","config":"node bin/pdd.js config --list","api":"node bin/pdd.js api","api:dev":"node bin/pdd.js api -p 3000 --cors","init":"node bin/pdd.js init","update":"node bin/pdd.js update","cso":"node bin/pdd.js cso","eval":"node bin/pdd.js eval","token":"node bin/pdd.js token","i18n":"node bin/pdd.js i18n"},"keywords":["pdd","prd-driven-development","ai","claude","skills","tdd","code-generation","linter","api-server","cli"],"author":"PDD Team","license":"MIT","engines":{"node":">=18.0.0"},"dependencies":{"chalk":"^5.3.0","commander":"^12.0.0","fs-extra":"^11.2.0","yaml":"^2.3.0"}}
@@ -1,10 +1,7 @@
1
- ***
2
-
3
- name: "official-doc-writer"
4
- description: "Official document writer generating government docs (notifications, reports, requests) per GB/T 9704-2012 standard. Invoke when creating formal documents or government-style output."
5
- author: "neuqik@hotmail.com"
6
- license: "MIT"
7
- --------------
1
+ ---
2
+ name: official-doc-writer
3
+ description: "Official document writer generating government docs per GB/T 9704-2012 standard. Invoke when creating formal documents or government-style output. 支持中文触发:公文生成、党政机关公文、正式文件。"
4
+ ---
8
5
 
9
6
  # 党政机关公文生成技能 / Official Government Document Generation Skill
10
7
 
@@ -1,16 +1,6 @@
1
1
  ---
2
2
  name: pdd-ba
3
- description: "PDD framework business analysis Skill for requirement elicitation and modeling. Invoke when users input /analyze, /audit, /doc commands, or need business process analysis, requirement modeling, PRD review, or 5W1H analysis. 支持中文触发:业务分析、需求分析、需求建模、5W1H分析、MECE。"
4
- license: MIT
5
- compatibility: 需要PRD文档或业务需求描述
6
- metadata:
7
- author: "neuqik@hotmail.com"
8
- version: "2.0"
9
- parent: pdd-main
10
- triggers:
11
- - "/analyze" | "/audit" | "/doc"
12
- - "分析业务流程" | "需求建模" | "PRD审核"
13
- - "业务分析" | "5W1H" | "MECE"
3
+ description: "PDD framework business analysis Skill for requirement elicitation and modeling. Invoke when users need business process analysis, requirement modeling, or 5W1H analysis. 支持中文触发:业务分析、需求分析、需求建模。"
14
4
  ---
15
5
 
16
6
  # PDD-Business Analysis / 业务分析技能
@@ -1,14 +1,6 @@
1
1
  ---
2
2
  name: pdd-entropy-reduction
3
- description: PDD Entropy Reduction Agent monitoring technical debt and preventing system decay. Invoke for code cleanup, documentation updates, debt management, or garbage collection. 支持中文触发:熵减、技术债务、代码清理。
4
- license: MIT
5
- metadata:
6
- author: neuqik@hotmail.com
7
- version: "2.0"
8
- parent: pdd-main
9
- triggers:
10
- - "熵减" | "清理技术债务" | "代码清理"
11
- - "文档更新" | "技术债务管理" | "架构对齐"
3
+ description: "PDD Entropy Reduction Agent monitoring technical debt and preventing system decay. Invoke for code cleanup, documentation updates, or debt management. 支持中文触发:熵减、技术债务、代码清理。"
12
4
  ---
13
5
 
14
6
  # PDD Entropy Reduction Agent - 熵减智能体 / Entropy Reduction Agent for Continuous System Hygiene
@@ -1,15 +1,6 @@
1
1
  ---
2
2
  name: pdd-extract-features
3
- description: PRD文档体系中提取功能点矩阵。当用户想要提取功能点、识别功能需求或分析业务功能时调用此Skill。支持中文触发:提取功能点、功能点提取、PRD分析、需求拆解。
4
- license: MIT
5
- compatibility: 需要业务分析报告和PRD文档
6
- metadata:
7
- author: "neuqik@hotmail.com"
8
- version: "2.1"
9
- parent: pdd-main
10
- triggers:
11
- - "提取功能点" | "功能点矩阵" | "FP-"
12
- - "从PRD提取" | "功能点分析"
3
+ description: "Extract feature point matrix from PRD document system. Invoke when users want to extract features, identify requirements, or analyze business functions. 支持中文触发:提取功能点、PRD分析、需求拆解。"
13
4
  ---
14
5
 
15
6
  # PDD-Extract Features - 功能点提取技能 / Feature Extraction Skill
@@ -1,15 +1,6 @@
1
1
  ---
2
2
  name: pdd-generate-spec
3
- description: 根据功能点矩阵生成开发规格和验收标准。当用户想要生成功能点的技术规格时调用此Skill。支持中文触发:生成规格、开发规格、技术规格、PDD规格。
4
- license: MIT
5
- compatibility: 需要功能点矩阵和业务分析报告
6
- metadata:
7
- author: "neuqik@hotmail.com"
8
- version: "2.1"
9
- parent: pdd-main
10
- triggers:
11
- - "生成开发规格" | "生成spec" | "/spec"
12
- - "技术设计" | "接口设计" | "数据模型"
3
+ description: "Generate development specifications and acceptance criteria from feature point matrix. Invoke when users want to generate technical specs for features. 支持中文触发:生成规格、开发规格、技术规格。"
13
4
  ---
14
5
 
15
6
  # PDD-Generate Spec - 开发规格生成技能 / Development Specification Generation Skill
@@ -1,15 +1,6 @@
1
1
  ---
2
2
  name: pdd-verify-feature
3
- description: 验证功能点实现是否符合开发规格和验收标准,采用三维验证模型(完整性、正确性、一致性)。当用户需要验证功能或检查实现时自动触发。支持中文触发:验证功能、功能验证、验收检查、PDD验证。
4
- license: MIT
5
- compatibility: 需要功能点代码和验收标准
6
- metadata:
7
- author: "neuqik@hotmail.com"
8
- version: "4.1"
9
- parent: pdd-main
10
- triggers:
11
- - "验证功能" | "验收" | "/verify"
12
- - "功能点验收" | "checklist验证"
3
+ description: "Verify feature implementation against development specs and acceptance criteria using a 3D verification model. Invoke when users need to verify features. 支持中文触发:验证功能、功能验证、验收检查。"
13
4
  ---
14
5
 
15
6
  # PDD-Verify Feature - 功能点验证技能 / Feature Verification Skill
@@ -1,16 +1,6 @@
1
1
  ---
2
2
  name: pdd-vm
3
- description: "PDD Visual Manager 可视化监控技能。当用户需要查看项目状态、启动Dashboard、使用TUI终端界面、监控流水线进度、查看质量评分、导出项目数据时自动触发。支持中文触发:可视化监控、Dashboard、看板、TUI、项目状态、流水线、质量评分、pdd vm。"
4
- license: MIT
5
- compatibility: PDD-Skills v3.0+ 项目
6
- metadata:
7
- author: "PDD Team"
8
- version: "1.0"
9
- triggers:
10
- - "/vm" | "/dashboard" | "/tui"
11
- - "可视化监控" | "Dashboard" | "看板" | "TUI"
12
- - "项目状态" | "流水线" | "质量评分" | "pdd vm"
13
- - "Web Dashboard" | "Terminal TUI" | "SSE"
3
+ description: "PDD Visual Manager for project status monitoring, Dashboard, TUI terminal interface, pipeline progress, and quality scores. Invoke when users need visualization. 支持中文触发:可视化监控、Dashboard、看板、TUI。"
14
4
  ---
15
5
 
16
6
  # PDD Visual Manager / PDD 可视化监控
@@ -1,17 +1,6 @@
1
1
  ---
2
2
  name: expert-auto-refactor
3
- description: Automated refactoring expert transforming quality improvements into concrete code operations. Call when eliminating duplication or simplifying complexity systematically. 支持中文触发:重构代码、消除重复、简化代码。
4
-
5
- Core responsibility: Initiate targeted refactoring PRs regularly in a "small debt repayment" manner to prevent technical debt accumulation.
6
-
7
- Trigger scenarios:
8
- - User requests "refactor code", "eliminate duplicates", "simplify code"
9
- - Called by pdd-entropy-reduction coordinator
10
- - Refactoring suggestions passed from expert-entropy-auditor
11
-
12
- 支持中文触发:自动重构、代码重构、消除重复、简化代码、重构专家、PDD重构。
13
- author: neuqik@hotmail.com
14
- license: MIT
3
+ description: "Automated refactoring expert transforming quality improvements into concrete code operations. Call when eliminating duplication or simplifying complexity systematically. 支持中文触发:重构代码、消除重复、简化代码、自动重构。"
15
4
  ---
16
5
 
17
6
  # Automated Refactoring Expert (expert-auto-refactor)
@@ -1,15 +1,6 @@
1
1
  ---
2
2
  name: expert-activiti
3
- description: Activiti工作流引擎专家,精通Activiti 7 Core/Cloud架构和BPMN 2.0规范。当用户涉及工作流设计或流程引擎开发时自动触发。支持中文触发:工作流设计、流程引擎、BPMN建模、Activiti开发。
4
- license: MIT
5
- compatibility: Activiti 7.x
6
- metadata:
7
- author: "neuqik@hotmail.com"
8
- version: "2.0"
9
- triggers:
10
- - "/activiti" | "/bpmn" | "/workflow"
11
- - "工作流" | "流程设计" | "BPMN"
12
- - "流程部署" | "任务管理" | "Activiti"
3
+ description: "Activiti workflow engine expert proficient in Activiti 7 Core/Cloud architecture and BPMN 2.0 specification. Invoke when users need workflow design, BPMN modeling, process engine development, or Activiti deployment management. 支持中文触发:工作流设计、流程引擎、BPMN建模、Activiti开发、流程部署。"
13
4
  ---
14
5
 
15
6
  # Activiti工作流引擎专家
@@ -1,31 +1,6 @@
1
1
  ---
2
2
  name: expert-bug-fixer
3
- description: "线上/已开发系统的Bug修复专家 v2.1(精简版)。精准定位、控制修改范围、生成变更发布单、根因验证、风险评估。当用户描述Bug、报错、显示异常时自动触发。支持中文触发:修复Bug、线上问题、改一下、报错了、显示不对。"
4
- license: MIT
5
- compatibility: 已有代码的Bug修复和小范围功能微调
6
- metadata:
7
- author: "neuqik@hotmail.com"
8
- version: "2.1.0"
9
- lastUpdated: "2026-05-06"
10
- changelog: |
11
- ## v2.1.0 (2026-05-06) - 质量优化
12
- ### 压缩改进
13
- - ✅ SKILL.md从523行压缩至370行(压缩29%)
14
- - ✅ 详细示例移至config/目录按需加载
15
- - ✅ 删除冗余的附录A快速参考卡
16
- - ✅ 保持所有核心功能完整
17
-
18
- ### v2.0.0 核心能力保留
19
- - 根因验证机制(Step 1.5 + config/hypothesis-validation.md)
20
- - UI交互Bug调试决策树(config/debug-decision-tree.yaml)
21
- - 代码冲突检测器(config/code-conflict-rules.yaml)
22
- - 修复方案风险评估矩阵(config/fix-risk-matrix.yaml)
23
- - 案例知识库模板(templates/case-template.md)
24
-
25
- triggers:
26
- - "/fix-bug" | "/修复Bug"
27
- - "修复Bug" | "线上问题" | "改一下" | "不对" | "报错"
28
- - "显示异常" | "接口404" | "数据不对" | "页面空白"
3
+ description: "Bug fixing expert with precise location, scope control, minimal changes, root cause verification, and risk assessment. Invoke when users describe bugs or errors. 支持中文触发:修复Bug、线上问题、报错了、显示不对。"
29
4
  ---
30
5
 
31
6
  # Bug 修复专家 v2.1 (精简优化版) / Bug Fix Expert
@@ -1,16 +1,6 @@
1
1
  ---
2
2
  name: expert-ruoyi
3
- description: 若依(RuoYi)框架开发专家,精通项目搭建、代码生成和架构优化。当用户涉及若依框架开发、权限配置或菜单路由配置时自动触发。支持中文触发:若依框架、RuoYi、SpringBoot后台、权限配置。
4
- license: MIT
5
- compatibility: 若依框架项目
6
- metadata:
7
- author: "neuqik@hotmail.com"
8
- version: "3.0"
9
- triggers:
10
- - "/ruoyi" | "/若依"
11
- - "若依框架" | "RuoYi" | "权限配置" | "菜单路由"
12
- - "@PreAuthorize" | "@DataScope" | "sys_menu"
13
- - "代码生成器" | "代码生成" | "权限校验"
3
+ description: "RuoYi framework development expert proficient in project scaffolding, code generation, and architecture optimization. Invoke when users work on RuoYi framework. 支持中文触发:若依框架、RuoYi、SpringBoot后台、权限配置。"
14
4
  ---
15
5
 
16
6
  # 若依框架开发专家
@@ -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 前端开发专家。当项目涉及 Vue 3 Composition APIPinia 状态管理、Vue Router 4Element Plus 组件库时自动触发。支持中文触发:Vue组件、页面开发、前端问题、组件封装、表单校验。"
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,11 +1,6 @@
1
1
  ---
2
2
  name: testcase-agent
3
- description: "自动化测试执行专家 - 读取YAML测试用例,通过Chrome DevTools MCP执行E2E测试,生成专业HTML报告。当用户需要执行测试、运行测试、回放测试时调用此技能。支持中文触发:执行测试、运行测试、回放测试、跑一下这个yaml、重放刚才的测试、开始自动化、执行测试用例、运行yaml文件、单步调试、带截图执行、生成测试报告、批量执行测试、并行测试、E2E执行、浏览器自动化执行。"
4
- license: MIT
5
- metadata:
6
- author: "PDD Team"
7
- version: "1.0.1"
8
- lastUpdated: "2026-05-08"
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. 支持中文触发:执行测试、运行测试、回放测试。"
9
4
  ---
10
5
 
11
6
  # Testcase Agent Skill - 自动化测试执行专家
@@ -1,11 +1,6 @@
1
1
  ---
2
2
  name: testcase-modeler
3
- description: "测试用例建模师 - 将自然语言描述或页面操作录制转换为结构化YAML测试用例。当用户需要生成测试用例、录制操作流程、创建E2E测试时调用此技能。支持中文触发:写个测试用例、生成测试用例、帮我录个操作、录制测试流程、把这个操作记下来、测试一下功能、帮我验证流程、零基础写测试、自然语言转测试、回归测试、冒烟测试、UI自动化、E2E自动化、验收测试、场景测试、浏览器测试。"
4
- license: MIT
5
- metadata:
6
- author: "PDD Team"
7
- version: "2.0.1"
8
- lastUpdated: "2026-05-20"
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用例、测试用例设计。"
9
4
  ---
10
5
 
11
6
  # Testcase Modeler Skill - 测试用例建模师