prism-chart
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"
- License 许可
- MIT
- 所属仓库
- tonone-ai/tonone
- 最近更新
- 2026-11-11
- Stars
- ★ 77
- Forks
- 11
01 前言 Front Matter
- name
- prism-chart
- tags
- [ "engineering", "frontend", "chart" ]
- author
- tonone-ai <hello@tonone.ai>
- license
- MIT
- version
- 0.6.6
- 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
- compatibility
- Designed for Claude Code
02 资源文件 1
- 其他SKILL.md.tmpl2.6 KB
03 SKILL.md 正文
<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->
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.
04 同仓库更多 Skills
helm-autoplan
Chained brief-to-decision pipeline. Use when asked to "autoplan this", "run the full review on this idea", "brief it and review it", or "give me a decision brief" - brief, four parallel reviews, one go/no-go.
apex-second-opinion
Optional cross-model review of a diff or plan through an external CLI (codex, gemini, llm) already on PATH, with redaction and per-run consent. Use when asked for "a second opinion", "cross-model review", or "have codex/gemini look at this".
helm-autoplan
Chained brief-to-decision pipeline. Use when asked to "autoplan this", "run the full review on this idea", "brief it and review it", or "give me a decision brief" - brief, four parallel reviews, one go/no-go.
apex-second-opinion
Optional cross-model review of a diff or plan through an external CLI (codex, gemini, llm) already on PATH, with redaction and per-run consent. Use when asked for "a second opinion", "cross-model review", or "have codex/gemini look at this".
helm-office-hours
Forcing-function intake before any brief. Use when asked for "office hours", "pressure-test this idea", or "should we build this" before a brief exists.
helm-init
Short interview that writes PRODUCT.md, the durable product truth other skills read. Use when asked to "init product", "write PRODUCT.md", or "set up product context". Prefills from README and repo, asks max 6 questions.