Initial commit: Memind H5 portal with MindSpace, Plaza, and agent jobs.
Track application source and tests; exclude local env, user workspaces, and runtime data via .gitignore. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
---
|
||||
name: timeline
|
||||
description: 时间轴可视化技能:将事件序列渲染为交互式时间线(需启用 timeline 扩展)
|
||||
---
|
||||
|
||||
# 时间轴展示
|
||||
|
||||
使用 `timeline` MCP 扩展在聊天中渲染时间线。
|
||||
|
||||
## 何时使用
|
||||
|
||||
- 展示项目里程碑、发版历史
|
||||
- git log 可视化
|
||||
- 事件序列、历史脉络梳理
|
||||
|
||||
## 前提
|
||||
|
||||
Settings → Extensions 中启用 **Timeline** 扩展。
|
||||
|
||||
## 工具
|
||||
|
||||
`show_timeline(title, events)` — 渲染垂直时间轴
|
||||
|
||||
## 数据结构
|
||||
|
||||
```
|
||||
events: [
|
||||
{
|
||||
date: "2024-01-15",
|
||||
title: "v1.0 发布",
|
||||
description: "首个正式版本上线",
|
||||
category: "发版",
|
||||
color: "#5c98f9" // 可选,不填自动按 category 着色
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
## 规则
|
||||
|
||||
1. `date` 格式灵活(`2024-01`、`2024-01-15`、`Q1 2024` 均可)
|
||||
2. 同一 `category` 自动使用同一颜色
|
||||
3. 事件超过 30 个时只展示关键节点,其余省略
|
||||
Reference in New Issue
Block a user