CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

lightweight-charts-plugin-authoring

Use when creating, extending, debugging or publishing a Lightweight Charts™ plugin — a custom series, a series primitive or a pane primitive — or when turning a chart idea ("I want the chart to show/draw X") into a working plugin. Covers choosing the plugin type, scaffolding with create-lwc-plugin, building on @tradingview/lwc-toolkit instead of hand-rolled helpers, which of the official plugin packages to read as the reference implementation, where the docs are, and the autoscale, whitespace, visible-range, hit-test and conflation mistakes every plugin author makes once. Reach for it whenever the user mentions a custom series, primitive, renderer, drawing on the chart canvas, lwc-plugin, plugin-examples, the toolkit, or the plugin catalog — even if they never say the word "plugin".

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is a strong example of skill authoring: concrete commands and file paths everywhere, a sequenced build method with explicit validation checkpoints and a correctness checklist for known traps, and a clean split between the overview body and three well-signaled reference files. The only weakness is minor duplication (the docs-fetching instructions appear twice) and a few rationale passages that could be trimmed, which keeps conciseness at 4 rather than 5.

DimensionReasoningScore

Conciseness

The body is dense and assumes competence — no space is spent explaining what a chart or a build tool is, and nearly all content is project-specific knowledge (version-gated hooks, module maps, upstream commands). It falls short of anchor 5 only through minor duplication and trimmable passages: the docs-as-Markdown fetch trick (append '.md', llms.txt, docs_map.md) is stated twice nearly verbatim (in the sources table and again in 'Read the documentation in this order'), and a few rationale sentences ('It is that the helpers encode chart behavior that is easy to get subtly wrong — the exact width…') could be tightened. This matches 'efficient; minor instances of over-explanation that could be trimmed' rather than the verbose anchor 3.

4 / 5

Actionability

Guidance is copy-paste ready throughout: 'npm create lwc-plugin@latest', 'node -p "require(\'lightweight-charts/package.json\').version"', rg patterns against typings, exact raw GitHub URLs, a shallow-clone command, toolkit import statements with sub-paths, and 'GREP="lwc-plugin-<name>/" pnpm e2e:interactions'. The problem→module and building→reference-plugin tables map common cases to specific named modules and files, matching the anchor for fully executable, copy-paste-ready coverage of common cases.

5 / 5

Workflow Clarity

The 'Working method' section gives a 7-step build order with explicit rationale ('Each step is the cheapest place to find the previous step's mistakes') and checkpoints (verify options in the demo at step 4, autoscale/whitespace traps at step 5, tests before README at step 7). Validation is explicit and recurring: build against the scaffold's own scripts ('pnpm typecheck', 'pnpm build', 'pnpm check-package'), verify names against local typings and 'say what you could not verify', and the Answer contract adds a feedback loop ('name the test that would have caught the regression and write it'). A correctness checklist covers the fragile operations. This is the anchor-5 pattern of clear sequence, explicit validation, and checklists — the operations are also not destructive/batch, so no cap applies.

5 / 5

Progressive Disclosure

The body is an overview that splits detail into three real, one-level-deep reference files, each cited exactly where its detail belongs: 'references/toolkit.md has the rest, with the shape of each API', 'references/official-plugins.md says what each one demonstrates in detail', and 'references/package-contract.md has the fields, the pages…'. All three files exist in the bundle and contain no further nested references (their only .md mentions are the user's own README/CHANGELOG artifacts). Inline tables are summary indexes whose depth lives in the references — the anchor-5 structure of a clear overview with well-signaled one-level references.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is an exemplar: it names concrete capabilities, gives explicit 'Use when' and 'Reach for it whenever' trigger guidance with natural user phrasings and package-name synonyms, and occupies a clearly distinct niche with deliberate boundary marking against the sibling chart-usage skill. No dimension falls below the top anchor.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'creating, extending, debugging or publishing' plugins, 'choosing the plugin type, scaffolding with create-lwc-plugin, building on @tradingview/lwc-toolkit', identifying reference implementations, and avoiding named mistakes ('autoscale, whitespace, visible-range, hit-test and conflation'). Coverage is comprehensive across the skill's scope, matching the top anchor; it is dense with specifics rather than padded.

5 / 5

Completeness

Both parts are explicit: the 'what' is enumerated (type selection, scaffolding, toolkit usage, reference implementations, docs locations, common mistakes) and the 'when' opens with 'Use when creating, extending, debugging or publishing…' and closes with 'Reach for it whenever the user mentions…' plus concrete trigger phrases. This mirrors the anchor-5 example structure exactly; a 4 would require the 'when' to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Triggers include the natural component names ('custom series, primitive, renderer'), package/tool names ('lwc-plugin, plugin-examples, the toolkit, the plugin catalog'), and — critically — the paraphrase of what a user actually says ('I want the chart to show/draw X'), with explicit instruction to trigger 'even if they never say the word "plugin"'. This covers synonyms and natural phrasing comprehensively for the domain, matching the anchor-5 example's coverage.

5 / 5

Distinctiveness Conflict Risk

The niche is sharply scoped to Lightweight Charts™ plugin authoring, with domain-specific triggers (lwc-plugin, lwc-toolkit, plugin catalog) unlikely to fire for other skills. Terms like 'renderer' or 'drawing on the chart canvas' are generic in isolation, but every trigger is framed within the Lightweight Charts™ plugin context, and the body explicitly delineates the boundary from the sibling 'lightweight-charts' usage skill — minimal conflict risk.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

tradingview/lightweight-charts

Path

.github/skills/lightweight-charts-plugin-authoring/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.