@sokeai/cli 1.0.66 → 1.0.67

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.
Files changed (86) hide show
  1. package/README.md +35 -0
  2. package/package.json +1 -1
  3. package/scripts/build-binaries.sh +10 -1
  4. package/skills/README.md +2 -0
  5. package/skills/SKILL.md +33 -1
  6. package/skills/ai-coach-director/.learnings/LEARNINGS.md +71 -0
  7. package/skills/ai-coach-director/SKILL.md +1229 -0
  8. package/skills/ai-coach-director/assets/ERRORS-TEMPLATE.md +5 -0
  9. package/skills/ai-coach-director/assets/FEATURE_REQUESTS-TEMPLATE.md +5 -0
  10. package/skills/ai-coach-director/assets/LEARNINGS-TEMPLATE.md +45 -0
  11. package/skills/ai-coach-director/assets/SKILL-TEMPLATE.md +177 -0
  12. package/skills/ai-coach-director/coaching/prompt-engineer/parts/part1-basic.md +59 -0
  13. package/skills/ai-coach-director/coaching/prompt-engineer/parts/part2-roles.md +317 -0
  14. package/skills/ai-coach-director/coaching/prompt-engineer/parts/part3-flow.md +72 -0
  15. package/skills/ai-coach-director/coaching/prompt-engineer/parts/part4-scoring.md +87 -0
  16. package/skills/ai-coach-director/coaching/prompt-engineer/parts/part5-constraints.md +48 -0
  17. package/skills/ai-coach-director/coaching/prompt-engineer/prompt-engineer.md +217 -0
  18. package/skills/ai-coach-director/coaching/prompt-optimizer/prompt-optimizer.md +362 -0
  19. package/skills/ai-coach-director/coaching/role-profiler/role-profiler.md +87 -0
  20. package/skills/ai-coach-director/platform/interaction.md +312 -0
  21. package/skills/ai-coach-director/platform/soke-ai-training/soke-ai-training.md +93 -0
  22. package/skills/ai-coach-director/platform/sync-engine.md +974 -0
  23. package/skills/ai-coach-director/references/cases/AI/345/256/242/346/210/267/350/247/222/350/211/262/346/250/241/346/235/277/345/272/223.md +265 -0
  24. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203Bad Case/346/240/267/346/234/254/345/272/223.md" +206 -0
  25. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/345/210/233/345/273/272/351/227/256/351/242/230/345/272/223.md +666 -0
  26. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/345/234/272/346/231/257/345/210/206/347/261/273/345/272/223.md +213 -0
  27. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/345/256/242/346/210/267/346/235/220/346/226/231/346/270/205/345/215/225/344/270/216/350/256/277/350/260/210/351/242/230/345/272/223.md +229 -0
  28. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/345/276/256/350/260/203/351/227/256/351/242/230/345/272/223.md +833 -0
  29. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/346/212/200/346/234/257/350/276/271/347/225/214/344/270/216/346/216/222/351/232/234/345/272/223.md +239 -0
  30. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/346/217/220/347/244/272/350/257/215/346/250/241/345/235/227/345/272/223.md +249 -0
  31. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/346/225/260/346/215/256/346/214/207/346/240/207/344/270/216/347/234/213/346/235/277/345/217/243/345/276/204/345/272/223.md +282 -0
  32. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/346/265/213/350/257/225/347/224/250/344/276/213/345/272/223.md +254 -0
  33. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/350/257/204/345/210/206/346/240/207/345/207/206/347/273/204/344/273/266/345/272/223.md +264 -0
  34. package/skills/ai-coach-director/references/cases/AI/351/231/252/347/273/203/351/241/271/347/233/256/346/241/210/344/276/213/345/244/215/347/233/230/345/272/223.md +223 -0
  35. package/skills/ai-coach-director/references/cases/AI/351/241/276/345/256/242/350/247/222/350/211/262/346/250/241/346/213/237_GoodCase_BadCase_20260701.md +304 -0
  36. package/skills/ai-coach-director/references/cases/create//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/224/265/350/257/235/347/272/246/350/256/277//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/345/256/242/346/210/267/346/235/220/346/226/231/346/261/207/346/200/273_2026-05-19_1341.md +42 -0
  37. package/skills/ai-coach-director/references/cases/create//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/224/265/350/257/235/347/272/246/350/256/277//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/224/265/350/257/235/347/272/246/350/256/277_/346/240/207/345/207/206/347/237/245/350/257/206/345/272/223.md +199 -0
  38. package/skills/ai-coach-director/references/cases/create//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/224/265/350/257/235/347/272/246/350/256/277//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/224/265/350/257/235/347/272/246/350/256/277/347/237/245/350/257/206/345/272/223.md +388 -0
  39. package/skills/ai-coach-director/references/cases/create//346/226/260/350/203/275/346/272/220/350/275/246/344/270/273/350/264/267//346/226/260/350/203/275/346/272/220/350/275/246/344/270/273/350/264/267/347/237/245/350/257/206/345/272/223/347/224/237/346/210/220_20260615.md +23 -0
  40. package/skills/ai-coach-director/references/cases/create//346/226/260/350/203/275/346/272/220/350/275/246/344/270/273/350/264/267//346/226/260/350/203/275/346/272/220/350/275/246/344/270/273/350/264/267/351/231/252/347/273/203/346/217/220/347/244/272/350/257/215/347/224/237/346/210/220_20260615.md +34 -0
  41. package/skills/ai-coach-director/references/cases/create//346/237/220/345/233/275/351/231/205/346/243/200/346/265/213/346/234/272/346/236/204/tuv-knowledge-base.md +125 -0
  42. package/skills/ai-coach-director/references/cases/create//346/237/220/345/233/275/351/231/205/346/243/200/346/265/213/346/234/272/346/236/204/tuv-p03-first-call-scenario-prompt.md +428 -0
  43. package/skills/ai-coach-director/references/cases/create//346/237/220/345/233/275/351/231/205/346/243/200/346/265/213/346/234/272/346/236/204//346/237/220/345/233/275/351/231/205/346/243/200/346/265/213/346/234/272/346/236/204P03/351/231/252/347/273/203/346/211/247/350/241/214/346/226/271/346/241/210_20260610.md +225 -0
  44. package/skills/ai-coach-director/references/cases/create//346/237/220/345/233/275/351/231/205/346/243/200/346/265/213/346/234/272/346/236/204//346/237/220/345/233/275/351/231/205/346/243/200/346/265/213/346/234/272/346/236/204/351/231/252/347/273/203/346/211/247/350/241/214/346/226/271/346/241/210/344/272/244/344/273/230/350/256/260/345/275/225_20260610.md +26 -0
  45. package/skills/ai-coach-director/references/cases/create//346/237/220/345/234/260/346/226/271/351/223/266/350/241/214//346/237/220/345/234/260/346/226/271/351/223/266/350/241/214/345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/224/265/350/257/235/347/272/246/350/256/277AI/351/231/252/347/273/203/346/265/213/350/257/225/347/224/250/344/276/213/345/220/210/351/233/206.md +525 -0
  46. package/skills/ai-coach-director/references/cases/create//347/211/251/346/265/201/350/241/214/344/270/232//347/211/251/346/265/201/350/241/214/344/270/232-/345/210/235/346/254/241/346/213/234/350/256/277/351/246/231/347/262/276/351/246/231/346/226/231/345/256/242/346/210/267.md +146 -0
  47. package/skills/ai-coach-director/references/cases/create//351/205/222/345/272/227/351/244/220/351/245/256//351/205/222/345/272/227/351/244/220/351/245/256AI/351/231/252/347/273/203_/346/240/207/346/235/2061_/346/226/260/345/223/201/346/216/250/351/224/200_20260701.md +230 -0
  48. package/skills/ai-coach-director/references/cases/create//351/205/222/345/272/227/351/244/220/351/245/256//351/205/222/345/272/227/351/244/220/351/245/256AI/351/231/252/347/273/203_/346/240/207/346/235/2062_/345/202/254/350/217/234/345/256/211/346/212/232_20260701.md +257 -0
  49. package/skills/ai-coach-director/references/cases/create//351/205/222/345/272/227/351/244/220/351/245/256//351/205/222/345/272/227/351/244/220/351/245/256AI/351/231/252/347/273/203_/346/240/207/346/235/2063_/345/267/256/350/257/204/345/233/236/350/256/277_20260701.md +259 -0
  50. package/skills/ai-coach-director/references/cases/create//351/205/222/345/272/227/351/244/220/351/245/256//351/205/222/345/272/227/351/244/220/351/245/256AI/351/231/252/347/273/203/345/234/272/346/231/257/346/226/271/346/241/210_20260701.md +452 -0
  51. package/skills/ai-coach-director/references/cases/create//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206_/345/256/242/346/210/267/347/241/256/350/256/244/345/217/215/351/246/210/350/241/250.md +133 -0
  52. package/skills/ai-coach-director/references/cases/create//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206_/346/217/220/347/244/272/350/257/215/346/220/255/345/273/272_20260622.md +30 -0
  53. package/skills/ai-coach-director/references/cases/create//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206_/351/231/252/347/273/203/346/217/220/347/244/272/350/257/215_v1.md +333 -0
  54. package/skills/ai-coach-director/references/cases/create//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206//351/231/214/346/213/234/344/277/241/346/201/257/346/224/266/351/233/206_/351/231/252/347/273/203/346/217/220/347/244/272/350/257/215_v2_Part1-Part5.md +649 -0
  55. package/skills/ai-coach-director/references/cases/micro-tune//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/347/263/273/345/210/227//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/346/217/220/347/244/272/350/257/215_/344/274/230/345/214/226/347/211/210_V1.1_20260616.md +262 -0
  56. package/skills/ai-coach-director/references/cases/micro-tune//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/347/263/273/345/210/227//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/346/217/220/347/244/272/350/257/215_/344/274/230/345/214/226/347/211/210_V1.2_20260616.md +254 -0
  57. package/skills/ai-coach-director/references/cases/micro-tune//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/347/263/273/345/210/227//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/346/217/220/347/244/272/350/257/215_/345/216/213/347/274/251/347/211/210_V2.0_20260616.md +96 -0
  58. package/skills/ai-coach-director/references/cases/micro-tune//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/347/263/273/345/210/227//344/274/201/344/270/232/345/256/266/347/216/213/346/200/273/346/217/220/347/244/272/350/257/215/344/274/230/345/214/226_20260616.md +20 -0
  59. package/skills/ai-coach-director/references/cases/micro-tune//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/263/273/345/210/227//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277AI/351/231/252/347/273/203/347/263/273/347/273/237_/346/265/213/350/257/225/345/217/215/351/246/210/346/261/207/346/200/273_2026-06-01.md +434 -0
  60. package/skills/ai-coach-director/references/cases/micro-tune//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/263/273/345/210/227//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277KYC/344/277/241/344/273/273/345/200/274/347/246/201/344/273/244_2026-06-09_0932.md +22 -0
  61. package/skills/ai-coach-director/references/cases/micro-tune//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/263/273/345/210/227//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277KYC/346/217/220/347/244/272/350/257/215_/344/274/230/345/214/226/347/211/210_v2_20260608.md +261 -0
  62. package/skills/ai-coach-director/references/cases/micro-tune//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/263/273/345/210/227//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/346/217/220/347/244/272/350/257/215_/344/274/230/345/214/226/347/211/210_v1.1.md +277 -0
  63. package/skills/ai-coach-director/references/cases/micro-tune//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/263/273/345/210/227//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/346/217/220/347/244/272/350/257/215_/344/274/230/345/214/226/347/211/210_v1.2.md +354 -0
  64. package/skills/ai-coach-director/references/cases/micro-tune//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/347/263/273/345/210/227//345/206/234/346/210/267/345/274/240/350/200/201/346/235/277/346/217/220/347/244/272/350/257/215/344/274/230/345/214/226_V2_/350/257/212/346/226/255/344/272/244/344/273/230_20260609.md +26 -0
  65. package/skills/ai-coach-director/references/cases//345/233/233/345/244/247/345/234/272/346/231/257_GoodCase_BadCase_20260701.md +194 -0
  66. package/skills/ai-coach-director/references/cases//346/241/210/344/276/213/345/272/223/350/241/245/345/205/205_2026-06-24.md +41 -0
  67. package/skills/ai-coach-director/references/change-log-partwise-refactor.md +74 -0
  68. package/skills/ai-coach-director/references/env-check.md +132 -0
  69. package/skills/ai-coach-director/references/platform-api-pitfalls.md +218 -0
  70. package/skills/ai-coach-director/references/role-resource-matching.md +312 -0
  71. package/skills/ai-coach-director/references/self-improvement-examples.md +374 -0
  72. package/skills/ai-coach-director/references/verified-cli-cheatsheet.md +189 -0
  73. package/skills/ai-coach-director/scripts/activator.sh +4 -0
  74. package/skills/ai-coach-director/scripts/error-detector.sh +4 -0
  75. package/skills/ai-coach-director/scripts/extract-skill.sh +7 -0
  76. package/skills/soke-cli/345/256/211/350/243/205/346/214/207/345/215/227.md +3 -3
  77. package/skills/soke-course/SKILL.md +1 -1
  78. package/skills/soke-course/soke-cli/345/256/211/350/243/205/346/214/207/345/215/227.md +3 -3
  79. package/skills/soke-exam/SKILL.md +1 -1
  80. package/skills/soke-examPool/SKILL.md +124 -0
  81. package/skills/soke-learning-map/SKILL.md +1 -1
  82. package/skills/soke-learning-map/soke-cli/345/256/211/350/243/205/346/214/207/345/215/227.md +3 -3
  83. package/skills/soke-learning-profile/SKILL.md +1 -1
  84. package/skills/soke-photo-gallery/SKILL.md +1 -1
  85. package/skills/soke-shared/SKILL.md +1 -0
  86. package/skills/soke-training-demand/SKILL.md +112 -0
package/README.md CHANGED
@@ -166,6 +166,41 @@ soke-cli api POST /some/endpoint --data '{"key": "value"}'
166
166
 
167
167
  ## 开发指南
168
168
 
169
+ ### 环境配置
170
+
171
+ 项目根目录下维护两份应用配置,环境标志与文件对应关系如下:
172
+
173
+ - `pro`:正式环境,读取 `app.pro.yaml`
174
+ - `pre`:预发/测试环境,读取 `app.pre.yaml`
175
+
176
+ 本地调试默认读取正式环境配置:
177
+
178
+ ```bash
179
+ go run main.go
180
+ ```
181
+
182
+ 也可以显式指定正式环境。`pro` 是项目内正式环境标志:
183
+
184
+ ```bash
185
+ SOKE_ENV=pro go run main.go
186
+ ```
187
+
188
+ 如需本地调试预发环境,通过 `SOKE_ENV=pre` 指定:
189
+
190
+ ```bash
191
+ SOKE_ENV=pre go run main.go
192
+ ```
193
+
194
+ 也可以直接指定配置文件路径:
195
+
196
+ ```bash
197
+ SOKE_APP_CONFIG=app.pre.yaml go run main.go
198
+ ```
199
+
200
+ 正式发版请使用 `scripts/build-binaries.sh`。该脚本固定读取 `app.pro.yaml`,并把正式配置注入到发布二进制中,避免发布时误用预发配置。
201
+
202
+ 更多说明见:[环境配置说明](docs/ENVIRONMENT_CONFIG.md)。
203
+
169
204
  ### 从接口封装到发布的完整流程
170
205
 
171
206
  #### 1️⃣ 接口封装为 CLI 命令
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sokeai/cli",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "授客AI官方CLI工具 - 支持AI Agent Skills",
5
5
  "bin": {
6
6
  "soke-cli": "scripts/run.js"
@@ -15,8 +15,17 @@ NC='\033[0m' # No Color
15
15
  VERSION=$(node -p "require('./package.json').version")
16
16
  echo -e "${GREEN}开始编译 soke-cli v${VERSION}${NC}"
17
17
 
18
+ # 正式发版固定使用正式环境配置
19
+ CONFIG_FILE="app.pro.yaml"
20
+ if [ ! -f "${CONFIG_FILE}" ]; then
21
+ echo -e "${RED}错误: 配置文件不存在: ${CONFIG_FILE}${NC}"
22
+ exit 1
23
+ fi
24
+ CONFIG_BASE64=$(base64 < "${CONFIG_FILE}" | tr -d '\n')
25
+ echo -e "${YELLOW}使用配置文件: ${CONFIG_FILE}${NC}"
26
+
18
27
  # 编译参数
19
- LDFLAGS="-s -w -X codeup.aliyun.com/5edbc121d1d1abe63b55f1c7/soke/soke-cli/internal/version.Version=${VERSION}"
28
+ LDFLAGS="-s -w -X codeup.aliyun.com/5edbc121d1d1abe63b55f1c7/soke/soke-cli/internal/version.Version=${VERSION} -X codeup.aliyun.com/5edbc121d1d1abe63b55f1c7/soke/soke-cli/internal/core.EmbeddedConfigBase64=${CONFIG_BASE64}"
20
29
 
21
30
  # 创建输出目录
22
31
  BIN_DIR="bin"
package/skills/README.md CHANGED
@@ -36,6 +36,7 @@ npx skills add <org>/soke-cli --skill soke-exam -y -g
36
36
  # 复制到全局skills目录
37
37
  cp -r skills/soke-shared ~/.claude/skills/
38
38
  cp -r skills/soke-exam ~/.claude/skills/
39
+ cp -r skills/soke-training-demand ~/.claude/skills/
39
40
 
40
41
  # 或复制到项目级skills目录
41
42
  mkdir -p .claude/skills
@@ -171,6 +172,7 @@ cp -r skills/soke-<module> ~/.claude/skills/
171
172
  - `soke-course` - 课程管理
172
173
  - `soke-contact` - 组织架构(部门、用户、讲师)
173
174
  - `soke-training` - 培训管理
175
+ - `soke-training-demand` - 培训需求收集
174
176
  - `soke-credit` - 学分管理
175
177
  - `soke-certificate` - 证书管理
176
178
  - 等等...
package/skills/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: soke-cli
3
3
  summary: 授客AI CLI 全套 Skills 索引 — 安装指南与各业务模块能力总览
4
4
  version: 1.0.0
5
- description: "授客AI CLI(soke-cli)Skills 总索引:包含安装配置、认证登录,以及课程、考试、素材、课件、指派、学习地图、学习档案等全业务模块的 AI 快捷命令。当用户需要了解授客AI CLI 有哪些能力、从零开始使用、或不确定该调用哪个 skill 时使用。"
5
+ description: "授客AI CLI(soke-cli)Skills 总索引:包含安装配置、认证登录,以及课程、考试、素材、课件、指派、学习地图、学习档案等全业务模块的 AI 快捷命令。当用户需要了解授客AI CLI 有哪些能力、从零开始使用、或不确定该调用哪个 skill 时使用。 | Soke AI CLI (soke-cli) skills master index: covers installation, configuration, authentication, and AI shortcut commands for all business modules including courses, exams, materials, lessons, assignments, learning maps, and learning records. Use when users need to understand what capabilities Soke AI CLI offers, get started from scratch, or are unsure which skill to invoke."
6
6
  metadata:
7
7
  requires:
8
8
  bins: ["soke-cli"]
@@ -70,6 +70,21 @@ metadata:
70
70
 
71
71
  ---
72
72
 
73
+ ### soke-examPool — 可练习题库查询
74
+
75
+ **路径**: [soke-examPool/SKILL.md](./soke-examPool/SKILL.md)
76
+
77
+ 按 `examQuestionPool` 接口链路查询可练习题库,严格遵循“题库列表 -> 题库详情 -> 题目列表”的参数依赖。
78
+
79
+ **核心能力**:
80
+ - 查询可练习题库列表,获取后续依赖的 `uuid`
81
+ - 用同一个 `pool-id` 查询题库详情和题目列表
82
+ - 查看题目选项、答案、解析和当前用户题库状态
83
+
84
+ **关键细节**: `page`、`page-size`、`status` 只用于列表接口;详情和题目接口只传 `pool-id`。
85
+
86
+ ---
87
+
73
88
  ### soke-assign — 指派管理
74
89
 
75
90
  **路径**: [soke-assign/SKILL.md](./soke-assign/SKILL.md)
@@ -158,6 +173,19 @@ metadata:
158
173
 
159
174
  ---
160
175
 
176
+ ### soke-training-demand — 培训需求收集
177
+
178
+ **路径**: [soke-training-demand/SKILL.md](./soke-training-demand/SKILL.md)
179
+
180
+ 查询培训需求列表和分类,提交新的培训需求,并给已有培训需求投票。
181
+
182
+ **核心能力**:
183
+ - 查询需求列表,获取投票所需的需求 `uuid`
184
+ - 查询需求分类,获取创建所需的分类 `uuid` 和 `title`
185
+ - 提交培训需求、给需求投票
186
+
187
+ ---
188
+
161
189
  ## Skills 依赖关系
162
190
 
163
191
  ```
@@ -166,11 +194,13 @@ soke-cli安装指南.md (所有 skill 的前置条件)
166
194
  └── soke-shared (认证/配置/权限基础)
167
195
 
168
196
  ├── soke-exam
197
+ ├── soke-examPool
169
198
  ├── soke-assign
170
199
  ├── soke-learning-profile
171
200
  ├── soke-material
172
201
  ├── soke-lesson
173
202
  ├── soke-learning-map ──→ soke-assign
203
+ ├── soke-training-demand
174
204
  ├── soke-photo-gallery
175
205
  └── soke-course ──→ soke-material
176
206
  ──→ soke-lesson
@@ -189,7 +219,9 @@ soke-cli安装指南.md (所有 skill 的前置条件)
189
219
  | 上传视频/音频/文档素材 | [soke-material](./soke-material/SKILL.md) |
190
220
  | 创建/管理课件 | [soke-lesson](./soke-lesson/SKILL.md) |
191
221
  | 创建/发布/查询考试、题库、试卷 | [soke-exam](./soke-exam/SKILL.md) |
222
+ | 查询可练习题库详情和题目列表 | [soke-examPool](./soke-examPool/SKILL.md) |
192
223
  | 将课程/考试/地图指派给部门或用户 | [soke-assign](./soke-assign/SKILL.md) |
193
224
  | 创建/发布/查询学习地图 | [soke-learning-map](./soke-learning-map/SKILL.md) |
194
225
  | 查询学员学习档案/统计数据 | [soke-learning-profile](./soke-learning-profile/SKILL.md) |
195
226
  | 上传/查询/删除图片库图片 | [soke-photo-gallery](./soke-photo-gallery/SKILL.md) |
227
+ | 提交培训需求/需求投票/查询需求分类 | [soke-training-demand](./soke-training-demand/SKILL.md) |
@@ -0,0 +1,71 @@
1
+ # AI 陪练 - 学习日志
2
+
3
+ 修正、洞察、知识缺口、最佳实践。
4
+
5
+ **类别**: correction | insight | knowledge_gap | best_practice
6
+
7
+ ---
8
+
9
+ ## [LRN-20260720-001] correction
10
+
11
+ **Logged**: 2026-07-20T09:55:00+08:00
12
+ **Priority**: high
13
+ **Status**: promoted
14
+ **Area**: coaching/role, quality-gate
15
+
16
+ ### Summary
17
+ Part2 background 字段在 JSON 生成阶段有时未完整复制四段深度画像——展示时有全文但 JSON 中被截断/缩略。
18
+
19
+ ### Details
20
+ 用户反馈:part2-operations.json 中的 background 内容有时没有完整复制角色背景中的内容。
21
+ 根因分析:prompt-engineer 的 Step 2 第 94-95 行已有 background 逐字比对闸门,但 ai-coach-director 的协议自检清单和专项约束中没有同步体现这个检查。director 调度时流程摘要里缺少此闸门的显式标注,导致执行时容易跳过。
22
+
23
+ ### Suggested Action
24
+ 1. ai-coach-director 协议阶段 1 自检清单新增:`☐ Part2 每个角色的 background 四段深度画像均已逐段完整展示,无缩略`
25
+ 2. 专项约束 #3 强化:添加「JSON 写入后、preview 前强制闸门」——逐字比对 background 与展示文本 + 四维完整性检查
26
+ 3. 流水线执行 Part2 行增加:`⚠️ background 逐字比对闸门(JSON vs 展示文本)` 作为 preview 前的显式步骤
27
+
28
+ ### Metadata
29
+ - Source: user_feedback
30
+ - Related Files: ai-coach-director/SKILL.md, coaching/prompt-engineer/prompt-engineer.md, platform/sync-engine.md
31
+ - Tags: background, part2, json-generation, truncation
32
+ - Pattern-Key: background-truncation
33
+ - Recurrence-Count: 1
34
+ - First-Seen: 2026-07-20
35
+ - Last-Seen: 2026-07-20
36
+
37
+ **Promoted**: ai-coach-director/SKILL.md
38
+
39
+ ---
40
+
41
+ ## [LRN-20260720-002] correction
42
+
43
+ **Logged**: 2026-07-20T10:26:00+08:00
44
+ **Priority**: high
45
+ **Status**: promoted
46
+ **Area**: coaching/role, platform/sync
47
+
48
+ ### Summary
49
+ Part2 apply 后验收规则太弱——只检查字段非空,不检查内容一致性,导致同步失败或部分字段丢失时无法发现。
50
+
51
+ ### Details
52
+ 用户反馈:part2-operations.json 中的内容没有同步到平台。
53
+ 根因分析:sync-engine.md 和 ai-coach-director 的 apply 后验收只做了存在性检查(非空/name不为"角色数据异常"),没有做内容一致性检查。如果平台 API 静默丢弃或截断某个字段(如 description/communication_style/background),当前验收逻辑无法发现。apply 返回 200 但实际平台数据不完整——典型的"假成功"场景。
54
+
55
+ ### Suggested Action
56
+ 1. sync-engine.md apply 后验证从 2 项扩展为 5 项逐字段内容对比验收
57
+ 2. ai-coach-director 专项约束 #4 从简单验收升级为逐字段验收 + 同步失败禁止进入 Part3
58
+ 3. 流水线执行 Part2 行增加 apply 后逐字段验收显式步骤
59
+
60
+ ### Metadata
61
+ - Source: user_feedback
62
+ - Related Files: ai-coach-director/SKILL.md, platform/sync-engine.md
63
+ - Tags: part2, sync-failure, verification, silent-failure, field-loss
64
+ - Pattern-Key: part2-sync-verification
65
+ - Recurrence-Count: 1
66
+ - First-Seen: 2026-07-20
67
+ - Last-Seen: 2026-07-20
68
+
69
+ **Promoted**: ai-coach-director/SKILL.md, platform/sync-engine.md
70
+
71
+ ---