@topmindspace/topmind-writing-skills 0.8.36 → 0.8.38
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 +24 -0
- package/README.en.md +3 -3
- package/README.md +3 -3
- package/package.json +1 -1
- package/topmind-briefs/README.en.md +1 -1
- package/topmind-briefs/README.md +1 -1
- package/topmind-cover/README.en.md +15 -7
- package/topmind-cover/README.md +15 -7
- package/topmind-cover/SKILL.md +23 -17
- package/topmind-cover/assets/examples/README.md +4 -0
- package/topmind-cover/assets/examples/overview.png +0 -0
- package/topmind-cover/assets/title-specs/brand-launch.json +6 -0
- package/topmind-cover/assets/title-specs/hard-core-type.json +88 -0
- package/topmind-cover/assets/title-specs/ip-fun.json +66 -0
- package/topmind-cover/assets/title-specs/white-clean.json +56 -0
- package/topmind-cover/package.json +1 -1
- package/topmind-cover/references/cover-combos.md +224 -0
- package/topmind-cover/references/cover-patterns.md +275 -0
- package/topmind-cover/references/cover-prompts.md +70 -3
- package/topmind-cover/references/cover-styles.md +84 -23
- package/topmind-cover/references/design-system.md +181 -0
- package/topmind-cover/references/impact-language.md +2 -2
- package/topmind-cover/references/scene-builder.md +214 -0
- package/topmind-cover/references/typography-system.md +121 -3
- package/topmind-cover/scripts/check-title.py +80 -0
- package/topmind-cover/scripts/negative_tests.py +89 -1
- package/topmind-cover/scripts/overlay-title.py +152 -0
- package/topmind-cover/scripts/title-engine.py +532 -0
- package/topmind-format/README.en.md +1 -1
- package/topmind-format/README.md +1 -1
- package/topmind-poster/README.en.md +1 -1
- package/topmind-poster/README.md +1 -1
- package/topmind-viral-posts/README.en.md +1 -1
- package/topmind-viral-posts/README.md +1 -1
- package/topmind-wechat-post/README.en.md +1 -1
- package/topmind-wechat-post/README.md +1 -1
- package/topmind-x-article/README.en.md +1 -1
- package/topmind-x-article/README.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## [0.8.38] - 2026-10-16
|
|
2
|
+
|
|
3
|
+
> 根包 0.8.37 → **0.8.38**(patch);技能版本:topmind-cover 0.4.9 → 0.4.10;其余技能不变。
|
|
4
|
+
|
|
5
|
+
### 变更(topmind-cover 整张生成 + 组合玩法 + 示例图全量重做)
|
|
6
|
+
|
|
7
|
+
- 新增 `references/cover-patterns.md`(16 个整张生成范式 X1–X16)、`references/cover-combos.md`(22 个命名组合 + 优雅克制规则)、`references/design-system.md`(层级、网格、配色、字体搭配、中文字生图规约)。
|
|
8
|
+
- 新增 `scripts/check-title.py`(标题字数、繁体、形近字检查)与 `scripts/title-engine.py`(兜底多层叠字,`assets/title-specs/` 为示例 spec)。
|
|
9
|
+
- 默认出字路径改为整张生成:主标题占画面高 25–45%、强调色只落 1–3 字、字与场景同光同透视、文字留在中部水平带以适配 5:2 裁切、逐字核对、最多重出 3 次。
|
|
10
|
+
- `assets/examples/` 全部示例与 `overview.png` 按新组合整张重画;主图统一为文档所述的 1500×600,目录从 59M 压到约 19M。`docs/assets/writing-cover.png` 同步刷新。
|
|
11
|
+
- negative_tests 新增标题检查、范式库、组合库校验;evals 新增 cover-10、cover-11。
|
|
12
|
+
|
|
13
|
+
## [0.8.37] - 2026-10-16
|
|
14
|
+
|
|
15
|
+
> 根包 0.8.36 → **0.8.37**(patch);技能版本:topmind-cover 0.4.8 → 0.4.9;其余技能不变。
|
|
16
|
+
|
|
17
|
+
### 变更(topmind-cover 深度优化 + 示例图全量刷新)
|
|
18
|
+
|
|
19
|
+
- 新增 `references/scene-builder.md`:七层场景配方、风格组合、六维评分与重做门槛。
|
|
20
|
+
- 新增 `scripts/overlay-title.py`:场景图生成后脚本叠中文标题(简体 CJK 字体,描边 / 阴影 / 胶囊副标签),避免生图模型写错字。
|
|
21
|
+
- `typography-system.md` 扩到 24 种标题花式(T13–T24);`cover-styles.md` 构图骨架扩到 10 种(L5–L10);`cover-prompts.md` 新增 2.8;`impact-language.md`、negative_tests、evals(cover-5~7)同步。
|
|
22
|
+
- `assets/examples/` 55 张示例图 + `overview.png` 按新配方全部重画:先出无字场景,再用 `overlay-title.py` 叠字;尺寸、文件名不变。`docs/assets/writing-cover.png` 同步刷新。
|
|
23
|
+
- 文档口径修正:标题花式 24 种、示例图 55 张。
|
|
24
|
+
|
|
1
25
|
## [0.8.36] - 2026-10-14
|
|
2
26
|
|
|
3
27
|
> 根包 0.8.35 → **0.8.36**(patch);技能版本:topmind-briefs 0.2.18 → 0.2.19、topmind-format 0.1.3 → 0.1.4、topmind-viral-posts 0.3.10 → 0.3.11、
|
package/README.en.md
CHANGED
|
@@ -72,7 +72,7 @@ Checks: `lint_x_post.py` (E1–E9 Markdown leftovers; E10–E12 URLs / source li
|
|
|
72
72
|
|
|
73
73
|
### topmind-cover · Cover art generation
|
|
74
74
|
|
|
75
|
-
Shared cover art for X long-form and WeChat: striking, eye-catching, theme-focused. **
|
|
75
|
+
Shared cover art for X long-form and WeChat: striking, eye-catching, theme-focused. **Theme → seven-layer scene recipe → 2–3 style-combo options → layered prompt → seven-item score** (default: whole-image generation from 16 prompt patterns + character proofing and local fixes; fallback: scene + `title-engine.py` overlay), then one-click crop to both platform sizes with `crop-cover.py` (X 1500×600, WeChat 900×383). 22-style index and recipes: [`references/cover-styles.md`](./topmind-cover/references/cover-styles.md).
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
npx @topmindspace/topmind-writing-skills install topmind-cover
|
|
@@ -104,13 +104,13 @@ npx @topmindspace/topmind-writing-skills install topmind-poster
|
|
|
104
104
|
|-------|---------|--------------|
|
|
105
105
|
| [`topmind-wechat-post`](./topmind-wechat-post/) | **0.3.11** | WeChat article lifecycle: package, review, 3 quality gates, inline typography & publish checklist |
|
|
106
106
|
| [`topmind-x-article`](./topmind-x-article/) | **0.4.17** | X long-form one-click publish: Markdown → one-click-copy HTML (images/prompt copy, click-to-zoom images) / plain-text fallback + cover + checklist |
|
|
107
|
-
| [`topmind-cover`](./topmind-cover/) | **0.4.
|
|
107
|
+
| [`topmind-cover`](./topmind-cover/) | **0.4.10** | Cover art for X / WeChat (X master 1500×600 / 5:2): striking, theme-focused; 22-style cover style library + 16:9 X short-post cover scene + 24 title treatments + 7-layer scene recipe + 55 example images (22 styles × 2 sizes + 11 variant samples) + 1 style overview |
|
|
108
108
|
| [`topmind-briefs`](./topmind-briefs/) | **0.2.19** | Short-form briefs (WeChat + X): one topic, one chart; data rankings / paper explainers / product alerts / mechanism explainers; sources → images → content → layout; one copy-ready plain-text X block (no HTML by default, emoji optional, no AI tone), links / images sent separately; asks before generating any image |
|
|
109
109
|
| [`topmind-viral-posts`](./topmind-viral-posts/) | **0.3.11** | X viral short posts: 18 template types + combinations, duanzi layout (blank lines, no emoji, plain bullet lines), one copy-ready plain-text block per post with hashtags last, links / images sent separately, classification tags listed separately; asks before generating an image |
|
|
110
110
|
| [`topmind-format`](./topmind-format/) | **0.1.4** | X plain-text formatter: to duanzi (blank lines, no emoji) / to short post (paragraphing + sensible lists, emoji optional); layout only, words unchanged, with a fidelity check; one copy-ready plain-text body, links / images sent separately |
|
|
111
111
|
| [`topmind-poster`](./topmind-poster/) | **0.1.5** | HTML+CSS → high-res long image / poster / infographic PNG: headless Chrome 2× screenshot + auto-trim; "one image per section" batch workflow (generator + renderer) |
|
|
112
112
|
|
|
113
|
-
Installer [`@topmindspace/topmind-writing-skills`](https://www.npmjs.com/package/@topmindspace/topmind-writing-skills) is **0.8.
|
|
113
|
+
Installer [`@topmindspace/topmind-writing-skills`](https://www.npmjs.com/package/@topmindspace/topmind-writing-skills) is **0.8.38** (whole-repo same-tag releases).
|
|
114
114
|
|
|
115
115
|
### Which skill, and how they combine
|
|
116
116
|
|
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ npx @topmindspace/topmind-writing-skills install topmind-format
|
|
|
72
72
|
|
|
73
73
|
### topmind-cover · 封面配图生成
|
|
74
74
|
|
|
75
|
-
X
|
|
75
|
+
X 长文与公众号共用的封面图:震撼、醒目、主题突出。**主题 → 七层场景配方 → 2–3 个风格组合方案 → 分层 prompt → 七项评分** 出图(默认整张生成:16 个范式的英文 prompt 模板 + 逐字核对与局部修正;兜底才用场景图 + `title-engine.py` 叠字),`crop-cover.py` 一键裁出双平台尺寸(X 1500×600、公众号 900×383),`--preset x-post` 落盘 X 短文封面(1200×675)。22 种风格索引与配方见 [`references/cover-styles.md`](./topmind-cover/references/cover-styles.md)。
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
npx @topmindspace/topmind-writing-skills install topmind-cover
|
|
@@ -104,13 +104,13 @@ npx @topmindspace/topmind-writing-skills install topmind-poster
|
|
|
104
104
|
|------|------|--------|
|
|
105
105
|
| [`topmind-wechat-post`](./topmind-wechat-post/) | **0.3.11** | 公众号文章全生命周期:交付包、审校改写、质量三关、微信内联排版与发布清单 |
|
|
106
106
|
| [`topmind-x-article`](./topmind-x-article/) | **0.4.17** | X 长文一键发布:Markdown 原稿 → 一键复制 HTML(含配图/提示词复制、图片点击放大)/ 纯文本兜底 + 封面图 + 发布清单 |
|
|
107
|
-
| [`topmind-cover`](./topmind-cover/) | **0.4.
|
|
107
|
+
| [`topmind-cover`](./topmind-cover/) | **0.4.10** | 文章封面配图(X / 公众号共用,X 主尺寸 1500×600 / 5:2):震撼醒目主题突出;22 种封面风格库 + X 短文 16:9 封面场景 + 24 种标题花式 + 七层场景配方 + 55 张示例图(22 种风格 × 2 尺寸 + 11 张变体样张) + 1 张风格总览图 |
|
|
108
108
|
| [`topmind-briefs`](./topmind-briefs/) | **0.2.19** | 干货短文(公众号 + X 双平台):一件事讲透,数据榜单/论文解读/新品速递;信源 → 原图 → 内容 → 排版;X 版交付一段可复制纯文本(默认不出 HTML,emoji 可选,去 AI 味),链接 / 原图 / 配图另发,无原图先询问配图 |
|
|
109
109
|
| [`topmind-viral-posts`](./topmind-viral-posts/) | **0.3.11** | X 引流段子/爆款短篇:18 大类型模板 + 组合玩法,段子体(行间空行,零 emoji,分点不加符号)、每条一段可复制纯文本、话题标签在末行,链接 / 原图另发、分类标签另列;无原图先询问再走 topmind-cover |
|
|
110
110
|
| [`topmind-format`](./topmind-format/) | **0.1.4** | X 纯文本格式化:转段子(行间空行,零 emoji)/ 格式化成短文(分段 + 合理列表,emoji 可选),只动排版不改字,带原文保真校验;交付一段可复制纯文本,链接 / 原图另发 |
|
|
111
111
|
| [`topmind-poster`](./topmind-poster/) | **0.1.5** | HTML+CSS → 高清长图 / 海报 / 信息图 PNG:无头 Chrome 2× 截图 + 自动裁白;「一段一图」分段图批量出图(生成器 + 渲染器) |
|
|
112
112
|
|
|
113
|
-
安装器 [`@topmindspace/topmind-writing-skills`](https://www.npmjs.com/package/@topmindspace/topmind-writing-skills) 为 **0.8.
|
|
113
|
+
安装器 [`@topmindspace/topmind-writing-skills`](https://www.npmjs.com/package/@topmindspace/topmind-writing-skills) 为 **0.8.38**(整仓同 tag 发版)。
|
|
114
114
|
|
|
115
115
|
### 怎么选、怎么组合
|
|
116
116
|
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ A brief is not a long-form article — **no HTML by default**: the workflow is v
|
|
|
7
7
|
The X version is one copy-ready plain-text block (emoji optional); **links (including sources), original images and any generated images are sent separately**, never mixed into the body.
|
|
8
8
|
The WeChat version is ~300–800 Chinese characters of Markdown. With no original image it asks before generating one.
|
|
9
9
|
|
|
10
|
-
- Version: **v0.2.19** (ships with `@topmindspace/topmind-writing-skills@0.8.
|
|
10
|
+
- Version: **v0.2.19** (ships with `@topmindspace/topmind-writing-skills@0.8.38`)
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
package/topmind-briefs/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
X 版交付一段可直接复制的纯文本(emoji 可选),**链接(含来源)、原图、配图另发**,不和正文混在一起;公众号版约 300–800 字 Markdown。
|
|
8
8
|
没有原图时先问要不要配图(`topmind-cover`);链接那一条写明来源名称、发布时间与 URL。
|
|
9
9
|
|
|
10
|
-
- 版本:**v0.2.19**(随 `@topmindspace/topmind-writing-skills@0.8.
|
|
10
|
+
- 版本:**v0.2.19**(随 `@topmindspace/topmind-writing-skills@0.8.38` 发布)
|
|
11
11
|
|
|
12
12
|
## 安装
|
|
13
13
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
A reusable skill for generating cover art for X long-form posts and WeChat articles. Goal: **striking, eye-catching, theme-focused**.
|
|
6
6
|
|
|
7
|
-
- Version: **v0.4.
|
|
7
|
+
- Version: **v0.4.10** (ships with `@topmindspace/topmind-writing-skills@0.8.38`)
|
|
8
8
|
|
|
9
9
|
## Style gallery
|
|
10
10
|
|
|
@@ -22,12 +22,12 @@ npx @topmindspace/topmind-writing-skills install topmind-cover
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
0. **Pick a style**: choose 1 of 22
|
|
26
|
-
1. **Refine the title**: lock the title copy first (
|
|
27
|
-
2. **
|
|
28
|
-
3.
|
|
29
|
-
4.
|
|
30
|
-
5. **
|
|
25
|
+
0. **Pick a style combo**: choose a main style (1 of 22, light-first) from `references/cover-styles.md`, then a secondary style from section 4 of [`references/scene-builder.md`](./references/scene-builder.md); check the example image.
|
|
26
|
+
1. **Refine the title**: lock the title copy first (main title ≤ 8 Chinese characters is safest, plus one subtitle line) and run `scripts/check-title.py` to rule out rare, traditional and look-alike characters using that style's title rules; no drawing yet.
|
|
27
|
+
2. **Seven-layer scene recipe**: theme → metaphor / conflict → hero (optionally the TopMind chick / cat / plant IP) → an action that interacts with the title → 2–4 props → ≥3 background layers → light. No recognizable real people.
|
|
28
|
+
3. **2–3 options by default**: option card `Option A | metaphor | style: main + secondary | layout: L1–L10 | palette`, differing in at least three of the four; never repeat the main style on consecutive covers.
|
|
29
|
+
4. **Whole-image generation**: pick a pattern (X1–X16) from [`references/cover-patterns.md`](./references/cover-patterns.md) or one of the 22 named combos in [`references/cover-combos.md`](./references/cover-combos.md), and write the exact title, letter material and 3D treatment, scene-matched lighting, hierarchy, alignment and negative space into one English prompt so the model designs text and scene together. Then proof every character per section 9 of [`design-system.md`](./references/design-system.md): fix 1–2 wrong characters locally, regenerate otherwise (max 3 times), and only then fall back to a clean scene plus `scripts/title-engine.py` overlay.
|
|
30
|
+
5. **Score and self-check** (required): seven-item design score (clear hierarchy / readability / alignment / color harmony / topic fit / single focus / finish quality) must total ≥ 26 with no item ≤ 2, then pass the [impact self-check list](./SKILL.md#冲击力自检清单); otherwise revise and regenerate (max 3), then switch options.
|
|
31
31
|
6. Crop and save:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
@@ -37,6 +37,14 @@ python3 scripts/crop-cover.py <main-image> --out-dir <package>/images/
|
|
|
37
37
|
# X short-post cover: generate a separate 16:9 master
|
|
38
38
|
python3 scripts/crop-cover.py <16:9-image> --preset x-post --out-dir <dir>
|
|
39
39
|
# produces 00-封面-X短文.png (1200x675)
|
|
40
|
+
|
|
41
|
+
# Before whole-image generation: title risk check (length, rare / traditional / look-alike characters)
|
|
42
|
+
python3 scripts/check-title.py "main title" "subtitle"
|
|
43
|
+
|
|
44
|
+
# Fallback: scene background + multi-layer overlay (--check static rules, --strict contrast & safe area)
|
|
45
|
+
python3 scripts/title-engine.py <scene> <spec.json> --out <cover> --strict
|
|
46
|
+
# Quick single-layer overlay
|
|
47
|
+
python3 scripts/overlay-title.py <background> <spec.json> --out <cover> [--font <font>]
|
|
40
48
|
```
|
|
41
49
|
|
|
42
50
|
## Sizes
|
package/topmind-cover/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
为 X 长文和公众号文章生成封面图的可复用技能。目标:**震撼、醒目、主题突出**。
|
|
6
6
|
|
|
7
|
-
- 版本:**v0.4.
|
|
7
|
+
- 版本:**v0.4.10**(随 `@topmindspace/topmind-writing-skills@0.8.38` 发布)
|
|
8
8
|
|
|
9
9
|
## 风格样张
|
|
10
10
|
|
|
@@ -22,12 +22,12 @@ npx @topmindspace/topmind-writing-skills install topmind-cover
|
|
|
22
22
|
|
|
23
23
|
## 用法
|
|
24
24
|
|
|
25
|
-
0.
|
|
26
|
-
1.
|
|
27
|
-
2.
|
|
28
|
-
3.
|
|
29
|
-
4.
|
|
30
|
-
5.
|
|
25
|
+
0. **选风格与组合**:按题材从 `references/cover-styles.md` 选主风格(22 选 1,浅色优先),再按 [`references/scene-builder.md`](./references/scene-builder.md) 第四节配一个辅风格;看示例图确认视觉语言。
|
|
26
|
+
1. **标题提炼**:先定标题文案(主标题 ≤ 8 字最稳,另配一行副标题),先跑 `scripts/check-title.py` 排除生僻字、繁体和形近字,用该风格章节的标题写法规范;不满意重写,不先画图。
|
|
27
|
+
2. **七层场景配方**:主题 → 隐喻 / 冲突 → 主角(可用 TopMind 小鸡 / 小猫 / 小植物 IP)→ 与标题互动的动作 → 2–4 个道具 → ≥3 层背景 → 光线;不画可识别的真实人物。
|
|
28
|
+
3. **默认出 2–3 个方案**:方案卡 `方案 A|隐喻|风格:主 + 辅|骨架:L1–L10|配色`,四项至少换三项;相邻封面不重复主风格。
|
|
29
|
+
4. **整张生成**:从 [`references/cover-patterns.md`](./references/cover-patterns.md) 选范式(X1–X16),或直接用 [`references/cover-combos.md`](./references/cover-combos.md) 的 22 个命名组合,把标题原文、字的材质与立体方式、与场景一致的光照、层级、对齐和留白写进英文 prompt,让模型把字和场景一起画出来。出图后按 [`design-system.md`](./references/design-system.md) 第九节逐字核对:错 1–2 个字就局部修正,错得多就整张重出(最多 3 次),仍不对才兜底:场景图加 `scripts/title-engine.py` 叠字。
|
|
30
|
+
5. **评分与自检**(必做):七项设计评分(层级清晰 / 可读性 / 对齐统一 / 色彩和谐 / 主题契合 / 焦点单一 / 细节品质)总分 ≥26 且无项 ≤2,再过 [SKILL.md 冲击力自检清单](./SKILL.md#冲击力自检清单);不通过→改 prompt 重生成,最多 3 次,仍不过就换方案。
|
|
31
31
|
6. 裁剪落盘:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
@@ -37,6 +37,14 @@ python3 scripts/crop-cover.py <主图> --out-dir <包>/images/
|
|
|
37
37
|
# X 短文 / 短帖封面:16:9 主图单独生成
|
|
38
38
|
python3 scripts/crop-cover.py <16:9 主图> --preset x-post --out-dir <目录>
|
|
39
39
|
# 产出 00-封面-X短文.png (1200×675)
|
|
40
|
+
|
|
41
|
+
# 整张生成前:标题风险检查(长度、生僻字、繁体、形近字)
|
|
42
|
+
python3 scripts/check-title.py "主标题" "副标题"
|
|
43
|
+
|
|
44
|
+
# 兜底:场景底图 + 多层叠字(--check 静态检查,--strict 查对比度与安全区)
|
|
45
|
+
python3 scripts/title-engine.py <场景图> <spec.json> --out <成图> --strict
|
|
46
|
+
# 快速单层叠字
|
|
47
|
+
python3 scripts/overlay-title.py <底图> <spec.json> --out <成图> [--font <字体>]
|
|
40
48
|
```
|
|
41
49
|
|
|
42
50
|
## 尺寸
|
package/topmind-cover/SKILL.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: topmind-cover
|
|
3
|
-
description: "文章封面配图生成:X 长文与公众号共用,也为 X 短文 / 短帖在没有原图时出 16:9 首图,并供 topmind-briefs、topmind-viral-posts 的配图环节调用。震撼、醒目、主题突出;平台尺寸规范、22
|
|
3
|
+
description: "文章封面配图生成:X 长文与公众号共用,也为 X 短文 / 短帖在没有原图时出 16:9 首图,并供 topmind-briefs、topmind-viral-posts 的配图环节调用。震撼、醒目、主题突出;平台尺寸规范、22 种风格模板与风格组合、七层场景配方与中英提示词模板、默认 2–3 个方案、24 种标题花式与副信息组件、分层背景库、10 种构图骨架、TopMind IP 主角、七项评分重做门槛、生图 + 脚本叠字双路径、命名落盘全流程覆盖。Use when 文章封面、封面图、X 短文封面、短帖封面、头图、题图、首图、X 长文头图、公众号封面、公众号头图、封面风格、banner、cover、thumbnail。Do NOT use for 正文插图、长图、海报与信息图(→ topmind-poster)、短文与段子写稿(→ topmind-briefs / topmind-viral-posts)、PPT/报告封面与多页演示(→ topmind-presentation)。"
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.4.
|
|
6
|
+
version: "0.4.10"
|
|
7
7
|
action_category: "write"
|
|
8
8
|
triggers: "封面, 封面图, X 短文封面, 短帖封面, 头图, 题图, 首图, 封面配图, 缩略图, banner, cover, thumbnail, 公众号封面, 公众号题图, 公众号头图, X 封面, X 首图, X 长文头图, 文章封面, 封面风格"
|
|
9
9
|
author: "TopMindSpace"
|
|
@@ -20,7 +20,7 @@ metadata:
|
|
|
20
20
|
再叠加 22 种风格的设计手法。详见 [`references/md3-foundation.md`](references/md3-foundation.md)。
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
标题提炼 →
|
|
23
|
+
标题提炼 → 七层场景配方 → 2–3 个方案(风格组合 + 骨架 + 配色)→ 分层 prompt → 整张生成 → 逐字核对 → 局部修正(兜底:场景图 + 脚本叠字)→ 七项评分 + 冲击力自检 → 裁剪双尺寸 → 落盘命名
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## 风格索引(22 种,浅色优先)
|
|
@@ -53,8 +53,9 @@ metadata:
|
|
|
53
53
|
| 深色 | 赛博霓虹 `cyber-neon` | AI前沿、科幻、极客、游戏 |
|
|
54
54
|
|
|
55
55
|
适用场景细则、配色故事、prompt 配方见 `references/cover-styles.md`;单风格大图 `assets/examples/<style>.png`(git clone / Release zip 安装才有;npm 包为瘦身不含单风格样张,本地没有时看 overview.png 加 `cover-styles.md` 文字配方即可,或打开 GitHub 仓库同路径)。
|
|
56
|
-
构图骨架(
|
|
57
|
-
|
|
56
|
+
构图骨架(10 种)与文案排版密码见 `references/cover-styles.md` 末尾章节;24 种标题花式、副信息组件、字体气质与背景库见 `references/typography-system.md`;
|
|
57
|
+
场景配方、风格组合、主题 → 隐喻速查、IP 主角规则、七项设计评分与双路径见 `references/scene-builder.md`;标题层级、网格、安全区、配色比例、字体搭配、设计模式、克制原则与中文字生图规约见 `references/design-system.md`;整张生成的 16 个范式与英文 prompt 模板见 `references/cover-patterns.md`;22 个命名组合(范式 × 风格 × 标题字 × 场景层 × 配色)与优雅克制规则见 `references/cover-combos.md`;
|
|
58
|
+
可直接粘贴的完整提示词(22 种风格 + X 短文封面 + 场景示例 + 场景配方多方案示例)见 `references/cover-prompts.md`。
|
|
58
59
|
|
|
59
60
|
## 场景 → 风格 → 标题花式(选型速查)
|
|
60
61
|
|
|
@@ -120,23 +121,27 @@ X 短文、X 短帖**原图优先**:有官方截图、基准图、后台截图
|
|
|
120
121
|
宏大体系 → `diorama-book`;严肃研究 → `academic-print`;
|
|
121
122
|
清新震撼 → `white-clean`(纯白底 + 超大标题 + 撞色关键词 + 场景插图))→ 注入 10% 安全区约束。
|
|
122
123
|
**选风格(三步,必做)**:① 按题材从 `references/cover-styles.md` 选 1 种(22 选 1,浅色优先)→ ② 看 `assets/examples/<style>.png` 确认视觉语言(本地没有该图时看 `overview.png` 对应格子)→ ③ 看该风格章节的标题写法规范,心里有标题雏形。
|
|
123
|
-
**选骨架**:从 `cover-styles.md` 的
|
|
124
|
+
**选骨架**:从 `cover-styles.md` 的 10 种构图骨架选 1 种(L1–L4 基础:左文右图 / 公式流 / 场景嵌字 / 报刊网格;L5–L10 场景互动:左字右角色互动 / 中字两侧道具 / 上字下场景 / 流程卡片铺陈 / 举牌 / 掀纸破框)。
|
|
125
|
+
**风格组合**:主风格 + 辅风格各取一个层(主角、背景、标题处理),组合表见 `references/scene-builder.md` 第四节;只用单一风格时也要满足下面的丰富度底线。
|
|
124
126
|
1. **标题提炼**(先定文案,不画图):用所选风格在 `cover-styles.md` 对应章节的标题写法规范提炼标题(一般 ≤10 字);不满意就重写,满意再进下一步。
|
|
125
127
|
- 坏:"关于 Manus 2.0 的一些思考与体验"(长、没钩子)→ 好:"Manus 2.0 实测"(短、有断言)
|
|
126
|
-
2.
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
2. **场景配方(必做,替代过去的一句话 brief)**:按 `references/scene-builder.md` 七层填写:主题 → 隐喻 / 冲突 → 主角 → 与标题互动的动作 → 道具 → 背景 → 光线。
|
|
129
|
+
- 丰富度底线:1 个主角 + 1 个与标题互动的动作 + 2–4 个主题道具 + 1–3 处装饰 + 背景 ≥3 层 + 标题 1 主 1 辅花式;上限:主角 ≤2、强调色 ≤2、焦点只有一个。
|
|
130
|
+
- 主角可选 TopMind IP(小鸡 / 小猫 / 小植物,3D 黏土、毛绒、像素或手绘);不画可识别的真实人物长相;资讯与事实类原图优先。
|
|
131
|
+
3. **出 2–3 个方案(默认)**:每个方案一张方案卡 `方案 A|隐喻|风格:主 + 辅|骨架:L?|配色`,四项里至少换三项;用户说「直接出」就各出一张。相邻封面不重复主风格。
|
|
132
|
+
4. **组 prompt**:用 `scene-builder.md` 第三节的中文 / 英文分层模板,槽位全部填满;标题逐字写明(防 AI 自造错别字),再加 `cover-prompts.md` 第五章的负面词。平台(`x` / `wechat` / `both`,默认 both)只影响画幅与安全区。
|
|
133
|
+
5. **生成**:`media.generate_image`,`name` 用 `<slug>-cover`。
|
|
134
|
+
**出字路径**:默认**整张生成**,让生图模型把字和场景一起设计。从 `references/cover-patterns.md` 选范式(X1–X16),在英文 prompt 里写死标题原文(`Simplified Chinese characters exactly as given`)、字的材质与立体方式、与场景一致的光照和透视、层级(主标题、副标题、胶囊标签)、对齐线和留白,并接上通用排版尾句。生成前跑 `scripts/check-title.py "主标题" "副标题"`:主标题 ≤ 8 字最稳,避开生僻字、繁体和形近字(如「于」常被写成「干」)。出图后按 `references/design-system.md` 第九节**逐字核对**:错 1–2 个字就局部修正,错得多就改 prompt 整张重出,最多 3 次;仍不对才走兜底,也就是场景图加 `scripts/title-engine.py` 叠字(多层标题,`--check` 和 `--strict` 自动查字号下限、对比度、安全区;`overlay-title.py` 只用于快速单层)。标题设计都按 `references/design-system.md`:三级层级与字号下限(主占画面高 25–45%、副 ≥ 9%、标签 ≥ 6%)、一条对齐线、60-30-10 配色、一主一辅字体、强调色只落 1–3 个字、字与场景同光同透视、文字留在中部水平带(适配 5:2 裁切)。
|
|
130
135
|
**多样性**:同一系列或同一天连发的封面,相邻两张至少在「风格 / 标题花式 / 背景」三项中换两项;同一风格内也要换主体和构图骨架。
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
6. **评分与自检**(必做):先按 `scene-builder.md` 第八节七项设计评分(层级清晰 / 可读性 / 对齐统一 / 色彩和谐 / 主题契合 / 焦点单一 / 细节品质,各 1–5):**总分 ≥26 且没有一项 ≤2 才交付**;再过下方冲击力自检 11 项。不通过→按低分项改 prompt 重生成,最多 3 次;3 次仍不过→换方案,或回步骤 1 重写标题。
|
|
137
|
+
7. **裁剪落盘**:
|
|
133
138
|
```bash
|
|
134
139
|
python3 scripts/crop-cover.py <主图> --out-dir <包>/images/
|
|
135
140
|
```
|
|
136
141
|
产出 `00-封面.png`(1500×600,X/公众号共用主文件)与 `00-封面-公众号.png`(900×383);
|
|
137
142
|
X 短文封面加 `--preset x-post`,产出 `00-封面-X短文.png`(1200×675)。
|
|
138
143
|
公众号包规约:正文引用 `images/00-封面.png`,`图片上传清单.md` 登记两版。
|
|
139
|
-
|
|
144
|
+
8. **系列感**:同一系列固定色系 + 版式语言;系列内仍要换隐喻、主角动作和道具,不能只换标题字。
|
|
140
145
|
|
|
141
146
|
## 冲击力自检清单
|
|
142
147
|
|
|
@@ -152,16 +157,17 @@ X 短文、X 短帖**原图优先**:有官方截图、基准图、后台截图
|
|
|
152
157
|
| 6 | 标题字逐字正确:无 AI 自造错字/乱码/笔画粘连(含装饰导致) | 有错字/粘连→减装饰、缩短标题或修正标题写法后重生成 |
|
|
153
158
|
| 7 | 标题与关键主体落在中央垂直 60% 安全区(900×383 裁剪不切字) | 把元素收拢进安全区 |
|
|
154
159
|
| 8 | `references/impact-language.md` 20 条原则快速勾选 | 按"保守陷阱清单"逐项纠正 |
|
|
155
|
-
| 9 |
|
|
160
|
+
| 9 | 丰富但单焦点:装饰 1–3 处、道具 2–4 个、只有一个视觉焦点(minimal 风格装饰仍只许 1 种) | 太空→按场景配方补道具 / 背景层;太乱→删最弱的道具或装饰 |
|
|
156
161
|
| 10 | 记忆点动作化:3 秒后能描述出"一个具体的东西 + 一个动作"(如"小熊破纸而出"),不能只描述出"一张白底图" | 记忆点只有静态物体→加动作:压字/破框/攀爬/托举,让角色与标题互动 |
|
|
157
162
|
| 11 | 高级感:标题有字体设计(非 plain font block)、有角度变化(非全正面平视)、景深≥4层、光有方向 | 按 `cover-styles.md` 高级感设计系统 4 维度(字体/角度/景深/光影)选 2~4 种手法重生成 |
|
|
158
163
|
|
|
159
164
|
## 设计铁律
|
|
160
165
|
|
|
161
|
-
-
|
|
162
|
-
-
|
|
166
|
+
- 一图一主题、一个焦点;主角与标题合计占画面 60% 以上,主角必须对标题做动作
|
|
167
|
+
- 丰富而有层次:前景道具 / 中景主角与标题 / 背景 ≥3 层;不是单色底 + 一行字
|
|
168
|
+
- 大标题 ≤10 字,2–3 行大小对比;对比与字高见冲击力自检 #2/#3
|
|
163
169
|
- 四周 8% 安全边距,标题不贴边(中央 60% 安全区见自检 #7)
|
|
164
|
-
-
|
|
170
|
+
- 忌:单调(一行黑体 + 纯色底 + 孤立图标);也忌小字密排、多主体打架、强调色超过 2 个
|
|
165
171
|
|
|
166
172
|
## 外部依赖 / 规约来源
|
|
167
173
|
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
硬核立体字 `hard-core-type` / 爆款干货 `gan-huo` / 品牌发布 `brand-launch` /
|
|
21
21
|
IP 趣味 `ip-fun` / 橙色暖阳 `orange-warm` / 卡通素描 `sketch-cartoon` / 赛博霓虹 `cyber-neon`,浅色优先排序):适用场景索引与配方见 `../references/cover-styles.md`。
|
|
22
22
|
|
|
23
|
+
## 生成方式(v0.8.38 起)
|
|
24
|
+
|
|
25
|
+
全部示例改为**整张生成**:按 `../../references/cover-combos.md` 的命名组合(范式 × 风格 × 标题字 × 场景层 × 配色)写一段英文 prompt,标题原文写死,让字和场景在同一光照与透视里一起画出;出图后逐字核对,再按 5:2 裁出主图(1500×600)、按中部水平带裁出公众号版(900×383),并做轻度锐化与 PNG 调色板压缩。各图使用的组合标在 `cover-styles.md` 每个风格的「示例图」一行。组合是我们自己总结的配方,只参考公开封面合集里的抽象规律,仓库不收录任何第三方原图或原文。
|
|
26
|
+
|
|
23
27
|
## 原创与虚构声明(重要)
|
|
24
28
|
|
|
25
29
|
本目录 55 张示例图均为**原创设计**(只演示抽象设计原则,不临摹任何第三方封面的
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{"pattern":"P1 发布会左轴三段式","layers":[
|
|
2
|
+
{"type":"text","role":"label","text":"NEW · 新品发布","font":"hei-medium","size":0.065,"tracking":0.18,"fill":"#39FF88","x":0.07,"y":0.22,"anchor":"lm"},
|
|
3
|
+
{"type":"text","role":"main","text":"晨光 3.0","font":"hei-black","size":0.26,"sizes":[0.26,0.26,0.26,0.34,0.34,0.34],"char_colors":["#FFFFFF","#FFFFFF",null,"#39FF88","#39FF88","#39FF88"],"fill":"#FFFFFF","tracking":0.02,
|
|
4
|
+
"glow":{"color":"#39FF88","radius":0.06,"strength":0.9},"x":0.065,"y":0.50,"anchor":"lm"},
|
|
5
|
+
{"type":"text","role":"sub","text":"更轻、更快的全新一代","font":"hei-medium","size":0.095,"fill":"#D6E2F2","x":0.07,"y":0.78,"anchor":"lm"}
|
|
6
|
+
]}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pattern": "P4 纪念碑居中巨字",
|
|
3
|
+
"layers": [
|
|
4
|
+
{
|
|
5
|
+
"type": "text",
|
|
6
|
+
"role": "sub",
|
|
7
|
+
"text": "硬核架构指南",
|
|
8
|
+
"font": "song-black",
|
|
9
|
+
"size": 0.1,
|
|
10
|
+
"fill": "#1F1F1F",
|
|
11
|
+
"tracking": 0.12,
|
|
12
|
+
"x": 0.5,
|
|
13
|
+
"y": 0.17,
|
|
14
|
+
"anchor": "mm"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "text",
|
|
18
|
+
"role": "label",
|
|
19
|
+
"text": "从单体到分布式的 12 个决策",
|
|
20
|
+
"font": "hei-medium",
|
|
21
|
+
"size": 0.065,
|
|
22
|
+
"fill": "#2E2E2E",
|
|
23
|
+
"tracking": 0.06,
|
|
24
|
+
"x": 0.5,
|
|
25
|
+
"y": 0.3,
|
|
26
|
+
"anchor": "mm"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "text",
|
|
30
|
+
"role": "main",
|
|
31
|
+
"text": "大于一切",
|
|
32
|
+
"font": "hei-black",
|
|
33
|
+
"size": 0.36,
|
|
34
|
+
"tracking": 0.06,
|
|
35
|
+
"fill": {
|
|
36
|
+
"texture": "concrete",
|
|
37
|
+
"tint": "#D8D4CC",
|
|
38
|
+
"tint_amount": 0.3
|
|
39
|
+
},
|
|
40
|
+
"bevel": true,
|
|
41
|
+
"extrude": {
|
|
42
|
+
"depth": 0.06,
|
|
43
|
+
"dx": 0.3,
|
|
44
|
+
"dy": 1.0,
|
|
45
|
+
"color": "#4A4743",
|
|
46
|
+
"color_end": "#1C1B19"
|
|
47
|
+
},
|
|
48
|
+
"perspective": [
|
|
49
|
+
[
|
|
50
|
+
0.035,
|
|
51
|
+
0
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
0.965,
|
|
55
|
+
0
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
1,
|
|
59
|
+
1
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
0,
|
|
63
|
+
1
|
|
64
|
+
]
|
|
65
|
+
],
|
|
66
|
+
"reason": "巨字立在广场上,与两侧建筑共用一点透视,人物站在字前给出尺度",
|
|
67
|
+
"x": 0.5,
|
|
68
|
+
"y": 0.9,
|
|
69
|
+
"anchor": "mb",
|
|
70
|
+
"strokes": [
|
|
71
|
+
[
|
|
72
|
+
0.008,
|
|
73
|
+
"#1C1B19"
|
|
74
|
+
]
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "occlude",
|
|
79
|
+
"mask": "rembg",
|
|
80
|
+
"region": [
|
|
81
|
+
0.45,
|
|
82
|
+
0.8,
|
|
83
|
+
0.55,
|
|
84
|
+
0.95
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pattern": "P3 IP 对话贴纸标题",
|
|
3
|
+
"layers": [
|
|
4
|
+
{
|
|
5
|
+
"type": "text",
|
|
6
|
+
"role": "main",
|
|
7
|
+
"text": "读书打卡",
|
|
8
|
+
"font": "kuaile",
|
|
9
|
+
"size": 0.25,
|
|
10
|
+
"fill": "#FFFFFF",
|
|
11
|
+
"strokes": [
|
|
12
|
+
[
|
|
13
|
+
0.016,
|
|
14
|
+
"#5A2A0A"
|
|
15
|
+
]
|
|
16
|
+
],
|
|
17
|
+
"sticker": {
|
|
18
|
+
"border": 0.07,
|
|
19
|
+
"color": "#5A2A0A",
|
|
20
|
+
"shadow": false
|
|
21
|
+
},
|
|
22
|
+
"arc": {
|
|
23
|
+
"radius": 7
|
|
24
|
+
},
|
|
25
|
+
"reason": "字顺着刺猬摊开的书页微微上弯,把视线引向 IP",
|
|
26
|
+
"x": 0.07,
|
|
27
|
+
"y": 0.33,
|
|
28
|
+
"anchor": "lm"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "text",
|
|
32
|
+
"role": "sub",
|
|
33
|
+
"text": "30 天计划",
|
|
34
|
+
"font": "hei-black",
|
|
35
|
+
"size": 0.12,
|
|
36
|
+
"fill": "#5A2A0A",
|
|
37
|
+
"plate": {
|
|
38
|
+
"color": "#FFE14D",
|
|
39
|
+
"pad": 0.22,
|
|
40
|
+
"radius": 0.25
|
|
41
|
+
},
|
|
42
|
+
"x": 0.085,
|
|
43
|
+
"y": 0.62,
|
|
44
|
+
"anchor": "lm"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "text",
|
|
48
|
+
"role": "label",
|
|
49
|
+
"text": "每天 20 分钟,读完 12 本",
|
|
50
|
+
"font": "hei-medium",
|
|
51
|
+
"size": 0.065,
|
|
52
|
+
"fill": "#3A1A05",
|
|
53
|
+
"x": 0.075,
|
|
54
|
+
"y": 0.82,
|
|
55
|
+
"anchor": "lm"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "deco",
|
|
59
|
+
"kind": "sparkle",
|
|
60
|
+
"x": 0.43,
|
|
61
|
+
"y": 0.2,
|
|
62
|
+
"size": 0.05,
|
|
63
|
+
"color": "#FFF4C2"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pattern": "P2 左文右图关键词高亮",
|
|
3
|
+
"layers": [
|
|
4
|
+
{
|
|
5
|
+
"type": "text",
|
|
6
|
+
"role": "sub",
|
|
7
|
+
"text": "远程工作",
|
|
8
|
+
"font": "hei-black",
|
|
9
|
+
"size": 0.12,
|
|
10
|
+
"fill": "#1E1E1E",
|
|
11
|
+
"tracking": 0.03,
|
|
12
|
+
"x": 0.07,
|
|
13
|
+
"y": 0.27,
|
|
14
|
+
"anchor": "lm"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "text",
|
|
18
|
+
"role": "main",
|
|
19
|
+
"text": "效率手册",
|
|
20
|
+
"font": "hei-black",
|
|
21
|
+
"size": 0.21,
|
|
22
|
+
"fill": "#1E1E1E",
|
|
23
|
+
"char_colors": [
|
|
24
|
+
"#C93508",
|
|
25
|
+
"#C93508",
|
|
26
|
+
null,
|
|
27
|
+
null
|
|
28
|
+
],
|
|
29
|
+
"tracking": 0.03,
|
|
30
|
+
"highlight": {
|
|
31
|
+
"color": "#FFE14D",
|
|
32
|
+
"height": 0.16,
|
|
33
|
+
"offset": 0.0
|
|
34
|
+
},
|
|
35
|
+
"x": 0.067,
|
|
36
|
+
"y": 0.5,
|
|
37
|
+
"anchor": "lm"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "text",
|
|
41
|
+
"role": "sub",
|
|
42
|
+
"text": "7 个习惯,每天省 2 小时",
|
|
43
|
+
"font": "hei-medium",
|
|
44
|
+
"size": 0.09,
|
|
45
|
+
"fill": "#FFFFFF",
|
|
46
|
+
"plate": {
|
|
47
|
+
"color": "#2E6BFF",
|
|
48
|
+
"pad": 0.28,
|
|
49
|
+
"radius": 0.5
|
|
50
|
+
},
|
|
51
|
+
"x": 0.085,
|
|
52
|
+
"y": 0.8,
|
|
53
|
+
"anchor": "lm"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|