Files
skill-lib/skills/zhihu-hotlist-screen/references/render-flow.md
木炎 51913555ad feat: add initial skill authoring workspace
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 18:34:56 +08:00

45 lines
991 B
Markdown

# Render Flow
Use this flow after `zhihu-hotlist` has already produced ordered hotlist rows.
1. Keep the upstream artifact as the source of truth:
```json
{
"source": "https://www.zhihu.com/hot",
"sheet_name": "知乎热榜",
"columns": ["rank", "title", "heat"],
"rows": [[1, "标题", "344万"]]
}
```
2. Call `screen_html_export` with at least:
```json
{
"snapshot_id": "zhihu-hotlist-20260329",
"generated_at_ms": 1774713600000,
"rows": [[1, "标题", "344万"]]
}
```
3. Expect the tool result to include:
```json
{
"output_path": "/abs/path/zhihu-hotlist-screen.html",
"presentation": {
"mode": "new_tab",
"title": "知乎热榜主题分类分析大屏",
"url": "file:///abs/path/zhihu-hotlist-screen.html",
"open_in_new_tab": true
}
}
```
4. Final delivery rules:
- The local `.html` path is the generated artifact.
- `presentation.url` is the browser-open target.
- Final wording should say the dashboard is ready for 新标签页展示.