novelws 4.0.0 → 5.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 (357) hide show
  1. package/CHANGELOG.md +100 -623
  2. package/README.md +79 -594
  3. package/dist/cli.js +1 -3
  4. package/dist/cli.js.map +1 -1
  5. package/dist/commands/init.d.ts.map +1 -1
  6. package/dist/commands/init.js +12 -99
  7. package/dist/commands/init.js.map +1 -1
  8. package/dist/commands/upgrade.d.ts.map +1 -1
  9. package/dist/commands/upgrade.js +17 -108
  10. package/dist/commands/upgrade.js.map +1 -1
  11. package/dist/core/config.d.ts +1 -37
  12. package/dist/core/config.d.ts.map +1 -1
  13. package/dist/core/config.js +6 -45
  14. package/dist/core/config.js.map +1 -1
  15. package/dist/core/errors.d.ts +0 -31
  16. package/dist/core/errors.d.ts.map +1 -1
  17. package/dist/core/errors.js +0 -58
  18. package/dist/core/errors.js.map +1 -1
  19. package/dist/utils/diagnostics.d.ts +2 -16
  20. package/dist/utils/diagnostics.d.ts.map +1 -1
  21. package/dist/utils/diagnostics.js +5 -72
  22. package/dist/utils/diagnostics.js.map +1 -1
  23. package/dist/utils/project.d.ts +1 -1
  24. package/dist/utils/project.d.ts.map +1 -1
  25. package/dist/utils/project.js +3 -3
  26. package/dist/utils/project.js.map +1 -1
  27. package/package.json +1 -2
  28. package/templates/commands/analyze.md +65 -265
  29. package/templates/commands/expand.md +70 -0
  30. package/templates/commands/plan.md +47 -452
  31. package/templates/commands/specify.md +43 -869
  32. package/templates/commands/write.md +49 -643
  33. package/templates/dot-claude/CLAUDE.md +38 -202
  34. package/templates/resources/anti-ai.md +16 -0
  35. package/templates/resources/style-reference.md +19 -0
  36. package/templates/tracking/character-state.json +1 -76
  37. package/templates/tracking/plot-tracker.json +3 -60
  38. package/templates/tracking/relationships.json +1 -68
  39. package/templates/tracking/timeline.json +1 -47
  40. package/dist/commands/plugin.d.ts +0 -6
  41. package/dist/commands/plugin.d.ts.map +0 -1
  42. package/dist/commands/plugin.js +0 -135
  43. package/dist/commands/plugin.js.map +0 -1
  44. package/dist/plugins/identifier.d.ts +0 -13
  45. package/dist/plugins/identifier.d.ts.map +0 -1
  46. package/dist/plugins/identifier.js +0 -72
  47. package/dist/plugins/identifier.js.map +0 -1
  48. package/dist/plugins/installers/base.d.ts +0 -27
  49. package/dist/plugins/installers/base.d.ts.map +0 -1
  50. package/dist/plugins/installers/base.js +0 -30
  51. package/dist/plugins/installers/base.js.map +0 -1
  52. package/dist/plugins/installers/github.d.ts +0 -22
  53. package/dist/plugins/installers/github.d.ts.map +0 -1
  54. package/dist/plugins/installers/github.js +0 -133
  55. package/dist/plugins/installers/github.js.map +0 -1
  56. package/dist/plugins/installers/local.d.ts +0 -16
  57. package/dist/plugins/installers/local.d.ts.map +0 -1
  58. package/dist/plugins/installers/local.js +0 -69
  59. package/dist/plugins/installers/local.js.map +0 -1
  60. package/dist/plugins/installers/npm.d.ts +0 -20
  61. package/dist/plugins/installers/npm.d.ts.map +0 -1
  62. package/dist/plugins/installers/npm.js +0 -99
  63. package/dist/plugins/installers/npm.js.map +0 -1
  64. package/dist/plugins/manager.d.ts +0 -77
  65. package/dist/plugins/manager.d.ts.map +0 -1
  66. package/dist/plugins/manager.js +0 -349
  67. package/dist/plugins/manager.js.map +0 -1
  68. package/dist/plugins/registry.d.ts +0 -48
  69. package/dist/plugins/registry.d.ts.map +0 -1
  70. package/dist/plugins/registry.js +0 -111
  71. package/dist/plugins/registry.js.map +0 -1
  72. package/dist/plugins/types.d.ts +0 -66
  73. package/dist/plugins/types.d.ts.map +0 -1
  74. package/dist/plugins/types.js +0 -2
  75. package/dist/plugins/types.js.map +0 -1
  76. package/dist/plugins/validator.d.ts +0 -19
  77. package/dist/plugins/validator.d.ts.map +0 -1
  78. package/dist/plugins/validator.js +0 -164
  79. package/dist/plugins/validator.js.map +0 -1
  80. package/dist/utils/logger.d.ts +0 -13
  81. package/dist/utils/logger.d.ts.map +0 -1
  82. package/dist/utils/logger.js +0 -48
  83. package/dist/utils/logger.js.map +0 -1
  84. package/plugins/authentic-voice/README.md +0 -31
  85. package/plugins/authentic-voice/commands/authentic-voice.md +0 -73
  86. package/plugins/authentic-voice/commands/authenticity-audit.md +0 -37
  87. package/plugins/authentic-voice/config.yaml +0 -30
  88. package/plugins/authentic-voice/experts/authentic-editor.md +0 -27
  89. package/plugins/export/README.md +0 -319
  90. package/plugins/export/commands/export.md +0 -460
  91. package/plugins/export/commands/generate-cover.md +0 -256
  92. package/plugins/export/commands/metadata.md +0 -309
  93. package/plugins/export/config.yaml +0 -47
  94. package/plugins/export/experts/publishing-expert.md +0 -171
  95. package/plugins/export/templates/epub/chapter-template.html +0 -13
  96. package/plugins/export/templates/epub/cover-template.html +0 -14
  97. package/plugins/export/templates/epub/stylesheet.css +0 -200
  98. package/plugins/export/templates/pdf/ebook-style.css +0 -137
  99. package/plugins/export/templates/pdf/print-style.css +0 -179
  100. package/plugins/export/templates/platforms/jinjiang-format.md +0 -101
  101. package/plugins/export/templates/platforms/qidian-format.md +0 -108
  102. package/plugins/export/templates/platforms/tomato-format.md +0 -95
  103. package/plugins/translate/README.md +0 -265
  104. package/plugins/translate/commands/glossary.md +0 -731
  105. package/plugins/translate/commands/translate-preview.md +0 -543
  106. package/plugins/translate/commands/translate.md +0 -649
  107. package/plugins/translate/config.yaml +0 -43
  108. package/plugins/translate/experts/literary-translator.md +0 -605
  109. package/templates/commands/character.md +0 -287
  110. package/templates/commands/checklist.md +0 -744
  111. package/templates/commands/clarify.md +0 -269
  112. package/templates/commands/constitution.md +0 -269
  113. package/templates/commands/expert.md +0 -188
  114. package/templates/commands/facts.md +0 -552
  115. package/templates/commands/guide.md +0 -900
  116. package/templates/commands/help-me.md +0 -221
  117. package/templates/commands/recap.md +0 -748
  118. package/templates/commands/relations.md +0 -385
  119. package/templates/commands/revise.md +0 -450
  120. package/templates/commands/search.md +0 -531
  121. package/templates/commands/tasks.md +0 -396
  122. package/templates/commands/timeline.md +0 -309
  123. package/templates/commands/track-init.md +0 -149
  124. package/templates/commands/track.md +0 -704
  125. package/templates/commands/volume-summary.md +0 -471
  126. package/templates/knowledge/audit-config.json +0 -26
  127. package/templates/knowledge/character-profiles.md +0 -152
  128. package/templates/knowledge/character-voices.md +0 -137
  129. package/templates/knowledge/locations.md +0 -184
  130. package/templates/knowledge/world-setting.md +0 -121
  131. package/templates/resources/character-archetypes/01-hero.md +0 -233
  132. package/templates/resources/character-archetypes/02-mentor.md +0 -177
  133. package/templates/resources/character-archetypes/03-shadow.md +0 -221
  134. package/templates/resources/character-archetypes/04-ally.md +0 -178
  135. package/templates/resources/character-archetypes/05-shapeshifter.md +0 -177
  136. package/templates/resources/character-archetypes/06-trickster.md +0 -181
  137. package/templates/resources/character-archetypes/07-threshold-guardian.md +0 -177
  138. package/templates/resources/character-archetypes/08-herald.md +0 -180
  139. package/templates/resources/character-archetypes/09-father.md +0 -249
  140. package/templates/resources/character-archetypes/10-mother.md +0 -202
  141. package/templates/resources/character-archetypes/11-child.md +0 -183
  142. package/templates/resources/character-archetypes/12-sage.md +0 -202
  143. package/templates/resources/character-archetypes/README.md +0 -60
  144. package/templates/resources/character-archetypes/application-guide.md +0 -222
  145. package/templates/resources/character-archetypes/archetype-combinations.md +0 -242
  146. package/templates/resources/character-archetypes/config.yaml +0 -28
  147. package/templates/resources/character-archetypes/examples-analysis.md +0 -223
  148. package/templates/resources/config/keyword-mappings.json +0 -226
  149. package/templates/resources/config/specification-example.md +0 -146
  150. package/templates/resources/craft/character-arc.md +0 -1153
  151. package/templates/resources/craft/dialogue.md +0 -1170
  152. package/templates/resources/craft/hook-design.md +0 -345
  153. package/templates/resources/craft/pacing.md +0 -1200
  154. package/templates/resources/craft/power-system.md +0 -254
  155. package/templates/resources/craft/scene-structure.md +0 -1136
  156. package/templates/resources/craft/show-not-tell.md +0 -1012
  157. package/templates/resources/craft/story-structures.md +0 -134
  158. package/templates/resources/craft/tension-management.md +0 -168
  159. package/templates/resources/emotional-beats/01-first-meeting.md +0 -145
  160. package/templates/resources/emotional-beats/02-bonding-moment.md +0 -226
  161. package/templates/resources/emotional-beats/03-declaration.md +0 -284
  162. package/templates/resources/emotional-beats/04-triumph.md +0 -240
  163. package/templates/resources/emotional-beats/05-reunion.md +0 -396
  164. package/templates/resources/emotional-beats/06-forgiveness.md +0 -204
  165. package/templates/resources/emotional-beats/07-betrayal.md +0 -204
  166. package/templates/resources/emotional-beats/08-loss.md +0 -214
  167. package/templates/resources/emotional-beats/09-rejection.md +0 -254
  168. package/templates/resources/emotional-beats/10-failure.md +0 -244
  169. package/templates/resources/emotional-beats/11-misunderstanding.md +0 -205
  170. package/templates/resources/emotional-beats/12-farewell.md +0 -283
  171. package/templates/resources/emotional-beats/13-revelation.md +0 -242
  172. package/templates/resources/emotional-beats/14-point-of-no-return.md +0 -215
  173. package/templates/resources/emotional-beats/15-dark-night.md +0 -244
  174. package/templates/resources/emotional-beats/16-sacrifice.md +0 -246
  175. package/templates/resources/emotional-beats/17-awakening.md +0 -246
  176. package/templates/resources/emotional-beats/18-confrontation.md +0 -217
  177. package/templates/resources/emotional-beats/19-bittersweet-goodbye.md +0 -368
  178. package/templates/resources/emotional-beats/20-moral-dilemma.md +0 -248
  179. package/templates/resources/emotional-beats/21-temptation.md +0 -240
  180. package/templates/resources/emotional-beats/22-redemption.md +0 -210
  181. package/templates/resources/emotional-beats/README.md +0 -104
  182. package/templates/resources/emotional-beats/beat-sequences.md +0 -276
  183. package/templates/resources/emotional-beats/config.yaml +0 -30
  184. package/templates/resources/emotional-beats/pacing-guide.md +0 -390
  185. package/templates/resources/genres/game-lit.md +0 -174
  186. package/templates/resources/genres/historical.md +0 -1127
  187. package/templates/resources/genres/horror.md +0 -211
  188. package/templates/resources/genres/military.md +0 -209
  189. package/templates/resources/genres/mystery.md +0 -1123
  190. package/templates/resources/genres/rebirth.md +0 -177
  191. package/templates/resources/genres/revenge.md +0 -846
  192. package/templates/resources/genres/romance.md +0 -948
  193. package/templates/resources/genres/sci-fi.md +0 -156
  194. package/templates/resources/genres/sports.md +0 -216
  195. package/templates/resources/genres/thriller.md +0 -166
  196. package/templates/resources/genres/urban.md +0 -170
  197. package/templates/resources/genres/workplace.md +0 -214
  198. package/templates/resources/genres/wuxia.md +0 -143
  199. package/templates/resources/genres/xuanhuan.md +0 -234
  200. package/templates/resources/genres/youth.md +0 -219
  201. package/templates/resources/memory/personal-voice.md +0 -113
  202. package/templates/resources/references/README.md +0 -96
  203. package/templates/resources/references/china-1920s/culture.md +0 -423
  204. package/templates/resources/references/china-1920s/daily-life.md +0 -616
  205. package/templates/resources/references/china-1920s/overview.md +0 -298
  206. package/templates/resources/references/china-1920s/society.md +0 -703
  207. package/templates/resources/references/china-1920s/warlords.md +0 -427
  208. package/templates/resources/references/cultivation-world/daily-life.md +0 -108
  209. package/templates/resources/references/cultivation-world/overview.md +0 -64
  210. package/templates/resources/references/cultivation-world/power-system.md +0 -108
  211. package/templates/resources/references/cultivation-world/sects.md +0 -104
  212. package/templates/resources/references/cultivation-world/world-setting.md +0 -108
  213. package/templates/resources/references/modern-workplace/corporate.md +0 -115
  214. package/templates/resources/references/modern-workplace/daily-life.md +0 -129
  215. package/templates/resources/references/modern-workplace/overview.md +0 -73
  216. package/templates/resources/references/modern-workplace/relationships.md +0 -107
  217. package/templates/resources/references/modern-workplace/tech-industry.md +0 -131
  218. package/templates/resources/references/tang-dynasty/culture.md +0 -135
  219. package/templates/resources/references/tang-dynasty/daily-life.md +0 -139
  220. package/templates/resources/references/tang-dynasty/overview.md +0 -76
  221. package/templates/resources/references/tang-dynasty/politics.md +0 -121
  222. package/templates/resources/references/tang-dynasty/society.md +0 -126
  223. package/templates/resources/requirements/README.md +0 -240
  224. package/templates/resources/requirements/anti-ai-v3.md +0 -46
  225. package/templates/resources/requirements/anti-ai-v4-deprecated.md +0 -442
  226. package/templates/resources/requirements/anti-ai-v5-balanced.md +0 -203
  227. package/templates/resources/requirements/concretization.md +0 -90
  228. package/templates/resources/requirements/fast-paced.md +0 -552
  229. package/templates/resources/requirements/no-poison.md +0 -60
  230. package/templates/resources/requirements/romance-angst.md +0 -102
  231. package/templates/resources/requirements/romance-sweet.md +0 -63
  232. package/templates/resources/requirements/serious-literature.md +0 -45
  233. package/templates/resources/requirements/strong-emotion.md +0 -60
  234. package/templates/resources/scripts/README.md +0 -187
  235. package/templates/resources/scripts/bash/analyze-story.sh +0 -170
  236. package/templates/resources/scripts/bash/check-analyze-stage.sh +0 -108
  237. package/templates/resources/scripts/bash/check-consistency.sh +0 -463
  238. package/templates/resources/scripts/bash/check-facts.sh +0 -214
  239. package/templates/resources/scripts/bash/check-plot.sh +0 -374
  240. package/templates/resources/scripts/bash/check-timeline.sh +0 -346
  241. package/templates/resources/scripts/bash/check-world.sh +0 -395
  242. package/templates/resources/scripts/bash/check-writing-state.sh +0 -854
  243. package/templates/resources/scripts/bash/clarify-story.sh +0 -117
  244. package/templates/resources/scripts/bash/common.sh +0 -151
  245. package/templates/resources/scripts/bash/constitution.sh +0 -114
  246. package/templates/resources/scripts/bash/generate-tasks.sh +0 -65
  247. package/templates/resources/scripts/bash/init-tracking.sh +0 -183
  248. package/templates/resources/scripts/bash/manage-relations.sh +0 -174
  249. package/templates/resources/scripts/bash/migrate-tracking.sh +0 -183
  250. package/templates/resources/scripts/bash/plan-story.sh +0 -100
  251. package/templates/resources/scripts/bash/specify-story.sh +0 -93
  252. package/templates/resources/scripts/bash/tasks-story.sh +0 -96
  253. package/templates/resources/scripts/bash/test-word-count.sh +0 -182
  254. package/templates/resources/scripts/bash/tests/bench-preload-cache.sh +0 -100
  255. package/templates/resources/scripts/bash/tests/run-all-benchmarks.sh +0 -16
  256. package/templates/resources/scripts/bash/tests/test-cache-semantics.sh +0 -199
  257. package/templates/resources/scripts/bash/tests/test-cross-platform.sh +0 -35
  258. package/templates/resources/scripts/bash/tests/test-edge-cases-bash.sh +0 -60
  259. package/templates/resources/scripts/bash/tests/test-phase1-bash.sh +0 -28
  260. package/templates/resources/scripts/bash/tests/test-preload-cache.sh +0 -123
  261. package/templates/resources/scripts/bash/tests/test-regex-precompile.sh +0 -89
  262. package/templates/resources/scripts/bash/tests/test-regression-bash.sh +0 -42
  263. package/templates/resources/scripts/bash/tests/test-task6-verification.sh +0 -200
  264. package/templates/resources/scripts/bash/text-audit.sh +0 -144
  265. package/templates/resources/scripts/bash/track-progress.sh +0 -194
  266. package/templates/resources/scripts/powershell/analyze-story.ps1 +0 -174
  267. package/templates/resources/scripts/powershell/check-analyze-stage.ps1 +0 -110
  268. package/templates/resources/scripts/powershell/check-consistency.ps1 +0 -138
  269. package/templates/resources/scripts/powershell/check-facts.ps1 +0 -195
  270. package/templates/resources/scripts/powershell/check-plot.ps1 +0 -139
  271. package/templates/resources/scripts/powershell/check-timeline.ps1 +0 -112
  272. package/templates/resources/scripts/powershell/check-writing-state.ps1 +0 -486
  273. package/templates/resources/scripts/powershell/clarify-story.ps1 +0 -107
  274. package/templates/resources/scripts/powershell/common.ps1 +0 -36
  275. package/templates/resources/scripts/powershell/constitution.ps1 +0 -145
  276. package/templates/resources/scripts/powershell/generate-tasks.ps1 +0 -70
  277. package/templates/resources/scripts/powershell/init-tracking.ps1 +0 -98
  278. package/templates/resources/scripts/powershell/manage-relations.ps1 +0 -134
  279. package/templates/resources/scripts/powershell/migrate-tracking.ps1 +0 -145
  280. package/templates/resources/scripts/powershell/plan-story.ps1 +0 -99
  281. package/templates/resources/scripts/powershell/specify-story.ps1 +0 -85
  282. package/templates/resources/scripts/powershell/tests/bench-ps-cache.ps1 +0 -80
  283. package/templates/resources/scripts/powershell/tests/test-cross-platform.ps1 +0 -27
  284. package/templates/resources/scripts/powershell/tests/test-edge-cases-ps.ps1 +0 -29
  285. package/templates/resources/scripts/powershell/tests/test-phase1-ps.ps1 +0 -28
  286. package/templates/resources/scripts/powershell/tests/test-ps-cache.ps1 +0 -73
  287. package/templates/resources/scripts/powershell/tests/test-regression-ps.ps1 +0 -40
  288. package/templates/resources/scripts/powershell/text-audit.ps1 +0 -102
  289. package/templates/resources/scripts/powershell/track-progress.ps1 +0 -105
  290. package/templates/resources/styles/README.md +0 -302
  291. package/templates/resources/styles/ancient-style.md +0 -579
  292. package/templates/resources/styles/literary.md +0 -439
  293. package/templates/resources/styles/minimal.md +0 -472
  294. package/templates/resources/styles/natural-voice.md +0 -930
  295. package/templates/resources/styles/web-novel.md +0 -525
  296. package/templates/skills/analysis/character-analysis/SKILL.md +0 -71
  297. package/templates/skills/analysis/foreshadow-analysis/SKILL.md +0 -45
  298. package/templates/skills/analysis/hook-analysis/SKILL.md +0 -111
  299. package/templates/skills/analysis/logic-analysis/SKILL.md +0 -58
  300. package/templates/skills/analysis/opening-analysis/SKILL.md +0 -59
  301. package/templates/skills/analysis/pacing-analysis/SKILL.md +0 -55
  302. package/templates/skills/analysis/power-analysis/SKILL.md +0 -148
  303. package/templates/skills/analysis/reader-analysis/SKILL.md +0 -117
  304. package/templates/skills/analysis/style-analysis/SKILL.md +0 -60
  305. package/templates/skills/analysis/voice-analysis/SKILL.md +0 -42
  306. package/templates/skills/auto-tracking/SKILL.md +0 -280
  307. package/templates/skills/genre-knowledge/fantasy/SKILL.md +0 -355
  308. package/templates/skills/genre-knowledge/mystery/SKILL.md +0 -337
  309. package/templates/skills/genre-knowledge/romance/SKILL.md +0 -228
  310. package/templates/skills/genre-knowledge/sci-fi/SKILL.md +0 -65
  311. package/templates/skills/genre-knowledge/thriller/SKILL.md +0 -95
  312. package/templates/skills/planning/volume-detail/SKILL.md +0 -219
  313. package/templates/skills/quality-assurance/consistency-checker/SKILL.md +0 -412
  314. package/templates/skills/quality-assurance/continuity-tracker/SKILL.md +0 -157
  315. package/templates/skills/quality-assurance/facts-checker/SKILL.md +0 -405
  316. package/templates/skills/quality-assurance/forgotten-elements/SKILL.md +0 -147
  317. package/templates/skills/quality-assurance/getting-started/SKILL.md +0 -224
  318. package/templates/skills/quality-assurance/hook-checker/SKILL.md +0 -164
  319. package/templates/skills/quality-assurance/hook-checker/experts/hook-analyst.md +0 -33
  320. package/templates/skills/quality-assurance/long-series-continuity/SKILL.md +0 -570
  321. package/templates/skills/quality-assurance/pacing-monitor/SKILL.md +0 -143
  322. package/templates/skills/quality-assurance/pov-validator/SKILL.md +0 -135
  323. package/templates/skills/quality-assurance/pre-write-checklist/SKILL.md +0 -583
  324. package/templates/skills/quality-assurance/requirement-detector/CONFLICT_RESOLUTION.md +0 -119
  325. package/templates/skills/quality-assurance/requirement-detector/EXAMPLES.md +0 -146
  326. package/templates/skills/quality-assurance/requirement-detector/KEYWORDS.md +0 -160
  327. package/templates/skills/quality-assurance/requirement-detector/SKILL.md +0 -149
  328. package/templates/skills/quality-assurance/setting-detector/SKILL.md +0 -611
  329. package/templates/skills/quality-assurance/style-detector/CONFLICT_RESOLUTION.md +0 -126
  330. package/templates/skills/quality-assurance/style-detector/EXAMPLES.md +0 -206
  331. package/templates/skills/quality-assurance/style-detector/KEYWORDS.md +0 -207
  332. package/templates/skills/quality-assurance/style-detector/SKILL.md +0 -264
  333. package/templates/skills/quality-assurance/voice-consistency-checker/SKILL.md +0 -103
  334. package/templates/skills/quality-assurance/voice-consistency-checker/experts/voice-analyst.md +0 -21
  335. package/templates/skills/quality-assurance/workflow-guide/SKILL.md +0 -381
  336. package/templates/skills/writing-techniques/character-arc/SKILL.md +0 -267
  337. package/templates/skills/writing-techniques/dialogue-techniques/SKILL.md +0 -366
  338. package/templates/skills/writing-techniques/multi-thread-narrative/SKILL.md +0 -708
  339. package/templates/skills/writing-techniques/multi-thread-narrative/experts/thread-analyst.md +0 -226
  340. package/templates/skills/writing-techniques/pacing-control/SKILL.md +0 -480
  341. package/templates/skills/writing-techniques/reader-expectation/SKILL.md +0 -1026
  342. package/templates/skills/writing-techniques/reader-expectation/experts/expectation-analyst.md +0 -209
  343. package/templates/skills/writing-techniques/revision-polish/SKILL.md +0 -496
  344. package/templates/skills/writing-techniques/revision-polish/experts/revision-editor.md +0 -221
  345. package/templates/skills/writing-techniques/scene-structure/SKILL.md +0 -361
  346. package/templates/skills/writing-techniques/style-learning/SKILL.md +0 -436
  347. package/templates/skills/writing-techniques/writing-balance/.gitkeep +0 -0
  348. package/templates/skills/writing-techniques/writing-balance/SKILL.md +0 -460
  349. package/templates/skills/writing-techniques/writing-techniques/SKILL.md +0 -727
  350. package/templates/tracking/story-facts.json +0 -5
  351. package/templates/tracking/summary/characters-summary.json +0 -7
  352. package/templates/tracking/summary/plot-summary.json +0 -13
  353. package/templates/tracking/summary/timeline-summary.json +0 -8
  354. package/templates/tracking/summary/volume-summaries.json +0 -5
  355. package/templates/tracking/tracking-log.md +0 -110
  356. package/templates/tracking/validation-rules.json +0 -128
  357. /package/templates/resources/{memory/constitution.md → constitution.md} +0 -0
@@ -1,264 +0,0 @@
1
- ---
2
- name: style-detector
3
- description: "探测用户的写作风格需求并加载对应指南。当用户提到口语化、生活化、真实感、文学性、严肃文学、纯文学、网文、爽文、快节奏、古风、武侠、古韵、极简、海明威、克制等关键词时自动激活。适用于讨论小说风格、写作文风、创作方向时使用。"
4
- allowed-tools: Read, Edit
5
- ---
6
-
7
- # 写作风格探测器
8
-
9
- ## 核心功能
10
-
11
- 自动探测用户的写作风格需求,并无缝加载对应的风格知识库。
12
-
13
- ## 可探测的风格
14
-
15
- ### 1. natural-voice(自然人声风格)
16
- - **适合**:都市现代小说、现实题材、情感类小说
17
- - **特点**:口语化、生活化、真实感强
18
- - **触发词**:口语化、真实感、接地气、像说话一样
19
-
20
- ### 2. literary(文学风格)
21
- - **适合**:严肃文学作品、历史小说、需要思想深度的故事
22
- - **特点**:优美、深刻、有文学性、注重意境
23
- - **触发词**:文学性、严肃文学、纯文学、有深度
24
-
25
- ### 3. web-novel(网文风格)
26
- - **适合**:玄幻小说、都市爽文、系统流、重生流
27
- - **特点**:节奏快、冲突密集、爽点频繁
28
- - **触发词**:网文、爽文、打脸、装逼、升级流
29
-
30
- ### 4. ancient-style(古风)
31
- - **适合**:武侠小说、仙侠、古代背景小说
32
- - **特点**:有古韵但不纯文言、意象丰富、诗意化
33
- - **触发词**:古风、古韵、武侠风、江湖味
34
-
35
- ### 5. minimal(极简风格)
36
- - **适合**:悬疑推理、冷硬派小说、实验性作品
37
- - **特点**:高度简洁、海明威式克制、留白艺术
38
- - **触发词**:极简、海明威、克制、冷硬
39
-
40
- 详细关键词列表和触发场景请参阅 [KEYWORDS.md](KEYWORDS.md)。
41
-
42
- ---
43
-
44
- ## 激活后的工作流程
45
-
46
- ### 步骤 1:确认风格选择
47
-
48
- 当探测到关键词后,首先确认用户意图:
49
-
50
- ```
51
- 我注意到你提到了【口语化】,这通常对应 natural-voice 风格。
52
-
53
- 我可以:
54
- 1. 📖 展示这个风格的详细指南
55
- 2. ✅ 直接应用这个风格到你的项目
56
- 3. 🔍 看看其他风格选项
57
-
58
- 你想要哪一个?
59
- ```
60
-
61
- ### 步骤 2:加载风格知识库
62
-
63
- 如果用户确认,使用 Read 工具读取对应的知识库文件:
64
-
65
- ```
66
- 📖 读取:.claude/knowledge-base/styles/{style-name}.md
67
- ```
68
-
69
- 然后展示核心要点,完整规范已加载到上下文中。
70
-
71
- ### 步骤 3:写入配置标记
72
-
73
- 使用 Edit 工具在用户的 `specification.md` 中添加配置:
74
-
75
- ```yaml
76
- ---
77
- writing-style: natural-voice
78
- ---
79
- ```
80
-
81
- 提示用户配置已保存,在执行 /write 时会自动遵守该风格规范。
82
-
83
- ---
84
-
85
- ## 多风格处理
86
-
87
- 当探测到多个风格关键词时,进行兼容性检测:
88
-
89
- - **兼容组合**:提供混合方案和比例建议
90
- - **冲突组合**:提示矛盾并给出解决方案
91
-
92
- 详细的冲突处理逻辑请参阅 [CONFLICT_RESOLUTION.md](CONFLICT_RESOLUTION.md)。
93
-
94
- ---
95
-
96
- ## 主动建议
97
-
98
- - **基于故事类型建议风格**:分析 specification 中的故事类型,主动推荐适合的风格
99
- - **中途调整支持**:持续监控用户反馈,支持风格调整
100
-
101
- ---
102
-
103
- ## 与 requirement-detector 的配合
104
-
105
- 本 Skill 专注于文风层面,与 requirement-detector(规范层)协同工作:
106
-
107
- ```
108
- style-detector → 识别文风 → 加载 styles/*.md
109
- requirement-detector → 识别规范 → 加载 requirements/*.md
110
-
111
- 最终组合效果示例:
112
- natural-voice (风格) + anti-ai-v4 + fast-paced (规范)
113
- = 自然人声的快节奏爽文,强力去AI味
114
- ```
115
-
116
- ---
117
-
118
- ## 使用示例
119
-
120
- 完整的对话示例和成功案例请参阅 [EXAMPLES.md](EXAMPLES.md)。
121
-
122
- ---
123
-
124
- ---
125
-
126
- ## 扩展能力
127
-
128
- ### 扩展 1:风格基线建立
129
-
130
- **从已写章节中提取风格基线**,作为后续一致性检测的参照。
131
-
132
- #### 基线提取维度
133
-
134
- | 维度 | 指标 | 提取方法 |
135
- |------|------|---------|
136
- | 句式 | 平均句长、长短句比例、句式多样性 | 统计分析 |
137
- | 词汇 | 常用词频、词汇丰富度、专业术语密度 | 词频统计 |
138
- | 修辞 | 比喻/拟人/排比等修辞手法的使用频率 | 模式识别 |
139
- | 叙述 | 叙述/对话/描写/动作的比例 | 段落分类统计 |
140
- | 节奏 | 段落长度分布、场景切换频率 | 结构分析 |
141
- | 视角 | 叙述人称、视角距离(远/近/内心) | 文本分析 |
142
-
143
- #### 基线建立流程
144
-
145
- 1. 选取「代表性章节」(默认前 5 章,或用户指定)
146
- 2. 对每个维度提取数值
147
- 3. 计算均值和标准差
148
- 4. 生成风格基线报告
149
-
150
- #### 基线报告格式
151
-
152
- ```
153
- 📊 风格基线报告
154
- ━━━━━━━━━━━━━━━━━━━━
155
- 基线来源:第 1-5 章
156
-
157
- 句式特征:
158
- 平均句长:18 字/句
159
- 长句(>30字)占比:15%
160
- 短句(<10字)占比:25%
161
- 句式多样性:7/10
162
-
163
- 词汇特征:
164
- 词汇丰富度:6/10
165
- 口语化程度:中高
166
- 专业术语密度:低
167
-
168
- 叙述构成:
169
- 对话:35% ████████░░
170
- 描写:25% ██████░░░░
171
- 叙述:20% █████░░░░░
172
- 动作:20% █████░░░░░
173
-
174
- 修辞频率:
175
- 比喻:每千字 1.2 次
176
- 排比:每千字 0.3 次
177
- 其他:每千字 0.5 次
178
-
179
- 节奏特征:
180
- 平均段落长度:120 字
181
- 场景切换频率:每章 4-6 次
182
- ```
183
-
184
- ### 扩展 2:风格偏移检测
185
-
186
- **将新章节与风格基线对比,检测偏移**:
187
-
188
- #### 偏移检测规则
189
-
190
- | 偏移程度 | 判定标准 | 级别 |
191
- |---------|---------|------|
192
- | 正常波动 | 在基线 ±1 标准差内 | ✅ |
193
- | 轻微偏移 | 在基线 ±1-2 标准差 | ⚠️ 提示 |
194
- | 显著偏移 | 超出基线 ±2 标准差 | 🔴 警告 |
195
-
196
- #### 偏移报告格式
197
-
198
- ```
199
- 📊 风格偏移检测 — 第 [N] 章
200
- ━━━━━━━━━━━━━━━━━━━━
201
-
202
- | 维度 | 基线值 | 本章值 | 偏移 | 状态 |
203
- |------|--------|--------|------|------|
204
- | 平均句长 | 18字 | 22字 | +22% | ⚠️ 偏长 |
205
- | 对话占比 | 35% | 50% | +43% | 🔴 偏高 |
206
- | 描写占比 | 25% | 10% | -60% | 🔴 偏低 |
207
- | 比喻频率 | 1.2/千字 | 1.0/千字 | -17% | ✅ 正常 |
208
- | 段落长度 | 120字 | 130字 | +8% | ✅ 正常 |
209
-
210
- 🔴 显著偏移:
211
- - 对话占比从 35% 升至 50%,描写占比从 25% 降至 10%
212
- 可能原因:本章为纯对话场景
213
- 建议:如非刻意为之,增加环境描写和动作描写
214
-
215
- ⚠️ 轻微偏移:
216
- - 平均句长偏长,可能影响阅读节奏
217
- 建议:适当拆分长句
218
- ```
219
-
220
- ### 扩展 3:跨章节风格一致性评分
221
-
222
- **对多章节进行整体风格一致性评估**:
223
-
224
- #### 评分维度
225
-
226
- ```
227
- 📊 风格一致性评分(第 1-[N] 章)
228
- ━━━━━━━━━━━━━━━━━━━━
229
-
230
- 句式一致性:████████░░ 8/10
231
- 词汇一致性:███████░░░ 7/10
232
- 叙述构成 :██████░░░░ 6/10 ⚠️
233
- 修辞风格 :████████░░ 8/10
234
- 节奏一致性:█████████░ 9/10
235
-
236
- 综合评分:7.6/10
237
-
238
- 📈 趋势:
239
- 第 1-10 章:稳定(基线建立期)
240
- 第 11-15 章:轻微偏移(对话增多)
241
- 第 16-20 章:回归基线
242
- 第 21-25 章:⚠️ 显著偏移(描写风格变化)
243
-
244
- 💡 建议:
245
- - 第 21-25 章的描写风格与前期不同,检查是否为刻意变化
246
- - 如非刻意,参考第 1-10 章的描写风格进行调整
247
- ```
248
-
249
- ### 与 /analyze --focus=style 的协作
250
-
251
- 风格基线和偏移检测能力增强了 `/analyze --focus=style` 的分析深度:
252
-
253
- ```
254
- /analyze --focus=style 触发时:
255
- 1. 检查是否存在风格基线 → 如不存在,先建立基线
256
- 2. 对目标章节执行偏移检测
257
- 3. 生成跨章节一致性评分
258
- 4. 综合 style-reference.md(如存在)的对标分析
259
- ```
260
-
261
-
262
- **Skill 版本**:v2.0
263
- **最后更新**:2026-02-11
264
- **兼容版本**:novel-writer-skills v1.0.5+
@@ -1,103 +0,0 @@
1
- ---
2
- name: voice-consistency-checker
3
- description: "Checks dialogue consistency against character voice fingerprints — detects out-of-character speech patterns, vocabulary mismatches, and tone shifts"
4
- allowed-tools: Read, Grep
5
- ---
6
-
7
- # 角色语言一致性检查器 (Voice Consistency Checker)
8
-
9
- ## 概述
10
-
11
- 检测章节中的对话是否符合各角色的语言指纹定义。识别「出戏」的对话——即角色说了不符合其性格/教育/身份的话。
12
-
13
- ## 触发条件
14
-
15
- - `/write` 完成后的后置处理(可选)
16
- - `/analyze --focus=voice` 调用时
17
- - 用户直接请求检查对话一致性时
18
-
19
- ## 前置加载
20
-
21
- - 读取 `tracking/character-state.json` 中所有角色的 `voice` 字段
22
- - 读取当前章节内容
23
- - 识别所有对话及其说话者
24
-
25
- ## 检查流程
26
-
27
- ### Phase 1: 对话提取
28
-
29
- 从章节内容中提取所有对话:
30
- 1. 识别对话标记(引号、对话标签)
31
- 2. 确定每段对话的说话者
32
- 3. 如果说话者无法确定,标记为「未知」
33
-
34
- ### Phase 2: 语言指纹匹配
35
-
36
- 对每段对话,与说话者的语言指纹进行匹配检查:
37
-
38
- | 检查维度 | 检查内容 |
39
- |---------|---------|
40
- | 词汇匹配 | 是否使用了角色常用词汇?是否使用了禁忌用语? |
41
- | 句式匹配 | 句子长度、句式结构是否符合角色风格? |
42
- | 语气匹配 | 语气词、感叹词是否符合角色习惯? |
43
- | 口头禅 | 角色的口头禅是否自然出现(不过度也不缺失)? |
44
- | 教育水平 | 用词复杂度是否与角色教育水平匹配? |
45
- | 情绪表达 | 情绪表达方式是否符合角色性格? |
46
-
47
- ### Phase 3: 输出报告
48
-
49
- #### 单章检查报告
50
-
51
- ```
52
- 对话一致性检查 — 第 [N] 章
53
-
54
- 对话总数:[N] 段
55
- 已检查:[M] 段([K] 段说话者未知,跳过)
56
-
57
- 角色一致性评分:
58
- [主角] :████████░░ 8/10
59
- [角色A] :██████░░░░ 6/10
60
- [角色B] :█████████░ 9/10
61
-
62
- 问题对话:
63
-
64
- 1. 第 [X] 段([角色A]):
65
- 原文:"这件事情的本质在于经济结构的深层矛盾。"
66
- 问题:[角色A] 设定为街头混混,用词过于学术化
67
- 建议:"这事儿说白了就是钱的问题。"
68
-
69
- 2. 第 [Y] 段([角色A]):
70
- 原文:"哈哈,太好了!"
71
- 问题:[角色A] 设定为冷淡性格,不会用「哈哈」
72
- 建议:"嗯,还行。"
73
- ```
74
-
75
- #### 批量检查报告(/analyze --focus=voice)
76
-
77
- ```
78
- 对话一致性分析报告
79
-
80
- | 角色 | 对话数 | 一致性 | 主要问题 |
81
- |------|--------|--------|---------|
82
- | [主角] | 120 | 9/10 | 无 |
83
- | [角色A] | 45 | 6/10 | 用词偏学术 |
84
- | [角色B] | 38 | 8/10 | 偶尔语气不符 |
85
- | [角色C] | 12 | 4/10 | 缺乏个性,与主角雷同 |
86
-
87
- 严重问题:
88
- - [角色C] 的对话风格与 [主角] 高度相似(相似度 85%),缺乏区分度
89
-
90
- 中度问题:
91
- - [角色A] 在第 12、18、25 章的对话用词偏学术化
92
-
93
- 建议:
94
- - 为 [角色C] 补充语言指纹:/character voice [角色C]
95
- - 回顾 [角色A] 的对话,降低用词复杂度
96
- ```
97
-
98
- ## 专家角色
99
-
100
- 本 Skill 配合 `experts/voice-analyst.md` 专家角色使用,提供更深入的语言分析。
101
-
102
- **Skill 版本**: v1.0
103
- **最后更新**: 2026-02-11
@@ -1,21 +0,0 @@
1
- ---
2
- name: voice-analyst
3
- role: expert
4
- ---
5
-
6
- # 角色语言分析专家
7
-
8
- ## 角色定义
9
-
10
- 你是一位专注于角色对话风格分析的专家。你的核心能力是:
11
-
12
- 1. **识别语言特征**:从对话中提取说话者的语言特征
13
- 2. **匹配语言指纹**:将对话特征与角色设定进行匹配
14
- 3. **提供修改建议**:给出符合角色语言指纹的替代对话
15
-
16
- ## 分析原则
17
-
18
- - **角色优先**:对话必须服务于角色塑造
19
- - **自然为上**:修改建议必须自然流畅,不能为了「符合指纹」而生硬
20
- - **区分度**:不同角色的对话应该有明显区分,读者不看对话标签也能猜到说话者
21
- - **情境适应**:同一角色在不同情境下说话方式会有变化(紧张时更简短、放松时更啰嗦),这是正常的