wechat-media-writer 2.2.10 → 2.2.12

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.
Files changed (2) hide show
  1. package/SKILL.md +14 -10
  2. package/package.json +1 -1
package/SKILL.md CHANGED
@@ -145,7 +145,7 @@ Token 缓存在 `~/.wechat/token_cache.json`(自动管理,2小时有效期
145
145
 
146
146
  <!-- 章节(无数字编号,直接标题) -->
147
147
  <p style="font-size:18px;font-weight:bold;color:{T};text-align:center;margin:0 0 16px;line-height:1em;">
148
- <span>作者背景与创作时代</span>
148
+ <span>先搞懂写书的这个人</span>
149
149
  </p>
150
150
  <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;text-indent:2em;">
151
151
  <span>正文段落。所有段落必须有 text-indent:2em。</span>
@@ -185,7 +185,7 @@ Token 缓存在 `~/.wechat/token_cache.json`(自动管理,2小时有效期
185
185
  3. **`<img>` 必须包裹在 `<p>` 中**,且 `style="width:100%;display:block;border-radius:4px;"`
186
186
  4. **行高统一 `line-height:2`** — 阅读舒适
187
187
  5. **引用块用 `<p>` + `background` + `border-radius:8px`** — 圆角浅背景卡片样式,不要左侧竖条
188
- 6. **章节标题不使用数字编号** — 直接用"作者背景与创作时代",不用"壹"
188
+ 6. **章节标题不使用数字编号** — 直接用"先搞懂写书的这个人",不用"壹"
189
189
  7. **强调文字用 `<strong style="color:{T};">`** — 不是加粗或改色
190
190
  8. **重点语句/概念高亮**:用 `<strong style="color:{T};background:{CBG};padding:1px 6px;border-radius:3px;">` 或 `<span style="color:{T2};font-weight:bold;">` — 让主题色贯穿全文
191
191
  9. **星标用 `<span>★★★★☆</span>`** — `font-size:28px;color:{T2}`
@@ -344,7 +344,7 @@ python3 scripts/publish.py --title "标题" --content-file content.html --cover-
344
344
  | 星级评分 | 400-500 |
345
345
  | **总计** | **4000-6000** |
346
346
 
347
- ## 星级评分与适配人群排版规范
347
+ ## 值不值得花时间读排版规范
348
348
 
349
349
  星级评分部分必须按照以下格式排版,**不使用壹贰叁编号**:
350
350
 
@@ -352,15 +352,16 @@ python3 scripts/publish.py --title "标题" --content-file content.html --cover-
352
352
  <p style="font-size:14px;color:#ccc;text-align:center;letter-spacing:8px;margin:20px 0;">· · · · · ·</p>
353
353
 
354
354
  <p style="font-size:18px;font-weight:bold;color:{T};text-align:center;margin:0 0 16px;line-height:1em;">
355
- <span>星级评分与适配人群</span>
355
+ <span>值不值得花时间读</span>
356
356
  </p>
357
357
 
358
+ <!-- 星级评分(支持 0.1 精度:用透明度表达小数部分,0.3 倍 = 0.7 星) -->
358
359
  <p style="font-size:28px;text-align:center;margin:0 0 8px;">
359
- <span style="color:{T2};">★★★★☆</span>
360
+ <span style="color:{T2};">★</span><span style="color:{T2};">★</span><span style="color:{T2};">★</span><span style="color:{T2};">★</span><span style="color:{T2};opacity:0.3;">★</span>
360
361
  </p>
361
362
 
362
363
  <p style="font-size:16px;color:{BODY};text-align:center;margin:0 0 16px;">
363
- <span>4 / 5 星</span>
364
+ <span>4.7 / 5 星</span>
364
365
  </p>
365
366
 
366
367
  <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;text-indent:2em;">
@@ -370,14 +371,14 @@ python3 scripts/publish.py --title "标题" --content-file content.html --cover-
370
371
  <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 8px;text-indent:2em;">
371
372
  <strong style="color:{T};">适合人群:</strong>
372
373
  </p>
373
- <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;text-indent:2em;">
374
+ <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;padding-left:2em;">
374
375
  <span>✅ 创业者/管理者——具体理由<br />✅ 陷入职业倦怠期的人——具体理由<br />✅ 对某领域感兴趣的读者——具体理由</span>
375
376
  </p>
376
377
 
377
378
  <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 8px;text-indent:2em;">
378
379
  <strong style="color:{T};">不适合人群:</strong>
379
380
  </p>
380
- <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;text-indent:2em;">
381
+ <p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;padding-left:2em;">
381
382
  <span>🚫 已读过类似书籍的人——内容高度重复<br />🚫 讨厌某种风格的人——具体理由<br />🚫 寻找其他类型内容的人——具体理由</span>
382
383
  </p>
383
384
 
@@ -394,10 +395,13 @@ python3 scripts/publish.py --title "标题" --content-file content.html --cover-
394
395
  <p style="font-size:14px;color:{BODY};text-align:center;margin:0 0 4px;line-height:1.6;">
395
396
  <span>作者 · 读书笔记</span>
396
397
  </p>
397
- <p style="font-size:14px;color:{T2};text-align:center;margin:0 0 4px;line-height:1.8;font-weight:bold;">
398
+ <p style="font-size:14px;color:{T2};text-align:center;margin:0 0 24px;line-height:1.8;font-weight:bold;">
398
399
  <span>「 一句话总结:核心洞察 」</span>
399
400
  </p>
400
- <p style="text-align:center;margin:24px 0 0;color:#ccc;">· END ·</p>
401
+ <p style="font-size:13px;color:#999;text-align:center;margin:16px 0 24px;letter-spacing:6px;font-weight:bold;">
402
+ <span>— · END · —</span>
403
+ </p>
404
+ <p style="margin:0;height:1px;line-height:1px;">&nbsp;</p>
401
405
  ```
402
406
 
403
407
  ### 评分格式要求
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wechat-media-writer",
3
- "version": "2.2.10",
3
+ "version": "2.2.12",
4
4
  "description": "微信公众号书评、影评文章自动生成与发布 - Skill",
5
5
  "main": "index.js",
6
6
  "bin": {