Files
leo-claude-mktplace/plugins/viz-platform/commands/chart.md
lmiranda 5152cda161 refactor(viz-platform): extract skills and slim commands
Extract shared knowledge from 10 commands into 7 reusable skills:
- mcp-tools-reference.md: All viz-platform MCP tool signatures
- theming-system.md: Theme tokens, CSS variables, color palettes
- accessibility-rules.md: WCAG contrast, color-blind safe palettes
- dmc-components.md: DMC categories, validation, common props
- responsive-design.md: Breakpoints, mobile-first, grid config
- chart-types.md: Plotly chart types, export formats, resolution
- layout-templates.md: Dashboard templates, filter types

All commands now reference skills via "Skills to Load" section.
Commands reduced from 1396 lines total to 427 lines (69% reduction).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:59:26 -05:00

42 lines
867 B
Markdown

---
description: Create a Plotly chart with theme integration
---
# Create Chart
## Skills to Load
- skills/mcp-tools-reference.md
- skills/chart-types.md
## Visual Output
```
+------------------------------------------------------------------+
| VIZ-PLATFORM - Chart Builder |
+------------------------------------------------------------------+
```
Create a Plotly chart with automatic theme token application.
## Usage
```
/chart {type}
```
## Arguments
- `type` (required): line, bar, scatter, pie, area, histogram, box, heatmap, sunburst, treemap
## Tool Mapping
```python
chart_create(chart_type="line", data_ref="df", x="date", y="value", theme=None)
```
## Related Commands
- `/chart-export {format}` - Export chart to image
- `/theme {name}` - Apply theme to charts
- `/dashboard` - Create layout with charts