Generate beautiful interactive timeline HTML pages from JSON data, with vertical, horizontal, or dual-side layouts, collapsible details, and custom colors. Ideal for project milestones, company histories, or resumes. Triggered when a user mentions 'timeline', 'history of events', 'project milestones', 'release log', or asks to visualize a chronological sequence of data.
79
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Generate beautiful interactive timeline HTML pages from JSON configuration data, with three layout modes:
vertical) — A classic top-to-bottom timeline with event cards alternating on either side of the axishorizontal) — A horizontally scrollable timeline, best for displaying fewer eventsdual-side) — Events are placed on the left or right based on the side field, great for side-by-side comparisonsAll layouts support:
python3 scripts/generate_timeline.py --config timeline_data.json --output timeline.htmlcat timeline_data.json | python3 scripts/generate_timeline.py --stdin --output timeline.htmlpython3 scripts/generate_timeline.py --config data.json --layout horizontal --output timeline.html{
"title": "Project Milestones",
"layout": "vertical",
"theme": {
"primaryColor": "#2563eb",
"secondaryColor": "#7c3aed",
"backgroundColor": "#ffffff",
"textColor": "#1f2937",
"lineColor": "#d1d5db",
"fontFamily": "system-ui, -apple-system, sans-serif"
},
"events": [
{
"date": "2024-01-15",
"title": "Project Kickoff",
"summary": "Approval completed, core team assembled",
"details": "Detailed description text, shown when the card is expanded...",
"icon": "🚀",
"category": "Milestone",
"color": "#10b981",
"side": "left"
}
]
}| Argument | Description |
|---|---|
--config, -c | Path to the JSON config file (mutually exclusive with --stdin) |
--stdin | Read JSON from standard input |
--output, -o | Output HTML file path (defaults to stdout) |
--layout, -l | Override layout mode: vertical, horizontal, dual-side |
--title, -t | Override the timeline title |
| Field | Required | Description |
|---|---|---|
date | Yes | Date label — any format works (e.g. 2024-01, Q1 2024, Phase One) |
title | Yes | Event title |
summary | No | Short description, always visible on the card |
details | No | Detailed content, revealed on click |
icon | No | Emoji or single-character icon (defaults to ●) |
category | No | Category tag displayed on the card |
color | No | Event node color (overrides the theme color) |
side | No | Only for dual-side layout: left or right |
af7d491
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.