---
name: "mermaid-gantt-project-timeline"
description: "Visualize project schedules, sprints, dependencies, and critical paths with Mermaid Gantt."
metadata:
  author: "Mermaid"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "create mermaid gantt chart"
  - "define task dependencies mermaid"
  - "visualize project timeline markdown"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Mermaid.js Project Milestones & Gantt Charts

Authors Mermaid Gantt syntax: dateFormat, section groupings, milestone tasks, crit task dependencies, and sprint timelines directly inside Markdown documents.

## When to Invoke
Invoke this skill whenever you need to:
- create mermaid gantt chart
- define task dependencies mermaid
- visualize project timeline markdown

## Execution SOP & Rules
1. Declare chart type and date format with gantt and dateFormat YYYY-MM-DD.
2. Structure work breakdown into sections using section PhaseName.
3. Define tasks with descriptive labels, milestone tags, and dependency IDs: taskA, after taskB, 10d.
4. Verify date continuity and avoid circular task dependency definitions.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
