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.
- package/CHANGELOG.md +100 -623
- package/README.md +79 -594
- package/dist/cli.js +1 -3
- package/dist/cli.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +12 -99
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +17 -108
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/core/config.d.ts +1 -37
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +6 -45
- package/dist/core/config.js.map +1 -1
- package/dist/core/errors.d.ts +0 -31
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +0 -58
- package/dist/core/errors.js.map +1 -1
- package/dist/utils/diagnostics.d.ts +2 -16
- package/dist/utils/diagnostics.d.ts.map +1 -1
- package/dist/utils/diagnostics.js +5 -72
- package/dist/utils/diagnostics.js.map +1 -1
- package/dist/utils/project.d.ts +1 -1
- package/dist/utils/project.d.ts.map +1 -1
- package/dist/utils/project.js +3 -3
- package/dist/utils/project.js.map +1 -1
- package/package.json +1 -2
- package/templates/commands/analyze.md +65 -265
- package/templates/commands/expand.md +70 -0
- package/templates/commands/plan.md +47 -452
- package/templates/commands/specify.md +43 -869
- package/templates/commands/write.md +49 -643
- package/templates/dot-claude/CLAUDE.md +38 -202
- package/templates/resources/anti-ai.md +16 -0
- package/templates/resources/style-reference.md +19 -0
- package/templates/tracking/character-state.json +1 -76
- package/templates/tracking/plot-tracker.json +3 -60
- package/templates/tracking/relationships.json +1 -68
- package/templates/tracking/timeline.json +1 -47
- package/dist/commands/plugin.d.ts +0 -6
- package/dist/commands/plugin.d.ts.map +0 -1
- package/dist/commands/plugin.js +0 -135
- package/dist/commands/plugin.js.map +0 -1
- package/dist/plugins/identifier.d.ts +0 -13
- package/dist/plugins/identifier.d.ts.map +0 -1
- package/dist/plugins/identifier.js +0 -72
- package/dist/plugins/identifier.js.map +0 -1
- package/dist/plugins/installers/base.d.ts +0 -27
- package/dist/plugins/installers/base.d.ts.map +0 -1
- package/dist/plugins/installers/base.js +0 -30
- package/dist/plugins/installers/base.js.map +0 -1
- package/dist/plugins/installers/github.d.ts +0 -22
- package/dist/plugins/installers/github.d.ts.map +0 -1
- package/dist/plugins/installers/github.js +0 -133
- package/dist/plugins/installers/github.js.map +0 -1
- package/dist/plugins/installers/local.d.ts +0 -16
- package/dist/plugins/installers/local.d.ts.map +0 -1
- package/dist/plugins/installers/local.js +0 -69
- package/dist/plugins/installers/local.js.map +0 -1
- package/dist/plugins/installers/npm.d.ts +0 -20
- package/dist/plugins/installers/npm.d.ts.map +0 -1
- package/dist/plugins/installers/npm.js +0 -99
- package/dist/plugins/installers/npm.js.map +0 -1
- package/dist/plugins/manager.d.ts +0 -77
- package/dist/plugins/manager.d.ts.map +0 -1
- package/dist/plugins/manager.js +0 -349
- package/dist/plugins/manager.js.map +0 -1
- package/dist/plugins/registry.d.ts +0 -48
- package/dist/plugins/registry.d.ts.map +0 -1
- package/dist/plugins/registry.js +0 -111
- package/dist/plugins/registry.js.map +0 -1
- package/dist/plugins/types.d.ts +0 -66
- package/dist/plugins/types.d.ts.map +0 -1
- package/dist/plugins/types.js +0 -2
- package/dist/plugins/types.js.map +0 -1
- package/dist/plugins/validator.d.ts +0 -19
- package/dist/plugins/validator.d.ts.map +0 -1
- package/dist/plugins/validator.js +0 -164
- package/dist/plugins/validator.js.map +0 -1
- package/dist/utils/logger.d.ts +0 -13
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/logger.js +0 -48
- package/dist/utils/logger.js.map +0 -1
- package/plugins/authentic-voice/README.md +0 -31
- package/plugins/authentic-voice/commands/authentic-voice.md +0 -73
- package/plugins/authentic-voice/commands/authenticity-audit.md +0 -37
- package/plugins/authentic-voice/config.yaml +0 -30
- package/plugins/authentic-voice/experts/authentic-editor.md +0 -27
- package/plugins/export/README.md +0 -319
- package/plugins/export/commands/export.md +0 -460
- package/plugins/export/commands/generate-cover.md +0 -256
- package/plugins/export/commands/metadata.md +0 -309
- package/plugins/export/config.yaml +0 -47
- package/plugins/export/experts/publishing-expert.md +0 -171
- package/plugins/export/templates/epub/chapter-template.html +0 -13
- package/plugins/export/templates/epub/cover-template.html +0 -14
- package/plugins/export/templates/epub/stylesheet.css +0 -200
- package/plugins/export/templates/pdf/ebook-style.css +0 -137
- package/plugins/export/templates/pdf/print-style.css +0 -179
- package/plugins/export/templates/platforms/jinjiang-format.md +0 -101
- package/plugins/export/templates/platforms/qidian-format.md +0 -108
- package/plugins/export/templates/platforms/tomato-format.md +0 -95
- package/plugins/translate/README.md +0 -265
- package/plugins/translate/commands/glossary.md +0 -731
- package/plugins/translate/commands/translate-preview.md +0 -543
- package/plugins/translate/commands/translate.md +0 -649
- package/plugins/translate/config.yaml +0 -43
- package/plugins/translate/experts/literary-translator.md +0 -605
- package/templates/commands/character.md +0 -287
- package/templates/commands/checklist.md +0 -744
- package/templates/commands/clarify.md +0 -269
- package/templates/commands/constitution.md +0 -269
- package/templates/commands/expert.md +0 -188
- package/templates/commands/facts.md +0 -552
- package/templates/commands/guide.md +0 -900
- package/templates/commands/help-me.md +0 -221
- package/templates/commands/recap.md +0 -748
- package/templates/commands/relations.md +0 -385
- package/templates/commands/revise.md +0 -450
- package/templates/commands/search.md +0 -531
- package/templates/commands/tasks.md +0 -396
- package/templates/commands/timeline.md +0 -309
- package/templates/commands/track-init.md +0 -149
- package/templates/commands/track.md +0 -704
- package/templates/commands/volume-summary.md +0 -471
- package/templates/knowledge/audit-config.json +0 -26
- package/templates/knowledge/character-profiles.md +0 -152
- package/templates/knowledge/character-voices.md +0 -137
- package/templates/knowledge/locations.md +0 -184
- package/templates/knowledge/world-setting.md +0 -121
- package/templates/resources/character-archetypes/01-hero.md +0 -233
- package/templates/resources/character-archetypes/02-mentor.md +0 -177
- package/templates/resources/character-archetypes/03-shadow.md +0 -221
- package/templates/resources/character-archetypes/04-ally.md +0 -178
- package/templates/resources/character-archetypes/05-shapeshifter.md +0 -177
- package/templates/resources/character-archetypes/06-trickster.md +0 -181
- package/templates/resources/character-archetypes/07-threshold-guardian.md +0 -177
- package/templates/resources/character-archetypes/08-herald.md +0 -180
- package/templates/resources/character-archetypes/09-father.md +0 -249
- package/templates/resources/character-archetypes/10-mother.md +0 -202
- package/templates/resources/character-archetypes/11-child.md +0 -183
- package/templates/resources/character-archetypes/12-sage.md +0 -202
- package/templates/resources/character-archetypes/README.md +0 -60
- package/templates/resources/character-archetypes/application-guide.md +0 -222
- package/templates/resources/character-archetypes/archetype-combinations.md +0 -242
- package/templates/resources/character-archetypes/config.yaml +0 -28
- package/templates/resources/character-archetypes/examples-analysis.md +0 -223
- package/templates/resources/config/keyword-mappings.json +0 -226
- package/templates/resources/config/specification-example.md +0 -146
- package/templates/resources/craft/character-arc.md +0 -1153
- package/templates/resources/craft/dialogue.md +0 -1170
- package/templates/resources/craft/hook-design.md +0 -345
- package/templates/resources/craft/pacing.md +0 -1200
- package/templates/resources/craft/power-system.md +0 -254
- package/templates/resources/craft/scene-structure.md +0 -1136
- package/templates/resources/craft/show-not-tell.md +0 -1012
- package/templates/resources/craft/story-structures.md +0 -134
- package/templates/resources/craft/tension-management.md +0 -168
- package/templates/resources/emotional-beats/01-first-meeting.md +0 -145
- package/templates/resources/emotional-beats/02-bonding-moment.md +0 -226
- package/templates/resources/emotional-beats/03-declaration.md +0 -284
- package/templates/resources/emotional-beats/04-triumph.md +0 -240
- package/templates/resources/emotional-beats/05-reunion.md +0 -396
- package/templates/resources/emotional-beats/06-forgiveness.md +0 -204
- package/templates/resources/emotional-beats/07-betrayal.md +0 -204
- package/templates/resources/emotional-beats/08-loss.md +0 -214
- package/templates/resources/emotional-beats/09-rejection.md +0 -254
- package/templates/resources/emotional-beats/10-failure.md +0 -244
- package/templates/resources/emotional-beats/11-misunderstanding.md +0 -205
- package/templates/resources/emotional-beats/12-farewell.md +0 -283
- package/templates/resources/emotional-beats/13-revelation.md +0 -242
- package/templates/resources/emotional-beats/14-point-of-no-return.md +0 -215
- package/templates/resources/emotional-beats/15-dark-night.md +0 -244
- package/templates/resources/emotional-beats/16-sacrifice.md +0 -246
- package/templates/resources/emotional-beats/17-awakening.md +0 -246
- package/templates/resources/emotional-beats/18-confrontation.md +0 -217
- package/templates/resources/emotional-beats/19-bittersweet-goodbye.md +0 -368
- package/templates/resources/emotional-beats/20-moral-dilemma.md +0 -248
- package/templates/resources/emotional-beats/21-temptation.md +0 -240
- package/templates/resources/emotional-beats/22-redemption.md +0 -210
- package/templates/resources/emotional-beats/README.md +0 -104
- package/templates/resources/emotional-beats/beat-sequences.md +0 -276
- package/templates/resources/emotional-beats/config.yaml +0 -30
- package/templates/resources/emotional-beats/pacing-guide.md +0 -390
- package/templates/resources/genres/game-lit.md +0 -174
- package/templates/resources/genres/historical.md +0 -1127
- package/templates/resources/genres/horror.md +0 -211
- package/templates/resources/genres/military.md +0 -209
- package/templates/resources/genres/mystery.md +0 -1123
- package/templates/resources/genres/rebirth.md +0 -177
- package/templates/resources/genres/revenge.md +0 -846
- package/templates/resources/genres/romance.md +0 -948
- package/templates/resources/genres/sci-fi.md +0 -156
- package/templates/resources/genres/sports.md +0 -216
- package/templates/resources/genres/thriller.md +0 -166
- package/templates/resources/genres/urban.md +0 -170
- package/templates/resources/genres/workplace.md +0 -214
- package/templates/resources/genres/wuxia.md +0 -143
- package/templates/resources/genres/xuanhuan.md +0 -234
- package/templates/resources/genres/youth.md +0 -219
- package/templates/resources/memory/personal-voice.md +0 -113
- package/templates/resources/references/README.md +0 -96
- package/templates/resources/references/china-1920s/culture.md +0 -423
- package/templates/resources/references/china-1920s/daily-life.md +0 -616
- package/templates/resources/references/china-1920s/overview.md +0 -298
- package/templates/resources/references/china-1920s/society.md +0 -703
- package/templates/resources/references/china-1920s/warlords.md +0 -427
- package/templates/resources/references/cultivation-world/daily-life.md +0 -108
- package/templates/resources/references/cultivation-world/overview.md +0 -64
- package/templates/resources/references/cultivation-world/power-system.md +0 -108
- package/templates/resources/references/cultivation-world/sects.md +0 -104
- package/templates/resources/references/cultivation-world/world-setting.md +0 -108
- package/templates/resources/references/modern-workplace/corporate.md +0 -115
- package/templates/resources/references/modern-workplace/daily-life.md +0 -129
- package/templates/resources/references/modern-workplace/overview.md +0 -73
- package/templates/resources/references/modern-workplace/relationships.md +0 -107
- package/templates/resources/references/modern-workplace/tech-industry.md +0 -131
- package/templates/resources/references/tang-dynasty/culture.md +0 -135
- package/templates/resources/references/tang-dynasty/daily-life.md +0 -139
- package/templates/resources/references/tang-dynasty/overview.md +0 -76
- package/templates/resources/references/tang-dynasty/politics.md +0 -121
- package/templates/resources/references/tang-dynasty/society.md +0 -126
- package/templates/resources/requirements/README.md +0 -240
- package/templates/resources/requirements/anti-ai-v3.md +0 -46
- package/templates/resources/requirements/anti-ai-v4-deprecated.md +0 -442
- package/templates/resources/requirements/anti-ai-v5-balanced.md +0 -203
- package/templates/resources/requirements/concretization.md +0 -90
- package/templates/resources/requirements/fast-paced.md +0 -552
- package/templates/resources/requirements/no-poison.md +0 -60
- package/templates/resources/requirements/romance-angst.md +0 -102
- package/templates/resources/requirements/romance-sweet.md +0 -63
- package/templates/resources/requirements/serious-literature.md +0 -45
- package/templates/resources/requirements/strong-emotion.md +0 -60
- package/templates/resources/scripts/README.md +0 -187
- package/templates/resources/scripts/bash/analyze-story.sh +0 -170
- package/templates/resources/scripts/bash/check-analyze-stage.sh +0 -108
- package/templates/resources/scripts/bash/check-consistency.sh +0 -463
- package/templates/resources/scripts/bash/check-facts.sh +0 -214
- package/templates/resources/scripts/bash/check-plot.sh +0 -374
- package/templates/resources/scripts/bash/check-timeline.sh +0 -346
- package/templates/resources/scripts/bash/check-world.sh +0 -395
- package/templates/resources/scripts/bash/check-writing-state.sh +0 -854
- package/templates/resources/scripts/bash/clarify-story.sh +0 -117
- package/templates/resources/scripts/bash/common.sh +0 -151
- package/templates/resources/scripts/bash/constitution.sh +0 -114
- package/templates/resources/scripts/bash/generate-tasks.sh +0 -65
- package/templates/resources/scripts/bash/init-tracking.sh +0 -183
- package/templates/resources/scripts/bash/manage-relations.sh +0 -174
- package/templates/resources/scripts/bash/migrate-tracking.sh +0 -183
- package/templates/resources/scripts/bash/plan-story.sh +0 -100
- package/templates/resources/scripts/bash/specify-story.sh +0 -93
- package/templates/resources/scripts/bash/tasks-story.sh +0 -96
- package/templates/resources/scripts/bash/test-word-count.sh +0 -182
- package/templates/resources/scripts/bash/tests/bench-preload-cache.sh +0 -100
- package/templates/resources/scripts/bash/tests/run-all-benchmarks.sh +0 -16
- package/templates/resources/scripts/bash/tests/test-cache-semantics.sh +0 -199
- package/templates/resources/scripts/bash/tests/test-cross-platform.sh +0 -35
- package/templates/resources/scripts/bash/tests/test-edge-cases-bash.sh +0 -60
- package/templates/resources/scripts/bash/tests/test-phase1-bash.sh +0 -28
- package/templates/resources/scripts/bash/tests/test-preload-cache.sh +0 -123
- package/templates/resources/scripts/bash/tests/test-regex-precompile.sh +0 -89
- package/templates/resources/scripts/bash/tests/test-regression-bash.sh +0 -42
- package/templates/resources/scripts/bash/tests/test-task6-verification.sh +0 -200
- package/templates/resources/scripts/bash/text-audit.sh +0 -144
- package/templates/resources/scripts/bash/track-progress.sh +0 -194
- package/templates/resources/scripts/powershell/analyze-story.ps1 +0 -174
- package/templates/resources/scripts/powershell/check-analyze-stage.ps1 +0 -110
- package/templates/resources/scripts/powershell/check-consistency.ps1 +0 -138
- package/templates/resources/scripts/powershell/check-facts.ps1 +0 -195
- package/templates/resources/scripts/powershell/check-plot.ps1 +0 -139
- package/templates/resources/scripts/powershell/check-timeline.ps1 +0 -112
- package/templates/resources/scripts/powershell/check-writing-state.ps1 +0 -486
- package/templates/resources/scripts/powershell/clarify-story.ps1 +0 -107
- package/templates/resources/scripts/powershell/common.ps1 +0 -36
- package/templates/resources/scripts/powershell/constitution.ps1 +0 -145
- package/templates/resources/scripts/powershell/generate-tasks.ps1 +0 -70
- package/templates/resources/scripts/powershell/init-tracking.ps1 +0 -98
- package/templates/resources/scripts/powershell/manage-relations.ps1 +0 -134
- package/templates/resources/scripts/powershell/migrate-tracking.ps1 +0 -145
- package/templates/resources/scripts/powershell/plan-story.ps1 +0 -99
- package/templates/resources/scripts/powershell/specify-story.ps1 +0 -85
- package/templates/resources/scripts/powershell/tests/bench-ps-cache.ps1 +0 -80
- package/templates/resources/scripts/powershell/tests/test-cross-platform.ps1 +0 -27
- package/templates/resources/scripts/powershell/tests/test-edge-cases-ps.ps1 +0 -29
- package/templates/resources/scripts/powershell/tests/test-phase1-ps.ps1 +0 -28
- package/templates/resources/scripts/powershell/tests/test-ps-cache.ps1 +0 -73
- package/templates/resources/scripts/powershell/tests/test-regression-ps.ps1 +0 -40
- package/templates/resources/scripts/powershell/text-audit.ps1 +0 -102
- package/templates/resources/scripts/powershell/track-progress.ps1 +0 -105
- package/templates/resources/styles/README.md +0 -302
- package/templates/resources/styles/ancient-style.md +0 -579
- package/templates/resources/styles/literary.md +0 -439
- package/templates/resources/styles/minimal.md +0 -472
- package/templates/resources/styles/natural-voice.md +0 -930
- package/templates/resources/styles/web-novel.md +0 -525
- package/templates/skills/analysis/character-analysis/SKILL.md +0 -71
- package/templates/skills/analysis/foreshadow-analysis/SKILL.md +0 -45
- package/templates/skills/analysis/hook-analysis/SKILL.md +0 -111
- package/templates/skills/analysis/logic-analysis/SKILL.md +0 -58
- package/templates/skills/analysis/opening-analysis/SKILL.md +0 -59
- package/templates/skills/analysis/pacing-analysis/SKILL.md +0 -55
- package/templates/skills/analysis/power-analysis/SKILL.md +0 -148
- package/templates/skills/analysis/reader-analysis/SKILL.md +0 -117
- package/templates/skills/analysis/style-analysis/SKILL.md +0 -60
- package/templates/skills/analysis/voice-analysis/SKILL.md +0 -42
- package/templates/skills/auto-tracking/SKILL.md +0 -280
- package/templates/skills/genre-knowledge/fantasy/SKILL.md +0 -355
- package/templates/skills/genre-knowledge/mystery/SKILL.md +0 -337
- package/templates/skills/genre-knowledge/romance/SKILL.md +0 -228
- package/templates/skills/genre-knowledge/sci-fi/SKILL.md +0 -65
- package/templates/skills/genre-knowledge/thriller/SKILL.md +0 -95
- package/templates/skills/planning/volume-detail/SKILL.md +0 -219
- package/templates/skills/quality-assurance/consistency-checker/SKILL.md +0 -412
- package/templates/skills/quality-assurance/continuity-tracker/SKILL.md +0 -157
- package/templates/skills/quality-assurance/facts-checker/SKILL.md +0 -405
- package/templates/skills/quality-assurance/forgotten-elements/SKILL.md +0 -147
- package/templates/skills/quality-assurance/getting-started/SKILL.md +0 -224
- package/templates/skills/quality-assurance/hook-checker/SKILL.md +0 -164
- package/templates/skills/quality-assurance/hook-checker/experts/hook-analyst.md +0 -33
- package/templates/skills/quality-assurance/long-series-continuity/SKILL.md +0 -570
- package/templates/skills/quality-assurance/pacing-monitor/SKILL.md +0 -143
- package/templates/skills/quality-assurance/pov-validator/SKILL.md +0 -135
- package/templates/skills/quality-assurance/pre-write-checklist/SKILL.md +0 -583
- package/templates/skills/quality-assurance/requirement-detector/CONFLICT_RESOLUTION.md +0 -119
- package/templates/skills/quality-assurance/requirement-detector/EXAMPLES.md +0 -146
- package/templates/skills/quality-assurance/requirement-detector/KEYWORDS.md +0 -160
- package/templates/skills/quality-assurance/requirement-detector/SKILL.md +0 -149
- package/templates/skills/quality-assurance/setting-detector/SKILL.md +0 -611
- package/templates/skills/quality-assurance/style-detector/CONFLICT_RESOLUTION.md +0 -126
- package/templates/skills/quality-assurance/style-detector/EXAMPLES.md +0 -206
- package/templates/skills/quality-assurance/style-detector/KEYWORDS.md +0 -207
- package/templates/skills/quality-assurance/style-detector/SKILL.md +0 -264
- package/templates/skills/quality-assurance/voice-consistency-checker/SKILL.md +0 -103
- package/templates/skills/quality-assurance/voice-consistency-checker/experts/voice-analyst.md +0 -21
- package/templates/skills/quality-assurance/workflow-guide/SKILL.md +0 -381
- package/templates/skills/writing-techniques/character-arc/SKILL.md +0 -267
- package/templates/skills/writing-techniques/dialogue-techniques/SKILL.md +0 -366
- package/templates/skills/writing-techniques/multi-thread-narrative/SKILL.md +0 -708
- package/templates/skills/writing-techniques/multi-thread-narrative/experts/thread-analyst.md +0 -226
- package/templates/skills/writing-techniques/pacing-control/SKILL.md +0 -480
- package/templates/skills/writing-techniques/reader-expectation/SKILL.md +0 -1026
- package/templates/skills/writing-techniques/reader-expectation/experts/expectation-analyst.md +0 -209
- package/templates/skills/writing-techniques/revision-polish/SKILL.md +0 -496
- package/templates/skills/writing-techniques/revision-polish/experts/revision-editor.md +0 -221
- package/templates/skills/writing-techniques/scene-structure/SKILL.md +0 -361
- package/templates/skills/writing-techniques/style-learning/SKILL.md +0 -436
- package/templates/skills/writing-techniques/writing-balance/.gitkeep +0 -0
- package/templates/skills/writing-techniques/writing-balance/SKILL.md +0 -460
- package/templates/skills/writing-techniques/writing-techniques/SKILL.md +0 -727
- package/templates/tracking/story-facts.json +0 -5
- package/templates/tracking/summary/characters-summary.json +0 -7
- package/templates/tracking/summary/plot-summary.json +0 -13
- package/templates/tracking/summary/timeline-summary.json +0 -8
- package/templates/tracking/summary/volume-summaries.json +0 -5
- package/templates/tracking/tracking-log.md +0 -110
- package/templates/tracking/validation-rules.json +0 -128
- /package/templates/resources/{memory/constitution.md → constitution.md} +0 -0
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
# Character Archetype Examples Analysis (原型示例分析)
|
|
2
|
-
|
|
3
|
-
本文档通过分析经典作品中的角色原型,展示原型理论在实际创作中的应用。
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 《魔戒》护戒队原型分析
|
|
8
|
-
|
|
9
|
-
《魔戒》是原型理论的教科书级范例——几乎每种原型都有清晰的代表角色。
|
|
10
|
-
|
|
11
|
-
### 弗罗多 — Hero
|
|
12
|
-
|
|
13
|
-
- **不完整性:** 平凡的霍比特人,没有战斗力,没有魔法,甚至没有冒险的欲望
|
|
14
|
-
- **召唤:** 继承魔戒——不是他选择的命运,而是命运选择了他
|
|
15
|
-
- **成长:** 不是变强,而是学会在绝望中坚持。他的成长是心理的、精神的
|
|
16
|
-
- **牺牲:** 愿意牺牲自己的生命和心智来摧毁魔戒
|
|
17
|
-
- **独特之处:** 弗罗多证明了英雄不需要强大——需要的是坚韧和善良
|
|
18
|
-
|
|
19
|
-
### 甘道夫 — Mentor + Herald
|
|
20
|
-
|
|
21
|
-
- **Herald 功能:** 首次来到夏尔,带来魔戒的真相,打破弗罗多平静的生活
|
|
22
|
-
- **Mentor 功能:** 指导护戒队,提供智慧和方向
|
|
23
|
-
- **有限介入:** 有强大力量但很少直接使用——他的角色是指引,不是替代
|
|
24
|
-
- **牺牲与回归:** 莫瑞亚坠落是经典的导师退场,迫使团队独立成长;后以白袍甘道夫回归
|
|
25
|
-
- **原型转变:** Herald → Mentor → 短暂退场 → 更强大的 Mentor
|
|
26
|
-
|
|
27
|
-
### 山姆 — Ally(最纯粹的盟友)
|
|
28
|
-
|
|
29
|
-
- **忠诚:** 从夏尔到末日山,从未动摇。即使被弗罗多赶走也选择回来
|
|
30
|
-
- **互补:** 弗罗多承担精神重担,山姆提供实际支持——做饭、警戒、保持希望
|
|
31
|
-
- **独立性:** 有自己的梦想(回家、种花园、娶罗西),牺牲因此更有重量
|
|
32
|
-
- **成长:** 从胆小的园丁到"我不能替你背它,但我能背你"
|
|
33
|
-
- **启示:** 山姆证明了最伟大的英雄行为可能是"不肯放手"
|
|
34
|
-
|
|
35
|
-
### 阿拉贡 — Hero(次要)+ Mentor
|
|
36
|
-
|
|
37
|
-
- **双重原型:** 对霍比特人是 Mentor(保护和指导),对自己是 Hero(接受王位的旅程)
|
|
38
|
-
- **自己的弧线:** 从流浪者到国王——他的英雄之旅与弗罗多平行但独立
|
|
39
|
-
- **Mentor 功能:** 在甘道夫退场后接替指导角色
|
|
40
|
-
|
|
41
|
-
### 波罗米尔 — Shapeshifter → Ally
|
|
42
|
-
|
|
43
|
-
- **忠诚不定:** 加入护戒队但被魔戒诱惑——读者始终不确定他会做什么
|
|
44
|
-
- **堕落:** 试图从弗罗多手中夺取魔戒——盟友变成了威胁
|
|
45
|
-
- **赎罪:** 保护梅里和皮平时战死——"我本想夺取魔戒,请原谅我"
|
|
46
|
-
- **启示:** 失败后的赎罪比从未失败更动人
|
|
47
|
-
|
|
48
|
-
### 皮平/梅里 — Trickster
|
|
49
|
-
|
|
50
|
-
- **喜剧元素:** 偷烟花、偷蔬菜——在严肃的故事中提供轻松时刻
|
|
51
|
-
- **意外贡献:** 皮平看水晶球意外获得关键情报,梅里帮助击杀巫王
|
|
52
|
-
- **成长:** 从捣蛋鬼到战士——但始终保持 Trickster 的本性
|
|
53
|
-
|
|
54
|
-
### 索伦 — Shadow
|
|
55
|
-
|
|
56
|
-
- **终极威胁:** 不是一个角色,而是一种力量——纯粹的、压倒性的邪恶
|
|
57
|
-
- **镜像:** 索伦代表权力的腐蚀,弗罗多代表对权力的抵抗
|
|
58
|
-
- **局限:** 作为角色缺乏深度——但作为象征非常有效
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
## 《哈利波特》系列原型分析
|
|
63
|
-
|
|
64
|
-
《哈利波特》的原型运用更加复杂——许多角色有多重原型身份,且在系列中经历原型转变。
|
|
65
|
-
|
|
66
|
-
### 哈利 — Hero
|
|
67
|
-
|
|
68
|
-
- **经典英雄弧线:** 孤儿 → 发现身份 → 训练 → 考验 → 牺牲 → 胜利
|
|
69
|
-
- **不完整性:** 不了解魔法世界,在姨妈家受虐待
|
|
70
|
-
- **成长:** 从被动接受命运到主动选择面对死亡
|
|
71
|
-
- **牺牲:** 第七部中走向死亡——自愿的、有意识的牺牲
|
|
72
|
-
- **独特之处:** 哈利的力量不是魔法,而是爱和选择
|
|
73
|
-
|
|
74
|
-
### 邓布利多 — Mentor + Shapeshifter
|
|
75
|
-
|
|
76
|
-
- **Mentor 功能:** 指导哈利,传授智慧,安排考验
|
|
77
|
-
- **Shapeshifter 面向:** 隐瞒关键信息,操纵哈利,为了"更大的善"牺牲个人
|
|
78
|
-
- **复杂性:** 读者直到第七部才完全理解邓布利多——他是善意的操纵者
|
|
79
|
-
- **牺牲:** 自己安排了自己的死亡——导师的退场是计划的一部分
|
|
80
|
-
- **启示:** 最复杂的导师不是完美的,而是有自己的黑暗面
|
|
81
|
-
|
|
82
|
-
### 伏地魔 — Shadow
|
|
83
|
-
|
|
84
|
-
- **镜像性:** 与哈利惊人地相似——都是孤儿、混血、在霍格沃茨找到归属
|
|
85
|
-
- **分岔点:** 哈利选择了爱,伏地魔选择了恐惧——同样的起点,不同的选择
|
|
86
|
-
- **动机:** 对死亡的恐惧——人类最基本的恐惧驱动了一切
|
|
87
|
-
- **主题功能:** 伏地魔 = 否认死亡,哈利 = 接受死亡
|
|
88
|
-
|
|
89
|
-
### 斯内普 — Shapeshifter(→ Mentor/Ally)
|
|
90
|
-
|
|
91
|
-
- **七部书的不确定性:** 读者始终不确定斯内普是敌是友
|
|
92
|
-
- **多重原型:** 表面是 Shadow(对哈利的敌意),暗中是 Mentor(保护哈利),本质是 Ally(对莉莉的爱)
|
|
93
|
-
- **最终揭示:** "Always"——一个词揭示了七部书的真相
|
|
94
|
-
- **启示:** 最长的 Shapeshifter 弧线创造了最大的情感冲击
|
|
95
|
-
|
|
96
|
-
### 赫敏 — Ally + Sage
|
|
97
|
-
|
|
98
|
-
- **互补:** 哈利靠直觉和勇气,赫敏靠知识和逻辑
|
|
99
|
-
- **Sage 面向:** 知识渊博,理性分析,常常是团队中最聪明的人
|
|
100
|
-
- **独立性:** 有自己的战斗——证明麻瓜出身的巫师同样优秀
|
|
101
|
-
- **成长:** 从死板的规则遵守者到愿意为正义打破规则
|
|
102
|
-
|
|
103
|
-
### 罗恩 — Ally + Trickster
|
|
104
|
-
|
|
105
|
-
- **Ally 功能:** 忠诚的朋友,情感支持
|
|
106
|
-
- **Trickster 面向:** 幽默、轻松,缓解紧张气氛
|
|
107
|
-
- **考验:** 第七部中离开又回来——忠诚被考验后更加坚定
|
|
108
|
-
- **互补:** 罗恩的"普通"平衡了哈利的"特殊"和赫敏的"优秀"
|
|
109
|
-
|
|
110
|
-
### 海格 — Herald + Ally
|
|
111
|
-
|
|
112
|
-
- **Herald 功能:** "哈利,你是一个巫师"——改变一切的消息
|
|
113
|
-
- **Ally 功能:** 贯穿全系列的忠诚支持者
|
|
114
|
-
- **独特之处:** 海格本身就是新世界的证明——他的体型和行为让魔法世界变得真实
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
## 《权力的游戏》复杂原型分析
|
|
119
|
-
|
|
120
|
-
《权力的游戏》的原型运用最为复杂——角色频繁经历原型转变,且同一角色对不同人扮演不同原型。
|
|
121
|
-
|
|
122
|
-
### 琼恩·雪诺 — Hero
|
|
123
|
-
|
|
124
|
-
- **经典英雄:** 私生子 → 守夜人 → 领袖 → 死亡与重生 → 王
|
|
125
|
-
- **不完整性:** 私生子身份带来的自卑和被排斥
|
|
126
|
-
- **牺牲:** 多次为集体利益牺牲个人——放弃爱情、放弃生命
|
|
127
|
-
- **独特之处:** 勉强英雄——从不想当领袖,但总是被推到领袖位置
|
|
128
|
-
|
|
129
|
-
### 丹妮莉丝 — Hero → Shadow
|
|
130
|
-
|
|
131
|
-
- **最震撼的原型转变:** 从被压迫的公主到解放者到征服者到暴君
|
|
132
|
-
- **Hero 阶段:** 解放奴隶、追求正义、赢得追随者
|
|
133
|
-
- **转折点:** 权力的腐蚀——与索伦的魔戒有相似的主题
|
|
134
|
-
- **Shadow 阶段:** 焚烧君临城——"解放者"变成了"毁灭者"
|
|
135
|
-
- **启示:** 英雄和阴影之间的距离可能只有一个选择
|
|
136
|
-
|
|
137
|
-
### 提利昂 — Hero + Trickster + Sage
|
|
138
|
-
|
|
139
|
-
- **三重原型:** 用智慧(Sage)和幽默(Trickster)在权力游戏中生存的非典型英雄(Hero)
|
|
140
|
-
- **独特之处:** 身体的局限迫使他用脑子而不是武力——"我喝酒,我知道事情"
|
|
141
|
-
- **成长:** 从被家族鄙视的侏儒到影响王国命运的谋士
|
|
142
|
-
|
|
143
|
-
### 瑟曦 — Shadow + Mother
|
|
144
|
-
|
|
145
|
-
- **复杂反派:** 她的一切行为都可以追溯到一个动机——保护子女
|
|
146
|
-
- **Mother 面向:** 对子女的爱是真实的、强烈的、不可质疑的
|
|
147
|
-
- **Shadow 面向:** 为了保护子女,她愿意做任何事——包括毁灭一切
|
|
148
|
-
- **启示:** 最好的反派有读者能理解的动机
|
|
149
|
-
|
|
150
|
-
### 小指头 — Trickster(黑暗版)
|
|
151
|
-
|
|
152
|
-
- **操纵者:** 用信息和欺骗操纵所有人——"混乱是阶梯"
|
|
153
|
-
- **无幽默的 Trickster:** 失去了 Trickster 通常的轻松和善意,变成了纯粹的操纵
|
|
154
|
-
- **警示:** 没有底线的 Trickster 就不再是 Trickster,而是 Shadow 的变体
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
## 中国经典作品原型分析
|
|
159
|
-
|
|
160
|
-
### 《西游记》取经团队
|
|
161
|
-
|
|
162
|
-
| 角色 | 主原型 | 次原型 | 分析 |
|
|
163
|
-
|------|--------|--------|------|
|
|
164
|
-
| 唐僧 | Hero | Sage | 精神层面的英雄——不靠武力,靠信念和慈悲 |
|
|
165
|
-
| 孙悟空 | Trickster | Hero/Ally | 中国文化最伟大的 Trickster——大闹天宫、七十二变、不服权威 |
|
|
166
|
-
| 猪八戒 | Trickster | Ally | 喜剧角色,但也提供实际帮助。贪吃好色的缺陷让他最接近普通人 |
|
|
167
|
-
| 沙僧 | Ally | — | 最纯粹的盟友——忠诚、可靠、默默支持 |
|
|
168
|
-
| 白龙马 | Ally | — | 沉默的支持者——存在本身就是贡献 |
|
|
169
|
-
|
|
170
|
-
**团队分析:**
|
|
171
|
-
- 两个 Trickster(悟空和八戒)创造了丰富的喜剧互动
|
|
172
|
-
- 唐僧作为 Hero 是非典型的——他是团队中最弱的,但精神上最坚定
|
|
173
|
-
- Shadow 不是固定角色,而是路上的各种妖怪——每个都是 Threshold Guardian
|
|
174
|
-
|
|
175
|
-
### 《三国演义》刘备集团
|
|
176
|
-
|
|
177
|
-
| 角色 | 主原型 | 次原型 | 分析 |
|
|
178
|
-
|------|--------|--------|------|
|
|
179
|
-
| 刘备 | Hero | Father | 仁义之主,集体的精神领袖 |
|
|
180
|
-
| 诸葛亮 | Mentor | Sage/Trickster | 智慧导师,用计谋(Trickster)辅佐英雄 |
|
|
181
|
-
| 关羽 | Ally | Threshold Guardian | 忠义化身,也是考验他人忠诚的标准 |
|
|
182
|
-
| 张飞 | Ally | Trickster | 勇猛但鲁莽,提供喜剧和战斗力 |
|
|
183
|
-
| 赵云 | Ally | Hero | 忠诚的盟友,也有自己的英雄时刻(长坂坡) |
|
|
184
|
-
| 曹操 | Shadow | Hero/Sage | 最复杂的阴影——在自己的故事里是英雄 |
|
|
185
|
-
|
|
186
|
-
**启示:**
|
|
187
|
-
- 曹操是"在自己故事里是英雄的阴影"的完美范例
|
|
188
|
-
- 诸葛亮融合了 Mentor、Sage 和 Trickster——智慧、知识和诡计的统一
|
|
189
|
-
- 桃园结义展示了中国文化中 Ally 关系的独特形式——义兄弟
|
|
190
|
-
|
|
191
|
-
---
|
|
192
|
-
|
|
193
|
-
## 原型分析方法
|
|
194
|
-
|
|
195
|
-
### 如何分析一个角色的原型
|
|
196
|
-
|
|
197
|
-
1. **观察功能:** 这个角色在故事中做了什么?(指导?对抗?支持?搅局?)
|
|
198
|
-
2. **识别关系:** 他与主角的关系是什么?(师徒?对手?伙伴?)
|
|
199
|
-
3. **追踪变化:** 他的原型身份在故事中是否发生了变化?
|
|
200
|
-
4. **检查深度:** 他是否有次原型?多重原型如何互动?
|
|
201
|
-
5. **比较文化:** 同一原型在不同文化中有什么不同的表现?
|
|
202
|
-
|
|
203
|
-
### 分析模板
|
|
204
|
-
|
|
205
|
-
```
|
|
206
|
-
角色名:___
|
|
207
|
-
作品:___
|
|
208
|
-
|
|
209
|
-
主原型:___
|
|
210
|
-
次原型:___(如有)
|
|
211
|
-
|
|
212
|
-
原型证据:
|
|
213
|
-
- 功能:___
|
|
214
|
-
- 关系:___
|
|
215
|
-
- 弧线:___
|
|
216
|
-
|
|
217
|
-
原型转变:(如有)
|
|
218
|
-
- 从 ___ 到 ___
|
|
219
|
-
- 转变原因:___
|
|
220
|
-
|
|
221
|
-
独特之处:
|
|
222
|
-
- 如何超越原型模板:___
|
|
223
|
-
```
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "1.2.0",
|
|
3
|
-
"description": "关键词触发机制的映射表(含预编译正则)",
|
|
4
|
-
"mappings": {
|
|
5
|
-
"craft-knowledge": {
|
|
6
|
-
"dialogue": {
|
|
7
|
-
"keywords": ["对话", "台词", "说话", "对白", "conversation", "dialogue"],
|
|
8
|
-
"regex": "对话|台词|说话|对白|conversation|dialogue",
|
|
9
|
-
"regex_flags": "i",
|
|
10
|
-
"resources": [
|
|
11
|
-
"resources/craft/dialogue.md",
|
|
12
|
-
"templates/skills/writing-techniques/dialogue-techniques/SKILL.md"
|
|
13
|
-
],
|
|
14
|
-
"priority": 1
|
|
15
|
-
},
|
|
16
|
-
"scene-structure": {
|
|
17
|
-
"keywords": ["场景", "镜头", "画面", "scene", "structure"],
|
|
18
|
-
"regex": "场景|镜头|画面|scene|structure",
|
|
19
|
-
"regex_flags": "i",
|
|
20
|
-
"resources": [
|
|
21
|
-
"resources/craft/scene-structure.md",
|
|
22
|
-
"templates/skills/writing-techniques/scene-structure/SKILL.md"
|
|
23
|
-
],
|
|
24
|
-
"priority": 1
|
|
25
|
-
},
|
|
26
|
-
"character-arc": {
|
|
27
|
-
"keywords": ["角色成长", "角色弧线", "弧线", "转变", "成长", "character arc", "transformation"],
|
|
28
|
-
"regex": "角色成长|角色弧线|弧线|转变|成长|character\\s*arc|transformation",
|
|
29
|
-
"regex_flags": "i",
|
|
30
|
-
"resources": [
|
|
31
|
-
"resources/craft/character-arc.md",
|
|
32
|
-
"templates/skills/writing-techniques/character-arc/SKILL.md"
|
|
33
|
-
],
|
|
34
|
-
"priority": 1
|
|
35
|
-
},
|
|
36
|
-
"pacing": {
|
|
37
|
-
"keywords": ["节奏", "拖沓", "太快", "太慢", "过快", "过慢", "pacing", "rhythm"],
|
|
38
|
-
"regex": "节奏|拖沓|太快|太慢|过快|过慢|pacing|rhythm",
|
|
39
|
-
"regex_flags": "i",
|
|
40
|
-
"resources": [
|
|
41
|
-
"resources/craft/pacing.md",
|
|
42
|
-
"templates/skills/writing-techniques/pacing-control/SKILL.md"
|
|
43
|
-
],
|
|
44
|
-
"priority": 1
|
|
45
|
-
},
|
|
46
|
-
"show-not-tell": {
|
|
47
|
-
"keywords": ["展示", "描写", "tell", "show", "showing", "telling"],
|
|
48
|
-
"regex": "展示|描写|tell|show|showing|telling",
|
|
49
|
-
"regex_flags": "i",
|
|
50
|
-
"resources": [
|
|
51
|
-
"resources/craft/show-not-tell.md"
|
|
52
|
-
],
|
|
53
|
-
"priority": 1
|
|
54
|
-
},
|
|
55
|
-
"hook-design": {
|
|
56
|
-
"keywords": ["钩子", "悬念", "章末", "hook", "cliffhanger", "结尾"],
|
|
57
|
-
"regex": "钩子|悬念|章末|hook|cliffhanger|结尾",
|
|
58
|
-
"regex_flags": "i",
|
|
59
|
-
"resources": [
|
|
60
|
-
"resources/craft/hook-design.md"
|
|
61
|
-
],
|
|
62
|
-
"priority": 1
|
|
63
|
-
},
|
|
64
|
-
"power-system": {
|
|
65
|
-
"keywords": ["力量体系", "战力", "境界", "等级", "power system", "combat"],
|
|
66
|
-
"regex": "力量体系|战力|境界|等级|power\\s*system|combat",
|
|
67
|
-
"regex_flags": "i",
|
|
68
|
-
"resources": [
|
|
69
|
-
"resources/craft/power-system.md"
|
|
70
|
-
],
|
|
71
|
-
"priority": 1
|
|
72
|
-
},
|
|
73
|
-
"tension-management": {
|
|
74
|
-
"keywords": ["紧张感", "张力", "信息差", "时间压力", "两难", "tension", "dilemma"],
|
|
75
|
-
"regex": "紧张感|张力|信息差|时间压力|两难|tension|dilemma",
|
|
76
|
-
"regex_flags": "i",
|
|
77
|
-
"resources": [
|
|
78
|
-
"resources/craft/tension-management.md"
|
|
79
|
-
],
|
|
80
|
-
"priority": 1
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"genre-knowledge": {
|
|
84
|
-
"romance": {
|
|
85
|
-
"keywords": ["言情", "恋爱", "感情", "爱情", "romance", "love"],
|
|
86
|
-
"regex": "言情|恋爱|感情|爱情|romance|love",
|
|
87
|
-
"regex_flags": "i",
|
|
88
|
-
"resources": [
|
|
89
|
-
"resources/genres/romance.md",
|
|
90
|
-
"templates/skills/genre-knowledge/romance/SKILL.md"
|
|
91
|
-
],
|
|
92
|
-
"priority": 2
|
|
93
|
-
},
|
|
94
|
-
"mystery": {
|
|
95
|
-
"keywords": ["悬疑", "推理", "线索", "mystery", "detective", "clue"],
|
|
96
|
-
"regex": "悬疑|推理|线索|mystery|detective|clue",
|
|
97
|
-
"regex_flags": "i",
|
|
98
|
-
"resources": [
|
|
99
|
-
"resources/genres/mystery.md",
|
|
100
|
-
"templates/skills/genre-knowledge/mystery/SKILL.md"
|
|
101
|
-
],
|
|
102
|
-
"priority": 2
|
|
103
|
-
},
|
|
104
|
-
"wuxia": {
|
|
105
|
-
"keywords": ["武侠", "江湖", "侠客", "武功", "wuxia", "martial arts"],
|
|
106
|
-
"regex": "武侠|江湖|侠客|武功|wuxia|martial\\s*arts",
|
|
107
|
-
"regex_flags": "i",
|
|
108
|
-
"resources": [
|
|
109
|
-
"resources/genres/wuxia.md"
|
|
110
|
-
],
|
|
111
|
-
"priority": 2
|
|
112
|
-
},
|
|
113
|
-
"historical": {
|
|
114
|
-
"keywords": ["历史", "古代", "朝代", "宫廷", "historical", "dynasty"],
|
|
115
|
-
"regex": "历史|古代|朝代|宫廷|historical|dynasty",
|
|
116
|
-
"regex_flags": "i",
|
|
117
|
-
"resources": [
|
|
118
|
-
"resources/genres/historical.md"
|
|
119
|
-
],
|
|
120
|
-
"priority": 2
|
|
121
|
-
},
|
|
122
|
-
"sci-fi": {
|
|
123
|
-
"keywords": ["科幻", "未来", "太空", "星际", "sci-fi", "science fiction"],
|
|
124
|
-
"regex": "科幻|未来|太空|星际|sci-fi|science\\s*fiction",
|
|
125
|
-
"regex_flags": "i",
|
|
126
|
-
"resources": [
|
|
127
|
-
"resources/genres/sci-fi.md"
|
|
128
|
-
],
|
|
129
|
-
"priority": 2
|
|
130
|
-
},
|
|
131
|
-
"thriller": {
|
|
132
|
-
"keywords": ["惊悚", "恐怖", "紧张", "thriller", "horror", "suspense"],
|
|
133
|
-
"regex": "惊悚|恐怖|紧张|thriller|horror|suspense",
|
|
134
|
-
"regex_flags": "i",
|
|
135
|
-
"resources": [
|
|
136
|
-
"resources/genres/thriller.md"
|
|
137
|
-
],
|
|
138
|
-
"priority": 2
|
|
139
|
-
},
|
|
140
|
-
"revenge": {
|
|
141
|
-
"keywords": ["复仇", "报仇", "仇恨", "revenge", "vengeance"],
|
|
142
|
-
"regex": "复仇|报仇|仇恨|revenge|vengeance",
|
|
143
|
-
"regex_flags": "i",
|
|
144
|
-
"resources": [
|
|
145
|
-
"resources/genres/revenge.md"
|
|
146
|
-
],
|
|
147
|
-
"priority": 2
|
|
148
|
-
},
|
|
149
|
-
"xuanhuan": {
|
|
150
|
-
"keywords": ["玄幻", "修仙", "修炼", "境界", "灵气", "宗门", "xuanhuan", "cultivation"],
|
|
151
|
-
"regex": "玄幻|修仙|修炼|境界|灵气|宗门|xuanhuan|cultivation",
|
|
152
|
-
"regex_flags": "i",
|
|
153
|
-
"resources": [
|
|
154
|
-
"resources/genres/xuanhuan.md"
|
|
155
|
-
],
|
|
156
|
-
"priority": 2
|
|
157
|
-
},
|
|
158
|
-
"urban": {
|
|
159
|
-
"keywords": ["都市", "现代", "城市", "职场", "urban", "modern", "city"],
|
|
160
|
-
"regex": "都市|现代|城市|职场|urban|modern|city",
|
|
161
|
-
"regex_flags": "i",
|
|
162
|
-
"resources": [
|
|
163
|
-
"resources/genres/urban.md"
|
|
164
|
-
],
|
|
165
|
-
"priority": 2
|
|
166
|
-
},
|
|
167
|
-
"game-lit": {
|
|
168
|
-
"keywords": ["游戏", "系统", "面板", "副本", "game", "system", "dungeon"],
|
|
169
|
-
"regex": "游戏|系统|面板|副本|game|system|dungeon",
|
|
170
|
-
"regex_flags": "i",
|
|
171
|
-
"resources": [
|
|
172
|
-
"resources/genres/game-lit.md"
|
|
173
|
-
],
|
|
174
|
-
"priority": 2
|
|
175
|
-
},
|
|
176
|
-
"rebirth": {
|
|
177
|
-
"keywords": ["重生", "穿越", "回到过去", "前世", "rebirth", "reincarnation", "transmigration"],
|
|
178
|
-
"regex": "重生|穿越|回到过去|前世|rebirth|reincarnation|transmigration",
|
|
179
|
-
"regex_flags": "i",
|
|
180
|
-
"resources": [
|
|
181
|
-
"resources/genres/rebirth.md"
|
|
182
|
-
],
|
|
183
|
-
"priority": 2
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"quality-assurance": {
|
|
187
|
-
"consistency": {
|
|
188
|
-
"keywords": ["一致性", "矛盾", "冲突", "consistency", "contradiction"],
|
|
189
|
-
"regex": "一致性|矛盾|冲突|consistency|contradiction",
|
|
190
|
-
"regex_flags": "i",
|
|
191
|
-
"resources": [
|
|
192
|
-
"templates/skills/quality-assurance/consistency-checker/SKILL.md"
|
|
193
|
-
],
|
|
194
|
-
"priority": 3
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"regex-patterns": {
|
|
199
|
-
"dialogue": "对话|台词|说话|对白",
|
|
200
|
-
"scene": "场景|镜头|画面",
|
|
201
|
-
"character-arc": "角色成长|角色弧线|弧线|转变|成长",
|
|
202
|
-
"pacing": "节奏|拖沓|太快|太慢|过快|过慢",
|
|
203
|
-
"show-tell": "展示|描写|tell|show",
|
|
204
|
-
"hook-design": "钩子|悬念|章末|hook|cliffhanger|结尾",
|
|
205
|
-
"power-system": "力量体系|战力|境界|等级",
|
|
206
|
-
"romance": "言情|恋爱|感情|爱情",
|
|
207
|
-
"mystery": "悬疑|推理|线索",
|
|
208
|
-
"wuxia": "武侠|江湖|侠客|武功",
|
|
209
|
-
"historical": "历史|古代|朝代|宫廷",
|
|
210
|
-
"sci-fi": "科幻|未来|太空|星际",
|
|
211
|
-
"thriller": "惊悚|恐怖|紧张",
|
|
212
|
-
"revenge": "复仇|报仇|仇恨",
|
|
213
|
-
"xuanhuan": "玄幻|修仙|修炼|境界|灵气|宗门",
|
|
214
|
-
"consistency": "一致性|矛盾|冲突",
|
|
215
|
-
"tension-management": "紧张感|张力|信息差|时间压力|两难",
|
|
216
|
-
"urban": "都市|现代|城市|职场",
|
|
217
|
-
"game-lit": "游戏|系统|面板|副本",
|
|
218
|
-
"rebirth": "重生|穿越|回到过去|前世"
|
|
219
|
-
},
|
|
220
|
-
"notes": {
|
|
221
|
-
"priority": "优先级数字越小越高(1 最高)",
|
|
222
|
-
"usage": "scripts/bash/check-writing-state.sh 会读取此文件",
|
|
223
|
-
"extensibility": "可通过 specification.md 的 resource-loading.keyword-triggers.custom-mappings 扩展",
|
|
224
|
-
"performance": "regex 字段为预编译正则表达式,脚本直接使用,避免运行时构建"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
# 故事规格说明示例
|
|
2
|
-
|
|
3
|
-
## 最小配置(使用默认智能推断)
|
|
4
|
-
|
|
5
|
-
```yaml
|
|
6
|
-
---
|
|
7
|
-
title: "我的小说"
|
|
8
|
-
genre: romance
|
|
9
|
-
---
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
**说明**:
|
|
13
|
-
- 不配置 `resource-loading` 时,使用默认智能推断
|
|
14
|
-
- 根据 `genre` 自动加载对应的 genre knowledge-base
|
|
15
|
-
- 自动加载所有 craft knowledge-base 和 writing-techniques skills
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## 标准配置(使用原有机制)
|
|
20
|
-
|
|
21
|
-
```yaml
|
|
22
|
-
---
|
|
23
|
-
title: "我的小说"
|
|
24
|
-
genre: romance
|
|
25
|
-
writing-style: natural-voice
|
|
26
|
-
writing-requirements:
|
|
27
|
-
- anti-ai-v4
|
|
28
|
-
- fast-paced
|
|
29
|
-
---
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
**说明**:
|
|
33
|
-
- `writing-style` 会自动加载 `knowledge-base/styles/natural-voice.md`
|
|
34
|
-
- `writing-requirements` 会自动加载对应的 requirements 文档
|
|
35
|
-
- 向后兼容现有项目
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## 完整配置(使用三层机制)
|
|
40
|
-
|
|
41
|
-
```yaml
|
|
42
|
-
---
|
|
43
|
-
title: "我的小说"
|
|
44
|
-
genre: romance
|
|
45
|
-
writing-style: natural-voice
|
|
46
|
-
writing-requirements:
|
|
47
|
-
- anti-ai-v4
|
|
48
|
-
- fast-paced
|
|
49
|
-
|
|
50
|
-
# 新增:资源加载配置
|
|
51
|
-
resource-loading:
|
|
52
|
-
# 控制自动推断
|
|
53
|
-
auto-load: true # false 则完全禁用智能推断
|
|
54
|
-
|
|
55
|
-
# 知识库配置
|
|
56
|
-
knowledge-base:
|
|
57
|
-
craft:
|
|
58
|
-
- dialogue # 明确启用
|
|
59
|
-
- scene-structure
|
|
60
|
-
- pacing
|
|
61
|
-
- "!character-arc" # ! 前缀表示禁用
|
|
62
|
-
- "!show-not-tell"
|
|
63
|
-
genres:
|
|
64
|
-
- romance # 自动从 genre 字段推断,也可手动指定
|
|
65
|
-
requirements:
|
|
66
|
-
- anti-ai-v4 # 自动从 writing-requirements 推断
|
|
67
|
-
- fast-paced
|
|
68
|
-
|
|
69
|
-
# Skills 配置
|
|
70
|
-
skills:
|
|
71
|
-
writing-techniques:
|
|
72
|
-
- dialogue-techniques
|
|
73
|
-
- pacing-control
|
|
74
|
-
- "!character-arc" # 禁用某个 skill
|
|
75
|
-
quality-assurance:
|
|
76
|
-
- consistency-checker # 默认会加载,可省略
|
|
77
|
-
|
|
78
|
-
# 关键词触发配置
|
|
79
|
-
keyword-triggers:
|
|
80
|
-
enabled: true # 是否启用运行时关键词触发
|
|
81
|
-
custom-mappings: # 自定义关键词映射
|
|
82
|
-
"情感节奏": knowledge-base/craft/pacing.md
|
|
83
|
-
"甜度": knowledge-base/genres/romance.md
|
|
84
|
-
|
|
85
|
-
# 分析命令专用配置
|
|
86
|
-
analysis:
|
|
87
|
-
knowledge-base:
|
|
88
|
-
craft:
|
|
89
|
-
- dialogue # 只检查对话质量
|
|
90
|
-
- pacing # 只检查节奏
|
|
91
|
-
skills:
|
|
92
|
-
quality-assurance:
|
|
93
|
-
- consistency-checker
|
|
94
|
-
- "!workflow-guide" # 分析时不需要工作流引导
|
|
95
|
-
---
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
**说明**:
|
|
99
|
-
|
|
100
|
-
### resource-loading 配置详解
|
|
101
|
-
|
|
102
|
-
#### auto-load(自动加载开关)
|
|
103
|
-
- `true`(默认):启用默认智能推断
|
|
104
|
-
- `false`:完全禁用智能推断,只加载显式配置的资源
|
|
105
|
-
|
|
106
|
-
#### knowledge-base(知识库配置)
|
|
107
|
-
- **craft**: 写作技巧知识库
|
|
108
|
-
- 可选值:`dialogue`, `scene-structure`, `character-arc`, `pacing`, `show-not-tell`
|
|
109
|
-
- 使用 `!` 前缀禁用(如 `!character-arc`)
|
|
110
|
-
- **genres**: 类型知识库
|
|
111
|
-
- 自动从 `genre` 字段推断
|
|
112
|
-
- 可手动指定其他类型
|
|
113
|
-
- **requirements**: 写作规范
|
|
114
|
-
- 自动从 `writing-requirements` 字段推断
|
|
115
|
-
|
|
116
|
-
#### skills(Skills 配置)
|
|
117
|
-
- **writing-techniques**: 写作技巧 Skills
|
|
118
|
-
- 可选值:`dialogue-techniques`, `scene-structure`, `character-arc`, `pacing-control`
|
|
119
|
-
- **quality-assurance**: 质量保证 Skills
|
|
120
|
-
- 可选值:`consistency-checker`, `workflow-guide`
|
|
121
|
-
|
|
122
|
-
#### keyword-triggers(关键词触发)
|
|
123
|
-
- **enabled**: 是否启用运行时关键词触发
|
|
124
|
-
- **custom-mappings**: 自定义关键词 → 资源映射
|
|
125
|
-
|
|
126
|
-
#### analysis(分析命令专用)
|
|
127
|
-
- 为 `/analyze` 等分析命令指定专用配置
|
|
128
|
-
- 结构与主配置相同,但只在分析命令中生效
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## 配置优先级
|
|
133
|
-
|
|
134
|
-
**优先级**:配置声明 > 智能推断 > 关键词触发
|
|
135
|
-
|
|
136
|
-
1. **配置声明最高**:显式配置的资源一定会加载/禁用
|
|
137
|
-
2. **智能推断次之**:根据 genre、writing-style 等字段推断
|
|
138
|
-
3. **关键词触发最低**:运行时检测关键词动态加载
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
## 向后兼容性
|
|
143
|
-
|
|
144
|
-
- 不配置 `resource-loading` → 使用默认智能推断 + 原有机制
|
|
145
|
-
- 部分配置 `resource-loading` → 未配置的部分使用默认值
|
|
146
|
-
- 现有项目无需修改,自动享受智能推断
|