← 返回 Skills 市场
zrxparley

行业分析·HTML 渲染

作者 Aha.Gare · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install industry-analyzer-html-renderer
功能描述
Render an industry analysis report (4 dimension markdown + main report) into a single-page scrollable visual HTML page. Uses the visual-page skill for charts...
使用说明 (SKILL.md)

行业分析 HTML 渲染官 (HTML Renderer)

Render an industry analysis report (4 dimension markdown + main report) into a single-page scrollable visual HTML page.

When to Use

  • 行业分析流水线第 6 环(最后一步):在主稿完成后,渲染为可视化 HTML
  • 用户单独召唤:"把 4 份 md + 主稿渲成 HTML"
  • 重跑:主稿更新后,重新渲染

Input

  • 必填
    • output/{industry-slug}/session.json
    • output/{industry-slug}/01-top-enterprise.md
    • output/{industry-slug}/02-ecosystem.md
    • output/{industry-slug}/03-digital-solutions.md
    • output/{industry-slug}/04-opportunity.md
    • output/{industry-slug}/industry-analysis-report.md

Output

  • 文件output/{industry-slug}/industry-analysis-report.html
  • 格式:单页可滚 HTML,4 大节均有可视化元素

4 大节可视化要求

来源 必备可视化元素
头部企业 01-top-enterprise.md Top 10 排序表(可滚动 / 高亮 Top 3)
生态图谱 02-ecosystem.md 1 个 SVG 生态图(替代 Mermaid,更精致)
数字化方案 03-digital-solutions.md 4 大厂 + 垂直厂商对比表(卡片式或表格式)
行业机会 04-opportunity.md 政策 timeline + 趋势 cards

页面结构

┌──────────────────────────────────┐
│ 顶部 Hero 区                      │
│ - 行业名 / 时间窗 / 摘要           │
│ - 数据来源 / 生成时间              │
├──────────────────────────────────┤
│ 1. 头部企业 Top 10                │
│   - 概览表 + 重点 3 家卡片         │
├──────────────────────────────────┤
│ 2. 生态图谱                       │
│   - SVG 图 + 4 生态位说明         │
├──────────────────────────────────┤
│ 3. 数字化方案对比                  │
│   - 4 大厂对比表 / 卡片            │
│   - 垂直厂商列表                   │
├──────────────────────────────────┤
│ 4. 行业机会                       │
│   - 政策 timeline                  │
│   - 需求场景 / 痛点 / 趋势 cards   │
├──────────────────────────────────┤
│ 5. 跨维度洞察 + 行动建议           │
│   - 简化文字版                     │
├──────────────────────────────────┤
│ 底部:源文件清单 + 数据缺口        │
└──────────────────────────────────┘

Workflow

  1. 读 5 个输入文件(session.json + 4 md + 主稿)
  2. 解析 4 维度数据
    • 头部企业 → 排序表数据
    • 生态图 → 节点 + 关系数据
    • 数字化方案 → 厂商 × 4 要素表
    • 行业机会 → 政策 timeline + 趋势 cards
  3. 加载 visual-page skill(这个 skill 是 mavis 自带的,擅长图表/SVG/对比/timeline)
  4. 传入数据 + 视觉偏好给 visual-page skill
  5. 生成单页 HTML
  6. 保存到 industry-analysis-report.html
  7. 更新 session.json

图表建议参考

参见 references/chart-suggestions.md

stop_condition

  • industry-analysis-report.html 存在
  • 4 大节都有可视化元素
  • 页面在浏览器中可滚 / 可读
  • session.json status.html = done

style

  • 单页可滚(不要分页)
  • 配色专业(参考 McKinsey / BCG 报告风)
  • 数据可视化优先,少用纯文字墙
  • 移动端可读(响应式)

调 visual-page skill 的方式

调用 visual-page skill 时传入:
- 标题:{行业} 行业分析报告
- 4 大节数据(头部 / 生态 / 方案 / 机会)
- 主稿的执行摘要 + 跨维度洞察
- 视觉偏好:单页可滚 / McKinsey 风 / 中文

visual-page skill 会基于这些数据生成 HTML。

更新 session.json

  • status.html = done / failed
  • updated_at

重跑规则

  • 主稿更新后,单独重跑本 Skill 即可
  • 不动上游 4 份 md

错误处理

  • 上游 md 缺失 → 提示"上游 Skill 未完成,无法渲染"
  • visual-page skill 失败 → 保留 .md 主稿,标"*.html 渲染失败,可手动重试"
  • HTML 体积过大(>5MB)→ 提示"数据量大,可考虑拆分"

参考

  • 行业分析器总 spec:~/Downloads/周报生成器/行业分析器/docs/superpowers/specs/2026-06-07-industry-analyzer-design.md §5.6
  • 视觉渲染工具:visual-page skill(mavis 自带)
  • 图表建议:references/chart-suggestions.md
安全使用建议
Install this if you want an agent to convert an existing industry analysis workspace into a visual HTML report. Before running it, check whether output/{industry-slug}/industry-analysis-report.html already exists, because reruns may overwrite that file and update output/{industry-slug}/session.json.
能力评估
Purpose & Capability
The stated purpose is to render an industry-analysis markdown report into a single-page visual HTML report, and the requested reads and writes directly support that workflow.
Instruction Scope
The skill clearly lists required input paths, the HTML output path, and the session.json status update, but it does not explicitly warn before overwriting an existing report.
Install Mechanism
The artifact contains only markdown instruction/reference files and no executable scripts, install hooks, package dependencies, or automatic runtime behavior.
Credentials
File access is limited to output/{industry-slug} pipeline artifacts and does not request credentials, broad filesystem indexing, network access, or unrelated local data.
Persistence & Privilege
It creates industry-analysis-report.html and updates session.json status, which is expected pipeline state rather than hidden persistence or privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install industry-analyzer-html-renderer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /industry-analyzer-html-renderer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: 可视化 HTML 渲染
元数据
Slug industry-analyzer-html-renderer
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

行业分析·HTML 渲染 是什么?

Render an industry analysis report (4 dimension markdown + main report) into a single-page scrollable visual HTML page. Uses the visual-page skill for charts... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 行业分析·HTML 渲染?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install industry-analyzer-html-renderer」即可一键安装,无需额外配置。

行业分析·HTML 渲染 是免费的吗?

是的,行业分析·HTML 渲染 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

行业分析·HTML 渲染 支持哪些平台?

行业分析·HTML 渲染 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 行业分析·HTML 渲染?

由 Aha.Gare(@zrxparley)开发并维护,当前版本 v0.1.0。

💬 留言讨论