Skip to main content
skill CX Codex

bpa-rules — Claude Code skill: what it does, how to install

bpa-rules is a Claude Code skill for authoring Best Practice Analyzer rules for Power BI and Tabular Editor semantic models through guided discovery and model inspection.

GPL-3.0 ★ 1,104 updated 2026-10-28

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install tabular-editor@power-bi-agentic-development
Open on GitHub

What bpa-rules does

The skill implements a structured Double Diamond discovery workflow before authoring any Best Practice Analyzer rules. It uses AskUserQuestion to interview you about your team setup, Tabular Editor version, existing conventions, and audit goals across multiple conversation rounds.

Next, it inspects your semantic model. The skill reads TMDL files from PBIP directories, inspects model.bim using jq, or queries published Fabric models with the fab CLI. It checks DAX patterns, relationship directions, missing measure descriptions, and RLS definitions. If you only have a local .pbix file, the skill cannot inspect it directly until you save it as a PBIP project in Power BI Desktop.

Once priorities are agreed upon, the skill outputs tailored BPA rules with severity settings and optional FixExpression blocks for automated remediation.

What it helps with

  • Generate tailored BPA rules for Tabular Editor semantic models
  • Inspect TMDL files in PBIP projects for missing descriptions and unused columns
  • Write FixExpression scripts to automate fixes for model violations
  • Audit published Microsoft Fabric models using the fab command line

Example prompts for the agent

  • Set up BPA rules for our Power BI semantic model in PBIP format
  • Audit our Tabular Editor model and generate rules for DAX quality
  • Create a BPA rule with a FixExpression to clean up unformatted measures

How to install bpa-rules

1Plugin marketplace

/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install tabular-editor@power-bi-agentic-development

This installs the whole tabular-editor plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill bpa-rules -a claude-code

3Manually: put the files in place

~/.claude/skills/bpa-rules/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/bpa-rules/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about bpa-rules

How to install bpa-rules in Claude Code?

Run /plugin marketplace add data-goblin/power-bi-agentic-development followed by /plugin install tabular-editor@power-bi-agentic-development.

What does the bpa-rules skill do?

It conducts an interactive interview to understand your governance requirements, inspects your Power BI model structure, and creates custom Best Practice Analyzer rules.

Can it analyze standard .pbix binary files directly?

No, it requires access to model definitions. You must save the report as a Power BI Project (PBIP) to expose the TMDL files, or supply a model.bim file.

Similar skills

All skills for Data and databases →

From the same set59

The whole set →
review-report review-report — a skill that runs a structured check on a Power BI report, telling you whether people actually open it and giving ranked recommendations. CX Codex +1 ★ 1,104repo stars svg-visuals svg-visuals builds inline SVG charts in Power BI PBIR reports using DAX formulas. Handy for rendering sparklines, bullet bars, and gauges inside tables or card visuals. CX Codex +1 ★ 1,104repo stars pbir-format This skill helps Claude Code inspect Power BI reports in PBIR format and make changes through pbir. Use it to work with report pages, visuals, filters, and themes. CX Codex +1 ★ 1,104repo stars improve-my-agent-setup improve-my-agent-setup is a Claude Code skill that reviews an agent-assisted development setup and suggests changes. Run it for a setup check or a workflow assessment. CX Codex +1 ★ 1,104repo stars audit-tenant-settings The audit-tenant-settings skill compares Fabric and Power BI tenant settings with a curated baseline, then surfaces drift and delegated overrides. Use it to examine governance changes and related security groups. CX Codex +1 ★ 1,104repo stars pbi-report-design pbi-report-design is a Claude Code skill that defines Power BI report design rules and is loaded by other skills before layout or theme decisions. CX Codex +1 ★ 1,104repo stars tmdl Guides direct TMDL file editing and BIM conversions for PBIP semantic models when Tabular Editor CLI or Power BI MCP are unavailable. CX Codex +1 ★ 1,104repo stars te-cli te-cli is a Claude Code skill for working with the Tabular Editor CLI and Power BI or Analysis Services semantic models. It activates when a request mentions the te command or uses it in a terminal. CX Codex +1 ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open