/reports:pbi-report-designfrom reports
Provides Power BI report design best practices covering design identity, visual hierarchy, the 3-30-300 rule, page shapes, layout, chart selection, KPI design, tables, matrices, color, and alt text. Loads when committing a design identity or making layout, chart, KPI, or conditional-formatting decisions.
Ships in reports. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use
pbirfor every report mutation. Thepbir-formatskill is read-only schema context. If the CLI is unavailable or lacks an operation, stop and report the gap.
Best practices and guidelines for Power BI report design. Follow these guidelines strictly to avoid generic, poorly formatted reports ("Power BI Slop").
Be innovative, pushing boundaries while adhering to data visualization rules and guidelines. Work within Power BI's constraints, aiming for simplicity and effectiveness over aesthetics and decoration. Focus reports, pages, and visuals on answering specific questions and minimizing cognitive load -- not on looking "pretty and impressive".
When a user request contradicts these guidelines, push back and explain better alternatives. The goal is to inform the user of options that lead to improved outcomes.
Before any layout work, lock the report's identity so every later choice has something to cite:
restrained, corporate, editorial, or technical) that fixes accent count, saturation, gridline weight, and how forward annotation getssummary, monitoring, exploration, comparison, narrative)Recording tone and signature once is what turns "use muted colors" into a propagating decision. See references/design-identity.md for the tone budgets and signature catalog, and references/page-shapes.md for routing each page to a shape. Serialize the identity into the theme via the modifying-theme-json skill, not into per-visual overrides.
textBox visualType or a title in a background image added to the report page canvas. A visual's own title and subtitle go in its container title and subTitle slots, never in a separate textbox placed above or over it. Textboxes are for the page title, a header over several visuals, a callout, a line that mixes formatting inside it, and text that belongs to no single visual (references/page-titles.md)references/layout-guidelines.md has the arithmetic that places a row exactlysqlbi theme (see the modifying-theme-json skill for applying templates). Themes are preferred because they provide a set of default styles for all charts that can adhere to good design practices and brand or style guidelinesreferences/chart-selection.md maps each analytical task to the core visual type that answers it, and a familiar form costs the reader nothing to decode. A form outside that block is built only when it clears the two-condition gate in the same file ("Leaving the default vocabulary"), and the condition is stated before the build rather than defended after it.references/page-shapes.md). A page trying to answer two questions is two pages.Accessibility, color, type and spacing standards (contrast ratios, palettes and status colors, faces and sizes, margins and gaps) and the closing review of a finished design are not set here. Take them from the design system or house rules the session has loaded; where none is loaded, hold to WCAG 2.2 AA. This skill covers how Power BI builds them: theme colors, selectors and conditional formatting (references/visual-colors.md), positions and alignment (references/layout-guidelines.md), alt text (below), and text classes and theme sizes (the modifying-theme-json skill).
A chart is cheap to reject on the spec and expensive to reject on the canvas. Run these five tests against the proposed chart, before any pbir add visual. They are rejection tests, not a generation quota: a chart that passes all five gets built as specced, and no extra candidates are generated to compete with it.
A title that is true is not yet the right title. A chart supports several true readings, and the one that ships is the one that answers the decision question the page serves (the brief's decision_questions). If two readings both need asserting, that is two visuals, and if they answer different questions it is two pages (core rule 12).
Test 1 produces a claim, and in Power BI a claim goes stale the moment the reader moves a slicer. What pins it is how the claim is written, not only which page it sits on:
SELECTEDVALUE fallback mandatory; the create-pbi-report skill carries the patternnarrative page with the filter cards that could move it locked (references/page-shapes.md, references/filter-pane.md)On the other four shapes a literal title names the subject and the finding moves into a callout, which the closing review then checks against the model (references/tooltips-and-annotations.md, references/page-titles.md).
When a chart fails: simplify it to a single comparison, or cut it. Do not repair it in place through successive renders; that is how one bad panel consumes an evening. Record which you chose, and why, in the plan's fog list (see the pbi-plan skill) so the decision is not rediscovered next session.
The test is deliberately blind to how good the chart could be. It discriminates on whether the chart says something, which a render cannot tell you any better than the spec can.
Two habits that catch what the five tests miss. A panel that explains the method behind a number (how a ranking is computed, when its basis changed) fails test 1 even when every word is true; state what the method does to the thing the reader is looking at, then prove it. And judge a generated artboard or page by rendering it and looking, cropping a region to read it closely: extracting its text and positions is for editing, never for judging, because it shows a neighbour's title but not that the neighbour already draws the chart you are about to add.
Always query the actual page dimensions before adding or repositioning visuals. Do not assume a page is 1280x720 or 1920x1080 -- templates and existing reports vary. The object model validates that visuals fit within page bounds, so setting position or size without knowing the page dimensions will cause errors. Check the page's page.json file for width and height properties, or use the object model (page.width, page.height) to confirm dimensions first. When resizing visuals via the object model, set width/height before x/y to avoid intermediate states that exceed bounds.
Arrange content following the "detail gradient":
+------------------+------------------+
| KPIs/Cards | KPIs/Cards | <- Top: High-level, important
| (Summary) | (Summary) |
+------------------+------------------+
| |
| Charts/Trends | <- Middle: Context, trends
| (Analysis) |
| |
+------------------+------------------+
| |
| Tables/Details | <- Bottom: Detailed data
| (Drill-down) |
| |
+------------------+------------------+
Every page should have a title. Create it through pbir:
pbir add title "Report.Report/Page.Page" "Page Title" --width 500
Title positioning:
A page title names the subject; the narrative shape is the one documented exception, per the insight test above. Title implementation, the visual container's own title and subtitle slots, and accessible title wording are in references/page-titles.md.
Before modifying visual formatting:
visualStyles["*"]["*"]visualStyles.lineChart["*"]Prefer theme colors over hex codes:
// Good - uses theme color: ColorId is the dataColors index + 2 (0 is the background, 1 the foreground)
"expr": {"ThemeDataColor": {"ColorId": 2, "Percent": 0}}
// Avoid in visuals - use only in extension measures
"expr": {"Literal": {"Value": "'#118DFF'"}}
Semantic colors (return from extension measures):
"good" - Positive values"bad" - Negative values"neutral" - Neutral/unchanged"minColor" - Gradient minimum"maxColor" - Gradient maximumAll visuals should include descriptive alt text:
"visualContainerObjects": {
"general": [{
"properties": {
"altText": {
"expr": {"Literal": {"Value": "'Line chart showing monthly sales trend from January to December 2024'"}}
}
}
}]
}
A bare number lacks meaning. Every KPI must answer "Is this good or bad?" (target + gap) and "Is it getting better or worse?" (trend). Key rules:
kpi visual type over card when a target exists -- it has built-in indicator, goal, and trend line data rolestmdl skill), or creating an extension measure as a fallback. Common targets: prior year (CALCULATE([Measure], DATEADD('Date'[Date], -1, YEAR))), budget, or rolling averagesvg-visuals skill in the custom-visuals plugin)For complete guidance on KPI design, targets, trends, formatting hierarchy, icon implementation, accessible palettes, and anti-patterns, consult references/cards-and-kpis.md.
references/visual-colors.mdFor chart-type selection (encoding hierarchy, Cleveland-McGill ranking), data-label discipline, and small-multiples guidance, consult references/chart-selection.md.
Refuse common LLM defaults. Gauge-as-KPI, monochrome categorical bars, missing sort, card walls, raw field names as titles, inline hex, off-grid drift, dual y-axis, 3D, oversized pies, two hues for one quantity, and an exotic build path for a form a core visual already draws are plausible-looking attractors that defeat the reader. When a request reaches for one, push back with the better option; see references/anti-patterns.md.
Tables require deliberate design -- "easy to create" differs from "easy to read." Key rules:
matrix over tableEx when 2+ categorical columns form a hierarchy (Key Account > Account > Product)For complete guidance on table vs matrix selection, formatting philosophy, conditional formatting techniques, sparklines, hierarchy design, row-label indentation, and anti-patterns, consult references/tables-and-matrices.md.
create-pbi-report references/interactivity.md, Slicers filter each other)The filter pane has its own information architecture beyond color and chrome. Key decisions: lock vs hide per filter card, how to name cards without renaming model fields, and report-level settings (Apply button, search, allow-change-filter-type). See references/filter-pane.md.
Power BI does not reflow a desktop page for portrait; the phone layout is a hand-picked subset re-placed on a narrow grid. Nothing renders on a phone until explicitly opted in with a mobile.json. See references/mobile.md for the subset-selection model and file mechanics.
When asked to evaluate or audit a report, focus on objective criteria. Subjective evaluation is difficult for AI -- the report cannot be "seen" directly, and there is no intuitive sense of aesthetics, cognitive load, or effectiveness. Emphasize this limitation to users.
references/layout-guidelines.md performance section). Textboxes, images, shapes, and buttons do not emit queries.Accessibility, color, type and spacing are judged against the design system in use (Standards this skill does not set).
When evaluating, provide:
review-report uses)The closing review of a finished design is set by the design system in use, not here. Whichever review runs, render the pages and look (the screenshot-review loop in the pbir-cli skill): an agent cannot see the canvas, so a check passed on JSON alone is provisional until the screenshots agree.
Once a design is agreed, the failure mode changes. It stops being "is this good" and becomes "did we
build the thing we agreed, without breaking what was already there". The rules for that phase are in
references/implementing-a-design.md: apply the delta only and never replace existing chrome,
check what else consumes a shared object before editing it, validate and then actually look before
claiming done, defer cleanup rather than fighting a file lock, and write a reverse brief from the
report's current state when another design round is needed. They are technique-agnostic and apply to
any design source.
Symptoms: Too many colors, visuals, or data points
Fix:
references/design-identity.md -- Commit-first identity: tone budgets (restrained/corporate/editorial/technical), the signature catalog, and serializing identity into the themereferences/page-shapes.md -- Routing each page to one shape by intent (summary/monitoring/exploration/comparison/narrative): what belongs, what stays off, layout lean, and the narrative shape's headline and next stepreferences/anti-patterns.md -- Cross-cutting defaults to refuse (gauge-as-KPI, monochrome bars, missing sort, card walls, raw titles, inline hex, off-grid, dual-axis, 3D, oversized pie, two hues for one quantity, an exotic build path for a core form) with the repairreferences/cards-and-kpis.md -- KPI card design: binding the measure the audience acts on, targets, gaps, trends, formatting hierarchy, icons, accessible palettes, anti-patterns, review checklistreferences/tables-and-matrices.md -- Table and matrix design: decision-making framework, subtract-don't-add philosophy, conditional formatting, sorting, sparklines, matrix hierarchies, row-label indentation (U+00A0), anti-patternsreferences/layout-guidelines.md -- Canvas dimensions, zones and sample layouts, the arithmetic for placing a row and aligning columns, z-order, performance cost modelreferences/visual-colors.md -- How Power BI applies color: theme color expressions and semantic tokens, the neutral-base-plus-one-accent emphasis moves and which selector picks the focal series, contrast channels beyond hue, CF basis decision (gradient vs rules vs field-value vs icons)references/page-titles.md -- Title implementation, a visual's own title and subtitle slots (never a textbox above it) and moving an existing title textbox into them, the narrative-page exception to the subject-title rule, accessible title wording, hidden-title/alt-text rulereferences/chart-selection.md -- Encoding hierarchy (Cleveland-McGill ranking), chart type routing, the gate for leaving the default vocabulary, repair before retyping, the axis and data-label pairing, legend versus direct labelling, small multiplesreferences/tooltips-and-annotations.md -- Report-page tooltip design, when not to use one, annotation primitives for guided analytics, recommendation callouts and the page shapes that allow themreferences/filter-pane.md -- Lock vs hide, card naming, card order, Applied/Available styling, report-level settingsreferences/mobile.md -- Phone layout as a curated subset, mobile.json mechanics, what to include/excludereferences/custom-visuals.md -- Build-vs-buy ranking, justifying the chart form separately from the build tier, AppSource/org-store tradeoffs, licensing gapsreferences/implementing-a-design.md -- Turning an approved design into a report: delta-only application, preserving existing chrome, shared-object scope discipline, validate-then-look verification, deferred cleanup, and the reverse design brief with its templatescripts/find_title_textboxes.py -- Read-only check that lists every textbox standing in for one visual's title (references/page-titles.md, "Checking a finished page")pbir-format (pbip plugin) -- PBIR JSON format reference for visual.json, page.json, report.json structurepbip (pbip plugin) -- PBIP project structure, table/measure renames, project forkingReports often need visuals beyond what Power BI provides natively. Always consider in-repo code paths before reaching for a packaged third-party visual. See references/custom-visuals.md for the build-vs-buy decision and AppSource/org-store tradeoffs.
Skill routing for in-repo code visuals (all in the custom-visuals plugin; add with claude plugin install custom-visuals@power-bi-agentic-dev):
deneb-visuals -- Vega/Vega-Lite declarative visuals; preferred for advanced custom interactive charts (cross-filtering, tooltips, hover)svg-visuals -- SVG via DAX measures; preferred for inline table/matrix/card graphics with no row cap issuespython-visuals -- matplotlib/seaborn scripts (static PNG); for statistical visualizations that must compute at render timer-visuals -- ggplot2 scripts (static PNG); where R's statistical ecosystem has no Python peer (forecast, pheatmap, corrplot)Reports are highly dependent on the underlying semantic model for their functionality. Most report capabilities -- measures, calculated columns, relationships, hierarchies, row-level security -- are defined in the semantic model, not the report. When designing or modifying reports, you will frequently need to understand or modify the model. Key skills:
tmdl (pbip plugin) -- Direct TMDL file editing for measures, columns, relationshipste-docs (tabular-editor plugin) -- Tabular Editor CLI for model operationsc-sharp-scripting (tabular-editor plugin) -- C# scripts for bulk model changesbpa-rules (tabular-editor plugin) -- Best Practice Analyzer rules for model qualityconnect-pbid (pbi-desktop plugin) -- Connect to Power BI Desktop's local Analysis Services instance for live model queries and modificationsreferences/anti-patterns.md (opens in a new tab)references/cards-and-kpis.md (opens in a new tab)references/chart-selection.md (opens in a new tab)references/custom-visuals.md (opens in a new tab)references/design-identity.md (opens in a new tab)references/filter-pane.md (opens in a new tab)references/implementing-a-design.md (opens in a new tab)references/layout-guidelines.md (opens in a new tab)references/mobile.md (opens in a new tab)references/page-shapes.md (opens in a new tab)references/page-titles.md (opens in a new tab)references/tables-and-matrices.md (opens in a new tab)references/tooltips-and-annotations.md (opens in a new tab)references/visual-colors.md (opens in a new tab)scripts/find_title_textboxes.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/create-pbi-reportStep-by-step workflow for creating complete Power BI reports from scratch using pbir CLI. Covers model discovery, report creation, page layout, theme setup, visual placement, field binding, filtering, formatting, validation, and publishing. Automatically invoke when the user asks to "create a new report", "build a report from scratch", "make a dashboard", "set up a report with KPIs", "create an executive dashboard", "add pages and visuals to a new report"./desktop-screen-captureScreenshot what is on this Windows screen, the whole desktop or one window found by title, and save a PNG the agent can Read. Use whenever you need to SEE a GUI such as Power BI Desktop, a dialog, a display symptom or a browser, especially when `pbir desktop screenshot` or the Desktop Bridge is unavailable. Triggers include "what's on screen", "screenshot Power BI", "look at my screen"./modifying-theme-jsonDesign, enforce, audit and validate Power BI report themes. Invoke when a report uses the default or a minimal theme or its visuals carry many local formatting overrides, or the user asks to create, copy, apply, audit, standardize or validate a theme, push formatting to it, clear visual overrides, or set theme colors, typography, text classes, visual-type overrides or style presets./pbi-planPlan a multi-session Power BI report or model build as a numbered ticket map with an HTML plan board. Use when the user asks to plan a build, map out a report, or resume a build that spans more than one session. User-invoked only, via /pbi-plan./pbir-cliThis skill should be used whenever the user mentions "pbir", "pbir-cli", "Power BI reports", or "PBI reports", works with .pbir, .pbip, or .pbix files, or wants to refresh, screenshot, or visually verify a report that is open in Power BI Desktop. Covers creating, exploring, formatting, validating, and publishing Power BI reports through the pbir CLI and object model, plus driving Power BI Desktop (canvas reload, page screenshots) and querying connected or local semantic models./pbi-verify-loopVisually verify Power BI report edits against a running Power BI Desktop. Refresh the canvas from disk, wait until rendering is stable, screenshot the page, and optionally diff against a mockup. Use after ANY edit to PBIR visual.json, pages or theme while Desktop is open, and when the user asks to "check the report", "verify the change" or "screenshot the page".npx claudepluginhub insightfulanalytics/pbi_agentic_dev --plugin reportsOther plugins' skills for the same job