Highcharts Optimize

SkillFiles & storage

Lets your agent improve Highcharts chart code for faster runtime and smaller file size without changing behavior.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Highcharts Optimize skill

About this capability

Optimize Highcharts code for runtime performance and file-size impact while preserving behavior and API compatibility.

What this skill tells your AI

The instructions your AI receives, as published by highcharts/highcharts in .agents/skills/optimize/SKILL.md and read by ahel’s review.

Use this skill when code is slow, memory-heavy, or larger than necessary.

Steps

  1. Profile and locate hot paths.
  2. Apply minimal fixes with unchanged behavior/API.
  3. Add or update regression tests.
  4. Validate with relevant tests.

Focus areas

  • Merge redundant iterations; avoid O(n^2) loops on data points.
  • Reduce redraw/reflow triggers and repeated expensive calculations.
  • Reuse SVG/DOM elements when possible; avoid repeated attr() churn.
  • Cache hot-loop option lookups and computed values.
  • Remove dead code and unnecessary imports to reduce size.
  • Ensure cleanup in destroy paths to avoid leaks.
  • Reuse pre-existing utility functions and patterns whenever possible.

Output format

For each optimization:

  • What changed
  • Where: path:line
  • Impact
  • Trade-off

Signals

GitHub stars
12k
Forks
4k
Last commit
Sep 2026
Hacker News mentions
20
Advanced
Catalog kind
skill
Gateway key
optimize-highcharts
Source
github.com/highcharts/highcharts