This generates AntV G2 v5 chart code using the modern Spec API pattern, handling everything from basic bar and line charts to treemaps and force graphs. The skill enforces strict v5 conventions like mandatory container IDs, single `chart.options()` calls, and using `type: 'view'` with children arrays for multi-mark compositions. It's built around a comprehensive constraint system that catches common mistakes like mixing v4 chain syntax, using hallucinated mark types from other libraries, or setting illegal palette names that throw runtime errors. Worth using if you're working with G2 and need clean, runnable code that follows current best practices without the trial and error of API migration.
npx skills add https://github.com/antvis/chart-visualization-skills --skill antv-g2-chart