feat: add initial skill authoring workspace
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
44
skills/zhihu-hotlist-screen/references/render-flow.md
Normal file
44
skills/zhihu-hotlist-screen/references/render-flow.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# 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 新标签页展示.
|
||||
Reference in New Issue
Block a user