roadmap-timeline
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "roadmap-timeline":https://skillpi.com/zh/skills/deepskill-1450e419c2a7e4bc08fad5cc4393797ae2eea6300c67622b2372558ef6c543e0。安装前核对上游来源和版本:https://github.com/pnp/sharepoint-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
根据任意项目数据(SharePoint 列表、粘贴的表格或口头描述)生成独立的 HTML 路线图或里程碑时间轴。若数据不完整,会主动询问用户并构建经过验证的 JSON 文档,然后将其渲染为单个沙盒安全的 HTML 文件。自动在两种布局中选择其一:带泳道的横向路线图(适用于阶段/范围数据)或纵向里程碑列表(适用于时间点事件)。无外部依赖,输出可在 SharePoint 沙盒 iframe 内直接运行。
介绍来源: third_party · pnp · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 限制与区别
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: roadmap-timeline
description: >
Generates a polished, self-contained HTML roadmap or milestone timeline from any project
data — SharePoint lists, pasted tables, or a verbal description. Use when asked to build
a project roadmap, product roadmap, migration timeline, release plan, onboarding sequence,
run-of-show, phase plan, or any visual schedule showing items over time. Interviews the
user if data is incomplete, constructs a validated JSON document, then renders it into a
single sandbox-safe HTML file. Chooses between two layouts automatically: horizontal
roadmap with swimlanes (for phase-range data) or vertical milestone list (for
point-in-time events). No external dependencies — output runs inside a SharePoint
sandboxed iframe.
metadata:
author: zrosenfieldRoadmap Timeline
Generates a complete, self-contained HTML visualization by (1) interviewing the user or parsing their data, (2) constructing and validating a JSON document, then (3) rendering that JSON into HTML using assets/roadmap-timeline-template.html. The JSON is the authoritative source of truth; the HTML is fully determined by it.
Step 1: Determine the Data Source
Check what the user has already provided before asking anything:
- SharePoint lists: Call
list_itemson the relevant lists. Read all needed columns before proceeding. - CSV or table pasted in chat: Parse all rows. Do not ask for data you already have.
- Verbal description only: Proceed to Step 2.
Step 2: Interview the User
If the data or intent is not fully clear, ask these questions in a single message — not one at a time:
- Topic: What is this timeline about? (e.g., "Q3 product launch plan," "cloud migration phases," "new employee onboarding")
- Date range: What is the overall span? (start and end dates for the full view)
- Swimlanes / tracks: Are there parallel workstreams or teams? (e.g., "Engineering," "Product," "Marketing") If yes → roadmap mode. If items are point-in-time events only → milestones mode.
- Items: List the phases or milestones with their dates, owners, and status.
- Palette: Warm paper (cream/terra-cotta), deep ink (dark/gold), clean white (white/green), or slate (gray/blue)? Default to slate for roadmaps, warm-paper for milestone lists.
- Footer: Any footer text (date, project name, audience)?
Confirm your understanding before building the JSON.
Step 3: Choose the Rendering Mode
Roadmap mode — use when items have start and end date ranges (duration blocks):
- Items span days, weeks, or months
- Multiple parallel workstreams exist (or a single flat track is still cleaner as roadmap)
- The user mentions "phases," "sprints," "quarters," "swimlanes," or "gantt"
Milestones mode — use when items are point-in-time events:
- Items have a single date (no duration)
- The user mentions "milestones," "deliverables," "checkpoints," "onboarding steps," or "run of show"
When data is mixed (some ranges, some points), use roadmap mode and mark point-in-time items as "milestone": true.
Step 4: Build and Validate the JSON Document
Construct the JSON object. Full schema:
report object
| Field | Required | Description |
|---|---|---|
title |
yes | Report title, shown in header strip |
subtitle |
no | Subtitle or context line |
date_range_start |
roadmap only | ISO date string, e.g. "2026-01-01" |
date_range_end |
roadmap only | ISO date string, e.g. "2026-06-30" |
palette |
yes | warm-paper, deep-ink, clean-white, or slate |
footer |
no | Footer text |
mode string
"roadmap" or "milestones".
swimlanes array (roadmap mode only)
| Field | Required | Description |
|---|---|---|
id |
yes | Short identifier, e.g. "eng" |
label |
yes | Display name, e.g. "Engineering" |
items array
| Field | Required | Description |
|---|---|---|
id |
yes | Unique short identifier, e.g. "item-1" |
title |
yes | Display label for the block or card |
swimlane_id |
roadmap only | References a swimlane id |
start |
yes | ISO date string |
end |
roadmap mode | ISO date string (omit for pure milestones mode) |
status |
yes | on-track, at-risk, delayed, complete, or planned |
milestone |
no | true if this is a point-in-time event within a roadmap |
owner |
no | Text name of the owner (no Person column — plain text only) |
description |
no | Additional detail shown in tooltip (roadmap) or card body (milestones) |
dependencies |
no | Array of id strings; rendered as a text note, not as arrows |
Date-to-Percentage Computation (roadmap mode)
The skill pre-computes all layout positions as percentages. No JavaScript is required for positioning — all values are embedded in the HTML as inline styles.
| Value | Formula |
|---|---|
total_days |
Days between date_range_end and date_range_start (inclusive span) |
item_left_pct |
((item_start − date_range_start) / total_days) × 100 |
item_width_pct |
((item_end − item_start) / total_days) × 100 |
today_left_pct |
((today − date_range_start) / total_days) × 100 |
Rules:
- Clamp all results to 0.00–100.00
- Round to 2 decimal places
- Minimum rendered width for any block: 1.50% (so very short items are always visible)
- If
item_endequalsitem_start, treat the item as a milestone (diamond) regardless of themilestoneflag
Today's date is known from the system context. If today falls outside the date range, omit the today-line entirely.
Validation Checklist
Run every check before rendering. Fix any failure before proceeding.
Document level:
- [ ]
modeis"roadmap"or"milestones" - [ ]
report.paletteis one of:warm-paper,deep-ink,clean-white,slate - [ ]
itemsarray has at least one entry - [ ] Roadmap mode:
report.date_range_startandreport.date_range_endare present and parseable as ISO dates - [ ] Roadmap mode:
date_range_endis afterdate_range_start - [ ] Roadmap mode:
swimlanesarray has at least one entry
Per item:
- [ ]
idis unique within theitemsarray - [ ]
titleis present and non-empty - [ ]
startis a valid ISO date string - [ ] Roadmap mode:
endis present and not beforestart - [ ]
statusis one of:on-track,at-risk,delayed,complete,planned - [ ] Roadmap mode:
swimlane_idreferences a valid swimlaneid - [ ]
dependenciesentries (if present) each reference a valid itemid - [ ]
item_left_pct + item_width_pctdoes not exceed 101 (floating-point tolerance)
Computation check:
- [ ] All percentage values computed and clamped to 0–100
- [ ] Milestone items have
item_width_pct = 0(rendered as diamonds, not blocks) - [ ] Today-line computed only when today is within the date range
Step 5: Render the HTML
Read assets/roadmap-timeline-template.html.
For both modes:
- Replace
{{REPORT_TITLE}}in<title>with a concise page title. - Replace
{{PALETTE_CLASS}}on<body>withpalette-+ palette name. - Replace
{{HEADER}}with the.rpt-headerstrip (title, subtitle, date range). - Replace
{{CONTENT}}with the full rendered visualization (roadmap or milestones). - Replace
{{FOOTER}}with footer text (or empty string). - Replace
{{INLINE_SCRIPT}}with any enhancement JS (tooltip hover, palette switcher if needed).
See references/components.md for the exact HTML structure of each mode.
Roadmap Mode Rendering
Generate the month-marker ruler, then one .swimlane row per swimlane entry. Within each row:
- Render phase blocks as
<div class="phase-block status-{status}">with inlineleftandwidthpercentage styles. - Render milestone items as
<div class="milestone-diamond status-{status}">with inlineleftpercentage style. - Render the today-line as
<div class="today-line">with inlineleftpercentage style (omit if today is out of range).
Milestones Mode Rendering
Group items by phase (if phases are named in description or a group field is provided). For each item render a .milestone-card with a date badge, status dot, title, owner, and description.
Hard Constraints
- No external URLs, CDN links, or web fonts in the output HTML.
- No
<script src>tags. All JavaScript must be inline. - All data values must be pre-rendered into the HTML — the page must be fully correct with JavaScript disabled. JS adds tooltips and animations but must never be required for correctness.
- Do not generate Python, PowerShell, or any other scripts — output is always the HTML file.
- Do not render until the validation checklist passes.
- Owner fields must be plain text — no Person column types.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 支持多种高频刚需场景(产品路线图、迁移计划、发布计划、入职流程等)
- 自动适配横向泳道路线图与纵向里程碑列表两种布局
- 输出沙盒安全的独立 HTML 文件,无外部依赖
亮点
- 触发词覆盖全面且边界清晰(roadmap, timeline, milestone, phase plan 等)
- description 明确区分不同使用模式与数据源类型
亮点
- Step-by-Step 执行流程清晰完整
- 包含详细的 JSON schema 与 validation checklist
- 硬约束明确保障输出安全性与兼容性
待提升项
-
description写错位置 原报告严重程度:轻微
顶层 frontmatter 中 description 字段为空,实质描述内容位于 skill_body 内部
改进建议:将 description 内容移至顶层 frontmatter 的 description 字段中,以符合规范并提升可读性
亮点
- 内置完整 validation checklist 确保数据一致性
- 所有布局位置预计算为百分比,无需运行时 JavaScript
- 明确禁止外部依赖与脚本引用,保障沙盒安全
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。