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,27 +0,0 @@
1
- ---
2
- title: 真实人声编辑 - expert:authentic-editor
3
- description: 将作者文本改得更自然、更具生活细节与个人表达一致性
4
- ---
5
-
6
- 作为“真实人声编辑”,你的职责是:
7
-
8
- - 尊重作者意图与叙述视角,优先做微调
9
- - 在不改变事实与逻辑的前提下,提高具体度与画面感
10
- - 维持段落节奏的起伏,避免“一股脑儿”地规整
11
- - 自然地融入个人语料中的词汇与口头禅
12
- - 用可执行的行级建议帮助作者迭代
13
-
14
- 工作流程:
15
-
16
- 1. 读取 `.specify/memory/personal-voice.md`(如果存在)
17
- 2. 对全文做一次“人味自查”,标记问题集中区
18
- 3. 分段提出最小可行改动(保持原意)
19
- 4. 对关键段落额外给出一个“更大胆”的改写版本供参考
20
-
21
- 输出格式:
22
-
23
- - 问题清单(带计数与示例)
24
- - 行/段落级微调建议
25
- - 关键段落改写对照
26
- - 下一次写作提醒清单(5-8条)
27
-
@@ -1,319 +0,0 @@
1
- # Export 导出插件
2
-
3
- ## 概述
4
-
5
- 将小说导出为多种可发布格式,自动处理目录、封面、元数据和排版。
6
-
7
- ## 功能特性
8
-
9
- ### 核心功能
10
- - **一键导出** - 一个命令完成格式转换、封面、目录、元数据
11
- - **多格式支持** - EPUB、PDF、网文平台格式全覆盖
12
- - **专业排版** - 自动处理字体、行距、分页等排版细节
13
- - **零学习成本** - 不需要了解 EPUB 标准或 LaTeX
14
-
15
- ### 支持格式
16
-
17
- | 格式 | 适用场景 | 命令 |
18
- |------|---------|------|
19
- | EPUB 3.0 | Kindle, Apple Books, 通用电子书 | `/export --format epub` |
20
- | PDF | 打印、PDF 阅读器 | `/export --format pdf` |
21
- | 起点中文网 | 起点平台上传 | `/export --format qidian` |
22
- | 番茄小说 | 番茄平台上传 | `/export --format tomato` |
23
- | 晋江文学城 | 晋江平台上传 | `/export --format jinjiang` |
24
- | Markdown 合集 | 单文件备份 | `/export --format markdown` |
25
-
26
- ## 命令
27
-
28
- ### /export - 导出小说
29
- 将小说导出为可发布格式(EPUB/PDF/网文平台),自动目录、封面和元数据。
30
-
31
- **基本用法:**
32
- ```
33
- /export --format epub 导出 EPUB
34
- /export --format pdf 导出 PDF
35
- /export --format qidian 导出起点格式
36
- /export --format markdown 导出 Markdown 合集
37
- ```
38
-
39
- **选项:**
40
- - `--format <格式>` - 导出格式(必需)
41
- - `--output <路径>` - 输出路径(默认:stories/[name]/exports/)
42
- - `--chapters <范围>` - 导出章节范围(默认:全部)
43
- - `--cover <文件>` - 指定封面图(默认:自动生成)
44
- - `--include-appendix` - 包含附录(角色表、世界观)
45
-
46
- ### /generate-cover - 封面生成
47
- 生成或上传小说封面图片。
48
-
49
- **基本用法:**
50
- ```
51
- /generate-cover 自动生成基础封面
52
- /generate-cover --upload cover.jpg 上传封面图片
53
- /generate-cover --template modern 使用指定模板
54
- ```
55
-
56
- **封面模板:**
57
- - `modern` - 现代简约,大字标题(都市、现代题材)
58
- - `classic` - 古典风格,竖排书名(古代、武侠、仙侠)
59
- - `minimal` - 极简风格,白底黑字(通用)
60
- - `dark` - 暗色系(悬疑、恐怖)
61
-
62
- ### /metadata - 元数据管理
63
- 编辑小说元数据(书名、作者、简介等),用于导出和发布。
64
-
65
- **基本用法:**
66
- ```
67
- /metadata show 查看当前元数据
68
- /metadata edit 交互式编辑元数据
69
- /metadata init 从 specification.md 自动提取
70
- /metadata validate 验证元数据完整性
71
- /metadata set title "新书名" 设置单个字段
72
- ```
73
-
74
- ## 快速开始
75
-
76
- ### 第一次导出 EPUB
77
-
78
- 1. **初始化元数据**
79
- ```
80
- /metadata init
81
- ```
82
- 自动从 `specification.md` 提取书名、简介等信息。
83
-
84
- 2. **生成封面**
85
- ```
86
- /generate-cover --template modern
87
- ```
88
- 或上传自己的封面:
89
- ```
90
- /generate-cover --upload ~/Desktop/my-cover.jpg
91
- ```
92
-
93
- 3. **导出 EPUB**
94
- ```
95
- /export --format epub
96
- ```
97
-
98
- 4. **验证结果**
99
- - 文件位置:`stories/[name]/exports/epub/[name].epub`
100
- - 用 Apple Books 或 Kindle 打开测试
101
-
102
- ### 导出到网文平台
103
-
104
- **起点中文网:**
105
- ```
106
- /export --format qidian
107
- ```
108
- 输出:`stories/[name]/exports/platforms/qidian/[name].txt`
109
-
110
- **番茄小说:**
111
- ```
112
- /export --format tomato
113
- ```
114
- 输出:`stories/[name]/exports/platforms/tomato/` 目录(每章独立文件)
115
-
116
- **晋江文学城:**
117
- ```
118
- /export --format jinjiang
119
- ```
120
- 输出:`stories/[name]/exports/platforms/jinjiang/[name].html`
121
-
122
- ### 导出 PDF
123
-
124
- ```
125
- /export --format pdf
126
- ```
127
-
128
- **页面预设:**
129
- - `a5-print` - A5 纸张,适合实体书打印
130
- - `a4-read` - A4 纸张,适合屏幕阅读
131
- - `6x9-publish` - 6x9 英寸,国际出版标准
132
-
133
- ## 输出目录结构
134
-
135
- ```
136
- stories/[story-name]/
137
- ├── exports/
138
- │ ├── epub/
139
- │ │ └── my-novel.epub
140
- │ ├── pdf/
141
- │ │ └── my-novel.pdf
142
- │ ├── platforms/
143
- │ │ ├── qidian/
144
- │ │ │ └── my-novel.txt
145
- │ │ ├── tomato/
146
- │ │ │ ├── 001-chapter-title.txt
147
- │ │ │ └── ...
148
- │ │ └── jinjiang/
149
- │ │ └── my-novel.html
150
- │ ├── my-novel-complete.md # Markdown 合集
151
- │ └── metadata.json # 导出时使用的元数据快照
152
- ├── cover.jpg # 封面图片
153
- └── metadata.json # 元数据文件
154
- ```
155
-
156
- ## 与其他命令集成
157
-
158
- ### 与 /write 集成
159
- 全书写完后,自动提示导出:
160
- ```
161
- 恭喜完成全书!是否导出为 EPUB?
162
- → /metadata edit(检查元数据)
163
- → /generate-cover(生成封面)
164
- → /export --format epub
165
- ```
166
-
167
- ### 与 /translate 集成
168
- 导出翻译版本:
169
- ```
170
- /export --format epub --lang en
171
- → 检查 translations/en/ 是否存在
172
- → 导出英文版 EPUB
173
- ```
174
-
175
- ### 与 /analyze 集成
176
- 检查导出准备状态:
177
- ```
178
- /analyze --export-ready
179
- → 检查章节完整性
180
- → 检查元数据
181
- → 检查封面
182
- → 检查格式错误
183
- ```
184
-
185
- ## 导出质量检查
186
-
187
- ### 导出前自动检查
188
- - ✅ 章节完整性(所有预期章节文件是否存在)
189
- - ✅ 元数据(书名、作者是否设置)
190
- - ✅ 封面(封面图是否存在)
191
- - ✅ Markdown 格式(标题层级是否正确)
192
- - ✅ 特殊字符(是否有不兼容字符)
193
- - ✅ 文件大小(封面图是否过大)
194
-
195
- ### 导出后验证
196
- ```
197
- 导出完成
198
-
199
- 质量检查:
200
- ✓ 章节完整性:30/30
201
- ✓ 元数据:完整
202
- ✓ 封面:1600x2400 (OK)
203
- ✓ 格式验证:通过
204
- ✓ 文件大小:856 KB (OK)
205
-
206
- 警告:
207
- ⚠ 第 15 章标题层级异常(## 应该是 #)
208
- ⚠ 封面图较大(2.1 MB),建议压缩到 < 1 MB
209
- ```
210
-
211
- ## 常见问题
212
-
213
- ### 1. 封面尺寸不对
214
- **症状:** EPUB 封面在阅读器中显示被拉伸或裁剪
215
- **解决:** 使用 2:3 比例(推荐 1600x2400 像素)
216
-
217
- ### 2. PDF 文件过大
218
- **症状:** PDF 超过 10MB
219
- **原因:** 封面图片未压缩
220
- **解决:** 压缩封面图或使用纯文本封面
221
-
222
- ### 3. 网文平台上传被拒
223
- **症状:** 格式不符合平台要求
224
- **解决:** 使用对应平台的专用格式命令(如 `--format qidian`)
225
-
226
- ### 4. 目录显示不正确
227
- **症状:** EPUB 目录缺少章节
228
- **原因:** 章节文件缺少一级标题
229
- **解决:** 确保每个章节文件有 `# 章节标题`
230
-
231
- ### 5. 中文字体不显示
232
- **症状:** PDF 中文字显示为方块
233
- **原因:** 系统缺少中文字体
234
- **解决:** 安装思源宋体或使用 EPUB 格式(阅读器自带字体)
235
-
236
- ## 检查清单
237
-
238
- ### 导出前
239
- - [ ] 所有章节已完成?
240
- - [ ] 元数据已设置?(/metadata edit)
241
- - [ ] 封面已准备?(/generate-cover)
242
- - [ ] 章节顺序正确?
243
- - [ ] 章节标题格式统一?
244
-
245
- ### 导出后
246
- - [ ] 文件能正常打开?
247
- - [ ] 目录显示正确?
248
- - [ ] 封面显示正常?
249
- - [ ] 排版美观?
250
- - [ ] 字数统计正确?
251
-
252
- ## 技术细节
253
-
254
- ### EPUB 3.0 规范
255
- - 标准:EPUB 3.0 (IDPF/W3C)
256
- - 内容格式:XHTML 5
257
- - 样式:CSS
258
- - 元数据:Dublin Core
259
- - 导航:nav.xhtml + toc.ncx(EPUB 2 兼容)
260
- - 验证:EPUBCheck 规则
261
-
262
- ### PDF 排版
263
- - 纸张:A5 (148 x 210mm) / A4 / 6x9 英寸
264
- - 边距:上下 2cm,左右 1.5cm
265
- - 字体:思源宋体(中文)/ Times New Roman(英文)
266
- - 字号:11pt
267
- - 行距:1.5 倍
268
- - 页码:居中底部
269
-
270
- ### 网文平台格式
271
- - **起点:** TXT,`第X章 标题`,段落空两格,直角引号
272
- - **番茄:** TXT,`X. 标题`,每章 < 3000 字,段落间空行
273
- - **晋江:** HTML,支持简单 HTML 标签
274
-
275
- ## 专家
276
-
277
- ### expert:publishing-expert - 出版格式专家
278
- 精通 EPUB/PDF 格式规范与网文平台要求,提供专业的导出和排版建议。
279
-
280
- **核心能力:**
281
- - EPUB 格式专家(EPUB 3.0 标准、元数据、样式优化)
282
- - PDF 排版专家(页面设置、中文排版规范、字体选择)
283
- - 网文平台规范(各平台格式要求、自动转换、验证)
284
- - 封面设计建议(尺寸、比例、平台规范)
285
-
286
- ## 依赖
287
-
288
- ### 核心依赖
289
- - Novel Writer Skills Core >= 1.0.0
290
-
291
- ### 可选依赖
292
- - **Pandoc >= 2.0** - 用于高级 PDF 导出(LaTeX 排版)
293
- - 安装:https://pandoc.org/installing.html
294
- - 不安装也可使用基础 PDF 导出功能
295
-
296
- ## 版本历史
297
-
298
- ### v1.0.0 (2025-02-09)
299
- - 初始版本
300
- - EPUB 3.0 导出
301
- - PDF 导出(基础 + Pandoc)
302
- - 网文平台格式(起点、番茄、晋江)
303
- - Markdown 合集导出
304
- - 封面生成(4 种模板)
305
- - 元数据管理
306
- - 自动目录生成
307
- - 导出质量检查
308
-
309
- ## 许可证
310
-
311
- MIT License
312
-
313
- ## 贡献
314
-
315
- 欢迎提交 Issue 和 Pull Request!
316
-
317
- ## 支持
318
-
319
- 如有问题,请访问:https://github.com/novel-writer-skills/plugins