/custom-visuals:powerbi-custom-visualsfrom custom-visuals
Builds Power BI custom visuals (.pbiviz) with the pbiviz CLI: scaffold, IVisual implementation, capabilities.json, formatting model, packaging, certification, and AppSource publishing.
Ships in custom-visuals. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build distributable Power BI developer visuals: TypeScript/D3 visuals packaged
as a .pbiviz file, written against the powerbi-visuals-api and built with the
pbiviz CLI (powerbi-visuals-tools). This skill covers the full loop: scaffold,
develop, live-preview, package, certify, and publish.
This plugin holds five visual approaches. Choose before building:
deneb-visuals: no-code Vega / Vega-Lite specs inside a report; no packaging, no TypeScript
python-visuals: matplotlib / seaborn script visuals (static image, computes at render)
r-visuals: ggplot2 script visuals (static image); R's stats ecosystem
svg-visuals: SVG drawn by a DAX measure (ImageUrl); inline in tables/cards, no visual sandbox
powerbi-custom-visuals (this skill): a real .pbiviz developer visual, reusable across
reports and shareable on AppSource; full interactivity, formatting pane, certification
Reach for this skill when the need is a reusable, interactive, distributable visual with its own formatting pane. For a one-off chart in a single report, a sibling skill is usually faster and lighter.
powerbi-visuals-tools engine minimum)pbiviz CLI: run via npx -y powerbi-visuals-tools <command>, or install it globallypbiviz new <VisualName> creates the project (src/visual.ts,
capabilities.json, pbiviz.json, tsconfig.json, package.json, style/, assets/)src/visual.ts. Implement the IVisual interface;
the class name must equal visualClassName in pbiviz.json. Core methods:
constructor (set up DOM and services), update (render on data/size/settings change),
getFormattingModel (populate the format pane), destroy (cleanup)capabilities.json: dataRoles (the field wells),
dataViewMappings (how roles map to the dataView), and objects (format-pane properties)powerbi-visuals-utils-formattingmodel
(FormattingSettingsService, cards, slices). A card name matches a capabilities.json
object; a slice name matches a propertypbiviz start, then add the developer visual to a report and iterate
against real datapbiviz package produces the .pbiviz under dist/; import it into a reportFull command flags, the project layout, the IVisual lifecycle, and formatting-model
patterns are in references/pbiviz-toolchain.md.
This plugin ships a .mcp.json that starts the pbiviz MCP server
(npx -y powerbi-visuals-tools mcp). It grounds development in current, correct API
usage instead of guessed code. Prefer its tools while building:
get_available_apis: look up data, formatting, interaction, and utility APIs with examples
get_best_practices: API-version management, performance, security, accessibility, testing
add_feature: list features available to add (bookmarks, tooltips, drill-down, selection, localization)
implement_feature: step-by-step instructions, code templates, and config changes for a feature
list_visual_info: extract a project's GUID, version, author, data roles, dependencies
check_vulnerabilities: scan dependencies and source for risky patterns (eval, innerHTML)
prepare_certification: verify required files, configuration, capabilities, and assets pre-submission
Setup, client config, and per-tool detail are in references/mcp-server.md.
Certification unlocks export to PowerPoint and email subscriptions, and signals a
reviewed visual. Key gates: a lowercase certification branch matching the package,
eslint-plugin-powerbi-visuals passing, no eval/fetch/XMLHttpRequest, a clean
npm audit, and the latest API. Audit with pbiviz package --certification-audit.
Publishing goes through Partner Center to AppSource. R-based visuals cannot be certified.
Requirements and the submission flow are in references/certification-publishing.md.
Microsoft publishes the full source of official and certified visuals. Start from the
tutorials (circlecard, sampleBarChart) and read a production visual close to the
target (gantt, sankey, sunburst, timeline, ChicletSlicer) for real patterns.
A curated list with what each one teaches is in references/community-examples.md.
references/pbiviz-toolchain.md ... CLI commands, project structure, IVisual lifecycle, capabilities.json, formatting model, key npm packagesreferences/mcp-server.md ... the bundled pbiviz MCP: setup and its toolsreferences/certification-publishing.md ... certification requirements and AppSource publishingreferences/community-examples.md ... official and certified example visuals worth readingexamples/vscode-mcp.json ... standalone .vscode/mcp.json for a visual project outside this pluginexamples/capabilities-objects.json ... a capabilities.json objects block wired to a formatting cardexamples/capabilities-objects.json (opens in a new tab)examples/vscode-mcp.json (opens in a new tab)references/certification-publishing.md (opens in a new tab)references/community-examples.md (opens in a new tab)references/mcp-server.md (opens in a new tab)references/pbiviz-toolchain.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/deneb-pbirRound-trip TOOLING for Deneb specs in PBIR. Extract/embed the Vega/Vega-Lite spec in visual.json, offline-render it to PNG/SVG, audit a visual's Deneb 2.0 stamps and migrate container signal names. Use whenever a task edits a Deneb visual's spec ("edit the Deneb visual", patching jsonSpec) or needs it rendered without Power BI. Authoring rules live in custom-visuals:deneb-visuals./deneb-visualsDeneb visual creation, Vega/Vega-Lite spec authoring, and Deneb best practices for PBIR reports. Automatically invoke whenever the user mentions "Deneb" in any context, or asks about Vega/Vega-Lite specs in Power BI, Deneb cross-filtering, Deneb interactivity, pbiColor theme integration, Deneb field name escaping, or Deneb rendering issues./performant-matrixDiagnose a slow financial matrix before fixing it: separate row-dispatch cost from the per-cell format-string and conditional-formatting tax, then choose with the user between a bridge table, a native restructure or a Deneb grid. Use when a P&L or financial matrix is slow or will not render (SWITCH dispatch, a calculation group on rows, Performance Analyzer far above the DAX time)./python-visualsPython visual creation and matplotlib/seaborn patterns for PBIR reports. Automatically invoke when the user mentions "Python visual", "matplotlib in Power BI", "seaborn in Power BI", "pythonVisual", or asks to "create a Python visual", "add a matplotlib chart", "write a Python visual script"./r-visualsR visual creation and ggplot2 patterns for PBIR reports. Automatically invoke when the user mentions "R visual", "ggplot2", "ggplot in Power BI", or asks to "create an R visual", "add an R chart", "write an R visual script", "inject an R script into Power BI"./svg-visualsSVG generation via DAX measures and extension measures with ImageUrl data category for inline visualizations in PBIR reports, including ready templates for matrix and table cells, new card images and per-button images on the new button slicer. Automatically invoke when the user mentions "SVG visual", "DAX sparkline", "SVG measure", "inline graphics with DAX", "ImageUrl data category", "extension measure", or asks to create any DAX-generated chart (progress bars, bullet charts, KPI indicators, data bars, gauges, donut charts, lollipop charts, dumbbell charts, status pills, overlapping bars, boxplots, IBCS bars, jitter plots, box-and-whisker charts).npx claudepluginhub insightfulanalytics/pbi_agentic_dev --plugin custom-visualsOther plugins' skills for the same job