基于优化 loop 实测(R5 朱雀 39% 人工/10% AI),将验证过的写作模式 抽象为可选的"写作人格"预设,用户在 style.yaml 中一行配置即可: personas/midnight-friend.yaml — 深夜好友(已验证,39% 人工) personas/industry-observer.yaml — 行业观察者(待验证) personas/sharp-journalist.yaml — 锐评记者(待验证) personas/warm-editor.yaml — 温暖编辑(待验证) personas/cold-analyst.yaml — 冷静研究员(待验证) 每个人格定义:语气浓度、数据呈现方式、情绪弧线、段落节奏、 不确定性表达模板、破句风格、禁止项。 SKILL.md Step 4 新增 4b 加载写作人格步骤。 Onboard 新增写作人格选择。 style.example.yaml 新增 writing_persona 字段。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
60 lines
2.1 KiB
Markdown
60 lines
2.1 KiB
Markdown
# 风格配置说明
|
|
|
|
## 快速开始
|
|
|
|
1. 复制 `style.example.yaml` 为 `style.yaml`
|
|
2. 修改配置项
|
|
3. 对 Agent 说:「写一篇公众号文章」
|
|
|
|
也可以跳过手动配置——首次使用时 Agent 会通过对话引导你自动生成 `style.yaml`。
|
|
|
|
## 必填字段
|
|
|
|
```yaml
|
|
name: "客户名称"
|
|
industry: "行业"
|
|
topics: # 内容方向(列表)
|
|
- "方向1"
|
|
- "方向2"
|
|
tone: "写作风格描述"
|
|
theme: "professional-clean" # 排版主题
|
|
```
|
|
|
|
## 可选字段
|
|
|
|
```yaml
|
|
target_audience: "目标受众描述"
|
|
voice: "写作人称和语感"
|
|
writing_persona: "midnight-friend" # 写作人格(见下方说明)
|
|
word_count: "1500-2500"
|
|
blacklist:
|
|
words: ["禁忌词1", "禁忌词2"]
|
|
topics: ["禁忌话题1"]
|
|
reference_accounts: ["参考账号1", "参考账号2"]
|
|
cover_style: "封面风格描述"
|
|
cover_template: "/path/to/cover.png" # 设置后跳过 AI 生成封面
|
|
author: "署名"
|
|
```
|
|
|
|
## 可用排版主题
|
|
|
|
运行 `python3 toolkit/cli.py gallery` 可在浏览器中预览所有主题的实际效果。
|
|
|
|
| 主题 | 说明 |
|
|
|------|------|
|
|
| professional-clean | 专业简洁(默认,适合大部分商业内容) |
|
|
| tech-modern | 科技风(蓝紫渐变,适合技术/产品类) |
|
|
| warm-editorial | 暖色编辑风(适合生活/文化类) |
|
|
| minimal | 极简黑白(适合文学/严肃内容) |
|
|
| bytedance | 字节风(品牌蓝,现代大间距) |
|
|
| sspai | 少数派风(暖白底,红色点缀,清爽文艺) |
|
|
| newspaper | 报纸风(米黄底,深棕文字,衬线感) |
|
|
| bauhaus | 包豪斯(黑白为主,红蓝黄色块点缀) |
|
|
| ink | 水墨风(宣纸底,中文衬线,留白多) |
|
|
| midnight | 午夜深色(深蓝黑底,蓝色高亮) |
|
|
| bold-green | 大胆绿(森林绿主色,适合环保/健康) |
|
|
| bold-navy | 大胆藏青(藏青主色,适合金融/商务) |
|
|
| elegant-rose | 优雅玫瑰(浅粉底,玫瑰点缀,适合女性/生活) |
|
|
| minimal-gold | 极简金(金色细线点缀,奢华但克制) |
|
|
| focus-red | 聚焦红(中国红标题,适合新闻/评论) |
|
|
| github | GitHub 风(蓝色链接,等宽代码块,开发者友好) |
|