2.7 KiB
2.7 KiB
name, description, version, author, tags
| name | description | version | author | tags | |||||
|---|---|---|---|---|---|---|---|---|---|
| zhihu-hotlist-screen | Use when the user wants to turn collected Zhihu hotlist data into a leadership demo dashboard or local HTML presentation artifact. | 0.1.0 | sgclaw |
|
Zhihu Hotlist Screen
Convert an already collected Zhihu hotlist artifact into a local驾驶舱风格 .html dashboard for leadership demo use.
Use Cases
- The user asks for 知乎热榜大屏、看板、dashboard、或 ECharts 演示页。
- The user wants a local artifact for presentation or handoff.
- An upstream collection step already produced ordered hotlist rows.
- The output deliverable should be
.html, not.xlsx.
Not This Skill
- recollecting Zhihu data from scratch when no upstream artifact exists
- replacing
zhihu-hotlistwith this downstream presenter - exporting Office files such as
.xlsx
Runtime Contract
zhihu-hotlistremains the collection owner; this skill only transforms artifacts.- Upstream browser calls remain in sgClaw with
expected_domainlikewww.zhihu.com. - Selectors in upstream work must remain CSS-only.
- This skill must not create new browser extraction steps.
Required Input Artifact
Input shape (primary payload):
{
"source": "https://www.zhihu.com/hot",
"sheet_name": "知乎热榜",
"columns": ["rank", "title", "heat"],
"rows": [[1, "标题", "344万"]]
}
rowsis required and ordering must be preserved.- Do not invent rows or reorder collected data.
- Preserve upstream partial status in the final summary.
Tool Contract
- Call
screen_html_exportto render the dashboard. - Return value must include local
.htmlpath. - Return value must include a
presentationobject for demo handoff. - Prefer
presentation.urlas browser-open target.
Workflow
- Verify ordered
rowsartifact exists. - If the artifact is missing, incomplete, blocked, or explicit login failure, report that upstream collection must be fixed first.
- Load render-flow.md.
- Call
screen_html_export. - Return local
.htmlpath andpresentationobject. - State that the final view should open
presentation.url.
Output
- artifact type:
echarts_dashboard - source snapshot identifier
- local
.htmloutput path presentationobject- data completeness (
complete/partial) - optional short demo summary after artifact fields
References
- render-flow.md
assets/zhihu-hotlist-echarts.html
Common Mistakes
- recollecting data in downstream presentation step
- returning prose only instead of
.htmlpath - dropping
presentationcontract for tab delivery - mixing Excel export requirement into dashboard flow