mckinsey/vizro/writing-vizro-yaml
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use this skill when writing or debugging Vizro YAML dashboard configurations — component syntax, data_manager registration, custom function wiring, filter/parameter setup, or AG Grid tables. Activate when the user is building a Vizro app, encountering YAML or runtime errors, or asking about Vizro component patterns.
Install
npx vskill@latest install mckinsey/vizro/writing-vizro-yamlSKILL.md
Vizro YAML & Component Reference
Critical Mistakes to Avoid
Each mistake below is expanded with code examples and fixes in yaml-reference.md.
- `@capture("graph")` receives a DataFrame — use
data_framedirectly; never re-lookup viadata_manager[data_frame](causes blank charts). - `data_manager` is not subscriptable — pre-process on raw DataFrame, then register.
- Custom `_target_` needs module prefix —
_target_: custom_charts.my_chart, not_target_: my_chart. - `type: figure` has no `title` field — KPI titles go in
_target_: kpi_cardargs. - `type: table` requires `_target_: dash_ag_grid`.
- Parameter targets — format:
"component_id.argument_name", not"component_id.figure". - Quote YAML special chars in column names —
column: "Version #"(unquoted#starts a comment). - Filter `targets:` — omit when you want to apply it to all components on the page whose data source includes defined filter
column. - Grid must be rectangular — same component index must span same columns in every row.
- Column type consistency — filter column must have same dtype across all targeted datasets.
Quick Patterns
Key Imports
Deep Dive
Load yaml-reference.md when you need expanded guidance. Key sections to search for:
| Need | Search for | |
|---|---|---|
| App structure | ## End-to-End Data Flow | |
| Data registration | ## Data Registration | |
| Custom charts | ## Custom Charts | |
| AG Grid (heatmap, inline bars) | ## AG Grid Tables | |
| Containers / Tabs | ## Containers or ## Tabs | |
| Expanded mistake fixes | ## Critical Mistakes |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvizro-e2e-flow/skills/writing-vizro-yaml/SKILL.md
Popularity
- Repository stars
- 3,810
- Repository forks
- 304
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mckinsey/vizro/writing-vizro-yaml)