apexgantt-skill
v1.0.0
Published
AI coding skill for ApexGantt — structured reference docs that help AI assistants (Claude, Cursor, Copilot, etc.) generate correct ApexGantt code.
Downloads
113
Maintainers
Readme
ApexGantt AI Skill
AI coding skill for building ApexGantt timeline / Gantt charts. Works with Claude Code, Cursor, GitHub Copilot, and any AI coding assistant that can read project context.
What This Does
AI models routinely get Gantt-chart code wrong: bad date formats, missing render() calls, listening for events on the wrong target, mutating series in place, treating progress as a fraction. This skill ships structured reference files so the assistant generates correct ApexGantt code on the first try.
Coverage
- Task data format —
id,name,startTime,endTime,progress, hierarchy, milestones, baseline - Dependencies —
FS/SS/FF/SFtypes with lag/lead, critical path - Lifecycle —
render(),update(),updateTask(),destroy(), license key - Events — full
GanttEventMapwithCustomEvent.detailshapes - Selection, drag, resize, inline edit with the right opt-in flags
- Custom toolbar items, columns, parsing for non-standard data shapes
- Framework wrappers:
react-apexgantt,vue-apexgantt,ngx-apexgantt
Installation
Claude Code
mkdir -p .claude/skills
cd .claude/skills
git clone https://github.com/apexcharts/apexgantt-skill.gitCursor / Windsurf
curl -o .cursorrules https://raw.githubusercontent.com/apexcharts/apexgantt-skill/main/.cursorrulesGitHub Copilot
Reference SKILL.md in Copilot Chat: @workspace #file:SKILL.md, or paste the contents of .cursorrules into Copilot's custom instructions.
Generic AI Assistant
Paste the contents of SKILL.md into the system prompt or attach it as context.
As an npm dependency
For tools that build on top of this skill (MCP servers, custom AI agents):
npm install apexgantt-skillimport { skillFile, referencesDir, referencePath } from 'apexgantt-skill';
import { readFile } from 'node:fs/promises';
const skill = await readFile(skillFile, 'utf8');
const deps = await readFile(referencePath('dependencies.md'), 'utf8');Repository Structure
├── SKILL.md # Main entry point — read this first
├── .cursorrules # Self-contained version for Cursor / Windsurf
├── references/
│ ├── data-format.md # tasks, hierarchy, milestones, baseline
│ ├── dependencies.md # FS/SS/FF/SF, lag/lead, critical path
│ ├── columns-and-toolbar.md # columnConfig, toolbarItems, parsing
│ ├── events.md # GanttEventMap, selection, drag, resize
│ └── framework-wrappers.md # React, Vue, Angular
└── install/
├── claude-code.md
├── cursor.md
└── copilot.mdLinks
License
MIT
