@hupan56/wlkj 2.4.7 → 2.4.8

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": "@hupan56/wlkj",
3
- "version": "2.4.7",
3
+ "version": "2.4.8",
4
4
  "description": "AI Product R&D Workflow - PRD/Prototype/Search/Task/Report",
5
5
  "bin": {
6
6
  "wlkj": "bin/cli.js"
@@ -37,18 +37,21 @@ WAIT for the answer. Platform determines everything downstream:
37
37
 
38
38
  | 用户怎么说 | 模式 | 做什么 | 出 PRD? | 出原型? |
39
39
  |-----------|------|--------|---------|---------|
40
- | `/wl-prd discuss <需求>` 或 "探讨""聊聊" | **Discuss** 探讨模式 | 纯讨论:理需求、拆问题、给方案建议 | ❌ | ❌ |
41
- | `/wl-prd <需求>`(默认)或 `/wl-prd reference <需求>` | **Reference** 参考模式 | 参考现有代码+历史PRD,出标准PRD+原型 | ✅ | ✅ |
42
- | `/wl-prd brainstorm <需求>` 或 "头脑风暴" | **Brainstorm** 头脑风暴 | SCAMPER+多agent调研,产出创新方案→PRD+原型 | ✅ | ✅ |
43
- | `/wl-prd plan <需求>` 或 "规划" | **Planning** 规划模式 | 现状分析+理想态+Gap+MVP路线图→PRD+原型 | ✅ | ✅ |
44
- | `/wl-prd quick <需求>` "快速""加个字段" | **Quick** 快速模式 | 快速定位+Mini-PRD+微型原型(只改diff) | ✅ | ✅ |
45
-
46
- ### 模式路由规则(程序级优先)
47
-
48
- 1. **显式参数优先**:用户输 `/wl-prd quick XX` → 强制 Quick 模式,不推断
49
- 2. **关键词推断**:用户自然语言带"探讨/聊聊/快速/头脑风暴/规划" → 匹配对应模式
50
- 3. **默认**:不带关键词 → Reference(参考模式)
51
- 4. **兜底**:≥2 模式都沾边 **先问用户**,不要猜
40
+ | `/wl-prd discuss <需求>` 或 "探讨""聊聊""分析一下" | **Discuss** 探讨模式 | 纯讨论:理需求、拆问题、给方案建议,不出文件 | ❌ | ❌ |
41
+ | `/wl-prd <需求>`(默认) | **Reference** 参考模式 | 参考现有代码+历史PRD,出标准PRD+原型 | ✅ | ✅ |
42
+ | `/wl-prd quick <需求>` 或 "快速""加个字段""小改动" | **Quick** 快速模式 | 快速定位+Mini-PRD+微型原型(只改diff),跳过EVA | ✅ | ✅ |
43
+
44
+ > **精简为 3 个模式**(原 Brainstorm/Planning 已合并进 Reference):
45
+ > - 需要**创新/头脑风暴**?Reference 模式里先说"帮我从不同角度分析",AI 会做 SCAMPER
46
+ > - 需要**规划/Gap 分析**?Reference 模式里先说"先分析现状和差距",AI 会做 Gap 分析
47
+ > - 这两种场景都是"先分析再生成 PRD",不需要单独模式
48
+
49
+ ### 模式路由规则
50
+
51
+ 1. **显式参数优先**:`/wl-prd quick XX` 或 `/wl-prd discuss XX`
52
+ 2. **关键词推断**:自然语言带"探讨/快速" → 匹配
53
+ 3. **默认**:不带关键词 → Reference
54
+ 4. **兜底**:不确定 → 先问用户
52
55
 
53
56
  ### 什么时候用哪个模式?
54
57
 
@@ -38,18 +38,17 @@ trigger: "用户描述需求、要 PRD、要原型、要 mockup,或直接 /wl-
38
38
  - `.qoder/.current-task` — 当前活动任务
39
39
  - `data/index/.index-meta.json` — 知识图谱新鲜度(过期提示先 `/wl-init`,不阻塞)
40
40
 
41
- ## 五种模式(看用户怎么说自动选)
41
+ ## 三种模式(精简版)
42
42
 
43
43
  | 用户怎么说 | 模式 | 出PRD? | 出原型? |
44
44
  |-----------|------|---------|---------|
45
45
  | 直接说需求(默认) | Reference 参考 | ✅ | ✅ |
46
46
  | "探讨""聊聊""分析一下""不知道怎么做" | **Discuss 探讨** | ❌ | ❌ |
47
- | "头脑风暴""brainstorm" | Brainstorm 头脑风暴 | ✅ | ✅ |
48
- | "规划""plan" | Planning 规划 | ✅ | ✅ |
49
- | "快速""quick""加个字段" | Quick 快速 | ✅ | ✅ |
47
+ | "快速""quick""加个字段""小改动" | Quick 快速 | ✅ | ✅ |
50
48
 
51
- > **探讨模式**:纯讨论,理需求、拆问题、给方向建议。不出文件。
52
- > 讨论完用户说"出PRD"→ 自动转参考模式。
49
+ > **只有 3 个模式**。需要头脑风暴?Reference 里说"从不同角度分析"。
50
+ > 需要规划?Reference 里说"先分析现状和差距"。都是"先分析再生成",不需要单独模式。
51
+ > **探讨模式**:纯讨论,不出文件。聊完用户说"出PRD"→ 自动转参考模式。
53
52
 
54
53
  ## 完整流程(Reference/Brainstorm/Planning/Quick 模式)
55
54