Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Displays chronological events and activity through timelines, activity feeds, Gantt charts, and calendar interfaces. Use when showing historical events, project schedules, social feeds, notifications, audit logs, or time-based data. Provides implementation patterns for vertical/horizontal timelines, interactive visualizations, real-time updates, and responsive designs with accessibility (WCAG/ARIA).
.claude/skills/ancoleman-displaying-timelines/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 76% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 118% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 55% | 0% |
This skill enables systematic creation of timeline and activity components, from simple vertical timelines to complex interactive Gantt charts. It provides clear decision frameworks based on use case and data characteristics, ensuring optimal performance, real-time updates, and accessible implementations.
Activate this skill when:
Select component type based on use case:
Social Activity → Activity Feed (infinite scroll, reactions)
System Events → Audit Log (searchable, exportable, precise timestamps)
User Notifications → Notification Feed (read/unread, grouped by date)
Historical Events → Vertical Timeline (milestones, alternating sides)
Project Planning → Gantt Chart (dependencies, drag-to-reschedule)
Scheduling → Calendar Interface (month/week/day views)
Interactive Roadmap → Horizontal Timeline (zoom, pan, filter)For detailed selection criteria, reference references/component-selection.md.
Social Feed Pattern:
references/activity-feeds.mdNotification Feed Pattern:
references/notification-feeds.mdAudit Log Pattern:
references/audit-logs.mdExample: examples/social-activity-feed.tsx
Vertical Timeline:
references/vertical-timelines.mdHorizontal Timeline:
references/horizontal-timelines.mdInteractive Timeline:
references/interactive-timelines.mdExample: examples/milestone-timeline.tsx
Project Planning Features:
To generate Gantt chart data:
bashpython scripts/generate_gantt_data.py --tasks 50 --dependencies auto
Reference references/gantt-patterns.md for implementation details.
Example: examples/project-gantt.tsx
Month View:
Week View:
Day/Agenda View:
Reference references/calendar-patterns.md for all views.
Example: examples/calendar-scheduler.tsx
Essential timestamp patterns:
Relative (Recent Events):
Absolute (Older Events):
Implementation Considerations:
To format timestamps consistently:
bashnode scripts/format_timestamps.js --locale en-US --timezone auto
Reference references/timestamp-formatting.md for complete patterns.
Live Activity Feed:
Implementation Pattern:
Reference references/real-time-updates.md for WebSocket patterns.
Example: examples/realtime-activity.tsx
Critical performance thresholds:
<100 events → Client-side rendering, no virtualization
100-1,000 events → Virtual scrolling recommended
1,000+ events → Virtual scrolling + server pagination
Real-time → Debounce updates, batch insertionsOptimization Strategies:
To benchmark performance:
bashnode scripts/benchmark_timeline.js --events 10000
Reference references/performance-optimization.md for details.
Essential WCAG compliance:
Semantic HTML:
<ol> or <ul> for timelinesARIA Patterns:
role="feed" for activity feedsrole="article" for timeline itemsaria-label for timestampsaria-busy during loadingKeyboard Navigation:
Screen Reader Support:
To validate accessibility:
bashnode scripts/validate_timeline_accessibility.js
Reference references/accessibility-patterns.md for complete requirements.
Three proven strategies:
1. Stack Vertically (Mobile)
2. Simplify Display
3. Horizontal Scroll
Reference references/responsive-strategies.md for implementations.
Example: examples/responsive-timeline.tsx
Best for timeline visualizations with rich content:
bashnpm install react-chrono
See examples/react-chrono-timeline.tsx for setup.
Alternative: react-vertical-timeline-component
Best for project management:
bashnpm install @svar/gantt
Enterprise Alternative: Bryntum Gantt
Best for scheduling interfaces:
bashnpm install react-big-calendar
Alternative: FullCalendar
For detailed comparison, reference references/library-comparison.md.
Timelines use the design-tokens skill for consistent theming:
Timeline-Specific Tokens:
--timeline-line-color - Connecting line color--timeline-dot-color - Event marker color--timeline-dot-active-color - Current/active event--event-card-bg - Event card background--timestamp-color - Timestamp textStandard Token Categories:
Supports light, dark, high-contrast, and custom themes. Reference the design-tokens skill for theme switching.
Start with the example matching the requirements:
social-activity-feed.tsx # Social feed with reactions
notification-center.tsx # Notification system with filters
audit-log-viewer.tsx # System audit log
milestone-timeline.tsx # Vertical timeline with milestones
project-gantt.tsx # Gantt chart with dependencies
calendar-scheduler.tsx # Full calendar with all views
realtime-activity.tsx # Live updates via WebSocket
responsive-timeline.tsx # Mobile-optimized timelineGenerate mock timeline data:
bashpython scripts/generate_timeline_data.py --events 500 --realtime
Test real-time updates:
bashnode scripts/simulate_realtime.js --rate 5/sec --duration 60s
Validate accessibility:
bashnode scripts/validate_timeline_accessibility.js
Benchmark performance:
bashnode scripts/benchmark_timeline.js --events 10000 --virtual
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 18,789 | 17,816 | -5% | 1 | 1 | 0% | 2,955 | 5,317 | +80% | 0 | 0 | — |
case-02 | pass→pass | 15,062 | 20,235 | +34% | 1 | 1 | 0% | 2,322 | 6,480 | +179% | 0 | 0 | — |
case-03 | fail→pass | 18,227 | 15,620 | -14% | 1 | 1 | 0% | 2,847 | 5,011 | +76% | 0 | 0 | — |
case-04 | pass→pass | 14,076 | 13,735 | -2% | 1 | 1 | 0% | 2,336 | 5,173 | +121% | 0 | 0 | — |
case-05 | pass→pass | 13,906 | 11,938 | -14% | 1 | 1 | 0% | 2,206 | 4,643 | +110% | 0 | 0 | — |
case-06 | pass→pass | 11,811 | 8,232 | -30% | 1 | 1 | 0% | 2,130 | 3,797 | +78% | 0 | 0 | — |
case-22 | pass→pass | 14,752 | 15,538 | +5% | 1 | 1 | 0% | 2,642 | 5,184 | +96% | 0 | 0 | — |
case-07 | fail→fail | 18,845 | 21,149 | +12% | 1 | 1 | 0% | 3,077 | 6,083 | +98% | 0 | 0 | — |
case-08 | fail→pass | 14,089 | 6,223 | -56% | 1 | 1 | 0% | 2,648 | 3,652 | +38% | 0 | 0 | — |
case-09 | pass→pass | 15,297 | 12,911 | -16% | 1 | 1 | 0% | 2,579 | 5,025 | +95% | 0 | 0 | — |
case-10 | pass→pass | 13,815 | 10,626 | -23% | 1 | 1 | 0% | 2,001 | 3,988 | +99% | 0 | 0 | — |
case-11 | pass→pass | 12,150 | 11,200 | -8% | 1 | 1 | 0% | 1,974 | 4,505 | +128% | 0 | 0 | — |
case-12 | pass→pass | 11,861 | 16,504 | +39% | 1 | 1 | 0% | 1,773 | 5,425 | +206% | 0 | 0 | — |
case-13 | pass→pass | 12,316 | 10,422 | -15% | 1 | 1 | 0% | 2,049 | 4,344 | +112% | 0 | 0 | — |
case-14 | pass→pass | 16,606 | 23,830 | +44% | 1 | 1 | 0% | 2,496 | 7,083 | +184% | 0 | 0 | — |
case-15 | fail→pass | 8,505 | 2,568 | -70% | 1 | 1 | 0% | 1,297 | 2,830 | +118% | 0 | 0 | — |
case-16 | pass→pass | 17,572 | 16,107 | -8% | 1 | 1 | 0% | 2,781 | 4,980 | +79% | 0 | 0 | — |
case-17 | fail→pass | 14,093 | 2,248 | -84% | 1 | 1 | 0% | 2,542 | 2,754 | +8% | 0 | 0 | — |
case-18 | fail→pass | 17,002 | 1,779 | -90% | 1 | 1 | 0% | 1,710 | 2,659 | +55% | 0 | 0 | — |
case-19 | fail→pass | 9,169 | 2,509 | -73% | 1 | 1 | 0% | 1,472 | 2,839 | +93% | 0 | 0 | — |
case-20 | pass→pass | 10,872 | 11,615 | +7% | 1 | 1 | 0% | 1,912 | 4,751 | +148% | 0 | 0 | — |
case-21 | pass→pass | 13,763 | 9,970 | -28% | 1 | 1 | 0% | 2,270 | 4,202 | +85% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +27 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.