chart
Skill4 starsChanged 6 months agoApache-2.0View on GitHub
Renders interactive charts in the browser using Chart.js. Use when the user wants to visualize data, plot numbers, draw a bar chart, line chart, pie chart, doughnut chart, radar chart, graph metrics, compare benchmarks, show a cost curve, or display a time series. Always renders live in browser — never as a static image.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- Tashila-109/tstack-skillstheir own version, first seen Nov 8, 2026
- remigius-labs/terminal-chartstheir own version, first seen Oct 20, 2026
- ivoryRabbit/analytics-copilottheir own version, first seen Oct 13, 2026
- build-dezineer/skills-nuxt4-tw-webapptheir own version, first seen Oct 13, 2026
- Zafer-Liu/Data-Analysis-Agenttheir own version, first seen Oct 8, 2026
- metadist/synaplan-desktoptheir own version, first seen Sep 26, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- Zafer-Liu/Data-Analysis-Agent★ 2.6ksame name
- kansoku-trade/kansoku★ 322same name
- metadist/synaplan-desktop★ 257same name
- chenjackle45/html-visualizer★ 95same name
- rainday/smart-blog-skills★ 35same name
- Starchild-ai-agent/official-skills★ 32same name
- tvremix/claude-plugin★ 14same name
- Tashila-109/tstack-skills★ 1same name
- build-dezineer/skills-nuxt4-tw-webapp★ 0same name
- ivoryRabbit/analytics-copilot★ 0same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- autopilotSkill
- build-python-librarySkill
- build-temporalSkill
- canon-design-reviewSkill
- canon-pr-reviewSkill
- canon-reviewSkill
- ccr-modelsSkill
- ccr-runSkill
- ci-health-reportSkill
- code-quality-trendsSkill
- competitive-matrixSkill
- councilSkill
- create-skillSkill
- deep-debug-ensemble-v1Skill
- deep-debugSkill
- deep-designSkill
- deep-ideaSkill
- deep-planSkill
- deep-qa-ensemble-v1Skill
- deep-qaSkill
- deep-researchSkill
- dependency-auditSkill
- deploy-status-reportSkill
- develop-board-gameSkill
- diagramSkill
- docxSkill
- dora-lite-reportSkill
- find-skillSkill
- flaky-test-diagnoserSkill
- gap-finderSkill
- gen-crash-testSkill
- gen-smokeSkill
- goal-managerSkill
- init-github-repoSkill
- loop-until-doneSkill
- magic-fetchSkill
- ml-pipeline-reportSkill
- monitorSkill
- napSkill
- pipeline-health-reportSkill
- platform-friction-detectorSkill
- pptxSkill
- prod-readinessSkill
- prompt-clash-ensembleSkill
- prompt-clashSkill
- retrospectSkill
- slack-digestSkill
- slidesSkill
- specSkill
- sprint-retroSkill
- tableSkill
- team-temporalSkill
- timelineSkill
- update-stop-gateSkill
- user-activity-reportSkill
- vc-gauntletSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Before delivering, verify ALL:
- Very specific: line 46
Always use
new_pagefor first open: Use mcp__chrome-devtools__new_page with url: file:///tmp/chart.html. - Distinctive: line 48
Never hardcode colors inline in datasets: Always use colors from the standard palette array defined in TEMPLATE.md.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chart
Renders interactive charts in the browser using Chart.js from context-supplied data and chart type.
Workflow
- Extract data and chart type — identify labels, datasets, and chart type (bar, line, pie, doughnut, radar) from the user's request or conversation context.
- Choose colors — assign dataset colors from the standard palette. See TEMPLATE.md for the palette.
- Write the HTML file — write a complete self-contained file to
/tmp/chart.htmlusing the Chart.js template matching the chart type. See TEMPLATE.md for all templates. - Render in browser — follow
_shared/chrome-devtools-render.mdto open/tmp/chart.html, wait for render, screenshot, and fix-and-reload if needed.wait_forthe static<h2 id="ready">text (Chart.js renders to canvas — canvas text is NOT detectable bywait_for). See TROUBLESHOOTING.md for chart-specific fixes.
Self-review checklist
Before delivering, verify ALL:
- Screenshot shows the chart with visible title, labels, and data — no blank canvas
- Chart text is readable on dark background — not invisible black-on-dark
- Container div has explicit
height(e.g.500px) in CSS — not just on the canvas element - Both
responsive: trueandmaintainAspectRatio: falseare set in chart options Chart.defaults.colorandChart.defaults.borderColorare set beforenew Chart()- Dataset colors are from the standard palette — no ad-hoc inline colors
- CDN URL is exactly
https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.umd.min.js wait_foris called with the chart title text beforetake_screenshot
Golden rules
Hard rules. Never violate these.
- Never set width or height on the canvas element. Set dimensions on the wrapper div via CSS (
height: 500px). Canvas attributes override Chart.js responsive sizing. - Always set both
responsive: trueandmaintainAspectRatio: false. Either alone is insufficient — the chart collapses to 0 height without both. - Always set
Chart.defaults.colorandChart.defaults.borderColorbefore creating any chart. Without them, all text renders as black and is invisible on the dark background. - Always use
new_pagefor first open. Usemcp__chrome-devtools__new_pagewithurl: file:///tmp/chart.html. Usenavigate_pagewithtype: reloadonly for subsequent fixes. - Always add a static
<h2 id="ready">Title</h2>above the canvas andwait_forit. Chart.js renders text onto canvas — canvas text is invisible towait_for. The static element is the only reliable render signal. - Never hardcode colors inline in datasets. Always use colors from the standard palette array defined in TEMPLATE.md.
Reference files
| File | Contents |
| TEMPLATE.md | Complete Chart.js HTML templates for bar, line, and pie/doughnut; color palette; data format patterns |
| TROUBLESHOOTING.md | Failure diagnosis table: symptoms, causes, fixes |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

