Files
leo-claude-mktplace/plugins/viz-platform/commands/initial-setup.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

46 lines
1.1 KiB
Markdown

---
description: Interactive setup wizard for viz-platform plugin
---
# Viz-Platform Setup Wizard
## Visual Output
```
+------------------------------------------------------------------+
| VIZ-PLATFORM - Setup Wizard |
+------------------------------------------------------------------+
```
Sets up viz-platform with DMC validation and theming.
**Note:** Uses Bash/Read/Write tools - NOT MCP tools. Restart session after setup.
## Phase 1: Environment Validation
Check Python 3.10+ and DMC installation:
```bash
python3 --version
python3 -c "import dash_mantine_components as dmc; print(dmc.__version__)"
```
## Phase 2: MCP Server Setup
Locate and create venv if missing:
```bash
cd /path/to/mcp-servers/viz-platform && python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
```
## Phase 3: Theme Preferences (Optional)
Ask user about color scheme and primary color. Save to `~/.config/claude/viz-platform.env`.
## Phase 4: Validation
Verify MCP server loads, display summary, prompt session restart.
## Related Commands
- `/component {name}` - Inspect component props
- `/chart {type}` - Create a chart