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,269 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 通过针对性问答澄清故事大纲中的模糊点,确保创作方向明确,支持焦点参数
|
|
3
|
-
argument-hint: [关键词或焦点领域]
|
|
4
|
-
allowed-tools: Read(//stories/**), Read(//stories/**), Read(//plugins/**), Read(plugins/**), Write(//stories/*/specification.md), Write(//stories/*/specification.md), Bash(ls:*), Bash(find:*), Bash(*)
|
|
5
|
-
disable-model-invocation: false
|
|
6
|
-
scripts:
|
|
7
|
-
sh: resources/scripts/bash/clarify-story.sh --json --paths-only
|
|
8
|
-
ps: resources/scripts/powershell/clarify-story.ps1 -Json -PathsOnly
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
焦点区域(可选):$ARGUMENTS
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 目标
|
|
15
|
-
|
|
16
|
-
检测并减少故事大纲中的歧义或缺失的决策点,通过交互式问答收集澄清信息,并将结果记录在故事文件中。
|
|
17
|
-
|
|
18
|
-
**注意**:此澄清流程应在 `/plan` 之前运行并完成。如果用户明确表示跳过澄清(例如,探索性创作),可以继续,但必须警告下游返工风险会增加。
|
|
19
|
-
|
|
20
|
-
## 执行步骤
|
|
21
|
-
|
|
22
|
-
### 1. 初始化检查
|
|
23
|
-
|
|
24
|
-
运行 `{SCRIPT}` 获取当前故事路径:
|
|
25
|
-
- 解析 JSON 获取 `STORY_PATH` 和 `STORY_NAME`
|
|
26
|
-
- 如果没有找到故事文件,提示用户先运行 `/specify` 创建故事规格
|
|
27
|
-
- 加载故事文件内容进行分析
|
|
28
|
-
|
|
29
|
-
<!-- PLUGIN_HOOK: genre-knowledge-clarify -->
|
|
30
|
-
<!-- 插件增强区:类型识别
|
|
31
|
-
如果你安装了 genre-knowledge 插件,请在此处插入类型识别增强提示词
|
|
32
|
-
参考:plugins/genre-knowledge/README.md 的"2.1 增强 /clarify 命令"章节
|
|
33
|
-
-->
|
|
34
|
-
|
|
35
|
-
### 2. 结构化歧义扫描
|
|
36
|
-
|
|
37
|
-
对故事大纲进行全面扫描,评估每个类别的清晰度(清晰/部分清晰/缺失):
|
|
38
|
-
|
|
39
|
-
**创作定位**
|
|
40
|
-
- 目标读者群体(年龄段、性别倾向、阅读层次)
|
|
41
|
-
- 作品定位(商业爽文/严肃文学/类型小说)
|
|
42
|
-
- 预期规模(短篇3-5万/中篇10-20万/长篇50万+)
|
|
43
|
-
|
|
44
|
-
**世界观设定**
|
|
45
|
-
- 时代背景精确度(具体年份/朝代/架空程度)
|
|
46
|
-
- 世界规则(魔法体系/科技水平/社会制度)
|
|
47
|
-
- 地理范围(单一城市/多国/大陆/星际)
|
|
48
|
-
|
|
49
|
-
**角色设计**
|
|
50
|
-
- 主角成长曲线(废柴逆袭/天才型/稳扎稳打)
|
|
51
|
-
- 主角性格基调(热血/冷静/腹黑/圣母)
|
|
52
|
-
- 配角功能定位(推动剧情/情感支撑/对比反衬)
|
|
53
|
-
- 反派智商设定(降智反派/势均力敌/高维碾压)
|
|
54
|
-
|
|
55
|
-
**叙事策略**
|
|
56
|
-
- 视角选择(第一人称/第三人称限定/上帝视角)
|
|
57
|
-
- 时间线结构(线性叙事/倒叙插叙/多线并行)
|
|
58
|
-
- 叙事节奏(快节奏爽文/慢热铺垫/张弛有度)
|
|
59
|
-
|
|
60
|
-
**情节核心**
|
|
61
|
-
- 核心冲突类型(人vs人/人vs自然/人vs社会/人vs自我)
|
|
62
|
-
- 主线目标明确度(复仇/成长/拯救/探索)
|
|
63
|
-
- 结局倾向(大团圆/悲剧/开放式)
|
|
64
|
-
|
|
65
|
-
**风格基调**
|
|
66
|
-
- 文风选择(白话流畅/古风典雅/幽默诙谐/冷峻写实)
|
|
67
|
-
- 描写侧重(动作场面/心理描写/环境氛围/对话推进)
|
|
68
|
-
- 情感基调(热血激昂/压抑黑暗/温馨治愈/虐心催泪)
|
|
69
|
-
|
|
70
|
-
**创作约束**
|
|
71
|
-
- 敏感内容处理(violence程度/情感尺度)
|
|
72
|
-
- 价值观导向(正能量/现实主义/批判性)
|
|
73
|
-
- 更新计划(日更/周更/月更)
|
|
74
|
-
|
|
75
|
-
对每个"部分清晰"或"缺失"的类别生成候选问题,除非:
|
|
76
|
-
- 澄清不会实质影响创作方向
|
|
77
|
-
- 信息更适合在章节规划阶段确定
|
|
78
|
-
|
|
79
|
-
### 3. 生成优先问题队列
|
|
80
|
-
|
|
81
|
-
内部生成最多5个优先澄清问题,应用以下约束:
|
|
82
|
-
- 整个会话最多5个问题
|
|
83
|
-
- 每个问题必须可以通过以下方式之一回答:
|
|
84
|
-
* 多选题(2-5个互斥选项)
|
|
85
|
-
* 简答题(限制5个词以内)
|
|
86
|
-
- 只包含对创作方向有实质影响的问题
|
|
87
|
-
- 确保类别覆盖平衡,优先高影响领域
|
|
88
|
-
- 如果超过5个类别需要澄清,选择(影响力×不确定性)最高的5个
|
|
89
|
-
|
|
90
|
-
### 3.5 问题设计原则(对话式理解)
|
|
91
|
-
|
|
92
|
-
每个问题应当**像真人写手在交流**,而不是工程师在填表。
|
|
93
|
-
|
|
94
|
-
**核心原则**:
|
|
95
|
-
- ✅ **先说观察,再问问题**:让作者明白"为什么要问这个"
|
|
96
|
-
- ✅ **说人话**:用创作者的语言,而不是分类学术语
|
|
97
|
-
- ✅ **指出影响**:让作者理解这个决策会影响什么
|
|
98
|
-
- ❌ **避免直接抛问题**:不要一上来就"请问你的目标读者是?"
|
|
99
|
-
|
|
100
|
-
**对比示例**:
|
|
101
|
-
|
|
102
|
-
❌ **工程化提问**(避免):
|
|
103
|
-
```
|
|
104
|
-
问题1:你的目标读者是什么年龄段?
|
|
105
|
-
A. 18-25岁 B. 26-35岁 C. 36-45岁
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
✅ **对话式提问**(推荐):
|
|
109
|
-
```
|
|
110
|
-
💬 我注意到你的故事有校园元素,但也有职场内容。这两个场景对应的读者群体差异很大——
|
|
111
|
-
校园读者喜欢热血成长,职场读者更关注权谋博弈。这会直接影响我们的节奏设计和价值观表达。
|
|
112
|
-
|
|
113
|
-
所以想先确认:**你主要想写给谁看?**
|
|
114
|
-
|
|
115
|
-
| 选项 | 说明 |
|
|
116
|
-
|------|------|
|
|
117
|
-
| A | 学生群体(18-25岁)- 侧重成长和理想主义 |
|
|
118
|
-
| B | 职场人士(26-35岁)- 侧重现实和策略思维 |
|
|
119
|
-
| C | 通吃(调整为双线叙事,兼顾两者)|
|
|
120
|
-
| D | 自定义(请输入你的想法)|
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
**提问结构模板**:
|
|
124
|
-
```markdown
|
|
125
|
-
💬 [观察到的现象/矛盾点]。[这会影响什么创作决策]。
|
|
126
|
-
|
|
127
|
-
所以想确认:**[核心问题]**
|
|
128
|
-
|
|
129
|
-
[选项表格或简答提示]
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### 4. 顺序问答循环
|
|
133
|
-
|
|
134
|
-
**一次展示一个问题**,按照对话式格式提问。
|
|
135
|
-
|
|
136
|
-
多选题格式(必须包含问题背景):
|
|
137
|
-
```markdown
|
|
138
|
-
💬 [问题背景说明:你观察到了什么?这会影响什么?]
|
|
139
|
-
|
|
140
|
-
所以想确认:**[核心问题]**
|
|
141
|
-
|
|
142
|
-
| 选项 | 说明 |
|
|
143
|
-
|------|------|
|
|
144
|
-
| A | 选项A的详细说明 |
|
|
145
|
-
| B | 选项B的详细说明 |
|
|
146
|
-
| C | 选项C的详细说明 |
|
|
147
|
-
| D | 选项D的详细说明 |
|
|
148
|
-
| E | 选项E的详细说明(可选)|
|
|
149
|
-
| F | 自定义(请输入你的想法)|
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
简答题格式(必须包含问题背景):
|
|
153
|
-
```markdown
|
|
154
|
-
💬 [问题背景说明:你观察到了什么?这会影响什么?]
|
|
155
|
-
|
|
156
|
-
所以想确认:**[核心问题]**
|
|
157
|
-
|
|
158
|
-
请简要回答(5个词以内):_______
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
**处理用户回答**
|
|
162
|
-
- 验证答案有效性
|
|
163
|
-
- 如选择 F(自定义),接收并记录用户输入的自定义内容
|
|
164
|
-
- 如有歧义,请求快速澄清
|
|
165
|
-
- 记录答案并继续下一个问题
|
|
166
|
-
|
|
167
|
-
**停止条件**
|
|
168
|
-
- 所有关键歧义已解决
|
|
169
|
-
- 用户示意完成("好了"、"够了"、"不用了")
|
|
170
|
-
- 已达到5个问题上限
|
|
171
|
-
|
|
172
|
-
### 5. 整合澄清结果
|
|
173
|
-
|
|
174
|
-
每个接受的答案后立即:
|
|
175
|
-
|
|
176
|
-
**首次整合时**
|
|
177
|
-
- 在故事大纲中创建 `## 澄清记录` 章节(如不存在)
|
|
178
|
-
- 添加 `### 澄清会话 [日期]` 子标题
|
|
179
|
-
|
|
180
|
-
**记录格式**
|
|
181
|
-
```markdown
|
|
182
|
-
- 问:[问题内容] → 答:[用户答案]
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
**更新相关章节**
|
|
186
|
-
根据澄清内容更新故事大纲的对应部分:
|
|
187
|
-
- 创作定位 → 更新故事概述
|
|
188
|
-
- 世界观 → 更新世界观设定
|
|
189
|
-
- 角色 → 更新角色设定
|
|
190
|
-
- 叙事策略 → 添加到创作说明
|
|
191
|
-
- 风格基调 → 添加到风格指南
|
|
192
|
-
|
|
193
|
-
### 6. 验证与保存
|
|
194
|
-
|
|
195
|
-
每次更新后验证:
|
|
196
|
-
- 澄清记录完整性
|
|
197
|
-
- 没有遗留的模糊标记被新答案解决
|
|
198
|
-
- 没有矛盾的陈述
|
|
199
|
-
- Markdown 格式正确
|
|
200
|
-
|
|
201
|
-
将更新后的内容写回故事文件。
|
|
202
|
-
|
|
203
|
-
### 7. 完成报告
|
|
204
|
-
|
|
205
|
-
报告包含:
|
|
206
|
-
- 提问和回答的问题数量
|
|
207
|
-
- 更新的故事文件路径
|
|
208
|
-
- 触及的章节列表
|
|
209
|
-
- 覆盖率总结表:
|
|
210
|
-
|
|
211
|
-
| 类别 | 状态 |
|
|
212
|
-
|------|------|
|
|
213
|
-
| 创作定位 | ✅ 已澄清 |
|
|
214
|
-
| 世界观设定 | ✅ 已澄清 |
|
|
215
|
-
| 角色设计 | ⏸ 延迟到规划 |
|
|
216
|
-
| ... | ... |
|
|
217
|
-
|
|
218
|
-
- 建议的下一步命令(通常是 `/plan`)
|
|
219
|
-
|
|
220
|
-
## 行为规则
|
|
221
|
-
|
|
222
|
-
- 如果没有发现有意义的歧义,回应:"未检测到需要立即澄清的关键歧义。"
|
|
223
|
-
- 如果故事文件缺失,指导用户先运行 `/specify`
|
|
224
|
-
- 不超过5个问题的总限制
|
|
225
|
-
- 避免询问纯技术写作细节
|
|
226
|
-
- 尊重用户的提前终止信号
|
|
227
|
-
- 如果未提问就达到完全覆盖,输出简洁的覆盖总结
|
|
228
|
-
|
|
229
|
-
## 小说创作特定考虑
|
|
230
|
-
|
|
231
|
-
- **类型适配**:根据故事类型(爽文/悬疑/言情/严肃文学等)加载对应知识库,提供针对性问题
|
|
232
|
-
- **读者导向**:商业作品vs文学作品的不同标准和侧重点
|
|
233
|
-
- **文化敏感**:某些题材需要特别谨慎处理
|
|
234
|
-
- **系列规划**:是否为系列作品会影响整体架构和决策
|
|
235
|
-
|
|
236
|
-
优先级上下文:{ARGS}
|
|
237
|
-
|
|
238
|
-
## 资源加载(可选)
|
|
239
|
-
|
|
240
|
-
本命令用于澄清创作需求和规格细节,默认不加载额外资源。
|
|
241
|
-
|
|
242
|
-
### 可选配置
|
|
243
|
-
|
|
244
|
-
如果需要参考特定类型或风格的创作规范:
|
|
245
|
-
|
|
246
|
-
```yaml
|
|
247
|
-
resource-loading:
|
|
248
|
-
clarify:
|
|
249
|
-
knowledge-base:
|
|
250
|
-
genres:
|
|
251
|
-
- romance # 言情类型规范
|
|
252
|
-
requirements:
|
|
253
|
-
- anti-ai-v4 # 特定创作要求
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
**推荐资源**: genres/* 和 requirements/*(根据项目类型)
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
## 🔗 命令链式提示
|
|
261
|
-
|
|
262
|
-
**命令执行完成后,自动附加下一步建议**:
|
|
263
|
-
|
|
264
|
-
```
|
|
265
|
-
💡 下一步建议:
|
|
266
|
-
1️⃣ `/plan` — 基于澄清后的规格制定创作计划
|
|
267
|
-
2️⃣ `/specify` — 返回修改规格书(如果澄清发现需要大幅调整)
|
|
268
|
-
3️⃣ `/character create` — 创建角色档案(如果角色设定已明确)
|
|
269
|
-
```
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 创建或更新小说创作宪法,定义不可妥协的创作原则
|
|
3
|
-
argument-hint: [创作原则描述]
|
|
4
|
-
allowed-tools: Write(//resources/memory/constitution.md), Write(//resources/memory/constitution.md), Read(//resources/memory/**), Read(//resources/memory/**), Bash(find:*), Bash(*)
|
|
5
|
-
scripts:
|
|
6
|
-
sh: resources/scripts/bash/constitution.sh
|
|
7
|
-
ps: resources/scripts/powershell/constitution.ps1
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
用户输入:$ARGUMENTS
|
|
11
|
-
|
|
12
|
-
## 资源加载(可选)
|
|
13
|
-
|
|
14
|
-
本命令用于定义项目创作原则,默认不加载额外资源。
|
|
15
|
-
|
|
16
|
-
### 可选配置
|
|
17
|
-
|
|
18
|
-
如果需要参考特定风格或要求模板:
|
|
19
|
-
|
|
20
|
-
```yaml
|
|
21
|
-
resource-loading:
|
|
22
|
-
constitution:
|
|
23
|
-
knowledge-base:
|
|
24
|
-
styles:
|
|
25
|
-
- natural-voice # 自然风格
|
|
26
|
-
requirements:
|
|
27
|
-
- anti-ai-v4 # 防AI检测要求
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
**推荐资源**: styles/* 和 requirements/*(作为参考模板)
|
|
31
|
-
|
|
32
|
-
## 目标
|
|
33
|
-
|
|
34
|
-
建立小说创作的核心原则和价值观,形成创作的"宪法"文件。这些原则将指导后续所有创作决策。
|
|
35
|
-
|
|
36
|
-
## 执行步骤
|
|
37
|
-
|
|
38
|
-
### 1. 检查现有文档
|
|
39
|
-
|
|
40
|
-
**首先检查是否存在风格参考文档**(来自 `/book-internalize`):
|
|
41
|
-
```bash
|
|
42
|
-
test -f resources/memory/style-reference.md && echo "exists" || echo "not-found"
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
- 如果存在,使用 Read 工具读取 `resources/memory/style-reference.md`
|
|
46
|
-
- 然后告诉用户:"检测到您已完成对标作品分析,我将参考该风格帮您起草宪法。"
|
|
47
|
-
|
|
48
|
-
**然后检查现有宪法**:
|
|
49
|
-
```bash
|
|
50
|
-
test -f resources/memory/constitution.md && echo "exists" || echo "not-found"
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
- 如果存在(输出 "exists"),使用 Read 工具读取 `resources/memory/constitution.md` 并准备更新
|
|
54
|
-
- 如果不存在(输出 "not-found"),跳过读取步骤,直接准备创建新宪法
|
|
55
|
-
|
|
56
|
-
### 2. 收集创作原则
|
|
57
|
-
|
|
58
|
-
基于用户输入,收集以下维度的原则(如未提供则询问或推断):
|
|
59
|
-
|
|
60
|
-
#### 核心价值观
|
|
61
|
-
- 作品要传递什么核心理念?
|
|
62
|
-
- 什么是绝对不能违背的底线?
|
|
63
|
-
- 创作的根本目的是什么?
|
|
64
|
-
|
|
65
|
-
#### 质量标准
|
|
66
|
-
- 逻辑一致性要求
|
|
67
|
-
- 文字质量标准
|
|
68
|
-
- 更新频率承诺
|
|
69
|
-
- 完成度保证
|
|
70
|
-
|
|
71
|
-
#### 创作风格原则
|
|
72
|
-
- 叙事风格(简洁/华丽/朴实/诗意)
|
|
73
|
-
- 节奏控制(快速/缓慢/张弛有度)
|
|
74
|
-
- 情感基调(热血/深沉/轻松/严肃)
|
|
75
|
-
- 语言特色(古风/现代/口语/书面)
|
|
76
|
-
|
|
77
|
-
#### 内容原则
|
|
78
|
-
- 角色塑造原则
|
|
79
|
-
- 每个角色必须有完整动机
|
|
80
|
-
- 角色成长必须符合逻辑
|
|
81
|
-
- 对话必须符合角色身份
|
|
82
|
-
- 情节设计原则
|
|
83
|
-
- 冲突设计原则
|
|
84
|
-
- 转折合理性要求
|
|
85
|
-
- 伏笔回收原则
|
|
86
|
-
- 世界观原则
|
|
87
|
-
- 设定自洽性要求
|
|
88
|
-
- 细节真实性标准
|
|
89
|
-
- 文化考据要求
|
|
90
|
-
|
|
91
|
-
#### 读者导向原则
|
|
92
|
-
- 目标读者定位
|
|
93
|
-
- 读者体验保证
|
|
94
|
-
- 互动反馈原则
|
|
95
|
-
|
|
96
|
-
#### 创作纪律
|
|
97
|
-
- 日常写作规范
|
|
98
|
-
- 修改和完善流程
|
|
99
|
-
- 版本管理原则
|
|
100
|
-
|
|
101
|
-
### 3. 起草宪法文档
|
|
102
|
-
|
|
103
|
-
使用以下模板结构:
|
|
104
|
-
|
|
105
|
-
```markdown
|
|
106
|
-
# 小说创作宪法
|
|
107
|
-
|
|
108
|
-
## 元数据
|
|
109
|
-
- 版本:[版本号,如 1.0.0]
|
|
110
|
-
- 创建日期:[YYYY-MM-DD]
|
|
111
|
-
- 最后修订:[YYYY-MM-DD]
|
|
112
|
-
- 作者:[作者名]
|
|
113
|
-
- 作品:[作品名或"通用"]
|
|
114
|
-
|
|
115
|
-
## 前言
|
|
116
|
-
[阐述为什么需要这份宪法,以及它的约束力]
|
|
117
|
-
|
|
118
|
-
## 第一章:核心价值观
|
|
119
|
-
|
|
120
|
-
### 原则1:[原则名称]
|
|
121
|
-
**声明**:[原则的明确表述]
|
|
122
|
-
**理由**:[为什么这个原则重要]
|
|
123
|
-
**执行**:[如何在创作中体现]
|
|
124
|
-
|
|
125
|
-
### 原则2:[原则名称]
|
|
126
|
-
[同上格式]
|
|
127
|
-
|
|
128
|
-
## 第二章:质量标准
|
|
129
|
-
|
|
130
|
-
### 标准1:逻辑一致性
|
|
131
|
-
**要求**:[具体要求]
|
|
132
|
-
**验证方法**:[如何验证]
|
|
133
|
-
**违反后果**:[必须修正]
|
|
134
|
-
|
|
135
|
-
[更多标准...]
|
|
136
|
-
|
|
137
|
-
## 第三章:创作风格
|
|
138
|
-
|
|
139
|
-
### 风格原则1:[名称]
|
|
140
|
-
**定义**:[什么是这种风格]
|
|
141
|
-
**范例**:[具体例子]
|
|
142
|
-
**禁忌**:[绝对不要做什么]
|
|
143
|
-
|
|
144
|
-
[更多风格原则...]
|
|
145
|
-
|
|
146
|
-
## 第四章:内容规范
|
|
147
|
-
|
|
148
|
-
### 角色塑造规范
|
|
149
|
-
[具体规范内容]
|
|
150
|
-
|
|
151
|
-
### 情节设计规范
|
|
152
|
-
[具体规范内容]
|
|
153
|
-
|
|
154
|
-
### 世界观构建规范
|
|
155
|
-
[具体规范内容]
|
|
156
|
-
|
|
157
|
-
## 第五章:读者契约
|
|
158
|
-
|
|
159
|
-
### 对读者的承诺
|
|
160
|
-
- [承诺1]
|
|
161
|
-
- [承诺2]
|
|
162
|
-
- [承诺3]
|
|
163
|
-
|
|
164
|
-
### 底线保证
|
|
165
|
-
- [保证1]
|
|
166
|
-
- [保证2]
|
|
167
|
-
|
|
168
|
-
## 第六章:修订程序
|
|
169
|
-
|
|
170
|
-
### 修订触发条件
|
|
171
|
-
- 重大创作方向调整
|
|
172
|
-
- 读者反馈累积
|
|
173
|
-
- 个人成长和认识变化
|
|
174
|
-
|
|
175
|
-
### 修订流程
|
|
176
|
-
1. 提出修订动议
|
|
177
|
-
2. 评估影响
|
|
178
|
-
3. 更新版本
|
|
179
|
-
4. 记录变更
|
|
180
|
-
|
|
181
|
-
## 附录:版本历史
|
|
182
|
-
- v1.0.0 (日期):初始版本
|
|
183
|
-
- [后续版本记录]
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### 4. 版本管理
|
|
187
|
-
|
|
188
|
-
- **主版本号**:重大原则变更或删除
|
|
189
|
-
- **次版本号**:新增原则或章节
|
|
190
|
-
- **修订号**:措辞优化、澄清说明
|
|
191
|
-
|
|
192
|
-
### 5. 一致性传播
|
|
193
|
-
|
|
194
|
-
检查并更新相关文件以保持一致:
|
|
195
|
-
- 在后续命令中引用宪法原则
|
|
196
|
-
- 建议更新 README 中的创作理念部分
|
|
197
|
-
|
|
198
|
-
### 6. 生成影响报告
|
|
199
|
-
|
|
200
|
-
输出宪法创建/更新的影响:
|
|
201
|
-
```markdown
|
|
202
|
-
## 宪法影响报告
|
|
203
|
-
- 版本:[旧版本] → [新版本]
|
|
204
|
-
- 新增原则:[列表]
|
|
205
|
-
- 修改原则:[列表]
|
|
206
|
-
- 影响范围:
|
|
207
|
-
✅ 规格定义需遵循宪法
|
|
208
|
-
✅ 计划制定需符合原则
|
|
209
|
-
✅ 创作执行需遵守规范
|
|
210
|
-
✅ 验证需检查合规性
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
### 7. 输出和保存
|
|
214
|
-
|
|
215
|
-
- 将宪法保存到 `resources/memory/constitution.md`
|
|
216
|
-
- 输出创建/更新成功消息
|
|
217
|
-
- 提示下一步:`/specify` 定义故事规格
|
|
218
|
-
|
|
219
|
-
## 执行原则
|
|
220
|
-
|
|
221
|
-
### 必须遵守
|
|
222
|
-
- 原则必须是可验证的,不能太抽象
|
|
223
|
-
- 使用"必须"、"禁止"等明确词汇
|
|
224
|
-
- 每个原则都要有明确的理由
|
|
225
|
-
|
|
226
|
-
### 应该包含
|
|
227
|
-
- 至少 3-5 个核心价值观
|
|
228
|
-
- 明确的质量底线
|
|
229
|
-
- 可操作的创作规范
|
|
230
|
-
|
|
231
|
-
### 避免
|
|
232
|
-
- 空泛的口号(如"追求卓越")
|
|
233
|
-
- 无法验证的要求
|
|
234
|
-
- 过度限制创意的条款
|
|
235
|
-
|
|
236
|
-
## 示例原则
|
|
237
|
-
|
|
238
|
-
**优秀的原则**:
|
|
239
|
-
- "主要角色的行为必须有明确的动机链,不得出现'因为剧情需要'的行为"
|
|
240
|
-
- "每个伏笔必须在合理时间内(最多10章)得到回收或解释"
|
|
241
|
-
- "绝不使用现代网络用语破坏古代背景的沉浸感"
|
|
242
|
-
|
|
243
|
-
**糟糕的原则**:
|
|
244
|
-
- "要写得好"(太模糊)
|
|
245
|
-
- "追求艺术性"(无法验证)
|
|
246
|
-
- "让读者满意"(标准不明)
|
|
247
|
-
|
|
248
|
-
## 后续流程
|
|
249
|
-
|
|
250
|
-
宪法确立后,所有后续创作步骤都需遵循:
|
|
251
|
-
1. `/specify` - 规格需符合宪法价值观
|
|
252
|
-
2. `/plan` - 计划需遵循宪法原则
|
|
253
|
-
3. `/write` - 创作需遵守宪法规范
|
|
254
|
-
4. `/analyze` - 验证需检查宪法合规性
|
|
255
|
-
|
|
256
|
-
记住:**宪法是最高准则,但也可以与时俱进地修订。**
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
## 🔗 命令链式提示
|
|
261
|
-
|
|
262
|
-
**命令执行完成后,自动附加下一步建议**:
|
|
263
|
-
|
|
264
|
-
```
|
|
265
|
-
💡 下一步建议:
|
|
266
|
-
1️⃣ `/specify` — 基于宪法原则定义故事规格
|
|
267
|
-
2️⃣ `/constitution` — 继续修订或补充宪法条款
|
|
268
|
-
3️⃣ `/guide` — 查看当前创作阶段的推荐操作
|
|
269
|
-
```
|