novelws 1.2.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 +161 -0
- package/LICENSE +22 -0
- package/README.md +372 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +50 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/check.d.ts +6 -0
- package/dist/commands/check.d.ts.map +1 -0
- package/dist/commands/check.js +32 -0
- package/dist/commands/check.js.map +1 -0
- package/dist/commands/init.d.ts +6 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +160 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/plugin.d.ts +6 -0
- package/dist/commands/plugin.d.ts.map +1 -0
- package/dist/commands/plugin.js +135 -0
- package/dist/commands/plugin.js.map +1 -0
- package/dist/commands/upgrade.d.ts +6 -0
- package/dist/commands/upgrade.d.ts.map +1 -0
- package/dist/commands/upgrade.js +92 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/core/config.d.ts +72 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +136 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/errors.d.ts +59 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +125 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/platform.d.ts +27 -0
- package/dist/core/platform.d.ts.map +1 -0
- package/dist/core/platform.js +75 -0
- package/dist/core/platform.js.map +1 -0
- package/dist/core/template.d.ts +35 -0
- package/dist/core/template.d.ts.map +1 -0
- package/dist/core/template.js +94 -0
- package/dist/core/template.js.map +1 -0
- package/dist/plugins/identifier.d.ts +13 -0
- package/dist/plugins/identifier.d.ts.map +1 -0
- package/dist/plugins/identifier.js +72 -0
- package/dist/plugins/identifier.js.map +1 -0
- package/dist/plugins/installers/base.d.ts +27 -0
- package/dist/plugins/installers/base.d.ts.map +1 -0
- package/dist/plugins/installers/base.js +30 -0
- package/dist/plugins/installers/base.js.map +1 -0
- package/dist/plugins/installers/github.d.ts +22 -0
- package/dist/plugins/installers/github.d.ts.map +1 -0
- package/dist/plugins/installers/github.js +133 -0
- package/dist/plugins/installers/github.js.map +1 -0
- package/dist/plugins/installers/local.d.ts +16 -0
- package/dist/plugins/installers/local.d.ts.map +1 -0
- package/dist/plugins/installers/local.js +69 -0
- package/dist/plugins/installers/local.js.map +1 -0
- package/dist/plugins/installers/npm.d.ts +20 -0
- package/dist/plugins/installers/npm.d.ts.map +1 -0
- package/dist/plugins/installers/npm.js +99 -0
- package/dist/plugins/installers/npm.js.map +1 -0
- package/dist/plugins/manager.d.ts +77 -0
- package/dist/plugins/manager.d.ts.map +1 -0
- package/dist/plugins/manager.js +349 -0
- package/dist/plugins/manager.js.map +1 -0
- package/dist/plugins/registry.d.ts +48 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +111 -0
- package/dist/plugins/registry.js.map +1 -0
- package/dist/plugins/types.d.ts +66 -0
- package/dist/plugins/types.d.ts.map +1 -0
- package/dist/plugins/types.js +2 -0
- package/dist/plugins/types.js.map +1 -0
- package/dist/plugins/validator.d.ts +19 -0
- package/dist/plugins/validator.d.ts.map +1 -0
- package/dist/plugins/validator.js +164 -0
- package/dist/plugins/validator.js.map +1 -0
- package/dist/utils/logger.d.ts +13 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +48 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/project.d.ts +24 -0
- package/dist/utils/project.d.ts.map +1 -0
- package/dist/utils/project.js +61 -0
- package/dist/utils/project.js.map +1 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +21 -0
- package/dist/version.js.map +1 -0
- package/package.json +76 -0
- package/plugins/authentic-voice/README.md +31 -0
- package/plugins/authentic-voice/commands/authentic-voice.md +73 -0
- package/plugins/authentic-voice/commands/authenticity-audit.md +37 -0
- package/plugins/authentic-voice/config.yaml +30 -0
- package/plugins/authentic-voice/experts/authentic-editor.md +27 -0
- package/plugins/export/README.md +319 -0
- package/plugins/export/commands/export.md +460 -0
- package/plugins/export/commands/generate-cover.md +256 -0
- package/plugins/export/commands/metadata.md +309 -0
- package/plugins/export/config.yaml +47 -0
- package/plugins/export/experts/publishing-expert.md +171 -0
- package/plugins/export/templates/epub/chapter-template.html +13 -0
- package/plugins/export/templates/epub/cover-template.html +14 -0
- package/plugins/export/templates/epub/stylesheet.css +200 -0
- package/plugins/export/templates/pdf/ebook-style.css +137 -0
- package/plugins/export/templates/pdf/print-style.css +179 -0
- package/plugins/export/templates/platforms/jinjiang-format.md +101 -0
- package/plugins/export/templates/platforms/qidian-format.md +108 -0
- package/plugins/export/templates/platforms/tomato-format.md +95 -0
- package/plugins/translate/README.md +265 -0
- package/plugins/translate/commands/glossary.md +731 -0
- package/plugins/translate/commands/translate-preview.md +543 -0
- package/plugins/translate/commands/translate.md +649 -0
- package/plugins/translate/config.yaml +43 -0
- package/plugins/translate/experts/literary-translator.md +605 -0
- package/templates/commands/analyze.md +1485 -0
- package/templates/commands/checklist.md +434 -0
- package/templates/commands/clarify.md +257 -0
- package/templates/commands/constitution.md +257 -0
- package/templates/commands/expert.md +136 -0
- package/templates/commands/plan.md +749 -0
- package/templates/commands/recap.md +613 -0
- package/templates/commands/relations.md +96 -0
- package/templates/commands/revise.md +341 -0
- package/templates/commands/specify.md +682 -0
- package/templates/commands/tasks.md +142 -0
- package/templates/commands/timeline.md +73 -0
- package/templates/commands/track-init.md +137 -0
- package/templates/commands/track.md +463 -0
- package/templates/commands/write.md +1264 -0
- package/templates/config/keyword-mappings.json +106 -0
- package/templates/knowledge/audit-config.json +26 -0
- package/templates/knowledge/character-profiles.md +152 -0
- package/templates/knowledge/character-voices.md +137 -0
- package/templates/knowledge/locations.md +184 -0
- package/templates/knowledge/world-setting.md +121 -0
- package/templates/knowledge-base/README.md +285 -0
- package/templates/knowledge-base/character-archetypes/01-hero.md +233 -0
- package/templates/knowledge-base/character-archetypes/02-mentor.md +177 -0
- package/templates/knowledge-base/character-archetypes/03-shadow.md +221 -0
- package/templates/knowledge-base/character-archetypes/04-ally.md +178 -0
- package/templates/knowledge-base/character-archetypes/05-shapeshifter.md +177 -0
- package/templates/knowledge-base/character-archetypes/06-trickster.md +181 -0
- package/templates/knowledge-base/character-archetypes/07-threshold-guardian.md +177 -0
- package/templates/knowledge-base/character-archetypes/08-herald.md +180 -0
- package/templates/knowledge-base/character-archetypes/09-father.md +249 -0
- package/templates/knowledge-base/character-archetypes/10-mother.md +202 -0
- package/templates/knowledge-base/character-archetypes/11-child.md +183 -0
- package/templates/knowledge-base/character-archetypes/12-sage.md +202 -0
- package/templates/knowledge-base/character-archetypes/README.md +60 -0
- package/templates/knowledge-base/character-archetypes/application-guide.md +222 -0
- package/templates/knowledge-base/character-archetypes/archetype-combinations.md +242 -0
- package/templates/knowledge-base/character-archetypes/config.yaml +28 -0
- package/templates/knowledge-base/character-archetypes/examples-analysis.md +223 -0
- package/templates/knowledge-base/craft/character-arc.md +1153 -0
- package/templates/knowledge-base/craft/dialogue.md +1170 -0
- package/templates/knowledge-base/craft/pacing.md +1200 -0
- package/templates/knowledge-base/craft/scene-structure.md +1136 -0
- package/templates/knowledge-base/craft/show-not-tell.md +1012 -0
- package/templates/knowledge-base/emotional-beats/01-first-meeting.md +145 -0
- package/templates/knowledge-base/emotional-beats/02-bonding-moment.md +226 -0
- package/templates/knowledge-base/emotional-beats/03-declaration.md +284 -0
- package/templates/knowledge-base/emotional-beats/04-triumph.md +240 -0
- package/templates/knowledge-base/emotional-beats/05-reunion.md +396 -0
- package/templates/knowledge-base/emotional-beats/06-forgiveness.md +204 -0
- package/templates/knowledge-base/emotional-beats/07-betrayal.md +204 -0
- package/templates/knowledge-base/emotional-beats/08-loss.md +214 -0
- package/templates/knowledge-base/emotional-beats/09-rejection.md +254 -0
- package/templates/knowledge-base/emotional-beats/10-failure.md +244 -0
- package/templates/knowledge-base/emotional-beats/11-misunderstanding.md +205 -0
- package/templates/knowledge-base/emotional-beats/12-farewell.md +283 -0
- package/templates/knowledge-base/emotional-beats/13-revelation.md +242 -0
- package/templates/knowledge-base/emotional-beats/14-point-of-no-return.md +215 -0
- package/templates/knowledge-base/emotional-beats/15-dark-night.md +244 -0
- package/templates/knowledge-base/emotional-beats/16-sacrifice.md +246 -0
- package/templates/knowledge-base/emotional-beats/17-awakening.md +246 -0
- package/templates/knowledge-base/emotional-beats/18-confrontation.md +217 -0
- package/templates/knowledge-base/emotional-beats/19-bittersweet-goodbye.md +368 -0
- package/templates/knowledge-base/emotional-beats/20-moral-dilemma.md +248 -0
- package/templates/knowledge-base/emotional-beats/21-temptation.md +240 -0
- package/templates/knowledge-base/emotional-beats/22-redemption.md +210 -0
- package/templates/knowledge-base/emotional-beats/README.md +104 -0
- package/templates/knowledge-base/emotional-beats/beat-sequences.md +276 -0
- package/templates/knowledge-base/emotional-beats/config.yaml +30 -0
- package/templates/knowledge-base/emotional-beats/pacing-guide.md +390 -0
- package/templates/knowledge-base/genres/historical.md +1127 -0
- package/templates/knowledge-base/genres/mystery.md +1123 -0
- package/templates/knowledge-base/genres/revenge.md +846 -0
- package/templates/knowledge-base/genres/romance.md +948 -0
- package/templates/knowledge-base/genres/sci-fi.md +156 -0
- package/templates/knowledge-base/genres/thriller.md +166 -0
- package/templates/knowledge-base/genres/wuxia.md +143 -0
- package/templates/knowledge-base/references/README.md +96 -0
- package/templates/knowledge-base/references/china-1920s/culture.md +423 -0
- package/templates/knowledge-base/references/china-1920s/daily-life.md +616 -0
- package/templates/knowledge-base/references/china-1920s/overview.md +298 -0
- package/templates/knowledge-base/references/china-1920s/society.md +703 -0
- package/templates/knowledge-base/references/china-1920s/warlords.md +427 -0
- package/templates/knowledge-base/references/cultivation-world/daily-life.md +108 -0
- package/templates/knowledge-base/references/cultivation-world/overview.md +64 -0
- package/templates/knowledge-base/references/cultivation-world/power-system.md +108 -0
- package/templates/knowledge-base/references/cultivation-world/sects.md +104 -0
- package/templates/knowledge-base/references/cultivation-world/world-setting.md +108 -0
- package/templates/knowledge-base/references/modern-workplace/corporate.md +115 -0
- package/templates/knowledge-base/references/modern-workplace/daily-life.md +129 -0
- package/templates/knowledge-base/references/modern-workplace/overview.md +73 -0
- package/templates/knowledge-base/references/modern-workplace/relationships.md +107 -0
- package/templates/knowledge-base/references/modern-workplace/tech-industry.md +131 -0
- package/templates/knowledge-base/references/tang-dynasty/culture.md +135 -0
- package/templates/knowledge-base/references/tang-dynasty/daily-life.md +139 -0
- package/templates/knowledge-base/references/tang-dynasty/overview.md +76 -0
- package/templates/knowledge-base/references/tang-dynasty/politics.md +121 -0
- package/templates/knowledge-base/references/tang-dynasty/society.md +126 -0
- package/templates/knowledge-base/requirements/README.md +240 -0
- package/templates/knowledge-base/requirements/anti-ai-v3.md +46 -0
- package/templates/knowledge-base/requirements/anti-ai-v4.md +430 -0
- package/templates/knowledge-base/requirements/fast-paced.md +552 -0
- package/templates/knowledge-base/requirements/no-poison.md +60 -0
- package/templates/knowledge-base/requirements/romance-angst.md +102 -0
- package/templates/knowledge-base/requirements/romance-sweet.md +63 -0
- package/templates/knowledge-base/requirements/serious-literature.md +45 -0
- package/templates/knowledge-base/requirements/strong-emotion.md +60 -0
- package/templates/knowledge-base/styles/README.md +302 -0
- package/templates/knowledge-base/styles/ancient-style.md +579 -0
- package/templates/knowledge-base/styles/literary.md +439 -0
- package/templates/knowledge-base/styles/minimal.md +472 -0
- package/templates/knowledge-base/styles/natural-voice.md +930 -0
- package/templates/knowledge-base/styles/web-novel.md +525 -0
- package/templates/memory/constitution.md +140 -0
- package/templates/memory/personal-voice.md +113 -0
- package/templates/scripts/README.md +187 -0
- package/templates/scripts/bash/analyze-story.sh +170 -0
- package/templates/scripts/bash/check-consistency.sh +463 -0
- package/templates/scripts/bash/check-plot.sh +374 -0
- package/templates/scripts/bash/check-timeline.sh +346 -0
- package/templates/scripts/bash/check-world.sh +395 -0
- package/templates/scripts/bash/check-writing-state.sh +854 -0
- package/templates/scripts/bash/clarify-story.sh +117 -0
- package/templates/scripts/bash/common.sh +151 -0
- package/templates/scripts/bash/constitution.sh +114 -0
- package/templates/scripts/bash/generate-tasks.sh +65 -0
- package/templates/scripts/bash/init-tracking.sh +183 -0
- package/templates/scripts/bash/manage-relations.sh +174 -0
- package/templates/scripts/bash/plan-story.sh +100 -0
- package/templates/scripts/bash/specify-story.sh +93 -0
- package/templates/scripts/bash/tasks-story.sh +96 -0
- package/templates/scripts/bash/test-word-count.sh +182 -0
- package/templates/scripts/bash/tests/bench-preload-cache.sh +100 -0
- package/templates/scripts/bash/tests/run-all-benchmarks.sh +16 -0
- package/templates/scripts/bash/tests/test-cache-semantics.sh +199 -0
- package/templates/scripts/bash/tests/test-cross-platform.sh +35 -0
- package/templates/scripts/bash/tests/test-edge-cases-bash.sh +60 -0
- package/templates/scripts/bash/tests/test-phase1-bash.sh +28 -0
- package/templates/scripts/bash/tests/test-preload-cache.sh +123 -0
- package/templates/scripts/bash/tests/test-regex-precompile.sh +89 -0
- package/templates/scripts/bash/tests/test-regression-bash.sh +42 -0
- package/templates/scripts/bash/tests/test-task6-verification.sh +200 -0
- package/templates/scripts/bash/text-audit.sh +144 -0
- package/templates/scripts/bash/track-progress.sh +194 -0
- package/templates/scripts/powershell/analyze-story.ps1 +171 -0
- package/templates/scripts/powershell/check-analyze-stage.ps1 +110 -0
- package/templates/scripts/powershell/check-consistency.ps1 +138 -0
- package/templates/scripts/powershell/check-plot.ps1 +139 -0
- package/templates/scripts/powershell/check-timeline.ps1 +112 -0
- package/templates/scripts/powershell/check-writing-state.ps1 +490 -0
- package/templates/scripts/powershell/check-writing-state.ps1.backup +135 -0
- package/templates/scripts/powershell/clarify-story.ps1 +107 -0
- package/templates/scripts/powershell/common.ps1 +36 -0
- package/templates/scripts/powershell/constitution.ps1 +142 -0
- package/templates/scripts/powershell/generate-tasks.ps1 +75 -0
- package/templates/scripts/powershell/init-tracking.ps1 +98 -0
- package/templates/scripts/powershell/manage-relations.ps1 +134 -0
- package/templates/scripts/powershell/plan-story.ps1 +96 -0
- package/templates/scripts/powershell/specify-story.ps1 +82 -0
- package/templates/scripts/powershell/tests/bench-ps-cache.ps1 +80 -0
- package/templates/scripts/powershell/tests/test-cross-platform.ps1 +27 -0
- package/templates/scripts/powershell/tests/test-edge-cases-ps.ps1 +29 -0
- package/templates/scripts/powershell/tests/test-phase1-ps.ps1 +28 -0
- package/templates/scripts/powershell/tests/test-ps-cache.ps1 +73 -0
- package/templates/scripts/powershell/tests/test-regression-ps.ps1 +40 -0
- package/templates/scripts/powershell/text-audit.ps1 +100 -0
- package/templates/scripts/powershell/track-progress.ps1 +105 -0
- package/templates/skills/genre-knowledge/fantasy/SKILL.md +355 -0
- package/templates/skills/genre-knowledge/mystery/SKILL.md +337 -0
- package/templates/skills/genre-knowledge/romance/SKILL.md +228 -0
- package/templates/skills/genre-knowledge/sci-fi/SKILL.md +65 -0
- package/templates/skills/genre-knowledge/thriller/SKILL.md +95 -0
- package/templates/skills/quality-assurance/consistency-checker/SKILL.md +341 -0
- package/templates/skills/quality-assurance/continuity-tracker/SKILL.md +157 -0
- package/templates/skills/quality-assurance/forgotten-elements/SKILL.md +147 -0
- package/templates/skills/quality-assurance/getting-started/SKILL.md +224 -0
- package/templates/skills/quality-assurance/pacing-monitor/SKILL.md +143 -0
- package/templates/skills/quality-assurance/pov-validator/SKILL.md +135 -0
- package/templates/skills/quality-assurance/pre-write-checklist/SKILL.md +583 -0
- package/templates/skills/quality-assurance/requirement-detector/CONFLICT_RESOLUTION.md +119 -0
- package/templates/skills/quality-assurance/requirement-detector/EXAMPLES.md +146 -0
- package/templates/skills/quality-assurance/requirement-detector/KEYWORDS.md +160 -0
- package/templates/skills/quality-assurance/requirement-detector/SKILL.md +149 -0
- package/templates/skills/quality-assurance/setting-detector/SKILL.md +611 -0
- package/templates/skills/quality-assurance/style-detector/CONFLICT_RESOLUTION.md +126 -0
- package/templates/skills/quality-assurance/style-detector/EXAMPLES.md +206 -0
- package/templates/skills/quality-assurance/style-detector/KEYWORDS.md +207 -0
- package/templates/skills/quality-assurance/style-detector/SKILL.md +126 -0
- package/templates/skills/quality-assurance/workflow-guide/SKILL.md +381 -0
- package/templates/skills/writing-techniques/character-arc/SKILL.md +267 -0
- package/templates/skills/writing-techniques/dialogue-techniques/SKILL.md +366 -0
- package/templates/skills/writing-techniques/multi-thread-narrative/SKILL.md +553 -0
- package/templates/skills/writing-techniques/multi-thread-narrative/experts/thread-analyst.md +226 -0
- package/templates/skills/writing-techniques/pacing-control/SKILL.md +377 -0
- package/templates/skills/writing-techniques/reader-expectation/SKILL.md +578 -0
- package/templates/skills/writing-techniques/reader-expectation/experts/expectation-analyst.md +209 -0
- package/templates/skills/writing-techniques/revision-polish/SKILL.md +496 -0
- package/templates/skills/writing-techniques/revision-polish/experts/revision-editor.md +221 -0
- package/templates/skills/writing-techniques/scene-structure/SKILL.md +361 -0
- package/templates/skills/writing-techniques/style-learning/SKILL.md +436 -0
- package/templates/specification-example.md +146 -0
- package/templates/tracking/character-state.json +78 -0
- package/templates/tracking/plot-tracker.json +62 -0
- package/templates/tracking/relationships.json +70 -0
- package/templates/tracking/timeline.json +49 -0
- package/templates/tracking/tracking-log.md +110 -0
- package/templates/tracking/validation-rules.json +128 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# 完整对话示例和成功案例
|
|
2
|
+
|
|
3
|
+
本文档展示 requirement-detector 在实际使用中的完整对话流程。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 示例 1:基础规范探测
|
|
8
|
+
|
|
9
|
+
**用户**:
|
|
10
|
+
> "我要写现代言情,甜文,但不能有AI味"
|
|
11
|
+
|
|
12
|
+
**requirement-detector 响应**:
|
|
13
|
+
```
|
|
14
|
+
📋 规范探测器已激活
|
|
15
|
+
|
|
16
|
+
检测到关键词:
|
|
17
|
+
- "甜文" → romance-sweet
|
|
18
|
+
- "不能有AI味" → anti-ai-v4
|
|
19
|
+
|
|
20
|
+
建议规范组合:
|
|
21
|
+
1. romance-sweet(甜文规范)
|
|
22
|
+
2. anti-ai-v4(强力AI去味)
|
|
23
|
+
|
|
24
|
+
✅ 已加载规范文档
|
|
25
|
+
✅ 已写入配置:
|
|
26
|
+
writing-requirements:
|
|
27
|
+
- romance-sweet
|
|
28
|
+
- anti-ai-v4
|
|
29
|
+
|
|
30
|
+
配合建议:
|
|
31
|
+
💡 检测到"现代言情",建议同时激活
|
|
32
|
+
style-detector 选择 natural-voice 风格。
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 示例 2:与 style-detector 协同
|
|
38
|
+
|
|
39
|
+
**用户**:
|
|
40
|
+
> "我要写都市爽文,口语化,去AI味"
|
|
41
|
+
|
|
42
|
+
**system(两个detector协同)**:
|
|
43
|
+
```
|
|
44
|
+
🎨 style-detector 已激活
|
|
45
|
+
检测到:口语化 → natural-voice
|
|
46
|
+
|
|
47
|
+
📋 requirement-detector 已激活
|
|
48
|
+
检测到:爽文 → fast-paced
|
|
49
|
+
检测到:去AI味 → anti-ai-v4
|
|
50
|
+
|
|
51
|
+
✅ 推荐配置组合:
|
|
52
|
+
|
|
53
|
+
风格层:natural-voice
|
|
54
|
+
规范层:fast-paced + anti-ai-v4
|
|
55
|
+
|
|
56
|
+
最终效果:
|
|
57
|
+
自然口语化的快节奏爽文,强力去AI味
|
|
58
|
+
|
|
59
|
+
已写入配置:
|
|
60
|
+
---
|
|
61
|
+
writing-style: natural-voice
|
|
62
|
+
writing-requirements:
|
|
63
|
+
- fast-paced
|
|
64
|
+
- anti-ai-v4
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
这个组合特别适合你的需求,确认应用吗?
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## 示例 3:冲突处理
|
|
73
|
+
|
|
74
|
+
**用户**:
|
|
75
|
+
> "我要写严肃文学,但也要每章都有爽点"
|
|
76
|
+
|
|
77
|
+
**requirement-detector 响应**:
|
|
78
|
+
```
|
|
79
|
+
⚠️ 规范冲突检测
|
|
80
|
+
|
|
81
|
+
检测到:
|
|
82
|
+
- serious-literature(因为"严肃文学")
|
|
83
|
+
- fast-paced(因为"每章都有爽点")
|
|
84
|
+
|
|
85
|
+
这两个规范有根本冲突:
|
|
86
|
+
- 严肃文学:慢节奏、思想性
|
|
87
|
+
- 快节奏爽文:密集冲突、爽感优先
|
|
88
|
+
|
|
89
|
+
建议:
|
|
90
|
+
1. 选择 serious-literature,调整"爽点"为"情感高潮点"
|
|
91
|
+
→ 可以使用 strong-emotion 代替 fast-paced
|
|
92
|
+
2. 选择 fast-paced,调整为"有深度的爽文"
|
|
93
|
+
→ 降低爽点密度,增加思想性
|
|
94
|
+
|
|
95
|
+
你倾向哪个方向?
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 示例 4:主动建议
|
|
101
|
+
|
|
102
|
+
**用户已经选择了 natural-voice 风格**
|
|
103
|
+
|
|
104
|
+
**requirement-detector 主动建议**:
|
|
105
|
+
```
|
|
106
|
+
💡 规范建议
|
|
107
|
+
|
|
108
|
+
检测到你选择了 natural-voice(自然人声风格)
|
|
109
|
+
|
|
110
|
+
建议配套规范:
|
|
111
|
+
1. **anti-ai-v4** - 与 natural-voice 完美配合,极致自然
|
|
112
|
+
2. **no-poison** - 保证逻辑合理,避免降智
|
|
113
|
+
3. **fast-paced**(可选) - 如果写商业化爽文
|
|
114
|
+
|
|
115
|
+
推荐组合:
|
|
116
|
+
natural-voice + anti-ai-v4 + no-poison
|
|
117
|
+
= 极致自然、逻辑自洽的现代小说
|
|
118
|
+
|
|
119
|
+
需要我加载这些规范吗?
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## 使用技巧
|
|
125
|
+
|
|
126
|
+
1. **明确需求**:说清楚你要什么效果(爽文、虐文、去AI味等)
|
|
127
|
+
2. **信任探测**:探测器会基于经验给出推荐
|
|
128
|
+
3. **组合使用**:多个兼容的规范可以叠加
|
|
129
|
+
4. **注意冲突**:遇到冲突时,选择最重要的需求
|
|
130
|
+
5. **配合风格**:规范(requirement)+ 风格(style)效果更好
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## 常见问题
|
|
135
|
+
|
|
136
|
+
**Q:可以同时使用多个规范吗?**
|
|
137
|
+
A:可以,但要注意兼容性。参考 [CONFLICT_RESOLUTION.md](CONFLICT_RESOLUTION.md)。
|
|
138
|
+
|
|
139
|
+
**Q:anti-ai-v4 和 anti-ai-v3 有什么区别?**
|
|
140
|
+
A:v4 是强力版本,限制更严格;v3 是标准版本,更平衡。
|
|
141
|
+
|
|
142
|
+
**Q:爽文规范会影响文学性吗?**
|
|
143
|
+
A:fast-paced 强调节奏和爽点,与 serious-literature 有冲突。但可以和 literary 风格配合。
|
|
144
|
+
|
|
145
|
+
**Q:甜文和虐文能混合吗?**
|
|
146
|
+
A:不推荐,但可以分阶段使用(先甜后虐)。详见 CONFLICT_RESOLUTION.md。
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# 写作规范关键词详细列表
|
|
2
|
+
|
|
3
|
+
本文档包含所有可探测规范的详细关键词列表、触发场景示例和激活后行为模板。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. anti-ai-v4(强力AI去味)
|
|
8
|
+
|
|
9
|
+
### 关键词
|
|
10
|
+
```
|
|
11
|
+
AI味重、AI腔太重、太AI了
|
|
12
|
+
去AI味、去除AI感、不要AI味
|
|
13
|
+
太机器、太生硬、不自然
|
|
14
|
+
AI痕迹明显、一看就是AI写的
|
|
15
|
+
要求极致自然、完全去AI
|
|
16
|
+
最强去味、强力去AI
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### 触发场景示例
|
|
20
|
+
> 用户:"这个AI味道太重了,能不能去掉?"
|
|
21
|
+
> 用户:"我要最强的AI去味,完全看不出AI写的那种"
|
|
22
|
+
|
|
23
|
+
### 激活后行为模板
|
|
24
|
+
```markdown
|
|
25
|
+
📋 规范探测器已激活
|
|
26
|
+
|
|
27
|
+
检测到:【AI味重、去AI味】
|
|
28
|
+
|
|
29
|
+
建议使用:**anti-ai-v4**(强力AI去味规范)
|
|
30
|
+
|
|
31
|
+
这个规范的特点:
|
|
32
|
+
- 200+ 禁用词汇表
|
|
33
|
+
- 6层规则体系(词汇、句式、形容词、成语、对话、段落)
|
|
34
|
+
- 极致的自然化要求
|
|
35
|
+
|
|
36
|
+
⚠️ 警告:这是最激进的去AI规范,可能会牺牲部分文学性
|
|
37
|
+
|
|
38
|
+
想要查看详细的规范文档吗?
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 2. anti-ai-v3(标准AI去味)
|
|
44
|
+
|
|
45
|
+
### 关键词
|
|
46
|
+
```
|
|
47
|
+
自然一点、不要太生硬
|
|
48
|
+
少一点AI感、适度去AI
|
|
49
|
+
正常的去AI就行、标准去味
|
|
50
|
+
不要太明显、平衡一下
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### 触发场景示例
|
|
54
|
+
> 用户:"去掉AI味就行,不用太极端"
|
|
55
|
+
> 用户:"适度自然一点,保持可读性"
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 3. fast-paced(快节奏/爽文规范)
|
|
60
|
+
|
|
61
|
+
### 关键词
|
|
62
|
+
```
|
|
63
|
+
节奏快、快节奏、爽文、爽点
|
|
64
|
+
打脸、装逼、升级、逆袭
|
|
65
|
+
冲突密集、不拖沓、干脆利落
|
|
66
|
+
每章都要有爽点、要爽
|
|
67
|
+
网文节奏、商业化节奏
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### 触发场景示例
|
|
71
|
+
> 用户:"我要写爽文,每章都要有爽点"
|
|
72
|
+
> 用户:"节奏快一点,不要拖沓"
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 4. no-poison(无毒点规范)
|
|
77
|
+
|
|
78
|
+
### 关键词
|
|
79
|
+
```
|
|
80
|
+
无毒点、不要毒点、避免毒
|
|
81
|
+
不要降智、别让主角傻
|
|
82
|
+
不要圣母、不要工具人
|
|
83
|
+
逻辑自洽、合理、不强行
|
|
84
|
+
不要为了剧情牺牲智商
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### 触发场景示例
|
|
88
|
+
> 用户:"千万不要降智,主角别太傻"
|
|
89
|
+
> 用户:"要合理,不要强行的剧情"
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 5. serious-literature(严肃文学规范)
|
|
94
|
+
|
|
95
|
+
### 关键词
|
|
96
|
+
```
|
|
97
|
+
严肃文学、纯文学、文学性
|
|
98
|
+
有深度、思想性、哲思
|
|
99
|
+
现实主义、人性探讨
|
|
100
|
+
不要爽文套路、要有内涵
|
|
101
|
+
社会问题、深刻、有意义
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### 触发场景示例
|
|
105
|
+
> 用户:"我要写严肃文学,有思想深度的"
|
|
106
|
+
> 用户:"不要爽文那套,要探讨人性"
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## 6. strong-emotion(强情绪规范)
|
|
111
|
+
|
|
112
|
+
### 关键词
|
|
113
|
+
```
|
|
114
|
+
情绪饱满、情感强烈、有感染力
|
|
115
|
+
情绪爆发、情绪冲击、催泪
|
|
116
|
+
让人有共鸣、打动人心
|
|
117
|
+
有情感张力、情绪起伏大
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### 触发场景示例
|
|
121
|
+
> 用户:"我要写得情感饱满,能打动人"
|
|
122
|
+
> 用户:"需要强烈的情绪冲击"
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## 7. romance-sweet(甜文规范)
|
|
127
|
+
|
|
128
|
+
### 关键词
|
|
129
|
+
```
|
|
130
|
+
甜文、甜、撒糖、高糖
|
|
131
|
+
齁甜、甜到发腻、甜宠
|
|
132
|
+
HE、圆满、温馨
|
|
133
|
+
不虐、少虐、轻松
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 触发场景示例
|
|
137
|
+
> 用户:"我要写甜文,多撒糖"
|
|
138
|
+
> 用户:"全程高糖,不要虐"
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## 8. romance-angst(虐文规范)
|
|
143
|
+
|
|
144
|
+
### 关键词
|
|
145
|
+
```
|
|
146
|
+
虐文、虐、BE、刀子
|
|
147
|
+
虐心、虐恋、悲剧
|
|
148
|
+
误会虐、分离虐、时机虐
|
|
149
|
+
重虐、极虐、生离死别
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### 触发场景示例
|
|
153
|
+
> 用户:"我要写虐文,虐得痛快"
|
|
154
|
+
> 用户:"BE结局,生离死别那种"
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## 使用说明
|
|
159
|
+
|
|
160
|
+
当用户提到任何上述关键词时,按照对应的激活后行为模板与用户交互。
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: requirement-detector
|
|
3
|
+
description: "探测用户的写作规范需求并加载对应文档。当用户提到AI味重、去AI味、自然、爽文、快节奏、爽点、无毒点、不降智、严肃文学、有深度、强情绪、打动人、甜文、撒糖、虐文、虐心、BE等关键词时自动激活。适用于讨论写作要求、AI去味方法、节奏控制、情感表达时使用。"
|
|
4
|
+
allowed-tools: Read, Edit
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 写作规范探测器
|
|
8
|
+
|
|
9
|
+
## 核心功能
|
|
10
|
+
|
|
11
|
+
自动探测用户的写作规范需求,并无缝加载对应的规范知识库。
|
|
12
|
+
|
|
13
|
+
## 可探测的规范
|
|
14
|
+
|
|
15
|
+
### 1. anti-ai-v4(强力AI去味)
|
|
16
|
+
- **适合**:对AI味零容忍的作品、需要极致口语化的小说
|
|
17
|
+
- **特点**:200+ 禁用词汇表、6层规则体系、极致自然化
|
|
18
|
+
- **触发词**:AI味重、去AI味、太机器、不自然、最强去味
|
|
19
|
+
|
|
20
|
+
### 2. anti-ai-v3(标准AI去味)
|
|
21
|
+
- **适合**:大部分现代小说、需要平衡自然感和文学性
|
|
22
|
+
- **特点**:平衡的去AI策略、适度的词汇限制
|
|
23
|
+
- **触发词**:自然一点、少一点AI感、适度去AI、标准去味
|
|
24
|
+
|
|
25
|
+
### 3. fast-paced(快节奏/爽文规范)
|
|
26
|
+
- **适合**:都市爽文、玄幻升级流、系统文、重生文
|
|
27
|
+
- **特点**:每章至少2个爽点、打脸/装逼/升级公式
|
|
28
|
+
- **触发词**:爽文、快节奏、爽点、打脸、装逼、升级
|
|
29
|
+
|
|
30
|
+
### 4. no-poison(无毒点规范)
|
|
31
|
+
- **适合**:所有类型小说(通用)、重视逻辑性的作品
|
|
32
|
+
- **特点**:避免降智、强行误会、玛丽苏、工具人、逻辑漏洞
|
|
33
|
+
- **触发词**:无毒点、不降智、逻辑自洽、合理、不强行
|
|
34
|
+
|
|
35
|
+
### 5. serious-literature(严肃文学规范)
|
|
36
|
+
- **适合**:现实主义小说、历史小说、社会问题小说
|
|
37
|
+
- **特点**:现实主义手法、思想性和哲学探讨、语言克制
|
|
38
|
+
- **触发词**:严肃文学、纯文学、有深度、思想性、人性探讨
|
|
39
|
+
|
|
40
|
+
### 6. strong-emotion(强情绪规范)
|
|
41
|
+
- **适合**:情感类小说、虐文、需要感染力的作品
|
|
42
|
+
- **特点**:每10-15章至少1个情绪爆发点、波浪式情绪节奏
|
|
43
|
+
- **触发词**:情绪饱满、情感强烈、有感染力、打动人心
|
|
44
|
+
|
|
45
|
+
### 7. romance-sweet(甜文规范)
|
|
46
|
+
- **适合**:言情甜文、现代甜宠、轻松向恋爱故事
|
|
47
|
+
- **特点**:糖分密度配置、冲突控制、禁止BE倾向
|
|
48
|
+
- **触发词**:甜文、撒糖、高糖、齁甜、甜宠、HE
|
|
49
|
+
|
|
50
|
+
### 8. romance-angst(虐文规范)
|
|
51
|
+
- **适合**:虐恋小说、悲剧向爱情、刀子文
|
|
52
|
+
- **特点**:虐要有理有度、虐点设计、虐度等级控制
|
|
53
|
+
- **触发词**:虐文、虐心、BE、刀子、分离虐、时机虐
|
|
54
|
+
|
|
55
|
+
详细关键词列表和触发场景请参阅 [KEYWORDS.md](KEYWORDS.md)。
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 激活后的工作流程
|
|
60
|
+
|
|
61
|
+
### 步骤 1:确认规范选择
|
|
62
|
+
|
|
63
|
+
当探测到关键词后,首先确认用户意图:
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
我注意到你提到了【AI味重、去AI味】,这通常对应 anti-ai-v4 规范。
|
|
67
|
+
|
|
68
|
+
我可以:
|
|
69
|
+
1. 📖 展示这个规范的详细文档
|
|
70
|
+
2. ✅ 直接应用这个规范到你的项目
|
|
71
|
+
3. 🔍 看看其他规范选项
|
|
72
|
+
|
|
73
|
+
你想要哪一个?
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### 步骤 2:加载规范知识库
|
|
77
|
+
|
|
78
|
+
如果用户确认,使用 Read 工具读取对应的知识库文件:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
📖 读取:.claude/knowledge-base/requirements/{requirement-name}.md
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
然后展示核心要点,完整规范已加载到上下文中。
|
|
85
|
+
|
|
86
|
+
### 步骤 3:写入配置标记
|
|
87
|
+
|
|
88
|
+
使用 Edit 工具在用户的 `specification.md` 中添加配置:
|
|
89
|
+
|
|
90
|
+
```yaml
|
|
91
|
+
---
|
|
92
|
+
writing-requirements:
|
|
93
|
+
- anti-ai-v4
|
|
94
|
+
- fast-paced
|
|
95
|
+
---
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
提示用户配置已保存,在执行 /write 时会自动遵守这些规范。
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## 多规范处理
|
|
103
|
+
|
|
104
|
+
当探测到多个规范关键词时,进行兼容性检测:
|
|
105
|
+
|
|
106
|
+
- **兼容组合**:自动组合并说明综合效果
|
|
107
|
+
- **冲突组合**:提示矛盾并给出解决方案
|
|
108
|
+
|
|
109
|
+
详细的冲突处理逻辑请参阅 [CONFLICT_RESOLUTION.md](CONFLICT_RESOLUTION.md)。
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 主动建议
|
|
114
|
+
|
|
115
|
+
- **基于风格建议规范**:如果 style-detector 已激活,主动推荐配套规范
|
|
116
|
+
- **中途调整支持**:持续监控用户反馈,支持规范调整
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 与 style-detector 的配合
|
|
121
|
+
|
|
122
|
+
本 Skill 专注于规范层面,与 style-detector(文风层)协同工作:
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
用户输入:"我要写都市爽文,口语化,去AI味"
|
|
126
|
+
|
|
127
|
+
style-detector → 识别:natural-voice
|
|
128
|
+
requirement-detector → 识别:fast-paced + anti-ai-v4
|
|
129
|
+
|
|
130
|
+
最终配置:
|
|
131
|
+
writing-style: natural-voice
|
|
132
|
+
writing-requirements:
|
|
133
|
+
- fast-paced
|
|
134
|
+
- anti-ai-v4
|
|
135
|
+
|
|
136
|
+
效果:自然人声的快节奏爽文,强力去AI味
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## 使用示例
|
|
142
|
+
|
|
143
|
+
完整的对话示例和成功案例请参阅 [EXAMPLES.md](EXAMPLES.md)。
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
**Skill 版本**:v1.1
|
|
148
|
+
**最后更新**:2025-10-19
|
|
149
|
+
**兼容版本**:novel-writer-skills v1.0.5+
|