@tonone-ai/prism-chart
AUse when asked to implement a chart, select a visualization type, or build a data display component. Examples: "implement chart for time series", "best visualization for comparison data", "chart component for analytics"
Install
agr install @tonone-ai/prism-chart --target claudeWrites 1 file into .claude/skills/, pinned to git-89fb75cc.
- .claude/skills/prism-chart/SKILL.md
Document
name: prism-chart description: | Use when asked to implement a chart, select a visualization type, or build a data display component. Examples: "implement chart for time series", "best visualization for comparison data", "chart component for analytics" allowed-tools: Read, Bash, Glob, Grep version: 0.6.6 author: tonone-ai hello@tonone.ai license: MIT compatibility: Designed for Claude Code tags: [engineering, frontend, chart]
prism-chart — Chart & Visualization Selection
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
When to use
User needs a chart implementation, visualization type recommendation, or data display component.
Workflow
- Identify data type from user request (time series, comparison, distribution, composition, relationship, etc.)
- Search chart knowledge base:
python3 -m prism_agent.uiux search --domain chart --query "{data_type}" --limit 3 - Evaluate results for: data volume threshold, accessibility grade, interaction level
- Output recommendation with library choice and accessibility fallback
Output format
┌─ Chart Recommendation — {data_type} ────────────────────────────────┐
│ Chart type: {chart_type} │
│ Library: {library} (Chart.js / Recharts / D3 / Plotly) │
│ Accessibility: {grade} (AA / A / Below AA) │
│ Interaction level: {level} (static / hover / drill-down) │
│ Data volume: {threshold} (max recommended data points) │
├─ Color guidance ────────────────────────────────────────────────────┤
│ {color_guidance} │
├─ Accessibility fallback ────────────────────────────────────────────┤
│ {fallback_description} │
└──────────────────────────────────────────────────────────────────────┘
Anti-patterns
- Never ignore data volume threshold — recommend aggregation if data exceeds it
- Never skip accessibility fallback for charts graded below AA
- Never choose a chart type based on visual appeal over data clarity
- Never recommend a library without confirming it is compatible with the detected stack
Delivery
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-89fb75cc67362026-07-31