deneb-visuals
Deneb visual creation, Vega/Vega-Lite spec authoring, and Deneb best practices for PBIR reports. Automatically invoke whenever the user mentions "Deneb" in any…
Design, enforce, audit, and validate Power BI report themes through the pbir CLI. Invoke when a report uses a default or minimal theme, visuals have inconsistent formatting or many local overrides, or the user asks to create, copy, apply, standardize, rebrand, audit, or validate
$ npx -y skills add data-goblin/power-bi-agentic-development --skill modifying-theme-json --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/modifying-theme-jsonContext preview
The summary Claude sees to decide when to auto-load this skill.
Design, enforce, audit, and validate Power BI report themes through the pbir CLI. Invoke when a report uses a default or minimal theme, visuals have inconsistent formatting or many local overrides, or the user asks to create, copy, apply, standardize, rebrand, audit, or validate
name: modifying-theme-json description: Design, enforce, audit, and validate Power BI report themes through the pbir CLI. Invoke when a report uses a default or minimal theme, visuals have inconsistent formatting or many local overrides, or the user asks to create, copy, apply, standardize, rebrand, audit, or validate a theme; change theme colors or typography; promote visual formatting into the theme; clear overrides; or improve theme compliance.
Use this skill for theme design and compliance decisions. Use the `pbir-cli` skill for command details.
Use `pbir` for every report and theme mutation. Never edit `theme.json`, `visual.json`, serialized `.Theme` fragments, or other report JSON directly. Never fall back to `jq`, shell replacement, or a JSON-editing skill. If `pbir` lacks the required operation, stop and report the missing capability.
Read JSON only through `pbir cat`, `pbir get`, or read-only examples. Prefer structured CLI inspection commands because they explain the formatting cascade and usage.
A theme centralizes formatting that would otherwise drift across visuals. It should own repeated choices such as:
Visual-level overrides should remain only for content-specific exceptions or conditional formatting. Theme-first reports are easier to rebrand, diff, and maintain.
Power BI defaults -> theme wildcard defaults -> theme visual-type defaults -> visual instance overrides
The last layer wins. Diagnose unexpected rendering with `pbir visuals format`, which reports the effective value and source; do not inspect or patch `visual.json`.
pbir theme colors "Report.Report" pbir theme fonts "Report.Report" pbir color list "Report.Report" pbir fonts list "Report.Report" pbir visuals format "Report.Report/Page.Page/Visual.Visual" pbir bpa run "Report.Report"
Look for hard-coded colors, repeated visual-level font or container overrides, inconsistent visual types, weak contrast, excessive palette size, and sentiment colors that change meaning between visuals.
1. Limit the data palette to the number of categories the report genuinely needs. 2. Reserve saturated accent colors for focus, selection, exceptions, and key comparisons. 3. Assign one stable meaning to each semantic color. Good, neutral, bad, selected, disabled, and hyperlink colors must not trade roles across pages. 4. Keep structural colors quiet. Axes, borders, gridlines, and backgrounds should support reading rather than compete with data. 5. Use one portable font family and a small type scale. Express hierarchy through size and weight, not many colors. 6. Prefer wildcard defaults, then visual-type defaults, then rare instance overrides. 7. Preserve accessible contrast and never rely on hue alone to communicate state.
Start from a valid template or the report's existing theme; do not author an empty theme.
# Apply a known base when requested pbir theme list-templates pbir theme apply-template "Report.Report" sqlbi # Set palette and semantic colors pbir theme set-colors "Report.Report" \ --data-colors '["#1971C2","#F08C00","#2F9E44","#7048E8"]' \ --good "#2E7D32" --neutral "#6B7280" --bad "#C62828" \ --background "#FFFFFF" --foreground "#252525" # Set typography by semantic level pbir theme set-fonts "Report.Report" title --font-face "Segoe UI Semibold" --font-size 14 pbir theme set-fonts "Report.Report" label --font-face "Segoe UI" --font-size 10 pbir theme set-fonts "Report.Report" callout --font-face "Segoe UI Semibold" --font-size 32 # Set repeated formatting at theme level pbir theme set-formatting "Report.Report" "*.*.dropShadow.show" --value false pbir theme set-formatting "Report.Report" "*.*.border.show" --value false pbir theme set-formatting "Report.Report" "card.*.title.fontSize" --value 14
Run `pbir schema describe <visualType> <object>` before authoring unfamiliar formatting properties.
pbir theme push-visual "Report.Report/Page.Page/BestCard.Visual" --dry-run pbir theme push-visual "Report.Report/Page.Page/BestCard.Visual"
Use this when a well-designed instance should become the default for its visual type. Inspect the dry run first so content-specific formatting is not promoted accidentally.
Clearing overrides is destructive and must be confirmed with the user. Preserve conditional formatting unless the user explicitly wants it removed.
pbir visuals clear-formatting "Report.Report/**/*.Visual" --keep-cf --dry-run -f pbir visuals clear-formatting "Report.Report/**/*.Visual" --keep-cf -f pbir theme colors "Report.Report" --normalize pbir theme colors "Report.Report" --normalize --apply
For selective cleanup, use the flags documented by `pbir visuals clear-formatting --help` rather than broad file edits.
pbir cp "Source.Report/theme" "Target.Report/theme" -f pbir theme validate "Target.Report"
After a theme swap, clear stale visual overrides, normalize surviving color literals, and inspect foreground/background polarity so text does not become invisible.
Use one confidence pass after a coherent batch:
pbir theme validate "Report.Report" pbir validate "Report.Report" --all pbir desktop refresh "Report.Report" pbir desktop screenshot "Report.Report" --all --output-dir screenshots
Desktop refresh does not reload theme resources. Close and reopen the report before judging them
Power BI AI skills and Power BI agents for Claude Code and GitHub Copilot: a plugin marketplace of Power BI skills, subagents, and hooks for semantic models, DAX, TMDL, reports, and AI dashboards. Includes Microsoft Fabric skills and Fabric agents. Weekly updates.
Repo: data-goblin/power-bi-agentic-development
Deneb visual creation, Vega/Vega-Lite spec authoring, and Deneb best practices for PBIR reports. Automatically invoke whenever the user mentions "Deneb" in any…
Power BI custom visual (.pbiviz) development with the pbiviz toolchain and its MCP server. Automatically invoke when the user mentions "custom visual",…
Python visual creation and matplotlib/seaborn patterns for PBIR reports. Automatically invoke when the user mentions "Python visual", "matplotlib in Power BI",…
R visual creation and ggplot2 patterns for PBIR reports. Automatically invoke when the user mentions "R visual", "ggplot2", "ggplot in Power BI", or asks to…
SVG generation via DAX measures and extension measures with ImageUrl data category for inline visualizations in PBIR reports. Automatically invoke when the…
Execute arbitrary Python or PySpark code on Fabric Spark compute without creating a notebook artifact; ephemeral Livy sessions with full Delta table access.…