agentsclimarketplace

Dhtmlx react gantt

Skill DHTMLX/skills/dhtmlx-react-gantt

Agent skills for DHTMLX libraries - guardrails, patterns, and pitfall prevention for AI coding assistants working with DHTMLX Gantt, Scheduler, and other components

Install
npx -y skills add DHTMLX/skills --skill dhtmlx-react-gantt

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Builds and integrates DHTMLX React Gantt into React applications. Covers setup, props, templates, themes, data.save, data.batchSave, resources, calendars, undo/redo, row reorder, sortorder, and React integration patterns for @dhtmlx/trial-react-gantt and @dhx/react-gantt. Applies when working with gantt charts, project timelines, task dependencies, task CRUD, resource panels, working calendars, lightboxes, or weekend highlighting in React — regardless of whether "DHTMLX" is mentioned by name. Provides verified API guidance rather than guessing React Gantt APIs.

SKILL.md

4.2 KB, as published. Nobody here has run it

Source Of Truth

Use only:

  1. The current project's files, structure, and established patterns
  2. DHTMLX MCP for React Gantt API details: https://docs.dhtmlx.com/mcp
  3. Official DHTMLX React Gantt docs as fallback: https://docs.dhtmlx.com/gantt/integrations/react/

Never invent props, hooks, templates, callback signatures, event names, or backend behavior.

If any React Gantt API detail is unclear, resolve it through DHTMLX MCP before writing code.

Preflight

Before writing code, identify:

  • package: @dhtmlx/trial-react-gantt or @dhx/react-gantt — check package.json, imports, lockfiles
  • runtime: React, Next.js (needs "use client"), Remix, or other React-based setup
  • ownership model: React-managed (default) or Gantt-managed (large datasets, Gantt-centric app)
  • persistence: local only, data.save (default, single-entity), or data.batchSave (bulk sync)

Workflow

  1. Confirm the installed DHTMLX React Gantt package and import path.
  2. Decide the data ownership model before implementing features.
  3. Read only the reference file needed for the task:
  4. Use DHTMLX MCP before relying on advanced or unfamiliar APIs.
  5. Implement with documented APIs only.

MCP Server

This skill relies on DHTMLX MCP for API verification. If the dhtmlx-mcp tool is not available, ask the user to add it:

Claude Code:

claude mcp add --transport http dhtmlx-mcp https://docs.dhtmlx.com/mcp

Codex:

codex mcp add dhtmlx-mcp --url https://docs.dhtmlx.com/mcp

If MCP is not available, use the official docs at https://docs.dhtmlx.com/gantt/integrations/react/ as fallback.

Consult MCP First For

Consult DHTMLX MCP before using or changing:

  • template callbacks you have not already verified
  • wrapper hooks such as useWorkTime, useGanttDatastore, or useResourceAssignments
  • advanced props such as batchSave, inlineEditors, modals, customLightbox, or groupTasks
  • theme names beyond the known project usage
  • resource panel, calendars, or advanced layout details
  • resource timeline templates and cell rendering callbacks
  • workload cell templates and overload threshold logic

Hard Rules

  • The Gantt container must have explicit height.
  • Use the app theme as the single source of truth.
  • Prefer CSS variables and documented templates before selector-heavy overrides.
  • Normalize date values before persistence.
  • Build backend payloads explicitly from normalized task/link models.
  • Do not use undocumented internals when a documented prop, hook, or ref API exists.
  • Do not mix React-managed props and imperative instance mutations unless synchronization is intentional.

Quick Checklist

  • Correct package identified
  • Matching CSS import used
  • Explicit height provided
  • Data ownership model chosen
  • Dates normalized before persistence
  • Advanced APIs verified with MCP

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.