upgrade-lightweight-charts-android
Skill by tradingview
Guides end-to-end upgrades of the TradingView lightweight-charts Android wrapper to newer upstream JavaScript releases. It is for maintainers who need API parity checks, bridge updates and migration planning.
Install upgrade-lightweight-charts-android
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tradingview/lightweight-charts-android /tmp/lightweight-charts-android && mkdir -p ~/.claude/skills && cp -r /tmp/lightweight-charts-android/skills/upgrade-lightweight-charts-android ~/.claude/skills/upgrade-lightweight-charts-androidRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install upgrade-lightweight-charts-android in Claude Code
git clone --depth 1 https://github.com/tradingview/lightweight-charts-android /tmp/lightweight-charts-android && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/lightweight-charts-android/skills/upgrade-lightweight-charts-android ~/.gemini/antigravity-cli/skills/upgrade-lightweight-charts-androidAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install upgrade-lightweight-charts-android in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks an AI assistant through upgrading the Android wrapper around the upstream JavaScript lightweight-charts library. It starts by inspecting the repository and its dirty worktree, then runs a bundled script, scripts/inspect_versions.py, to compare local and target versions. An optional npm check can verify the latest release when network access is available. It then inventories release deltas across chart, series, panes, scales, markers, watermarks, options and events.
The skill requires a written plan before non-trivial changes. Implementation covers package and lock files, bridge imports, Kotlin interfaces and serializers, examples, docs and generated WebView assets. Verification runs the JavaScript package scripts and the Android tests and builds. It is aimed at developers maintaining the wrapper who want source-backed upgrades rather than a bare version bump.
Written from the project's SKILL.md and checked against it.
What it can do
- Version discoveryRuns scripts/inspect_versions.py to compare the local lightweight-charts version with the target.
- Release delta inventoryAudits package typings, source and wrapper surfaces for upstream changes across releases.
- API parity checksSearches typings and wrapper interfaces to confirm which upstream APIs the wrapper covers.
- Migration planningProduces a plan covering Kotlin API, bridge, serialization, examples, tests, docs and risks.
- Scoped implementationUpdates package files, bridge imports, Kotlin models, serializers, examples and docs in slices.
- Compatibility guidanceAdvises on deprecated overloads and source compatibility when public Kotlin signatures change.
- Generated asset reviewRequires package script runs and review of the generated main.js WebView asset after bridge changes.
- Verification workflowCalls for fresh JS script runs and Android tests or builds before claiming upgrade success.
What you need
- Node.js and npm for the lightweightlibrary package scripts
- Android build tooling (Gradle) for tests and builds
- Network access if the latest npm version must be checked
Try asking
- Update the wrapper to the latest lightweight-charts version and plan the changes
- Check API parity between upstream v5 panes and the Kotlin wrapper
- Inventory the upstream changes between my current version and the target
Good to know
- The latest version must be verified live, or the skill must state that it could not be checked.
- Generic custom plugins, custom series and custom primitives are not exposed unless explicitly scoped.
- Companion source or code review skills are recommended but the skill must work without them.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/upgrade-lightweight-charts-android/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
agents/openai.yaml267 B -
scripts/inspect_versions.py5 KB
Alternatives to upgrade-lightweight-charts-android
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
upgrade-lightweight-charts-android: common questions
What does this skill upgrade?
It upgrades the TradingView lightweight-charts Android wrapper to newer releases of the upstream JavaScript lightweight-charts library. It covers the Kotlin API, JS bridge, examples, tests and docs.
Does it only bump the npm version?
No. The source says a version bump alone is a common mistake, so the skill requires inventorying release deltas and wrapper parity before declaring success.
Does it keep public Kotlin signatures compatible?
It says not to replace a public Kotlin signature with a narrower or newer type unless a deprecated compatibility overload remains. Intentional breakage must be documented.
How do I install upgrade-lightweight-charts-android?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is upgrade-lightweight-charts-android free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is upgrade-lightweight-charts-android safe to use?
It scores 71 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to upgrade-lightweight-charts-android?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
