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,412 +0,0 @@
1
- ---
2
- name: story-consistency-monitor
3
- description: "Use during chapter writing to automatically check character behavior, world rules, and timeline consistency - alerts when detecting potential contradictions before they become major issues"
4
- allowed-tools: Read, Grep
5
- ---
6
-
7
- # 故事一致性监控
8
-
9
- ## 自动检查系统
10
-
11
- ### 本技能监控什么
12
-
13
- #### 角色一致性
14
-
15
- - **物理特征**:眼睛颜色、身高、年龄、疤痕
16
- - **性格**:行动符合已建立的角色
17
- - **知识**:角色只知道他们应该知道的
18
- - **成长**:变化与角色弧线一致
19
-
20
- #### 世界规则
21
-
22
- - **魔法/科技系统**:力量的使用一致
23
- - **地理**:距离和地点保持稳定
24
- - **社会规则**:文化和习俗不矛盾
25
- - **物理法则**:已建立的规则不随机打破
26
-
27
- #### 时间线逻辑
28
-
29
- - **事件顺序**:A 在逻辑上发生在 B 之前
30
- - **时间流逝**:角色适当地老化
31
- - **同时事件**:多 POV 时间线对齐
32
- - **历史一致性**:过去的引用保持一致
33
-
34
- ### 如何工作
35
-
36
- **被动监控**:当你写作或讨论故事时,我会自动交叉参考:
37
- 1. `characters/` 目录中的角色档案
38
- 2. `worldbuilding/` 目录中的世界构建文档
39
- 3. `tracking/timeline.json` 中的时间线数据
40
- 4. 之前章节的内容
41
-
42
- **不需要你采取任何行动** - 监控在后台进行。
43
-
44
- ## 当检测到问题时
45
-
46
- ### 警报格式
47
-
48
- 当我检测到潜在不一致时,我会用以下方式提醒你:
49
-
50
- **⚠️ 一致性检查警报**
51
-
52
- ```
53
- 问题:角色特征不匹配
54
- 位置:当前章节,第3段
55
- 参考:characters/mary-chen.md,第15行
56
-
57
- 当前文本:"玛丽的绿色眼睛眯起..."
58
- 已建立特征:"眼睛颜色:蓝色"(在第3章中设定)
59
-
60
- 可能的解决方案:
61
- 1. 将当前文本改为"蓝色眼睛"
62
- 2. 如果你要修改设定,更新角色档案
63
- 3. 这是一个有相似名字的不同角色?
64
-
65
- 你想让我自动修复这个,还是你更愿意自己处理?
66
- ```
67
-
68
- ### 严重程度级别
69
-
70
- | 级别 | 图标 | 行动 | 示例 |
71
- |------|------|------|------|
72
- | **关键** | 🔴 | 立即停止并修复 | 角色突然知道他们不应该知道的秘密信息 |
73
- | **警告** | ⚠️ | 尽快修复 | 角色的惯常言语模式改变了 |
74
- | **注意** | 📝 | 考虑检查 | 时间线感觉压缩 |
75
-
76
- ## 与 Novel-Writer 命令集成
77
-
78
- ### 在 `/write` 期间
79
-
80
- - 在生成内容时进行实时一致性检查
81
- - 对关键问题的即时警报
82
- - 自动参考规格文档
83
-
84
- ### 在 `/analyze` 期间
85
-
86
- - 全面的一致性报告
87
- - 所有累积的警告和注意事项
88
- - 建议的修复按严重性排序
89
-
90
- ### 在 `/track` 期间
91
-
92
- - 使用经过验证的信息更新追踪数据
93
- - 标记不一致以供手动审查
94
- - 维护一致性历史
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
- **示例**:角色的年龄突然增加
142
- **修复**:在章节中明确说明时间跳跃:"三年后..."
143
-
144
- ## 最佳实践
145
-
146
- ### 保持参考文档更新
147
-
148
- 一致性检查器只能和你的文档一样好:
149
- - 特征变化时更新角色档案
150
- - 清楚地记录世界规则
151
- - 使用 `/timeline` 命令维护时间线文件
152
-
153
- ### 及时处理警报
154
-
155
- 不要让一致性问题累积:
156
- - 立即修复关键警报
157
- - 在写作会话结束时审查警告
158
- - 在修订阶段批处理注意事项
159
-
160
- ### 与 `/track` 一起使用
161
-
162
- 一致性检查 + 追踪系统 = 强大组合:
163
- - `/track --check` 运行深度一致性验证
164
- - `/track --fix` 可以自动修复简单问题
165
- - 定期使用两者(每 5-10 章)
166
-
167
- ## 检查类别详解
168
-
169
- ### 角色一致性检查
170
-
171
- **物理描述**:
172
- ```
173
- ✓ 检查:身高、体重、年龄、发色、眼色
174
- ✓ 检查:疤痕、纹身、独特标记
175
- ✓ 检查:服装风格、配饰
176
- ```
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
- **地理和距离**:
204
- ```
205
- ✓ 检查:地点在地图上保持一致
206
- ✓ 检查:旅行时间合理
207
- ✓ 检查:气候与地理匹配
208
- ✓ 检查:地标不移动
209
- ```
210
-
211
- **社会和文化**:
212
- ```
213
- ✓ 检查:文化规范一致
214
- ✓ 检查:语言和方言保持稳定
215
- ✓ 检查:社会结构不随机改变
216
- ✓ 检查:宗教/信仰保持一致
217
- ```
218
-
219
- ### 时间线检查
220
-
221
- **事件序列**:
222
- ```
223
- ✓ 检查:原因发生在结果之前
224
- ✓ 检查:角色不在他们不能在的地方
225
- ✓ 检查:事件在合理的时间范围内发生
226
- ```
227
-
228
- **时间流逝**:
229
- ```
230
- ✓ 检查:角色适当地老化
231
- ✓ 检查:季节按顺序改变
232
- ✓ 检查:怀孕/康复需要适当的时间
233
- ✓ 检查:技能习得需要练习时间
234
- ```
235
-
236
- **多POV同步**:
237
- ```
238
- ✓ 检查:同时事件从不同POV匹配
239
- ✓ 检查:时间跳跃在POV之间对齐
240
- ✓ 检查:没有POV知道其他POV的未来
241
- ```
242
-
243
- ## 自动修复功能
244
-
245
- 对于某些简单问题,我可以提供自动修复:
246
-
247
- ### 自动修复类型
248
-
249
- **拼写变化**:
250
- ```
251
- 检测:角色名字拼写不一致
252
- 建议:标准化为最常见的拼写
253
- 行动:全局查找并替换(经你批准)
254
- ```
255
-
256
- **数字不一致**:
257
- ```
258
- 检测:角色年龄在章节间不匹配
259
- 建议:基于时间线计算正确年龄
260
- 行动:更新到正确数字
261
- ```
262
-
263
- **时间线冲突**:
264
- ```
265
- 检测:事件日期与已建立时间线冲突
266
- 建议:调整日期以适应已知序列
267
- 行动:更新时间线参考
268
- ```
269
-
270
- ## 报告和追踪
271
-
272
- ### 一致性报告
273
-
274
- 定期(或根据要求),我会生成:
275
-
276
- ```markdown
277
- ## 一致性报告 - [日期]
278
-
279
- ### 章节范围:章节 1-15
280
-
281
- ### 检测到的问题
282
-
283
- #### 关键(必须修复)
284
- 1. 第12章:角色知道只在第14章揭示的信息
285
- - 修复:重写第12章场景或移动第14章揭示更早
286
-
287
- #### 警告(应该修复)
288
- 1. 第8章:角色的眼睛颜色从蓝色变为绿色
289
- - 修复建议:将第8章更新为蓝色或更新角色档案
290
-
291
- 2. 第10章:从首都到边境的旅行只用了1天(之前建立为3天)
292
- - 修复建议:添加时间跳跃或调整天数
293
-
294
- #### 注意事项(考虑检查)
295
- 1. 第5章:角色反应似乎不符合特征
296
- - 审查:这是有意的成长还是不一致?
297
-
298
- ### 统计
299
- - 总检查:456
300
- - 问题发现:8
301
- - 自动修复:3
302
- - 需要审查:5
303
-
304
- ### 一致性得分:94%
305
- ```
306
-
307
- ### 追踪历史
308
-
309
- 我维护发现和修复的一致性问题的历史:
310
- - 有助于识别模式
311
- - 防止重复错误
312
- - 显示随时间的改进
313
- - 对修订有用
314
-
315
- ## 与其他技能协作
316
-
317
- ### 配合 Writing Techniques Skills
318
-
319
- **对话一致性**:
320
- - 检查角色声音是否保持
321
- - 验证言语模式
322
- - 标记不符合特征的对话
323
-
324
- **场景一致性**:
325
- - 验证设定细节
326
- - 检查物理可能性
327
- - 确认时间流逝
328
-
329
- ### 配合 Genre Knowledge Skills
330
-
331
- **类型惯例一致性**:
332
- - 确保类型规则应用一致
333
- - 检查陷阱是否一致避免
334
- - 验证节奏模式
335
-
336
- ---
337
-
338
- **记住**:一致性不是关于完美 - 它是关于读者的信任。当世界规则可靠时,读者沉浸其中。当规则似乎随意改变时,他们被拉出体验。我在这里帮助维持这种信任。
339
-
340
- **你总是有最后的决定权** - 如果不一致是艺术选择,告诉我,我会停止标记它。
341
-
342
- ---
343
-
344
- ## 力量体系一致性检查
345
-
346
- ### 概述
347
-
348
- 专门针对力量体系(修仙境界、魔法等级、超能力等级等)的一致性监控。当 `/analyze --focus=power` 触发时,执行以下深度检查。
349
-
350
- ### 检查维度
351
-
352
- #### 等级体系一致性
353
-
354
- ```
355
- ✓ 检查:角色等级描述是否与 specification.md 中的等级体系一致
356
- ✓ 检查:角色等级变化是否有合理的升级过程(非跳级)
357
- ✓ 检查:同一角色在不同章节中的等级描述是否一致
358
- ✓ 检查:等级称谓是否统一(不混用不同叫法)
359
- ```
360
-
361
- #### 战力对比一致性
362
-
363
- ```
364
- ✓ 检查:战斗结果是否符合等级差距预期
365
- ✓ 检查:越级战斗是否有合理解释(金手指/道具/计谋/地形)
366
- ✓ 检查:同等级角色之间的战力是否大致平衡
367
- ✓ 检查:战斗中的伤害描述是否符合等级设定
368
- ```
369
-
370
- #### 能力使用一致性
371
-
372
- ```
373
- ✓ 检查:角色使用的能力是否已学习/觉醒
374
- ✓ 检查:能力效果是否与首次描述一致
375
- ✓ 检查:能力使用条件/代价是否一致执行
376
- ✓ 检查:能力冷却/消耗是否被遵守
377
- ```
378
-
379
- #### 体系规则一致性
380
-
381
- ```
382
- ✓ 检查:力量体系的核心规则是否被一致遵守
383
- ✓ 检查:突破条件是否每次都被满足
384
- ✓ 检查:力量代价/副作用是否一致体现
385
- ✓ 检查:体系限制是否被尊重(不为剧情便利而破坏)
386
- ```
387
-
388
- ### 与 /analyze --focus=power 的协作
389
-
390
- 当 `/analyze --focus=power` 被触发时:
391
- 1. consistency-checker 提供基础的一致性检查框架
392
- 2. power-system.md 知识库提供力量体系设计标准
393
- 3. 两者结合生成完整的力量体系分析报告
394
-
395
- ### 力量体系警报格式
396
-
397
- ```
398
- ⚠️ 力量体系一致性警报
399
-
400
- 问题:等级描述不一致
401
- 位置:第 12 章,第 5 段
402
- 参考:specification.md 力量体系设定 / 第 8 章等级确立
403
-
404
- 当前文本:"他的金丹期修为全力爆发..."
405
- 已建立等级:"筑基后期"(第 8 章确立,未描述突破金丹)
406
-
407
- 可能的解决方案:
408
- 1. 在第 9-11 章补充突破金丹的过程
409
- 2. 将第 12 章的等级描述改为"筑基后期"
410
- 3. 如果是有意的跳跃,在 specification.md 中更新等级时间线
411
- ```
412
-
@@ -1,157 +0,0 @@
1
- ---
2
- name: continuity-tracker
3
- description: "Use when writing multi-chapter stories - tracks narrative continuity across chapters including character states, object locations, weather, injuries, and scene transitions to prevent continuity errors"
4
- allowed-tools: Read, Grep, Glob
5
- ---
6
-
7
- # 连续性追踪器
8
-
9
- ## 核心功能
10
-
11
- **追踪章节间的叙事连续性** — 监控角色状态、物品位置、环境变化、关系演变等,防止前后矛盾。
12
-
13
- ## 激活条件
14
-
15
- - 写第 2 章及以后时自动激活
16
- - 提到"连续性""前后矛盾""接上一章""之前提到"等关键词时激活
17
- - 执行 `/analyze` 时作为检查项之一
18
-
19
- ---
20
-
21
- ## 追踪类别
22
-
23
- | 类别 | 追踪内容 | 示例 |
24
- |------|---------|------|
25
- | **角色状态** | 位置、伤势、情绪、服装、携带物品 | 第 3 章左臂受伤 → 第 5 章不能用左手持剑 |
26
- | **物品追踪** | 关键道具的位置和状态 | 钥匙在第 2 章交给了张三 → 第 6 章不能从口袋里掏出 |
27
- | **环境状态** | 天气、时间、季节、场景布局 | 第 4 章下雨 → 同一天的第 5 章地面应该是湿的 |
28
- | **关系状态** | 角色间的关系变化 | 第 7 章两人吵架决裂 → 第 8 章不能像没事一样聊天 |
29
- | **时间连续** | 日期、时间流逝、事件顺序 | 周一出发三天路程 → 到达应该是周四 |
30
- | **知识状态** | 角色已知/未知的信息 | 主角在第 10 章才知道真相 → 第 8 章不能表现出已知 |
31
-
32
- ---
33
-
34
- ## 连续性错误分级
35
-
36
- | 级别 | 类型 | 示例 | 影响 |
37
- |------|------|------|------|
38
- | 🔴 **关键** | 硬性矛盾、物理不可能 | 死去的角色在后文出现且无解释 | 严重破坏可信度 |
39
- | ⚠️ **警告** | 状态遗忘、物品丢失 | 受伤的手臂下一章完好如初 | 细心读者会注意到 |
40
- | 📝 **注意** | 细节不一致、时间模糊 | 角色眼睛颜色前后不同 | 可能被忽略但不专业 |
41
-
42
- ---
43
-
44
- ## 追踪机制
45
-
46
- 每章写作完成后自动提取以下快照:
47
-
48
- ### 1. 角色状态快照
49
- - 当前位置
50
- - 身体状态(伤势、疲劳、饥饿)
51
- - 情绪状态
52
- - 携带物品
53
- - 服装/外貌变化
54
-
55
- ### 2. 场景环境快照
56
- - 天气状况
57
- - 时间(具体时刻或大致时段)
58
- - 地理位置
59
- - 场景内的物品布局
60
-
61
- ### 3. 关系变化记录
62
- - 新建立的关系
63
- - 关系状态变化(亲密→疏远、信任→怀疑)
64
- - 承诺/约定
65
-
66
- ### 4. 关键事件时间戳
67
- - 重要事件发生的时间
68
- - 事件间的因果关系
69
-
70
- ### 5. 信息传递记录
71
- - 谁知道了什么信息
72
- - 信息的来源
73
- - 信息传递的时间
74
-
75
- ---
76
-
77
- ## 警报格式
78
-
79
- ```
80
- 🔗 连续性警报
81
-
82
- 类型:角色状态矛盾
83
- 位置:第 12 章,第 5 段
84
- 追踪记录:
85
- 第 8 章:李明左腿被箭射中,行走困难
86
- 第 9 章:李明拄拐前行(✅ 一致)
87
- 第 10 章:李明在客栈休养(✅ 一致)
88
- 当前问题:
89
- 第 12 章:"李明飞身跃上马背,策马狂奔"
90
- → 距受伤仅过去 4 天,左腿伤势不可能完全恢复
91
- 距事件间隔:4 天(第 8-12 章)
92
- 修改建议:
93
- → 添加治疗/恢复描写,或延长时间跨度
94
- → 或改为"李明忍着左腿的剧痛,艰难地翻上马背"
95
- 严重程度:⚠️ 警告
96
- ```
97
-
98
- ---
99
-
100
- ## 连续性数据存储格式
101
-
102
- ```json
103
- {
104
- "chapter": 8,
105
- "characters": {
106
- "李明": {
107
- "location": "山谷战场",
108
- "injuries": ["左腿箭伤(严重)"],
109
- "items": ["断剑", "地图", "干粮(剩余2天)"],
110
- "mood": "痛苦但坚定",
111
- "knowledge": ["知道敌军埋伏位置", "不知道张三已叛变"]
112
- },
113
- "王芳": {
114
- "location": "城内医馆",
115
- "injuries": [],
116
- "items": ["药箱", "银两(50两)"],
117
- "mood": "焦虑等待",
118
- "knowledge": ["知道李明出征", "不知道战况"]
119
- }
120
- },
121
- "environment": {
122
- "weather": "阴天转小雨",
123
- "time": "午后申时",
124
- "season": "深秋"
125
- },
126
- "events": [
127
- {
128
- "event": "山谷伏击战",
129
- "time": "申时",
130
- "participants": ["李明", "敌军"],
131
- "consequences": ["李明左腿受伤", "敌军撤退"]
132
- }
133
- ]
134
- }
135
- ```
136
-
137
- ---
138
-
139
- ## 与 consistency-checker 的分工
140
-
141
- | 维度 | consistency-checker | continuity-tracker |
142
- |------|--------------------|--------------------|
143
- | **关注层面** | 全局一致性(设定、规则、风格) | 章节间连续性(状态、物品、时间) |
144
- | **检查范围** | 全文 | 相邻章节 + 关联事件 |
145
- | **典型问题** | 魔法规则前后矛盾、角色性格突变 | 伤势遗忘、物品凭空出现、时间错乱 |
146
- | **数据来源** | 设定文档 + 全文分析 | 逐章状态快照 |
147
-
148
- 两者互补:consistency-checker 检查"规则是否一致",continuity-tracker 检查"状态是否连续"。
149
-
150
- ---
151
-
152
- ## 与其他技能协作
153
-
154
- - **consistency-checker**:互补关系,共同保障叙事可信度
155
- - **forgotten-elements**:追踪被遗忘的伏笔和悬念
156
- - **multi-thread-narrative**:多线叙事中每条线的连续性独立追踪
157
- - **pov-validator**:视角角色的知识状态是连续性追踪的重要维度