visual-generator
Installation
SKILL.md
Visual Generator
Build Power BI report visual definitions in PBIR (Power BI Enhanced Report) format. In PBIR, each visual is stored as a separate visual.json file inside its own directory under pages/<pageId>/visuals/<visualId>/. This skill takes a visual type and field-to-bucket mapping from the visual selector and produces all report files.
When to Use This Skill
- Generating individual
visual.jsonfiles for a PBIP report - Building visual containers with semantic query bindings
- Creating report definition files (report.json, version.json, pages.json)
- Producing
definition.pbirpointer files linking report to semantic model - Constructing visuals as part of the query-to-pbip pipeline (Stage 3)
Inputs
- visualType — The PBIR visual type string from Stage 2 (e.g.,
cardVisual,clusteredColumnChart) - bucketMapping — Field-to-bucket assignments from Stage 2
- tableNames — Table and column/measure names from Stage 1
- projectName — Name of the PBIP project (for definition.pbir path references)
- pageLayout (optional) — Page dimensions; defaults to 1280x720