Roadmap Timeline 标志

Roadmap Timeline

组织
pnp
roadmap-timeline

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.

概览

发布者pnp
代码仓库sharepoint-skills
技能名称roadmap-timeline
星标数
141
复刻数
60
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 pnp 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Roadmap Timeline AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/pnp/sharepoint-skills/tree/main/Skills/roadmap-timeline/roadmap-timeline
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/sharepoint-skills.git /tmp/sharepoint-skills
mkdir -p .claude/skills
cp -r /tmp/sharepoint-skills/Skills/roadmap-timeline/roadmap-timeline .claude/skills/roadmap-timeline
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Roadmap Timeline,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Roadmap Timeline。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Roadmap Timeline 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Roadmap 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_items on 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:

  1. Topic: What is this timeline about? (e.g., "Q3 product launch plan," "cloud migration phases," "new employee onboarding")
  2. Date range: What is the overall span? (start and end dates for the full view)
  3. 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.
  4. Items: List the phases or milestones with their dates, owners, and status.
  5. 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.
  6. 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

FieldRequiredDescription
titleyesReport title, shown in header strip
subtitlenoSubtitle or context line
date_range_startroadmap onlyISO date string, e.g. "2026-01-01"
date_range_endroadmap onlyISO date string, e.g. "2026-06-30"
paletteyeswarm-paper, deep-ink, clean-white, or slate
footernoFooter text

mode string

"roadmap" or "milestones".

swimlanes array (roadmap mode only)

FieldRequiredDescription
idyesShort identifier, e.g. "eng"
labelyesDisplay name, e.g. "Engineering"

items array

FieldRequiredDescription
idyesUnique short identifier, e.g. "item-1"
titleyesDisplay label for the block or card
swimlane_idroadmap onlyReferences a swimlane id
startyesISO date string
endroadmap modeISO date string (omit for pure milestones mode)
statusyeson-track, at-risk, delayed, complete, or planned
milestonenotrue if this is a point-in-time event within a roadmap
ownernoText name of the owner (no Person column — plain text only)
descriptionnoAdditional detail shown in tooltip (roadmap) or card body (milestones)
dependenciesnoArray 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.

ValueFormula
total_daysDays 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_end equals item_start, treat the item as a milestone (diamond) regardless of the milestone flag

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:

  • mode is "roadmap" or "milestones"
  • report.palette is one of: warm-paper, deep-ink, clean-white, slate
  • items array has at least one entry
  • Roadmap mode: report.date_range_start and report.date_range_end are present and parseable as ISO dates
  • Roadmap mode: date_range_end is after date_range_start
  • Roadmap mode: swimlanes array has at least one entry

Per item:

  • id is unique within the items array
  • title is present and non-empty
  • start is a valid ISO date string
  • Roadmap mode: end is present and not before start
  • status is one of: on-track, at-risk, delayed, complete, planned
  • Roadmap mode: swimlane_id references a valid swimlane id
  • dependencies entries (if present) each reference a valid item id
  • item_left_pct + item_width_pct does 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:

  1. Replace {{REPORT_TITLE}} in <title> with a concise page title.
  2. Replace {{PALETTE_CLASS}} on <body> with palette- + palette name.
  3. Replace {{HEADER}} with the .rpt-header strip (title, subtitle, date range).
  4. Replace {{CONTENT}} with the full rendered visualization (roadmap or milestones).
  5. Replace {{FOOTER}} with footer text (or empty string).
  6. 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 inline left and width percentage styles.
  • Render milestone items as <div class="milestone-diamond status-{status}"> with inline left percentage style.
  • Render the today-line as <div class="today-line"> with inline left percentage 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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Roadmap Timeline AI 技能有什么作用?

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 mileston...

为什么在 TypingMind 中使用 Roadmap Timeline?

因为您只需安装一次,就能搭配任何模型使用。Roadmap Timeline 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Roadmap Timeline?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/pnp/sharepoint-skills/tree/main/Skills/roadmap-timeline/roadmap-timeline。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Roadmap Timeline?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Roadmap Timeline 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Roadmap Timeline 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Roadmap Timeline AI 技能免费吗?

是的。pnp 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇