article-to-html

文章转信息图。将文章/笔记转化为手机可读的 HTML 信息图,自动匹配视觉风格。触发场景:文章转图、笔记转图、信息图、转小红书图、做张图、可视化这篇文章、文生图。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "article-to-html" with this command: npx skills add partigle/article-to-html

文章转 HTML 信息图

文章 → 提炼核心信息 → 生成 HTML 信息图 → 后处理 → 截图交付。

设计理念

你是设计师,不是模板填充机。 根据文章内容自由设计视觉风格,不要每次都用同一个模板。

  • 内容决定形式 — 严肃分析用深色/衬线,轻松科普用手账/波普,技术教程用终端/蓝图
  • 信息精炼 — 一张图讲清一个核心论点 + 3-4 个支撑模块,不是把文章全文塞进去
  • 手机第一 — 图片在手机上缩放 3 倍,字号必须够大(详见 rules/01-技术底线.md
  • 每次不同 — 配色、字体、布局每次都应该有变化,避免千篇一律

工作流程

用户给文章
    ↓
① 内容分析 — 提取核心论点、关键数据、对比维度、避坑要点、金句
    ↓
② 自由设计 — 根据内容调性,自主决定视觉风格、配色、布局
              (可参考 rules/03-风格灵感.md 和 templates/ 获取灵感)
    ↓
③ 生成 HTML — 自包含 HTML,必须遵守 rules/01-技术底线.md
    ↓
④ 后处理 — 生成后立即执行:
              bash ~/.openclaw/skills/article-to-html/scripts/post-process.sh <html文件>
    ↓
⑤ 截图交付 — 按 rules/02-截图流程.md 执行

步骤④ 是强制的。 无论你对自己生成的 HTML 多有信心,都必须跑后处理脚本。

目录结构

目录/文件地位说明
rules/01-技术底线.md必读字号、宽度、overflow 等硬性约束
rules/02-截图流程.md必读Chrome DevTools 截图 5 步流程
rules/03-风格灵感.md参考9 种风格的配色/字体/特征,用于激发灵感
templates/参考9 个 HTML 模板,可浏览获取灵感,不要照抄
scripts/post-process.sh工具一键后处理(fix CSS + 注入字号兜底)
scripts/fix-html.js工具CSS 修复脚本(被 post-process.sh 调用)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gigo Lobster Taster

🦞 GIGO · gigo-lobster-taster: 正式试吃模式:跑完整评测,默认上传云端、生成个人结果页并进入排行榜。 Triggers: 试吃我的龙虾 / 品鉴我的龙虾 / lobster taste / lobster taster.

Registry SourceRecently Updated
General

Invoice Generator

Creates professional invoices in markdown and HTML

Registry SourceRecently Updated
92001kalin
General

backstage companion

Anti-drift protocol script. Ensures parity between docs and system. Triggers: 'bom dia PROJECT' / 'good morning PROJECT' (load project context with health ch...

Registry SourceRecently Updated
General

stratos-storage

Upload and download files to/from Stratos Decentralized Storage (SDS) network. Use when the user wants to store files on Stratos, retrieve files from Stratos, upload to decentralized storage, or download from SDS.

Registry SourceRecently Updated