01
It starts by itself
chart code changes. Runs in GitHub Actions or Claude Code routine.
- ↻ chart code changes
pull_request touches files importing lightweight-charts
Chart code stays on v5.
Install the Lightweight Charts skill and make it a habit: follow https://gethabit.dev/skills/tradingview/lightweight-charts.md
1K installs18K starsApache-2.0 licenceSource on GitHub ↗

Lightweight Charts
by tradingview · 1K installs
The skill
The lightweight charts skill helps developers build TradingView lightweight-charts v5 charts: series, scales, realtime data, panes, markers, plugins, SSR loading and React or Vue wrappers.
Only when you ask.
The habit
Chart code stays on v5.
↻ Runs by itselfchart code changes
When does it start? How does it check its work? What does it remember?
Stops after one pull request per run.
Read node_modules/lightweight-charts/package.json and grep the typings.
Replace v4 snippets using the v4 to v5 replacement matrix.
Check seconds timestamps, ascending unique times and update versus setData.
Confirm one chart per mount, chart.remove() on cleanup and client-only loading in Next.js.
Name the v5 API, the foot-gun and what source was checked.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Lightweight Charts skill helps.
The skill says to state what could not be verified and not invent API names.
No. The skill flags the Python wrapper as a different, third-party package.
Copy the prompt at the top into your agent. It installs the skill from tradingview/lightweight-charts and sets up the habit. Or run npx skills add tradingview/lightweight-charts --skill lightweight-charts.
Yes. It is published under Apache-2.0. Habit is free too.
Install the Lightweight Charts skill and make it a habit: follow https://gethabit.dev/skills/tradingview/lightweight-charts.md
All tradingview skills →More code skills →
Works in
Made by tradingview, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?