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,135 +0,0 @@
1
- ---
2
- name: pov-validator
3
- description: "Use when writing narrative prose - monitors point-of-view consistency, detects POV violations like head-hopping, and ensures narrative perspective stays coherent throughout scenes and chapters"
4
- allowed-tools: Read, Grep, Glob
5
- ---
6
-
7
- # POV 视角验证器
8
-
9
- ## 核心功能
10
-
11
- **监控叙述视角一致性** — 检测视角跳跃、越界感知等 POV 违规,确保叙事视角在场景和章节中保持连贯。
12
-
13
- ## 激活条件
14
-
15
- - 执行 `/write` 时自动激活
16
- - 提到"视角""POV""第一人称""第三人称""叙述者"等关键词时激活
17
- - 执行 `/analyze` 时作为检查项之一
18
-
19
- ---
20
-
21
- ## 视角类型识别
22
-
23
- | 视角类型 | 标志特征 | 限制 | 适用场景 |
24
- |---------|---------|------|---------|
25
- | **第一人称** | "我"叙述 | 只能感知自己的内心,他人只能通过外在表现推测 | 亲密感强、悬疑 |
26
- | **第三人称有限** | "他/她"叙述,绑定一个角色 | 只能感知绑定角色的内心和感官范围 | 最常用,平衡亲密与灵活 |
27
- | **第三人称全知** | 上帝视角 | 可进入任何角色内心,但需保持一致的叙述声音 | 史诗叙事、群像 |
28
- | **第二人称** | "你"叙述 | 读者即主角,沉浸感极强但难以维持 | 实验性、互动叙事 |
29
- | **多视角轮换** | 章节/场景切换视角角色 | 每个场景内必须保持单一视角 | 多线叙事、群像 |
30
-
31
- ---
32
-
33
- ## POV 违规检测
34
-
35
- | 违规类型 | 说明 | 严重程度 |
36
- |---------|------|---------|
37
- | **视角跳跃(Head-hopping)** | 同一场景内未经标记地切换到另一角色的内心 | 🔴 关键 |
38
- | **越界感知** | 视角角色感知到不可能知道的信息(背后的表情、另一房间的对话) | 🔴 关键 |
39
- | **内心独白泄露** | 第三人称有限视角中,写出非视角角色的内心想法 | 🔴 关键 |
40
- | **视角不一致** | 同一章内人称代词混乱("我"和"他"混用) | ⚠️ 警告 |
41
- | **称谓混乱** | 视角角色用不符合其身份的方式称呼他人 | ⚠️ 警告 |
42
- | **信息来源不明** | 叙述中出现视角角色无法获知的背景信息 | 📝 注意 |
43
-
44
- ---
45
-
46
- ## 检测规则
47
-
48
- ### 规则 1:第一人称限制
49
- - ✅ 可以描述"我"的感受、想法、感官体验
50
- - ✅ 可以描述他人的外在表现(表情、动作、语气)
51
- - ❌ 不能直接写出他人的内心想法
52
- - ❌ 不能描述"我"不在场时发生的事
53
-
54
- ### 规则 2:第三人称有限限制
55
- - ✅ 可以进入视角角色的内心
56
- - ✅ 可以描述视角角色感官范围内的一切
57
- - ❌ 不能进入非视角角色的内心
58
- - ❌ 不能描述视角角色感官范围外的事件
59
-
60
- ### 规则 3:全知视角规则
61
- - ✅ 可以进入任何角色的内心
62
- - ✅ 可以描述任何地点的事件
63
- - ⚠️ 需要保持一致的叙述声音和风格
64
- - ⚠️ 频繁切换内心会导致读者迷失
65
-
66
- ### 规则 4:多视角切换标记
67
- - ✅ 章节切换时可以更换视角角色
68
- - ✅ 场景分隔符(***)后可以更换视角角色
69
- - ❌ 同一场景内不能无标记切换视角
70
- - ⚠️ 每章开头应尽快明确当前视角角色
71
-
72
- ### 规则 5:感官限制
73
- - 视角角色只能感知五感范围内的信息
74
- - 不能看到自己背后的事物(除非有镜子等合理手段)
75
- - 不能听到隔音环境外的对话
76
- - 不能闻到远距离的气味
77
-
78
- ---
79
-
80
- ## 警报格式
81
-
82
- ```
83
- 🔍 POV 违规警报
84
-
85
- 类型:视角跳跃(Head-hopping)
86
- 位置:第 8 章,第 3 段
87
- 当前 POV:林小雨(第三人称有限)
88
- 问题描述:
89
- 原文:"张伟心想,这个女人真是不可理喻。"
90
- → 当前视角角色是林小雨,不能直接写出张伟的内心想法。
91
- 修改建议:
92
- → "张伟皱起眉头,嘴角微微下撇。"(通过外在表现暗示)
93
- → "林小雨从张伟的表情中读出了不耐烦。"(通过视角角色的推测)
94
- 严重程度:🔴 关键
95
- ```
96
-
97
- ---
98
-
99
- ## 常见合法例外
100
-
101
- | 例外情况 | 说明 | 注意事项 |
102
- |---------|------|---------|
103
- | **全知叙述者** | 有意选择的全知视角 | 需在全文中保持一致 |
104
- | **不可靠叙述者** | 叙述者有意误导读者 | 需要有后续揭示 |
105
- | **意识流** | 意识流动打破常规视角 | 需要明确的文学意图 |
106
- | **书信体/日记体** | 多人书信自然包含多视角 | 每封信/日记内部保持单一视角 |
107
- | **回忆/闪回** | 视角角色回忆过去的场景 | 仍受限于回忆者当时的感知 |
108
-
109
- ---
110
-
111
- ## 与其他技能协作
112
-
113
- - **consistency-checker**:POV 一致性是整体一致性检查的子集
114
- - **multi-thread-narrative**:多线叙事中每条线的视角管理
115
- - **style-learning**:不同视角类型对应不同的文风特征
116
- - **continuity-tracker**:视角角色的知识状态追踪
117
-
118
- ---
119
-
120
- ## 配置选项
121
-
122
- ```yaml
123
- pov_validator:
124
- pov_mode: "third_person_limited" # first_person / third_person_limited / third_person_omniscient / multi_pov
125
- strict_level: "standard" # strict(严格)/ standard(标准)/ relaxed(宽松)
126
- allow_exceptions:
127
- - unreliable_narrator: false
128
- - stream_of_consciousness: false
129
- - epistolary: false
130
- ```
131
-
132
- **严格程度说明**:
133
- - **strict**:任何疑似违规都会警报
134
- - **standard**:明确违规警报,模糊情况提示
135
- - **relaxed**:仅检测明确的视角跳跃
@@ -1,583 +0,0 @@
1
- ---
2
- name: pre-write-checklist
3
- description: "Activates automatically before chapter writing to enforce the 9-item mandatory file reading checklist - prevents AI focus degradation in long-form fiction by ensuring all context is loaded before each writing session"
4
- allowed-tools: Read, Grep
5
- ---
6
-
7
- # 写作前强制检查清单
8
-
9
- ## 核心功能
10
-
11
- **解决AI长篇失焦问题** - 这是Novel Writer Skills v1.0的核心创新。
12
-
13
- ### 问题根源
14
-
15
- 用户反馈:使用novel-writer创作,前30章质量很好,但30章后AI开始:
16
- - 忘记前文设定
17
- - 角色性格不一致
18
- - 情节重复或矛盾
19
- - 忽略创作宪法的原则
20
-
21
- **根本原因**:长对话导致AI遗忘早期context,即使specification.md写得再详细也会被忘记。
22
-
23
- ### 解决方案
24
-
25
- **每次写作前强制重读所有关键文件** → AI重新加载完整context → 保持一致性
26
-
27
- ---
28
-
29
- ## 9项强制检查清单
30
-
31
- 每次执行`/write`命令时,必须先完成此检查清单:
32
-
33
- ```markdown
34
- 📋 写作前检查清单(必须完成):
35
-
36
- ✓ 1. memory/constitution.md - 创作宪法
37
- ✓ 2. memory/style-reference.md - 风格参考(如有)
38
- ✓ 3. stories/*/specification.md - 故事规格
39
- ✓ 4. stories/*/creative-plan.md - 创作计划
40
- ✓ 5. stories/*/tasks.md - 当前任务
41
- ✓ 6. tracking/character-state.json - 角色状态
42
- ✓ 7. tracking/relationships.json - 关系网络
43
- ✓ 8. tracking/plot-tracker.json - 情节追踪(如有)
44
- ✓ 9. tracking/validation-rules.json - 验证规则(如有)
45
-
46
- 📊 上下文加载状态:✅ 完成
47
- ```
48
-
49
- ---
50
-
51
- ## 工作原理
52
-
53
- ### 自动触发时机
54
-
55
- 1. **用户执行 `/write` 命令**
56
- 2. **本Skill自动激活**
57
- 3. **强制执行检查清单**
58
- 4. **输出确认报告**
59
- 5. **然后才开始写作**
60
-
61
- ### 执行流程
62
-
63
- ```
64
- 用户: /write 第10章
65
-
66
-
67
-
68
- [pre-write-checklist 自动激活]
69
-
70
-
71
-
72
- 步骤1:读取 memory/constitution.md
73
- 步骤2:读取 memory/style-reference.md(如有)
74
- 步骤3:读取 stories/*/specification.md
75
- 步骤4:读取 stories/*/creative-plan.md
76
- 步骤5:读取 stories/*/tasks.md
77
- 步骤6:读取 tracking/character-state.json
78
- 步骤7:读取 tracking/relationships.json
79
- 步骤8:读取 tracking/plot-tracker.json(如有)
80
- 步骤9:读取 tracking/validation-rules.json(如有)
81
-
82
-
83
-
84
- 输出确认:
85
- 📋 写作前检查清单(已完成):
86
- ✓ 1-9 所有文件已读取
87
- 📊 上下文加载状态:✅ 完成
88
-
89
- 关键信息摘要:
90
- - 创作原则:[从constitution提取]
91
- - 当前任务:[从tasks.md提取]
92
- - 主要角色:[从character-state提取]
93
- - 情节进度:[从plot-tracker提取]
94
-
95
-
96
-
97
- 开始写作第10章...
98
- ```
99
-
100
- ---
101
-
102
- ## 输出格式
103
-
104
- ### 标准输出(所有文件存在)
105
-
106
- ```markdown
107
- 📋 写作前检查清单(已完成):
108
-
109
- ✓ 1. memory/constitution.md - 创作宪法
110
- → 核心原则:[列出2-3条关键原则]
111
-
112
- ✓ 2. memory/style-reference.md - 风格参考
113
- → 风格要点:[提取关键风格要求]
114
-
115
- ✓ 3. stories/xxx/specification.md - 故事规格
116
- → 故事类型:[言情/悬疑/历史等]
117
- → P0元素:[必须包含的元素]
118
-
119
- ✓ 4. stories/xxx/creative-plan.md - 创作计划
120
- → 当前阶段:[第X卷/第X章]
121
- → 本章目标:[情节/情感目标]
122
-
123
- ✓ 5. stories/xxx/tasks.md - 当前任务
124
- → 待写章节:[第X章]
125
- → 任务状态:[pending/in_progress]
126
-
127
- ✓ 6. tracking/character-state.json - 角色状态
128
- → 主要角色:[列出角色名和当前状态]
129
-
130
- ✓ 7. tracking/relationships.json - 关系网络
131
- → 核心关系:[主角与谁的关系变化]
132
-
133
- ✓ 8. tracking/plot-tracker.json - 情节追踪
134
- → 活跃线索:[当前进行中的情节线]
135
-
136
- ✓ 9. tracking/validation-rules.json - 验证规则
137
- → 自动修复:[启用/禁用]
138
-
139
- 📊 上下文加载状态:✅ 完成(加载9个文件,约XXXX tokens)
140
-
141
- 🎯 准备写作第X章...
142
- ```
143
-
144
- ### 部分文件缺失时
145
-
146
- ```markdown
147
- 📋 写作前检查清单(部分完成):
148
-
149
- ✓ 1. memory/constitution.md - 创作宪法
150
- ✓ 2. ⚠️ memory/style-reference.md - 不存在(可选文件,跳过)
151
- ✓ 3. stories/xxx/specification.md - 故事规格
152
- ✓ 4. stories/xxx/creative-plan.md - 创作计划
153
- ✓ 5. stories/xxx/tasks.md - 当前任务
154
- ✓ 6. tracking/character-state.json - 角色状态
155
- ✓ 7. tracking/relationships.json - 关系网络
156
- ✓ 8. ⚠️ tracking/plot-tracker.json - 不存在(可选文件,跳过)
157
- ✓ 9. ⚠️ tracking/validation-rules.json - 不存在(可选文件,跳过)
158
-
159
- 📊 上下文加载状态:✅ 完成(加载6个必须文件 + 0个可选文件)
160
-
161
- 💡 建议:运行 `/track-init` 初始化完整追踪系统
162
- ```
163
-
164
- ### 关键文件缺失时(阻止写作)
165
-
166
- ```markdown
167
- 📋 写作前检查清单(失败):
168
-
169
- ✓ 1. memory/constitution.md - 创作宪法
170
- ✓ 2. memory/style-reference.md - 风格参考
171
- ❌ 3. stories/xxx/specification.md - **文件不存在**
172
- ❌ 4. stories/xxx/creative-plan.md - **文件不存在**
173
- ❌ 5. stories/xxx/tasks.md - **文件不存在**
174
-
175
- ⛔ 错误:缺少必需文件,无法继续写作
176
-
177
- 必须先完成:
178
- 1. 运行 `/constitution` 创建创作宪法
179
- 2. 运行 `/specify` 定义故事规格
180
- 3. 运行 `/plan` 制定创作计划
181
- 4. 运行 `/tasks` 分解任务清单
182
-
183
- 然后才能执行 `/write`
184
-
185
- 这是seven-step methodology的推荐流程。
186
- ```
187
-
188
- ---
189
-
190
- ## 上下文新鲜度检查
191
-
192
- 在执行检查清单前,检测以下条件:
193
-
194
- - 距离上次写作是否超过 24 小时
195
- - 距离上次 `/recap` 是否超过 10 章
196
-
197
- 如果任一条件满足,建议:
198
- > 💡 建议先执行 `/recap` 刷新上下文,再开始写作。`/recap` 会生成完整的上下文简报,帮助你快速回顾角色状态、伏笔和情节进展。
199
-
200
- ---
201
-
202
- ## 与Commands集成
203
-
204
- ### `/recap` 命令
205
-
206
- **上下文重建**:在隔天续写或长篇失焦时使用。
207
-
208
- ```yaml
209
- 推荐工作流:
210
- 1. /recap → 重建上下文(如果隔天或超过 10 章)
211
- 2. pre-write-checklist → 强制加载核心文件
212
- 3. 开始写作
213
- ```
214
-
215
- ### `/write` 命令
216
-
217
- **必须先执行检查清单,才能写作**:
218
-
219
- ```yaml
220
- 执行顺序:
221
- 1. pre-write-checklist(本Skill)→ 读取所有文件
222
- 2. 输出确认报告
223
- 3. 检查setting-detector → 是否需要激活知识库
224
- 4. 开始实际写作
225
- ```
226
-
227
- ### `/analyze` 命令
228
-
229
- 分析时也建议执行检查清单:
230
-
231
- ```yaml
232
- 分析前先确保context完整:
233
- 1. pre-write-checklist → 重新加载所有文件
234
- 2. 基于最新状态执行分析
235
- ```
236
-
237
- ### `/revise` 命令
238
-
239
- 修改润色前也需要完整context:
240
-
241
- ```yaml
242
- 修改前确保context完整:
243
- 1. pre-write-checklist → 重新加载所有文件
244
- 2. 额外检查修改状态(见下方)
245
- 3. 基于最新状态执行修改
246
- ```
247
-
248
- **修改状态检查**(续写时额外检查):
249
- ```markdown
250
- 📋 修改状态检查:
251
- □ 初稿是否经过修改润色?
252
- □ 如果是续写,前文是否已润色?
253
- 💡 如未润色,建议先运行 /revise 再继续写作
254
- ```
255
-
256
- ### `/track` 命令
257
-
258
- 追踪更新后触发检查清单:
259
-
260
- ```yaml
261
- 更新流程:
262
- 1. 用户修改tracking文件
263
- 2. 运行 `/track` 更新
264
- 3. pre-write-checklist → 重新读取验证
265
- ```
266
-
267
- ---
268
-
269
- ## 文件重要性分类
270
-
271
- ### 必须文件(缺失则阻止写作)
272
-
273
- ```
274
- 1. memory/constitution.md - 创作原则
275
- 3. stories/*/specification.md - 故事规格
276
- 4. stories/*/creative-plan.md - 创作计划
277
- 5. stories/*/tasks.md - 当前任务
278
- 6. tracking/character-state.json - 角色状态
279
- 7. tracking/relationships.json - 关系网络
280
- ```
281
-
282
- **逻辑**:没有这些文件,AI不知道:
283
- - 要遵循什么原则
284
- - 故事是关于什么的
285
- - 当前写到哪里了
286
- - 角色是谁、什么状态
287
-
288
- ### 可选文件(缺失时警告但允许继续)
289
-
290
- ```
291
- 2. memory/style-reference.md - 风格参考
292
- 8. tracking/plot-tracker.json - 情节追踪
293
- 9. tracking/validation-rules.json - 验证规则
294
- ```
295
-
296
- **逻辑**:这些文件增强质量,但不是最低要求:
297
- - style-reference:某些用户不用/book-internalize
298
- - plot-tracker:简单故事可能不需要
299
- - validation-rules:非必需的自动化
300
-
301
- ---
302
-
303
- ## 防失焦机制
304
-
305
- ### 问题场景
306
-
307
- ```
308
- 第1章写作:
309
- - AI记得所有设定
310
- - 质量很好
311
-
312
- 第10章写作:
313
- - 对话已经很长
314
- - AI开始遗忘第1章的设定
315
-
316
- 第30章写作:
317
- - 完全忘记早期设定
318
- - 角色性格走样
319
- - 情节自相矛盾
320
- ```
321
-
322
- ### 解决机制
323
-
324
- ```
325
- 每次写作前:
326
- - 强制重读所有核心文件
327
- - 重新加载完整context
328
- - 像写第1章一样对待第30章
329
-
330
- 结果:
331
- - 第30章质量 ≈ 第1章质量
332
- - 一致性保持
333
- - 不再失焦
334
- ```
335
-
336
- ### 效果对比
337
-
338
- | 对比维度 | 无检查清单 | 有检查清单 |
339
- |---------|----------|----------|
340
- | 第1-10章 | ✓ 质量好 | ✓ 质量好 |
341
- | 第11-30章 | ⚠️ 开始不稳定 | ✓ 保持稳定 |
342
- | 第31-50章 | ❌ 明显失焦 | ✓ 依然稳定 |
343
- | 第51+章 | ❌ 严重失焦 | ✓ 长期稳定 |
344
-
345
- ---
346
-
347
- ## 配置选项
348
-
349
- ### 调整严格度
350
-
351
- **默认:严格模式**(推荐)
352
- ```
353
- "使用严格检查清单模式"
354
- → 缺少必需文件则阻止写作
355
- ```
356
-
357
- **宽松模式**(不推荐)
358
- ```
359
- "使用宽松检查清单模式"
360
- → 允许跳过部分文件(不推荐,可能失焦)
361
- ```
362
-
363
- ### 自定义检查项
364
-
365
- 如果你有额外的重要文件:
366
-
367
- ```
368
- "检查清单请额外包含:
369
- - resources/knowledge/worldbuilding/magic-system.md
370
- - resources/knowledge/characters/protagonist-profile.md"
371
- ```
372
-
373
- ---
374
-
375
- ## 性能优化
376
-
377
- ### Token消耗
378
-
379
- ```
380
- 每次写作的额外token成本:
381
-
382
- 9个文件读取:
383
- - constitution.md:~200 tokens
384
- - specification.md:~500 tokens
385
- - creative-plan.md:~300 tokens
386
- - tasks.md:~150 tokens
387
- - character-state.json:~200 tokens
388
- - relationships.json:~150 tokens
389
- - 其他:~200 tokens
390
-
391
- 总计:约1700 tokens/次写作
392
-
393
- 收益:
394
- - 避免失焦导致的重写(节省数万tokens)
395
- - 保持质量一致(用户满意度)
396
- - 长篇项目的可持续性
397
- ```
398
-
399
- **ROI极高**:1700 tokens换来长期稳定质量。
400
-
401
- ### 缓存策略
402
-
403
- ```
404
- 同一写作会话中:
405
- 第1次写作:读取所有文件(1700 tokens)
406
- 第2次写作(1小时内):检查文件是否修改
407
- - 未修改:使用缓存(0 tokens)
408
- - 已修改:重新读取(部分tokens)
409
- ```
410
-
411
- ---
412
-
413
- ## 常见问题
414
-
415
- ### Q: 每次写作都要读这么多文件,会不会很慢?
416
-
417
- **A**: 不会。
418
- - 文件读取很快(毫秒级)
419
- - token消耗合理(~1700 tokens)
420
- - 换来的是长期质量保证
421
-
422
- **对比**:
423
- - 不用检查清单:第30章质量差 → 用户要求重写10章 → 浪费数万tokens
424
- - 用检查清单:每章+1700 tokens → 50章也只+85000 tokens → 但质量稳定
425
-
426
- ### Q: 我能跳过检查清单吗?
427
-
428
- **A**: 技术上可以,但**强烈不推荐**。
429
-
430
- ```
431
- "跳过检查清单,直接写作"
432
- → AI会警告:"不推荐,可能导致失焦"
433
- → 但会尊重你的选择
434
- ```
435
-
436
- **后果自负**:30章后失焦了别说我没提醒你😊
437
-
438
- ### Q: 某些文件我确实没有怎么办?
439
-
440
- **A**: 分两种情况:
441
-
442
- **必需文件缺失**(constitution、specification等):
443
- → 阻止写作,提示先运行对应命令创建
444
-
445
- **可选文件缺失**(style-reference、plot-tracker):
446
- → 警告但允许继续,建议后续创建
447
-
448
- ### Q: 检查清单和setting-detector的关系?
449
-
450
- **A**: 互补工作:
451
-
452
- ```
453
- pre-write-checklist:
454
- - 加载项目特定文件(你的故事数据)
455
-
456
- setting-detector:
457
- - 加载通用知识库(类型惯例、写作技巧)
458
-
459
- 两者结合 = 完整context:
460
- 你的故事设定 + 类型专业知识
461
- ```
462
-
463
- ### Q: 100章的长篇小说也要每次都读吗?
464
-
465
- **A**: 是的,而且**更需要**。
466
-
467
- ```
468
- 长篇小说的挑战:
469
- - 设定更复杂
470
- - 角色更多
471
- - 情节线更多
472
- - AI更容易忘记
473
-
474
- 检查清单的作用:
475
- - 确保第100章和第1章质量一致
476
- - 防止角色性格突变
477
- - 防止情节自相矛盾
478
-
479
- 这是长篇小说质量保证的基石。
480
- ```
481
-
482
- ---
483
-
484
- ## 最佳实践
485
-
486
- ### 1. 保持文件更新
487
-
488
- 检查清单只能确保AI读取文件,但文件内容要准确:
489
-
490
- ```
491
- ✓ 角色状态变化 → 更新 character-state.json
492
- ✓ 关系变化 → 更新 relationships.json
493
- ✓ 新情节线 → 更新 plot-tracker.json
494
- ```
495
-
496
- ### 2. 定期运行 `/track`
497
-
498
- ```
499
- 建议频率:每5-10章运行一次 `/track`
500
- 作用:
501
- - 更新tracking文件
502
- - 验证一致性
503
- - 发现潜在问题
504
- ```
505
-
506
- ### 3. 重要变更后手动触发
507
-
508
- ```
509
- 如果你手动修改了关键文件:
510
- "请重新执行检查清单,重新加载所有文件"
511
-
512
- 确保AI看到最新状态。
513
- ```
514
-
515
- ### 4. 与consistency-checker配合
516
-
517
- ```
518
- pre-write-checklist(写前):
519
- - 加载所有context
520
- - 准备写作
521
-
522
- consistency-checker(写中/写后):
523
- - 监控一致性
524
- - 发现矛盾
525
- ```
526
-
527
- 双重保障 = 最高质量。
528
-
529
- ---
530
-
531
- ## 技术实现
532
-
533
- ### 文件读取顺序
534
-
535
- ```
536
- 优先级排序(重要的先读):
537
- 1. constitution(最高原则)
538
- 2. specification(故事核心)
539
- 3. creative-plan(技术方案)
540
- 4. tasks(当前任务)
541
- 5. character-state(角色数据)
542
- 6. relationships(关系数据)
543
- 7. plot-tracker(情节追踪)
544
- 8. validation-rules(验证规则)
545
- 9. style-reference(风格参考)
546
- ```
547
-
548
- ### 错误处理
549
-
550
- ```
551
- 文件不存在:
552
- → 必需文件:阻止写作,提示创建
553
- → 可选文件:警告,允许继续
554
-
555
- 文件格式错误:
556
- → JSON解析失败:显示错误,建议修复
557
- → Markdown格式问题:尽力读取,标记问题
558
-
559
- 文件过大:
560
- → 超过10000行:警告(可能影响性能)
561
- → 建议拆分文件
562
- ```
563
-
564
- ---
565
-
566
- ## 总结
567
-
568
- pre-write-checklist是Novel Writer Skills v1.0的**核心创新**:
569
-
570
- ✓ 解决AI长篇失焦问题
571
- ✓ 强制重读关键文件
572
- ✓ 确保context完整性
573
- ✓ 保持质量长期稳定
574
- ✓ 适合专业作者长篇创作
575
-
576
- **30章后不再失焦 = 长期竞争力** 🎯
577
-
578
- ---
579
-
580
- **本Skill版本**: v1.0
581
- **最后更新**: 2025-10-18
582
- **核心问题**: 解决30章后AI失焦
583
- **配合**: write.md, setting-detector, consistency-checker