Agent skill

Upgrade Lightweight Charts Android

by tradingview in tradingview/lightweight-charts-android

A skill your agent uses when upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions, checking version deltas, API parity, bridge changes…

Apache-2.0Auto-check passedMobile

Install Upgrade Lightweight Charts Android

skills CLI
$ npx skills add tradingview/lightweight-charts-android --skill upgrade-lightweight-charts-android -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tradingview/lightweight-charts-android upgrade-lightweight-charts-android --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tradingview/lightweight-charts-android.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/upgrade-lightweight-charts-android .claude/skills/upgrade-lightweight-charts-android && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
upgrade-lightweight-charts-android
GitHub stars
135
Token cost
~1.3k tokens
SKILL.md length
597 words
Files
3 (incl. scripts)
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions, checking version deltas, API parity, bridge changes…

  • Works in 6 steps: Inspect first. Locate… → Discover versions. Run… → Inventory deltas. Compare releases from… → …
  • Upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions
  • SKILL.md covers Overview, When to Use, Companion Workflow and Workflow, plus 4 more sections
  • Runs Python scripts from its folder; calls git

What it does

Upgrade Lightweight Charts Android is an agent skill from tradingview/lightweight-charts-android. Use when upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions, checking version deltas, API parity, bridge changes, examples, tests, docs, or migration risk.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml` and `scripts/inspect_versions.py`).

It sits in Mobile. It works with Android, JavaScript and npm. The repository describes itself as: Android wrapper for lightweight-charts library. The licence is Apache-2.0.

When your agent uses it

  • Upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions
  • Checking version deltas

Example prompts

  • “/upgrade-lightweight-charts-android”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Inspect first. Locate lightweightlibrary/package.json and app/src/main; do not assume a checkout path. Run git status --short…
  2. Discover versions. Run scripts/inspect_versions.py from this skill. Add --npm-latest only when shell network access is available. Verify…
  3. Inventory deltas. Compare releases from current to target. Audit package typings/source and wrapper surfaces for chart, series, panes…
  4. Plan non-trivial work. Include target version, release delta, Kotlin API, JS bridge, serialization, examples, tests, docs…
  5. Implement in slices. Update package/lock files through the package manager, bridge imports, caches/managers for stable handles, Kotlin…
  6. Verify with evidence. Run JS package scripts after bridge changes, Android tests/builds after Kotlin/example changes, and inspect…

What it can do on your machine

Read from SKILL.md and the folder at commit d4509df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Upgrade Lightweight Charts Android loads about 1.3k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 597 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tradingview/lightweight-charts-android at commit d4509df, republished under its Apache-2.0 licence (© tradingview). 597 words, ~1,310 tokens.

Download SKILL.mdSave it as .claude/skills/upgrade-lightweight-charts-android/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
upgrade-lightweight-charts-android
description
Use when upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions, checking version deltas, API parity, bridge changes, examples, tests, docs, or migration risk.

Upgrade Lightweight Charts Android

Overview

Use this for end-to-end upgrades of the Android wrapper around upstream JavaScript lightweight-charts. Success requires source-backed API research, scoped implementation, compatibility decisions, and verification evidence—not just a version bump.

When to Use

  • Upgrading lightweightlibrary/package.json to a newer lightweight-charts release.
  • Reviewing wrapper parity after upstream major/minor releases.
  • Planning or changing Kotlin APIs, JS bridge code, serializers, examples, Gradle/WebView assets, docs, or migration notes caused by upstream changes.

Do not use for Android dependency upgrades unrelated to lightweight-charts.

Companion Workflow

  • Use official upstream docs, release notes, package typings, and source checks for upstream API research. If your Codex environment has a source/research skill, it can help, but this skill must remain usable without one.
  • Use a written plan before non-trivial implementation.
  • Use fresh verification evidence before claiming upgrade success.
  • RECOMMENDED: Use code review skills before merge when bridge/API surfaces change.

Workflow

  1. Inspect first. Locate lightweightlibrary/package.json and app/src/main; do not assume a checkout path. Run git status --short --untracked-files=all and protect unrelated user changes.
  2. Discover versions. Run scripts/inspect_versions.py <repo-root> from this skill. Add --npm-latest only when shell network access is available. Verify “latest” live through npm, GitHub releases, and official docs when network state matters.
  3. Inventory deltas. Compare releases from current to target. Audit package typings/source and wrapper surfaces for chart, series, panes, time/price scales, markers, watermarks, localization/formatters, options, events, and generated assets.
  4. Plan non-trivial work. Include target version, release delta, Kotlin API, JS bridge, serialization, examples, tests, docs, compatibility/deprecation choices, unsupported custom/plugin internals, risks, and commands.
  5. Implement in slices. Update package/lock files through the package manager, bridge imports, caches/managers for stable handles, Kotlin interfaces/delegates/models/enums/serializers, examples, docs, tests, and generated assets.
  6. Verify with evidence. Run JS package scripts after bridge changes, Android tests/builds after Kotlin/example changes, and inspect generated WebView assets when asset loading changes.

Migration Checklist

  • Dependency/build/runtime: npm version, lockfile, module format, webpack, Node/WebView compatibility, generated assets.
  • APIs: chart, series, panes, time scale, price scale, event payloads, options, localization, formatter hooks.
  • Built-ins: markers, watermarks, new chart modes, horizontal-scale entry points that do not require custom behavior authoring.
  • Examples, tests, docs, compatibility/deprecation strategy, rollout risks.
Show full SKILL.md (244 more words)Show less

Guardrails

  • Prefer official upstream docs, package typings, and source over secondary summaries.
  • Treat “latest” as unstable; verify it live or state that it could not be checked.
  • Do not hand-wave parity. Search typings and wrapper interfaces, then add focused tests for important claims.
  • Do not replace an existing public Kotlin signature with a narrower/newer type unless a deprecated compatibility overload remains.
  • Preserve existing callback style and wrapper naming unless the migration intentionally breaks API.
  • Bridge source changes require package script runs and generated src/main/assets/.../main.js review.
  • Do not expose generic custom plugins, custom series, or custom primitives unless explicitly scoped.
  • Use portable paths in plans/docs; do not use machine-specific absolute paths.
  • Do not revert unrelated dirty worktree changes.

Validation Scenarios

ScenarioExpected behavior
“Update wrapper to latest lightweight-charts”Verifies latest live, compares local version, inventories upstream deltas, plans before implementation.
“Make v5 panes work”Checks upstream typings/docs and wrapper bridge/Kotlin/example surfaces before coding.
“Replace old API with new v5 type”Preserves source compatibility with deprecated overloads when feasible.
Dirty worktree with unrelated filesLists and avoids unrelated changes.

Common Mistakes

MistakeFix
Bumping npm version onlyInventory release deltas and wrapper parity before declaring success.
Trusting stale local checkoutVerify npm/GitHub/docs live or state that latest could not be checked.
Exposing upstream custom internals by defaultDefer custom plugins/series/primitives unless explicitly scoped.
Forgetting generated assetsRun package scripts and include expected asset diffs.
Breaking Kotlin source compatibilityAdd deprecated compatibility overloads or document intentional breakage.

© tradingview, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/upgrade-lightweight-charts-android of tradingview/lightweight-charts-android.

  • SKILL.md
  • agents/openai.yaml
  • scripts/inspect_versions.py

Open the folder on GitHubat commit d4509df

Compare with similar skills

Upgrade Lightweight Charts Android next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Upgrade Lightweight Charts Android compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Upgrade Lightweight Charts Android this skilltradingview/lightweight-charts-android135—~1.3kAutomated safety check: PassApache-2.0
Expo Migrate Moduleexpo/skills2.7k—~2.6kAutomated safety check: PassMIT
Anti Detect Browserantibrow/anti-detect-browser-skills17—~9.8kAutomated safety check: WarnMIT
Android API Diffgkd-kit/gkd43k—~796Automated safety check: PassGPL-3.0
Legado Book Source GeneratorNarylr350/book-source-creator-skill155—~1.9kAutomated safety check: PassNone
Mobileclimobile-next/mobilecli295—~2.5kAutomated safety check: NotesCustom licence

Similar skills

  • Official

    Migrate an existing Apple/Swift Expo native module from the Expo Modules API 1.0 definition DSL to the 2.0 macro API (sometimes called v2) while preserving its JavaScript and TypeScript contract.

    2.7k GitHub stars~2.6k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Anti Detect Browser

    antibrow/anti-detect-browser-skills

    Drive Chromium from standard Playwright APIs with a real-device fingerprint applied in the kernel, one persistent isolated profile per identity, and a per-profile proxy whose exit IP sets timezone…

    17 GitHub stars~9.8k tokensUpdated 1 mo ago
    Testing & QAAuto-check: warnings
  • Android API Diff

    gkd-kit/gkd

    Looks up Android framework Java and AIDL APIs across versions with the android-api-diff CLI: signatures, availability, source files and hidden-API access code.

    43k GitHub stars~796 tokensUpdated yesterday
    MobileAuto-check passed
  • Legado Book Source Generator

    Narylr350/book-source-creator-skill

    A skill your agent uses when 用户要求为任意网站生成书源、生成阅读书源、分析小说站点、生成 Legado/阅读规则。强制触发词:书源、生成书源、帮我生成、book source、legado、阅读书源、小说站点分析。如果用户给出了一个 URL 并要求生成或分析,必须加载此 skill。

    155 GitHub stars~1.9k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Mobilecli

    mobile-next/mobilecli

    Run mobile automation, app testing, and interact with iOS and Android devices, simulators, emulators, and apps using the mobilecli CLI tool or JSON-RPC API.

    295 GitHub stars~2.5k tokensUpdated 5 days ago
    MobileAuto-check: notes
  • Argent Metro Debugger

    bbplayer-app/BBPlayer

    Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.

    1.2k GitHub stars~3.4k tokensUpdated 2 days ago
    MobileAuto-check passed

Categories

Questions about Upgrade Lightweight Charts Android

What does Upgrade Lightweight Charts Android do?

A skill your agent uses when upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions, checking version deltas, API parity, bridge changes…. Upgrade Lightweight Charts Android is an agent skill from tradingview/lightweight-charts-android. Use when upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions, checking version deltas, API parity, bridge changes, examples, tests, docs, or migration risk.

When should I use Upgrade Lightweight Charts Android?

Upgrade Lightweight Charts Android fits situations like: upgrading the TradingView lightweight-charts Android wrapper across upstream JavaScript lightweight-charts versions; checking version deltas.

How do I install Upgrade Lightweight Charts Android in Claude Code?

Run `npx skills add tradingview/lightweight-charts-android --skill upgrade-lightweight-charts-android -a claude-code`. Or copy the skill folder (skills/upgrade-lightweight-charts-android in tradingview/lightweight-charts-android) into .claude/skills/upgrade-lightweight-charts-android in your project. Claude Code loads it when a task matches its description.

How do I install Upgrade Lightweight Charts Android in Codex?

Run `npx skills add tradingview/lightweight-charts-android --skill upgrade-lightweight-charts-android -a codex`. Or copy the skill folder (skills/upgrade-lightweight-charts-android in tradingview/lightweight-charts-android) into .agents/skills/upgrade-lightweight-charts-android in your project. Codex loads it when a task matches its description.

Can I use Upgrade Lightweight Charts Android in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tradingview/lightweight-charts-android --skill upgrade-lightweight-charts-android -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/upgrade-lightweight-charts-android, .gemini/skills/upgrade-lightweight-charts-android, .github/skills/upgrade-lightweight-charts-android and .opencode/skills/upgrade-lightweight-charts-android in your project.

What does Upgrade Lightweight Charts Android need to run?

Going by SKILL.md and its folder, Upgrade Lightweight Charts Android needs Python for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: Python 3.

Does Upgrade Lightweight Charts Android access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Upgrade Lightweight Charts Android safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Upgrade Lightweight Charts Android use?

Upgrade Lightweight Charts Android is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Upgrade Lightweight Charts Android use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Upgrade Lightweight Charts Android?

Skills that share tags, products or a category with Upgrade Lightweight Charts Android: Expo Migrate Module (expo/skills, 2.7k stars), Anti Detect Browser (antibrow/anti-detect-browser-skills, 17 stars), Android API Diff (gkd-kit/gkd, 43k stars) and Legado Book Source Generator (Narylr350/book-source-creator-skill, 155 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Upgrade Lightweight Charts Android?

tradingview (a GitHub organization) maintains it in tradingview/lightweight-charts-android, which has 135 GitHub stars. The repository was last updated on October 8, 2026.

Source: tradingview/lightweight-charts-android on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.