Pbi Format — Code Quality skill for Claude Code
Reformat DAX expressions for maximum readability using the DAX Formatter API (daxformatter.com).
How to install Pbi Format
Installs to ~/.claude/commands/d7rocket-powerbi-skill-pbi-format.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/d7rocket/PowerBI-Skill/HEAD/.claude/commands/pbi-format.md -o ~/.claude/commands/d7rocket-powerbi-skill-pbi-format.md Restart Claude Code, or start a new session, for it to be picked up.
What Pbi Format does
name: pbi-format description: "Reformat DAX expressions for maximum readability using the DAX Formatter API (daxformatter.com). Handles long expressions, nested functions, and multi-line VAR/RETURN blocks. Preserves semantic meaning while applying consistent indentation and spacing. Auto-applies to PBIP files when detected." allowed-tools:
- Read
- Write
- Edit
- Bash
- Agent
- Glob
- Grep
Detection (run once)
**Folder naming:** Real PBIP projects use `.Se
Alternatives in Code Quality
- Import Drawio — Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level 27.2k ★
- Job Stories — Create job stories with acceptance criteria in JTBD format 7.8k ★
- Video Script: Claude SEO V1.7.2 — What's New — Duration: ~5 minutes Tone: Natural, conversational, like talking to a friend who knows Claude Code Format: Scr 5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Refactor Safe
Refactor internals without changing public API. Fixes structural problems (long functions, duplication, poor n
Claude Formatter
A CLI tool to format Claude's streaming JSON output for better readability
Aegis Return Format
Sub-agent return format — every non-trivial claim must be tagged [VERIFIED: ] (backed by executed command) or
Claude Code Tts
A /say skill for Claude Code and Codex: spoken briefings in a fixed format (context, outcome, next action + ow
List All Tools
List all available tools detailed in your system prompt. Display them in bullet points. Display them in typesc
Format
Run the black formatter on the entire codebase:
Related Agents
Pbi Modeler
Semantic-model structure specialist for the Power BI Desktop project currently open. Creates and edits tables
Powerbi Analyst
Power BI + DAX for the Seshat BI repo — PBIP semantic models, measures, gold-only data models, performance. Us
BI Dax Reviewer
Read-only reviewer for DAX measures, calculated columns and calculation groups in TMDL (Power BI semantic mode