style-detector

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

写作风格探测器

Writing Style Detector

核心功能

Core Features

自动探测用户的写作风格需求,并无缝加载对应的风格知识库。
Automatically detect users' writing style requirements and seamlessly load the corresponding style knowledge base.

可探测的风格

Detectable Styles

1. natural-voice(自然人声风格)

1. natural-voice(Natural Voice Style)

  • 适合:都市现代小说、现实题材、情感类小说
  • 特点:口语化、生活化、真实感强
  • 触发词:口语化、真实感、接地气、像说话一样
  • Suitable: Urban modern novels, realistic themes, emotional novels
  • Features: Colloquial, life-oriented, strong sense of authenticity
  • Trigger words: Colloquial, authenticity, down-to-earth, like speaking

2. literary(文学风格)

2. literary(Literary Style)

  • 适合:严肃文学作品、历史小说、需要思想深度的故事
  • 特点:优美、深刻、有文学性、注重意境
  • 触发词:文学性、严肃文学、纯文学、有深度
  • Suitable: Serious literary works, historical novels, stories requiring ideological depth
  • Features: Elegant, profound, literate, focuses on artistic conception
  • Trigger words: Literariness, serious literature, pure literature, in-depth

3. web-novel(网文风格)

3. web-novel(Web Novel Style)

  • 适合:玄幻小说、都市爽文、系统流、重生流
  • 特点:节奏快、冲突密集、爽点频繁
  • 触发词:网文、爽文、打脸、装逼、升级流
  • Suitable: Fantasy novels, urban wish-fulfillment web novels, system flow, rebirth flow
  • Features: Fast-paced, dense conflicts, frequent wish-fulfillment points
  • Trigger words: Web novel, wish-fulfillment web novel, face-slapping, pretentious behavior, upgrade flow

4. ancient-style(古风)

4. ancient-style(Ancient Style)

  • 适合:武侠小说、仙侠、古代背景小说
  • 特点:有古韵但不纯文言、意象丰富、诗意化
  • 触发词:古风、古韵、武侠风、江湖味
  • Suitable: Martial arts novels, immortal cultivation novels, novels set in ancient backgrounds
  • Features: Has ancient charm but not pure classical Chinese, rich in imagery, poetic
  • Trigger words: Ancient style, ancient charm, martial arts style, rivers and lakes vibe

5. minimal(极简风格)

5. minimal(Minimalist Style)

  • 适合:悬疑推理、冷硬派小说、实验性作品
  • 特点:高度简洁、海明威式克制、留白艺术
  • 触发词:极简、海明威、克制、冷硬
详细关键词列表和触发场景请参阅 KEYWORDS.md

  • Suitable: Mystery and detective novels, hard-boiled novels, experimental works
  • Features: Highly concise, Hemingway-esque restraint, art of leaving blanks
  • Trigger words: Minimalism, Hemingway, restraint, hard-boiled
For the complete list of keywords and trigger scenarios, please refer to KEYWORDS.md.

激活后的工作流程

Workflow After Activation

步骤 1:确认风格选择

Step 1: Confirm Style Selection

当探测到关键词后,首先确认用户意图:
我注意到你提到了【口语化】,这通常对应 natural-voice 风格。

我可以:
1. 📖 展示这个风格的详细指南
2. ✅ 直接应用这个风格到你的项目
3. 🔍 看看其他风格选项

你想要哪一个?
When a keyword is detected, first confirm the user's intent:
I noticed you mentioned [colloquial], which usually corresponds to the natural-voice style.

I can:
1. 📖 Show the detailed guide for this style
2. ✅ Directly apply this style to your project
3. 🔍 Check out other style options

Which one would you like?

步骤 2:加载风格知识库

Step 2: Load Style Knowledge Base

如果用户确认,使用 Read 工具读取对应的知识库文件:
📖 读取:.claude/knowledge-base/styles/{style-name}.md
然后展示核心要点,完整规范已加载到上下文中。
If the user confirms, use the Read tool to read the corresponding knowledge base file:
📖 Reading: .claude/knowledge-base/styles/{style-name}.md
Then display the core points, and the complete specifications have been loaded into the context.

步骤 3:写入配置标记

Step 3: Write Configuration Markers

使用 Edit 工具在用户的
specification.md
中添加配置:
yaml
---
writing-style: natural-voice
---
提示用户配置已保存,在执行 /write 时会自动遵守该风格规范。

Use the Edit tool to add configuration to the user's
specification.md
:
yaml
---
writing-style: natural-voice
---
Inform the user that the configuration has been saved, and the style specifications will be automatically followed when executing /write.

多风格处理

Multi-Style Processing

当探测到多个风格关键词时,进行兼容性检测:
  • 兼容组合:提供混合方案和比例建议
  • 冲突组合:提示矛盾并给出解决方案
详细的冲突处理逻辑请参阅 CONFLICT_RESOLUTION.md

When multiple style keywords are detected, perform compatibility checks:
  • Compatible combinations: Provide mixing schemes and proportion suggestions
  • Conflicting combinations: Prompt conflicts and provide solutions
For detailed conflict handling logic, please refer to CONFLICT_RESOLUTION.md.

主动建议

Proactive Suggestions

  • 基于故事类型建议风格:分析 specification 中的故事类型,主动推荐适合的风格
  • 中途调整支持:持续监控用户反馈,支持风格调整

  • Recommend styles based on story type: Analyze the story type in the specification and proactively recommend suitable styles
  • Midway adjustment support: Continuously monitor user feedback and support style adjustments

与 requirement-detector 的配合

Cooperation with requirement-detector

本 Skill 专注于文风层面,与 requirement-detector(规范层)协同工作:
style-detector → 识别文风 → 加载 styles/*.md
requirement-detector → 识别规范 → 加载 requirements/*.md

最终组合效果示例:
natural-voice (风格) + anti-ai-v4 + fast-paced (规范)
= 自然人声的快节奏爽文,强力去AI味

This Skill focuses on the writing style level, and works collaboratively with requirement-detector (specification layer):
style-detector → Identify writing style → Load styles/*.md
requirement-detector → Identify specifications → Load requirements/*.md

Final combined effect example:
natural-voice (style) + anti-ai-v4 + fast-paced (specifications)
= Fast-paced wish-fulfillment web novel with natural voice, strong anti-AI flavor

使用示例

Usage Examples

完整的对话示例和成功案例请参阅 EXAMPLES.md

Skill 版本:v1.1 最后更新:2025-10-19 兼容版本:novel-writer-skills v1.0.5+
For complete conversation examples and success cases, please refer to EXAMPLES.md.

Skill Version: v1.1 Last Updated: 2025-10-19 Compatible Versions: novel-writer-skills v1.0.5+