novelws 3.0.0 → 4.0.0

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 (237) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/README.md +94 -66
  3. package/dist/commands/init.d.ts.map +1 -1
  4. package/dist/commands/init.js +35 -33
  5. package/dist/commands/init.js.map +1 -1
  6. package/dist/commands/upgrade.d.ts.map +1 -1
  7. package/dist/commands/upgrade.js +63 -6
  8. package/dist/commands/upgrade.js.map +1 -1
  9. package/dist/core/config.d.ts +22 -15
  10. package/dist/core/config.d.ts.map +1 -1
  11. package/dist/core/config.js +28 -16
  12. package/dist/core/config.js.map +1 -1
  13. package/dist/core/errors.d.ts +16 -0
  14. package/dist/core/errors.d.ts.map +1 -1
  15. package/dist/core/errors.js +26 -0
  16. package/dist/core/errors.js.map +1 -1
  17. package/dist/utils/diagnostics.d.ts +64 -0
  18. package/dist/utils/diagnostics.d.ts.map +1 -0
  19. package/dist/utils/diagnostics.js +227 -0
  20. package/dist/utils/diagnostics.js.map +1 -0
  21. package/package.json +1 -1
  22. package/templates/commands/analyze.md +27 -110
  23. package/templates/commands/character.md +32 -180
  24. package/templates/commands/checklist.md +27 -27
  25. package/templates/commands/clarify.md +2 -2
  26. package/templates/commands/constitution.md +8 -8
  27. package/templates/commands/expert.md +3 -3
  28. package/templates/commands/facts.md +9 -9
  29. package/templates/commands/guide.md +129 -19
  30. package/templates/commands/help-me.md +221 -0
  31. package/templates/commands/plan.md +27 -26
  32. package/templates/commands/recap.md +16 -16
  33. package/templates/commands/relations.md +13 -13
  34. package/templates/commands/revise.md +16 -15
  35. package/templates/commands/search.md +11 -10
  36. package/templates/commands/specify.md +4 -4
  37. package/templates/commands/tasks.md +9 -9
  38. package/templates/commands/timeline.md +13 -13
  39. package/templates/commands/track-init.md +8 -8
  40. package/templates/commands/track.md +177 -552
  41. package/templates/commands/volume-summary.md +6 -6
  42. package/templates/commands/write.md +148 -38
  43. package/templates/dot-claude/CLAUDE.md +5 -5
  44. package/templates/{config → resources/config}/keyword-mappings.json +19 -19
  45. package/templates/resources/genres/horror.md +211 -0
  46. package/templates/resources/genres/military.md +209 -0
  47. package/templates/resources/genres/sports.md +216 -0
  48. package/templates/resources/genres/workplace.md +214 -0
  49. package/templates/resources/genres/youth.md +219 -0
  50. package/templates/{knowledge-base/requirements/anti-ai-v4.md → resources/requirements/anti-ai-v4-deprecated.md} +13 -1
  51. package/templates/resources/requirements/anti-ai-v5-balanced.md +203 -0
  52. package/templates/{scripts → resources/scripts}/README.md +8 -8
  53. package/templates/{scripts → resources/scripts}/bash/analyze-story.sh +1 -1
  54. package/templates/resources/scripts/bash/check-analyze-stage.sh +108 -0
  55. package/templates/{scripts → resources/scripts}/bash/check-consistency.sh +7 -7
  56. package/templates/{scripts → resources/scripts}/bash/check-facts.sh +1 -1
  57. package/templates/{scripts → resources/scripts}/bash/check-plot.sh +2 -2
  58. package/templates/{scripts → resources/scripts}/bash/check-timeline.sh +3 -3
  59. package/templates/{scripts → resources/scripts}/bash/check-world.sh +5 -5
  60. package/templates/{scripts → resources/scripts}/bash/check-writing-state.sh +26 -26
  61. package/templates/{scripts → resources/scripts}/bash/common.sh +3 -3
  62. package/templates/{scripts → resources/scripts}/bash/constitution.sh +1 -1
  63. package/templates/{scripts → resources/scripts}/bash/init-tracking.sh +13 -13
  64. package/templates/{scripts → resources/scripts}/bash/manage-relations.sh +10 -10
  65. package/templates/resources/scripts/bash/migrate-tracking.sh +183 -0
  66. package/templates/{scripts → resources/scripts}/bash/plan-story.sh +2 -2
  67. package/templates/{scripts → resources/scripts}/bash/specify-story.sh +1 -1
  68. package/templates/{scripts → resources/scripts}/bash/tasks-story.sh +2 -2
  69. package/templates/{scripts → resources/scripts}/bash/tests/bench-preload-cache.sh +3 -3
  70. package/templates/{scripts → resources/scripts}/bash/tests/test-cross-platform.sh +1 -1
  71. package/templates/{scripts → resources/scripts}/bash/tests/test-preload-cache.sh +1 -1
  72. package/templates/{scripts → resources/scripts}/bash/tests/test-regex-precompile.sh +4 -4
  73. package/templates/{scripts → resources/scripts}/bash/text-audit.sh +3 -3
  74. package/templates/{scripts → resources/scripts}/bash/track-progress.sh +5 -5
  75. package/templates/{scripts → resources/scripts}/powershell/analyze-story.ps1 +1 -1
  76. package/templates/{scripts → resources/scripts}/powershell/check-consistency.ps1 +8 -8
  77. package/templates/{scripts → resources/scripts}/powershell/check-plot.ps1 +2 -2
  78. package/templates/{scripts → resources/scripts}/powershell/check-timeline.ps1 +2 -2
  79. package/templates/{scripts → resources/scripts}/powershell/check-writing-state.ps1 +31 -31
  80. package/templates/{scripts → resources/scripts}/powershell/common.ps1 +2 -2
  81. package/templates/{scripts → resources/scripts}/powershell/constitution.ps1 +1 -1
  82. package/templates/{scripts → resources/scripts}/powershell/init-tracking.ps1 +5 -5
  83. package/templates/{scripts → resources/scripts}/powershell/manage-relations.ps1 +6 -6
  84. package/templates/{scripts → resources/scripts}/powershell/migrate-tracking.ps1 +1 -1
  85. package/templates/{scripts → resources/scripts}/powershell/plan-story.ps1 +2 -2
  86. package/templates/{scripts → resources/scripts}/powershell/specify-story.ps1 +1 -1
  87. package/templates/{scripts → resources/scripts}/powershell/tests/bench-ps-cache.ps1 +10 -10
  88. package/templates/{scripts → resources/scripts}/powershell/tests/test-ps-cache.ps1 +4 -4
  89. package/templates/{scripts → resources/scripts}/powershell/text-audit.ps1 +2 -2
  90. package/templates/{scripts → resources/scripts}/powershell/track-progress.ps1 +2 -2
  91. package/templates/skills/analysis/character-analysis/SKILL.md +1 -1
  92. package/templates/skills/analysis/foreshadow-analysis/SKILL.md +1 -1
  93. package/templates/skills/analysis/hook-analysis/SKILL.md +2 -2
  94. package/templates/skills/analysis/logic-analysis/SKILL.md +2 -2
  95. package/templates/skills/analysis/opening-analysis/SKILL.md +1 -1
  96. package/templates/skills/analysis/pacing-analysis/SKILL.md +1 -1
  97. package/templates/skills/analysis/power-analysis/SKILL.md +3 -3
  98. package/templates/skills/analysis/reader-analysis/SKILL.md +1 -1
  99. package/templates/skills/analysis/style-analysis/SKILL.md +1 -1
  100. package/templates/skills/analysis/voice-analysis/SKILL.md +1 -1
  101. package/templates/skills/auto-tracking/SKILL.md +1 -1
  102. package/templates/skills/quality-assurance/consistency-checker/SKILL.md +1 -1
  103. package/templates/skills/quality-assurance/facts-checker/SKILL.md +2 -2
  104. package/templates/skills/quality-assurance/hook-checker/SKILL.md +2 -2
  105. package/templates/skills/quality-assurance/long-series-continuity/SKILL.md +7 -7
  106. package/templates/skills/quality-assurance/pre-write-checklist/SKILL.md +22 -22
  107. package/templates/skills/quality-assurance/setting-detector/SKILL.md +15 -15
  108. package/templates/skills/quality-assurance/voice-consistency-checker/SKILL.md +1 -1
  109. package/templates/skills/writing-techniques/character-arc/SKILL.md +1 -1
  110. package/templates/skills/writing-techniques/multi-thread-narrative/SKILL.md +1 -1
  111. package/templates/skills/writing-techniques/reader-expectation/SKILL.md +1 -1
  112. package/templates/skills/writing-techniques/revision-polish/SKILL.md +1 -1
  113. package/templates/skills/writing-techniques/style-learning/SKILL.md +2 -2
  114. package/templates/skills/writing-techniques/writing-balance/.gitkeep +0 -0
  115. package/templates/skills/writing-techniques/writing-balance/SKILL.md +460 -0
  116. package/templates/skills/writing-techniques/writing-techniques/SKILL.md +727 -0
  117. package/templates/knowledge-base/README.md +0 -285
  118. package/templates/scripts/powershell/check-writing-state.ps1.backup +0 -135
  119. /package/templates/{knowledge-base → resources}/character-archetypes/01-hero.md +0 -0
  120. /package/templates/{knowledge-base → resources}/character-archetypes/02-mentor.md +0 -0
  121. /package/templates/{knowledge-base → resources}/character-archetypes/03-shadow.md +0 -0
  122. /package/templates/{knowledge-base → resources}/character-archetypes/04-ally.md +0 -0
  123. /package/templates/{knowledge-base → resources}/character-archetypes/05-shapeshifter.md +0 -0
  124. /package/templates/{knowledge-base → resources}/character-archetypes/06-trickster.md +0 -0
  125. /package/templates/{knowledge-base → resources}/character-archetypes/07-threshold-guardian.md +0 -0
  126. /package/templates/{knowledge-base → resources}/character-archetypes/08-herald.md +0 -0
  127. /package/templates/{knowledge-base → resources}/character-archetypes/09-father.md +0 -0
  128. /package/templates/{knowledge-base → resources}/character-archetypes/10-mother.md +0 -0
  129. /package/templates/{knowledge-base → resources}/character-archetypes/11-child.md +0 -0
  130. /package/templates/{knowledge-base → resources}/character-archetypes/12-sage.md +0 -0
  131. /package/templates/{knowledge-base → resources}/character-archetypes/README.md +0 -0
  132. /package/templates/{knowledge-base → resources}/character-archetypes/application-guide.md +0 -0
  133. /package/templates/{knowledge-base → resources}/character-archetypes/archetype-combinations.md +0 -0
  134. /package/templates/{knowledge-base → resources}/character-archetypes/config.yaml +0 -0
  135. /package/templates/{knowledge-base → resources}/character-archetypes/examples-analysis.md +0 -0
  136. /package/templates/{specification-example.md → resources/config/specification-example.md} +0 -0
  137. /package/templates/{knowledge-base → resources}/craft/character-arc.md +0 -0
  138. /package/templates/{knowledge-base → resources}/craft/dialogue.md +0 -0
  139. /package/templates/{knowledge-base → resources}/craft/hook-design.md +0 -0
  140. /package/templates/{knowledge-base → resources}/craft/pacing.md +0 -0
  141. /package/templates/{knowledge-base → resources}/craft/power-system.md +0 -0
  142. /package/templates/{knowledge-base → resources}/craft/scene-structure.md +0 -0
  143. /package/templates/{knowledge-base → resources}/craft/show-not-tell.md +0 -0
  144. /package/templates/{knowledge-base → resources}/craft/story-structures.md +0 -0
  145. /package/templates/{knowledge-base → resources}/craft/tension-management.md +0 -0
  146. /package/templates/{knowledge-base → resources}/emotional-beats/01-first-meeting.md +0 -0
  147. /package/templates/{knowledge-base → resources}/emotional-beats/02-bonding-moment.md +0 -0
  148. /package/templates/{knowledge-base → resources}/emotional-beats/03-declaration.md +0 -0
  149. /package/templates/{knowledge-base → resources}/emotional-beats/04-triumph.md +0 -0
  150. /package/templates/{knowledge-base → resources}/emotional-beats/05-reunion.md +0 -0
  151. /package/templates/{knowledge-base → resources}/emotional-beats/06-forgiveness.md +0 -0
  152. /package/templates/{knowledge-base → resources}/emotional-beats/07-betrayal.md +0 -0
  153. /package/templates/{knowledge-base → resources}/emotional-beats/08-loss.md +0 -0
  154. /package/templates/{knowledge-base → resources}/emotional-beats/09-rejection.md +0 -0
  155. /package/templates/{knowledge-base → resources}/emotional-beats/10-failure.md +0 -0
  156. /package/templates/{knowledge-base → resources}/emotional-beats/11-misunderstanding.md +0 -0
  157. /package/templates/{knowledge-base → resources}/emotional-beats/12-farewell.md +0 -0
  158. /package/templates/{knowledge-base → resources}/emotional-beats/13-revelation.md +0 -0
  159. /package/templates/{knowledge-base → resources}/emotional-beats/14-point-of-no-return.md +0 -0
  160. /package/templates/{knowledge-base → resources}/emotional-beats/15-dark-night.md +0 -0
  161. /package/templates/{knowledge-base → resources}/emotional-beats/16-sacrifice.md +0 -0
  162. /package/templates/{knowledge-base → resources}/emotional-beats/17-awakening.md +0 -0
  163. /package/templates/{knowledge-base → resources}/emotional-beats/18-confrontation.md +0 -0
  164. /package/templates/{knowledge-base → resources}/emotional-beats/19-bittersweet-goodbye.md +0 -0
  165. /package/templates/{knowledge-base → resources}/emotional-beats/20-moral-dilemma.md +0 -0
  166. /package/templates/{knowledge-base → resources}/emotional-beats/21-temptation.md +0 -0
  167. /package/templates/{knowledge-base → resources}/emotional-beats/22-redemption.md +0 -0
  168. /package/templates/{knowledge-base → resources}/emotional-beats/README.md +0 -0
  169. /package/templates/{knowledge-base → resources}/emotional-beats/beat-sequences.md +0 -0
  170. /package/templates/{knowledge-base → resources}/emotional-beats/config.yaml +0 -0
  171. /package/templates/{knowledge-base → resources}/emotional-beats/pacing-guide.md +0 -0
  172. /package/templates/{knowledge-base → resources}/genres/game-lit.md +0 -0
  173. /package/templates/{knowledge-base → resources}/genres/historical.md +0 -0
  174. /package/templates/{knowledge-base → resources}/genres/mystery.md +0 -0
  175. /package/templates/{knowledge-base → resources}/genres/rebirth.md +0 -0
  176. /package/templates/{knowledge-base → resources}/genres/revenge.md +0 -0
  177. /package/templates/{knowledge-base → resources}/genres/romance.md +0 -0
  178. /package/templates/{knowledge-base → resources}/genres/sci-fi.md +0 -0
  179. /package/templates/{knowledge-base → resources}/genres/thriller.md +0 -0
  180. /package/templates/{knowledge-base → resources}/genres/urban.md +0 -0
  181. /package/templates/{knowledge-base → resources}/genres/wuxia.md +0 -0
  182. /package/templates/{knowledge-base → resources}/genres/xuanhuan.md +0 -0
  183. /package/templates/{memory → resources/memory}/constitution.md +0 -0
  184. /package/templates/{memory → resources/memory}/personal-voice.md +0 -0
  185. /package/templates/{knowledge-base → resources}/references/README.md +0 -0
  186. /package/templates/{knowledge-base → resources}/references/china-1920s/culture.md +0 -0
  187. /package/templates/{knowledge-base → resources}/references/china-1920s/daily-life.md +0 -0
  188. /package/templates/{knowledge-base → resources}/references/china-1920s/overview.md +0 -0
  189. /package/templates/{knowledge-base → resources}/references/china-1920s/society.md +0 -0
  190. /package/templates/{knowledge-base → resources}/references/china-1920s/warlords.md +0 -0
  191. /package/templates/{knowledge-base → resources}/references/cultivation-world/daily-life.md +0 -0
  192. /package/templates/{knowledge-base → resources}/references/cultivation-world/overview.md +0 -0
  193. /package/templates/{knowledge-base → resources}/references/cultivation-world/power-system.md +0 -0
  194. /package/templates/{knowledge-base → resources}/references/cultivation-world/sects.md +0 -0
  195. /package/templates/{knowledge-base → resources}/references/cultivation-world/world-setting.md +0 -0
  196. /package/templates/{knowledge-base → resources}/references/modern-workplace/corporate.md +0 -0
  197. /package/templates/{knowledge-base → resources}/references/modern-workplace/daily-life.md +0 -0
  198. /package/templates/{knowledge-base → resources}/references/modern-workplace/overview.md +0 -0
  199. /package/templates/{knowledge-base → resources}/references/modern-workplace/relationships.md +0 -0
  200. /package/templates/{knowledge-base → resources}/references/modern-workplace/tech-industry.md +0 -0
  201. /package/templates/{knowledge-base → resources}/references/tang-dynasty/culture.md +0 -0
  202. /package/templates/{knowledge-base → resources}/references/tang-dynasty/daily-life.md +0 -0
  203. /package/templates/{knowledge-base → resources}/references/tang-dynasty/overview.md +0 -0
  204. /package/templates/{knowledge-base → resources}/references/tang-dynasty/politics.md +0 -0
  205. /package/templates/{knowledge-base → resources}/references/tang-dynasty/society.md +0 -0
  206. /package/templates/{knowledge-base → resources}/requirements/README.md +0 -0
  207. /package/templates/{knowledge-base → resources}/requirements/anti-ai-v3.md +0 -0
  208. /package/templates/{knowledge-base → resources}/requirements/concretization.md +0 -0
  209. /package/templates/{knowledge-base → resources}/requirements/fast-paced.md +0 -0
  210. /package/templates/{knowledge-base → resources}/requirements/no-poison.md +0 -0
  211. /package/templates/{knowledge-base → resources}/requirements/romance-angst.md +0 -0
  212. /package/templates/{knowledge-base → resources}/requirements/romance-sweet.md +0 -0
  213. /package/templates/{knowledge-base → resources}/requirements/serious-literature.md +0 -0
  214. /package/templates/{knowledge-base → resources}/requirements/strong-emotion.md +0 -0
  215. /package/templates/{scripts → resources/scripts}/bash/clarify-story.sh +0 -0
  216. /package/templates/{scripts → resources/scripts}/bash/generate-tasks.sh +0 -0
  217. /package/templates/{scripts → resources/scripts}/bash/test-word-count.sh +0 -0
  218. /package/templates/{scripts → resources/scripts}/bash/tests/run-all-benchmarks.sh +0 -0
  219. /package/templates/{scripts → resources/scripts}/bash/tests/test-cache-semantics.sh +0 -0
  220. /package/templates/{scripts → resources/scripts}/bash/tests/test-edge-cases-bash.sh +0 -0
  221. /package/templates/{scripts → resources/scripts}/bash/tests/test-phase1-bash.sh +0 -0
  222. /package/templates/{scripts → resources/scripts}/bash/tests/test-regression-bash.sh +0 -0
  223. /package/templates/{scripts → resources/scripts}/bash/tests/test-task6-verification.sh +0 -0
  224. /package/templates/{scripts → resources/scripts}/powershell/check-analyze-stage.ps1 +0 -0
  225. /package/templates/{scripts → resources/scripts}/powershell/check-facts.ps1 +0 -0
  226. /package/templates/{scripts → resources/scripts}/powershell/clarify-story.ps1 +0 -0
  227. /package/templates/{scripts → resources/scripts}/powershell/generate-tasks.ps1 +0 -0
  228. /package/templates/{scripts → resources/scripts}/powershell/tests/test-cross-platform.ps1 +0 -0
  229. /package/templates/{scripts → resources/scripts}/powershell/tests/test-edge-cases-ps.ps1 +0 -0
  230. /package/templates/{scripts → resources/scripts}/powershell/tests/test-phase1-ps.ps1 +0 -0
  231. /package/templates/{scripts → resources/scripts}/powershell/tests/test-regression-ps.ps1 +0 -0
  232. /package/templates/{knowledge-base → resources}/styles/README.md +0 -0
  233. /package/templates/{knowledge-base → resources}/styles/ancient-style.md +0 -0
  234. /package/templates/{knowledge-base → resources}/styles/literary.md +0 -0
  235. /package/templates/{knowledge-base → resources}/styles/minimal.md +0 -0
  236. /package/templates/{knowledge-base → resources}/styles/natural-voice.md +0 -0
  237. /package/templates/{knowledge-base → resources}/styles/web-novel.md +0 -0
@@ -0,0 +1,214 @@
1
+ # 职场小说创作知识库
2
+
3
+ ## 快速参考(Quick Reference)
4
+
5
+ 职场小说的核心是**行业真实与人际博弈**。
6
+
7
+ **定义性特征**:
8
+ 1. **行业细节**:真实可信的职场环境和专业知识
9
+ 2. **职场政治**:权力博弈、站队选择、利益交换
10
+ 3. **个人成长**:从职场新人到行业精英的蜕变
11
+
12
+ **关键公式**:
13
+ ```
14
+ 职场小说 = 行业真实感 + 职场博弈 + 专业能力 + 人性考验
15
+ ```
16
+
17
+ **类型划分**:
18
+ - **商战**:企业竞争、并购重组、资本运作
19
+ - **官场**:体制内晋升、政治智慧、为民情怀
20
+ - **金融**:投行、基金、股市、风险投资
21
+ - **法律**:律所、法庭、案件博弈
22
+ - **医疗**:医院、医患关系、医术与医德
23
+ - **互联网**:创业、产品、技术、融资
24
+
25
+ ---
26
+
27
+ ## 核心原则(Core Principles)
28
+
29
+ ### 1. 行业真实性原则
30
+
31
+ **核心**:职场小说的读者很多是业内人士,细节失真会直接劝退。
32
+
33
+ **如何实现**:
34
+ - 了解行业基本术语和工作流程
35
+ - 薪资水平、职级体系要符合现实
36
+ - 工作内容描写要具体(不要只写"他加班到很晚")
37
+ - 行业潜规则要有分寸(揭露但不猎奇)
38
+
39
+ ❌ **错误示例**:刚毕业的实习生直接参与公司最核心的并购案,独立完成尽职调查。
40
+ ✅ **正确示例**:作为实习生,她的工作是整理数据和打印文件。但她在复印材料时注意到了一个所有人都忽略的数字异常。
41
+
42
+ ---
43
+
44
+ ### 2. 职场博弈原则
45
+
46
+ **核心**:职场不是非黑即白,灰色地带才是最真实的。
47
+
48
+ **博弈层次**:
49
+ - **明面博弈**:业绩竞争、方案PK、竞标
50
+ - **暗线博弈**:站队、信息差、资源争夺
51
+ - **自我博弈**:原则与利益的冲突、理想与现实的妥协
52
+
53
+ **权力结构**:
54
+ - 直属上司(最直接的影响者)
55
+ - 跨部门关系(协作与竞争并存)
56
+ - 高层博弈(派系、路线之争)
57
+ - 外部势力(客户、竞对、监管)
58
+
59
+ **职场潜规则**:
60
+ - 会议上的发言顺序暗藏玄机
61
+ - 邮件抄送名单就是权力地图
62
+ - "我再考虑考虑"往往意味着拒绝
63
+ - 被边缘化的信号:不再被邀请参加核心会议
64
+
65
+ ---
66
+
67
+ ### 3. 专业能力原则
68
+
69
+ **核心**:主角的成功必须建立在专业能力之上,不能只靠人际关系。
70
+
71
+ **能力展现方式**:
72
+ - 用专业知识解决具体问题(而非笼统的"他很厉害")
73
+ - 展示思维过程(分析、判断、决策的逻辑链)
74
+ - 专业能力有边界(不是什么都会)
75
+ - 学习能力比现有能力更重要
76
+
77
+ **技巧**:
78
+ - 用外行能理解的方式解释专业内容
79
+ - 通过对话自然带出专业知识
80
+ - 用结果验证能力(方案被采纳、项目成功)
81
+
82
+ ---
83
+
84
+ ### 4. 现实主义原则
85
+
86
+ **核心**:职场小说要反映真实的职场生态,不美化也不丑化。
87
+
88
+ **真实的职场**:
89
+ - 加班是常态,但不是所有加班都有意义
90
+ - 升职不只看能力,还看时机、关系、运气
91
+ - 同事关系复杂,既有竞争也有真诚的帮助
92
+ - 离职跳槽是正常选择,不是背叛
93
+
94
+ **避免极端**:
95
+ - 不要把职场写成宫斗(过度阴暗)
96
+ - 不要把职场写成童话(过度美好)
97
+ - 真实的职场是灰色的,有温情也有残酷
98
+
99
+ ---
100
+
101
+ ## 实践应用(Practical Application)
102
+
103
+ ### 职场场景工具箱
104
+
105
+ **经典场景**:
106
+ - 面试:第一印象、压力面试、群面博弈
107
+ - 会议室:方案汇报、意见分歧、领导拍板
108
+ - 茶水间:八卦、非正式信息交换、试探
109
+ - 团建/饭局:酒桌文化、非正式社交、真心话
110
+ - 述职/考核:年终总结、KPI博弈、晋升答辩
111
+
112
+ ### 职场对话特点
113
+
114
+ ```
115
+ ✅ 好的职场对话:
116
+ "这个方案,你们部门内部讨论过了吗?"
117
+ "讨论过了,王总。团队一致认为——"
118
+ "一致?"他放下笔,"一致意味着要么方案完美,要么没人敢说真话。"
119
+ 会议室安静了三秒。
120
+
121
+ ❌ 差的职场对话:
122
+ "王总,我们的方案非常好,一定能成功!"
123
+ "好的,我批准了,去执行吧。"
124
+ ```
125
+
126
+ ### 邮件与即时通讯
127
+
128
+ **职场沟通的潜台词**:
129
+ - "收到,我看看" = 优先级不高
130
+ - "辛苦了" = 客套,不代表认可
131
+ - "这个问题我们线下聊" = 不适合留文字记录
132
+ - 回复速度暗示重视程度
133
+
134
+ ---
135
+
136
+ ## 常见陷阱(Common Pitfalls)
137
+
138
+ ### 1. 金手指过多
139
+ - **问题**:主角总有贵人相助,每次危机都有人兜底
140
+ - **解决**:贵人可以有,但主角必须自己解决核心问题
141
+
142
+ ### 2. 行业描写悬浮
143
+ - **问题**:号称金融小说,但看不到任何金融专业内容
144
+ - **解决**:至少深入了解一个行业的核心业务流程
145
+
146
+ ### 3. 反派智商下线
147
+ - **问题**:对手犯低级错误,主角轻松获胜
148
+ - **解决**:对手要聪明,主角的胜利才有价值
149
+
150
+ ### 4. 升职过快
151
+ - **问题**:三年从实习生到VP
152
+ - **解决**:参考真实的晋升周期,快速晋升需要合理解释
153
+
154
+ ### 5. 忽视生活面
155
+ - **问题**:角色只有工作,没有家庭、感情、个人生活
156
+ - **解决**:工作与生活的平衡(或失衡)本身就是好故事
157
+
158
+ ### 6. 说教过多
159
+ - **问题**:大段职场鸡汤和人生道理
160
+ - **解决**:用故事和角色行为传递观点,而非直接说教
161
+
162
+ ---
163
+
164
+ ## 爽点设计
165
+
166
+ ### 1. 专业碾压
167
+ - **触发时机**:被质疑能力时
168
+ - **实现方式**:用专业知识和数据一击制胜
169
+ - **示例**:在客户质疑时,当场指出竞对方案的三个致命漏洞
170
+
171
+ ### 2. 逆风翻盘
172
+ - **触发时机**:被排挤、被边缘化、项目被砍
173
+ - **实现方式**:用被忽视的项目做出超预期成果
174
+ - **示例**:被发配到边缘部门,反而做出了公司最赚钱的产品
175
+
176
+ ### 3. 真相揭露
177
+ - **触发时机**:长期被冤枉或被暗算
178
+ - **实现方式**:关键证据浮出水面,真相大白
179
+ - **示例**:被栽赃的项目失败,最终查明是竞争对手泄露了核心数据
180
+
181
+ ---
182
+
183
+ ## 节奏建议
184
+
185
+ - **开篇**:用一个职场冲突或关键决策切入,快速展现行业特色
186
+ - **中期**:项目推进与人际博弈交织,逐步揭示职场生态的复杂性
187
+ - **高潮**:关键项目的成败、晋升的最终角逐、或重大抉择
188
+ - **结尾**:不必大团圆,职场的结局往往是一个新的开始
189
+
190
+ ---
191
+
192
+ ## 推荐参考作品
193
+
194
+ - 李可《杜拉拉升职记》- 外企职场经典
195
+ - 六六《心术》- 医疗职场
196
+ - 阿耐《大江东去》- 商业与时代变迁
197
+ - 侯沧海《侯卫东官场笔记》- 体制内职场
198
+ - 张嘉佳《从你的全世界路过》- 媒体行业(部分)
199
+ - 刘润《底层逻辑》- 商业思维参考(非小说,但有助于理解商业逻辑)
200
+
201
+ ---
202
+
203
+ ## 与Commands的集成(Integration with Commands)
204
+
205
+ - `/write` 时激活行业术语检查,确保专业描写准确
206
+ - `/analyze --focus=voice` 检查不同职级角色的说话方式是否有区分
207
+ - `/character` 检查角色的职业背景和能力设定是否合理
208
+ - `/timeline` 确保项目时间线和晋升节奏符合行业规律
209
+
210
+ ---
211
+
212
+ ## 总结
213
+
214
+ 职场小说写的是工作,但本质是写人在利益和原则之间的选择。真实的行业细节建立可信度,复杂的人际博弈制造张力,专业能力的展现给人代入感。最好的职场小说让读者既学到东西,又看到人性。
@@ -0,0 +1,219 @@
1
+ # 青春小说创作知识库
2
+
3
+ ## 快速参考(Quick Reference)
4
+
5
+ 青春小说的核心是**成长蜕变与情感共鸣**。
6
+
7
+ **定义性特征**:
8
+ 1. **成长弧光**:角色从青涩走向成熟的蜕变过程
9
+ 2. **情感细腻**:友情、爱情、亲情的真实刻画
10
+ 3. **时代感**:校园/青春期特有的氛围与细节
11
+
12
+ **关键公式**:
13
+ ```
14
+ 青春小说 = 成长主题 + 情感共鸣 + 校园/青春场景 + 时代印记
15
+ ```
16
+
17
+ **类型划分**:
18
+ - **校园青春**:以学校为主要场景(八月长安《最好的我们》)
19
+ - **伤痛青春**:聚焦成长中的创伤与治愈(饶雪漫《左耳》)
20
+ - **热血青春**:追梦、竞技、奋斗(韩寒《三重门》)
21
+ - **怀旧青春**:回忆视角,时代感强(九把刀《那些年》)
22
+ - **治愈青春**:温暖向,强调友情与陪伴
23
+ - **暗黑青春**:校园霸凌、社会阴暗面
24
+
25
+ ---
26
+
27
+ ## 核心原则(Core Principles)
28
+
29
+ ### 1. 真实感原则
30
+
31
+ **核心**:青春小说最忌"假"。读者对青春期的记忆鲜活,任何失真都会被察觉。
32
+
33
+ **如何实现**:
34
+ - 对话要符合年龄特征(不要让高中生说出社会人的话)
35
+ - 场景细节要准确(教室布局、课间操、食堂排队)
36
+ - 情感反应要符合青春期特点(冲动、敏感、非黑即白)
37
+
38
+ ❌ **错误示例**:高中生主角冷静分析局势,做出成熟理性的决策。
39
+ ✅ **正确示例**:他知道应该冷静,但看到她和别人说笑的样子,还是摔门而出。
40
+
41
+ ---
42
+
43
+ ### 2. 情感共鸣原则
44
+
45
+ **核心**:青春小说的读者要么正在经历,要么曾经经历。共鸣是第一驱动力。
46
+
47
+ **共鸣触发点**:
48
+ - 第一次心动的忐忑
49
+ - 考试前的焦虑与无助
50
+ - 友情破裂的痛苦
51
+ - 被误解时的委屈
52
+ - 毕业离别的不舍
53
+ - 对未来的迷茫与期待
54
+
55
+ **技巧**:
56
+ - 用具体细节唤起记忆(传纸条、在课本上画画、放学后的操场)
57
+ - 写感受而非事件("那个夏天"比"2015年7月"更有共鸣)
58
+ - 善用五感记忆(栀子花香、蝉鸣、粉笔灰的味道)
59
+
60
+ ---
61
+
62
+ ### 3. 成长弧光原则
63
+
64
+ **核心**:角色必须在故事中有所成长,这是青春小说的灵魂。
65
+
66
+ **成长类型**:
67
+ - **认知成长**:从天真到理解世界的复杂
68
+ - **情感成长**:从自我中心到理解他人
69
+ - **勇气成长**:从逃避到面对
70
+ - **独立成长**:从依赖到自主
71
+
72
+ **成长节奏**:
73
+ 1. 建立初始状态(角色的天真/缺陷)
74
+ 2. 遭遇冲击事件(打破舒适区)
75
+ 3. 挣扎与反复(不是一次就成长)
76
+ 4. 关键抉择(成长的转折点)
77
+ 5. 蜕变完成(但保留青春的痕迹)
78
+
79
+ ---
80
+
81
+ ### 4. 时代感原则
82
+
83
+ **核心**:青春小说需要有时代锚点,让读者能定位到具体的年代。
84
+
85
+ **时代元素**:
86
+ - **90后青春**:MP3、QQ空间、非主流、超级女声
87
+ - **00后青春**:智能手机、微信、短视频、网课
88
+ - **通用元素**:校服、黑板报、运动会、晚自习
89
+
90
+ **注意**:时代元素是调味料,不要过度堆砌。1-2个精准细节胜过10个泛泛提及。
91
+
92
+ ---
93
+
94
+ ## 实践应用(Practical Application)
95
+
96
+ ### 校园场景工具箱
97
+
98
+ **经典场景**:
99
+ - 教室:座位安排暗藏关系(前后桌、同桌、靠窗位置)
100
+ - 操场:体育课、放学后的篮球场、跑道上的并肩
101
+ - 食堂:排队时的偶遇、拼桌的尴尬
102
+ - 图书馆:安静空间里的暗流涌动
103
+ - 天台/楼顶:秘密基地、私密对话
104
+ - 回家路上:最自然的独处/同行时间
105
+
106
+ ### 对话写作技巧
107
+
108
+ **青春期对话特点**:
109
+ - 口是心非(嘴上说不在意,行动出卖真心)
110
+ - 欲言又止("我其实想说……算了,没什么")
111
+ - 群体语言(流行语、绰号、只有小圈子懂的暗号)
112
+ - 短信/纸条(文字比面对面更敢表达)
113
+
114
+ ```
115
+ ✅ 好的青春对话:
116
+ "你明天还来图书馆吗?"
117
+ "不一定。看心情。"
118
+ "哦。"
119
+ 他假装翻了一页书。其实那一页他已经看了二十分钟。
120
+
121
+ ❌ 差的青春对话:
122
+ "我很喜欢和你一起在图书馆学习,明天你还来吗?"
123
+ "当然,我也很享受和你在一起的时光。"
124
+ ```
125
+
126
+ ### 情感节奏
127
+
128
+ **暗恋阶段**(最有张力的部分):
129
+ - 不经意的关注(记住对方说过的每句话)
130
+ - 制造偶遇(提前算好对方的路线)
131
+ - 小心翼翼的试探(借东西、问作业)
132
+ - 患得患失(对方和别人说话就心情低落)
133
+
134
+ **关系转变**:
135
+ - 不要急于表白,暧昧期是最好看的部分
136
+ - 转变需要催化剂(意外事件、第三者、毕业倒计时)
137
+ - 表白不一定成功,失败的表白也是好故事
138
+
139
+ ---
140
+
141
+ ## 常见陷阱(Common Pitfalls)
142
+
143
+ ### 1. 角色过于成熟
144
+ - **问题**:高中生表现得像30岁的社会人
145
+ - **解决**:保留青春期的冲动、幼稚、不成熟
146
+
147
+ ### 2. 狗血剧情堆砌
148
+ - **问题**:车祸、失忆、绝症、出国全上
149
+ - **解决**:日常中的小波澜比大事件更动人
150
+
151
+ ### 3. 时代感错位
152
+ - **问题**:2010年的高中生用2024年的网络用语
153
+ - **解决**:确认故事年代,使用对应时期的流行文化
154
+
155
+ ### 4. 成长缺失
156
+ - **问题**:故事结束了角色还是老样子
157
+ - **解决**:确保至少一个核心角色有明确的成长弧线
158
+
159
+ ### 5. 情感悬浮
160
+ - **问题**:角色说"我好难过"但读者感受不到
161
+ - **解决**:用行为和细节传递情感,而非直接陈述
162
+
163
+ ### 6. 校园生活失真
164
+ - **问题**:角色从不上课、不考试、不被老师管
165
+ - **解决**:学业压力是青春的重要组成部分,不能忽略
166
+
167
+ ---
168
+
169
+ ## 爽点设计
170
+
171
+ ### 1. 双向暗恋揭示
172
+ - **触发时机**:读者已知双方心意,等待捅破窗户纸
173
+ - **实现方式**:通过第三方、意外事件或回忆视角揭示
174
+ - **示例**:多年后翻到对方课本上画满了自己的名字
175
+
176
+ ### 2. 逆袭时刻
177
+ - **触发时机**:角色长期被低估或欺负
178
+ - **实现方式**:在关键场合证明自己(考试、比赛、才艺)
179
+ - **示例**:一直被嘲笑的差生在高考中逆袭
180
+
181
+ ### 3. 重逢
182
+ - **触发时机**:分别多年后
183
+ - **实现方式**:在意想不到的场合重逢,物是人非但情感依旧
184
+ - **示例**:在异乡的街头听到熟悉的口头禅
185
+
186
+ ---
187
+
188
+ ## 节奏建议
189
+
190
+ - **开篇**:用一个鲜活的校园场景切入,快速建立时代感和人物关系
191
+ - **中期**:情感线和成长线交织推进,用日常细节堆积情感浓度
192
+ - **高潮**:关键抉择或离别场景,情感集中爆发
193
+ - **结尾**:可以是开放式,留给读者想象空间;回忆视角的结尾特别有余味
194
+
195
+ ---
196
+
197
+ ## 推荐参考作品
198
+
199
+ - 八月长安《最好的我们》- 校园青春标杆,细节真实
200
+ - 九把刀《那些年,我们一起追的女孩》- 怀旧青春经典
201
+ - 饶雪漫《左耳》- 伤痛青春代表
202
+ - 韩寒《三重门》- 讽刺与青春结合
203
+ - 东野圭吾《放学后》- 校园悬疑青春
204
+ - 绿亦歌《岁月忽已暮》- 暗恋题材佳作
205
+
206
+ ---
207
+
208
+ ## 与Commands的集成(Integration with Commands)
209
+
210
+ - `/write` 时激活青春对话检查,确保语言符合年龄特征
211
+ - `/analyze --focus=voice` 检查角色对话是否有青春感
212
+ - `/character` 检查角色成长弧线是否完整
213
+ - `/timeline` 确保时代元素与故事年代一致
214
+
215
+ ---
216
+
217
+ ## 总结
218
+
219
+ 青春小说写的不是故事,是记忆。真实感和共鸣是核心竞争力。不需要惊天动地的大事件,一个眼神、一张纸条、一个放学后的等待,就足以让读者热泪盈眶。记住:最好的青春小说,让读者想起自己的青春。
@@ -1,4 +1,16 @@
1
- # AI 去味规则 v4.0(激进版)
1
+ > **⚠️ 此版本已废弃**
2
+ >
3
+ > **替代方案**:
4
+ > - 新版平衡规则: `anti-ai-v5-balanced.md`
5
+ > - 智能评估Skill: `templates/skills/writing-techniques/writing-balance/SKILL.md`
6
+ >
7
+ > **保留原因**: 作为参考文档,供需要极端去AI的用户使用
8
+ >
9
+ > **启用方式**: 在 `specification.md` 中设置 `writing_balance_config.strictness: strict` 并启用 `anti-ai-v4-mode: true`
10
+
11
+ ---
12
+
13
+ # AI 去味规则 v4.0(激进版 - 已废弃)
2
14
 
3
15
  ## 设计理念
4
16
 
@@ -0,0 +1,203 @@
1
+ # AI 去味规则 v5.0(平衡版)
2
+
3
+ ## 设计理念
4
+
5
+ **平衡AI识别度与自然表达** - 不追求零AI痕迹,而是追求"像真人写的"
6
+
7
+ **核心原则**:
8
+ 1. **多样化优于禁止** - 允许使用AI常用词,但要求轮换变化
9
+ 2. **平衡优于极端** - 长短句混合、词汇丰富、层次分明
10
+ 3. **自然优于机械** - 符合人类阅读习惯,而非机械规则
11
+
12
+ **与v4的区别**:
13
+ | 维度 | v4激进版 | v5平衡版 |
14
+ |------|---------|---------|
15
+ | 方法 | 禁止清单(200+词) | 平衡评分(6个维度) |
16
+ | 句长 | 强制80%<15字 | 灵活分布(短30-40% 中40-50% 长10-20%) |
17
+ | 形容词 | 限制3个/100字 | 允许4-8个/100字 |
18
+ | 成语 | 完全禁用 | 允许口语成语(≤5个/1000字) |
19
+ | 结果 | 零AI味,但文学性差 | 平衡AI识别度与自然表达 |
20
+
21
+ ---
22
+
23
+ ## 核心规则(6个维度)
24
+
25
+ 详细规则请参考:
26
+ - **评估Skill**: `templates/skills/writing-techniques/writing-balance/SKILL.md`
27
+ - **技巧教学**: `templates/skills/writing-techniques/writing-techniques/SKILL.md`
28
+
29
+ ### 1. 句长分布平衡
30
+
31
+ **目标**:
32
+ - 短句(<12字): 30-40%
33
+ - 中句(12-25字): 40-50%
34
+ - 长句(>25字): 10-20%
35
+
36
+ **规则**: 避免连续5个以上短句,避免连续3个以上长句
37
+
38
+ ### 2. 词汇丰富度
39
+
40
+ **目标**: TTR > 0.65(每100字不重复词汇率)
41
+
42
+ **规则**:
43
+ - 同义词轮换("说"→"讲、开口、道、答")
44
+ - 避免同一个词在100字内出现3次以上
45
+
46
+ ### 3. 描写层次感
47
+
48
+ **目标**:
49
+ - 感官分布: 视觉40% | 听觉20% | 触/嗅/味40%
50
+ - 形容词密度: 4-8个/100字
51
+
52
+ **规则**: 不只用视觉描写,尝试多感官交叉
53
+
54
+ ### 4. 成语使用度
55
+
56
+ **目标**: ≤5个成语/1000字
57
+
58
+ **允许(口语化成语)**:
59
+ - 一言难尽、莫名其妙、不以为然、若无其事、心照不宣
60
+
61
+ **避免(文言成语)**:
62
+ - 肝肠寸断、踌躇满志、从容不迫、五味杂陈、百感交集
63
+
64
+ ### 5. 句式变化度
65
+
66
+ **目标**: 避免连续3个以上相同句式
67
+
68
+ **限制频率(≤2次/1000字)**:
69
+ - "在...下" - 在月光的照耀下
70
+ - "仿佛...一般" - 快得仿佛一阵风一般
71
+
72
+ **完全避免**:
73
+ - "此时此刻" - 用"这会儿"、"现在"代替
74
+ - "然而"开头 - 用"但是"、"可是"代替
75
+
76
+ ### 6. 自然度
77
+
78
+ **目标**:
79
+ - 标点变化: 句号70% | 问号10% | 感叹号5% | 逗号15%
80
+ - 段落长度: 1-6句混合
81
+ - 对话真实: 语气词、口头禅
82
+
83
+ **规则**: 不强制短段落,允许自然变化
84
+
85
+ ---
86
+
87
+ ## 使用方式
88
+
89
+ ### 方式1: 自动评估(推荐)
90
+
91
+ 使用 `/write` 命令时,AI会自动应用平衡规则,并在写完后给出评估报告。
92
+
93
+ ### 方式2: 主动检查
94
+
95
+ ```bash
96
+ /analyze --focus=balance --range ch-10
97
+ ```
98
+
99
+ ### 方式3: 自定义配置
100
+
101
+ 在 `specification.md` 中配置:
102
+
103
+ ```yaml
104
+ writing_balance_config:
105
+ strictness: medium # strict | medium | loose
106
+ sentence_length_target:
107
+ short: 35%
108
+ medium: 50%
109
+ long: 15%
110
+ allow_idioms: true
111
+ idiom_limit_per_1000: 5
112
+ adjective_density: 6
113
+ ```
114
+
115
+ ---
116
+
117
+ ## 检测清单
118
+
119
+ ### 写完每章后自检
120
+
121
+ - [ ] 句长分布是否平衡?(短30-40% 中40-50% 长10-20%)
122
+ - [ ] 是否有词汇重复?(同一个词在100字内出现3次+)
123
+ - [ ] 是否只用视觉描写?(尝试听觉、触觉、嗅觉)
124
+ - [ ] 成语是否过多?(>5个/1000字)
125
+ - [ ] 句式是否单一?(连续3个以上相同句式)
126
+ - [ ] 标点是否单一?(全是句号或全是逗号)
127
+ - [ ] 对话是否真实?(有语气词、口头禅)
128
+
129
+ ---
130
+
131
+ ## 完整示例对比
132
+
133
+ ### 场景:主角遇到危险
134
+
135
+ #### ❌ v4激进版(过度去AI)
136
+
137
+ ```
138
+ 李明抬头。
139
+
140
+ 周围太安静了。
141
+
142
+ 他突然意识到不对劲。猛地转身。
143
+
144
+ 树林里,有什么在动。
145
+
146
+ 糟了。
147
+ ```
148
+
149
+ **问题**: 全是短句,节奏单调,缺乏氛围
150
+
151
+ ---
152
+
153
+ #### ✅ v5平衡版
154
+
155
+ ```
156
+ 李明抬头,四周安静得有些不对劲。
157
+
158
+ 他猛地转身。树林深处,有什么东西在动。
159
+
160
+ 糟了。
161
+ ```
162
+
163
+ **改进**:
164
+ - 长短句结合(第1句长,第2句中,第3句短)
165
+ - 保留了紧张感
166
+ - 更自然流畅
167
+
168
+ ---
169
+
170
+ #### ❌ AI化版本(对比参考)
171
+
172
+ ```
173
+ 李明缓缓抬起头,深邃的眸子中闪过一丝凝重的神色。
174
+ 他能够清晰地感受到,周围的气氛变得异常诡异,
175
+ 仿佛有什么不好的事情即将发生一般。
176
+
177
+ 然而,事情远比他想象的要复杂得多。
178
+ ```
179
+
180
+ **问题**: 大量AI高频词、AI句式、过度形容
181
+
182
+ ---
183
+
184
+ ## 总结
185
+
186
+ **v5.0的核心**:
187
+ 1. **平衡** - 长短句混合、词汇多样、感官丰富
188
+ 2. **自然** - 符合人类阅读习惯
189
+ 3. **灵活** - 可配置、可调整、保留个性
190
+
191
+ **v4 vs v5**:
192
+ - v4: 零AI味,但僵硬
193
+ - v5: 低AI味,但自然
194
+
195
+ **适用场景**:
196
+ - 大多数作者 → 使用v5(推荐)
197
+ - 极端去AI需求 → 使用v4(慎用)
198
+
199
+ ---
200
+
201
+ **规则版本**: v5.0
202
+ **最后更新**: 2026-02-15
203
+ **协同工具**: writing-balance Skill + writing-techniques Skill
@@ -19,9 +19,9 @@ scripts/
19
19
 
20
20
  | 文件 | novel-writer | novel-writer-skills |
21
21
  |------|-------------|-------------------|
22
- | 宪法文件 | `memory/constitution.md` | `.specify/memory/constitution.md` |
22
+ | 宪法文件 | `memory/constitution.md` | `resources/memory/constitution.md` |
23
23
  | 故事规格 | `stories/*/specification.md` | `stories/*/specification.md` ✅ |
24
- | 追踪数据 | `spec/tracking/*.json` | `spec/tracking/*.json` ✅ |
24
+ | 追踪数据 | `tracking/*.json` | `tracking/*.json` ✅ |
25
25
 
26
26
  **所有脚本已自动适配新路径**,无需手动修改!
27
27
 
@@ -43,10 +43,10 @@ scripts/
43
43
  cd my-novel
44
44
 
45
45
  # 使用脚本(示例:创建宪法)
46
- bash .specify/templates/scripts/bash/constitution.sh
46
+ bash resources/scripts/bash/constitution.sh
47
47
 
48
48
  # 或者添加到 PATH
49
- export PATH="$PATH:$(pwd)/.specify/templates/scripts/bash"
49
+ export PATH="$PATH:$(pwd)/resources/scripts/bash"
50
50
  constitution.sh
51
51
  ```
52
52
 
@@ -57,10 +57,10 @@ constitution.sh
57
57
  cd my-novel
58
58
 
59
59
  # 使用脚本(示例:创建宪法)
60
- .\.specify\templates\scripts\powershell\constitution.ps1
60
+ .\resources\scripts\powershell\constitution.ps1
61
61
 
62
62
  # 或者添加到环境变量
63
- $env:PATH += ";$(Get-Location)\.specify\templates\scripts\powershell"
63
+ $env:PATH += ";$(Get-Location)\resources\scripts\powershell"
64
64
  constitution.ps1
65
65
  ```
66
66
 
@@ -121,10 +121,10 @@ Get-ActiveStory # 获取活跃故事名称
121
121
 
122
122
  ## ⚠️ 注意事项
123
123
 
124
- 1. **项目根目录识别** - 脚本通过查找 `.specify/config.json` 确定项目根目录
124
+ 1. **项目根目录识别** - 脚本通过查找 `resources/config/config.json` 确定项目根目录
125
125
  2. **执行权限** - Linux/macOS 用户需要确保脚本有执行权限:
126
126
  ```bash
127
- chmod +x .specify/templates/scripts/bash/*.sh
127
+ chmod +x resources/scripts/bash/*.sh
128
128
  ```
129
129
  3. **与 Slash Commands 的区别**:
130
130
  - Slash Commands 在 Claude Code 中使用,有 AI 交互能力