No slash command · from reports
Plans multi-session Power BI report or model builds as a numbered ticket map with an HTML plan board. Use via /pbi-plan when a build spans multiple sessions or has scope-creep risk.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Work in progress. This skill has been used on one build. The ticket shape and the board are stable; the replanning and close-out sections are still being tuned against real builds. Treat its numbers as observations from one project, not as benchmarks. It never loads on its own: it is
disable-model-invocation: trueand runs only when the user types/pbi-plan.
A multi-session Power BI build fails in a specific way. It does not fail by producing a wrong chart. It fails by losing the thread: session three rebuilds what session one already shipped, a measure gets a second definition under a new name, and the surfaces nobody drew (tooltips, navigation, alt text) arrive at the end as "small additions" to a design that is already signed off.
This skill lays a map before the build starts, keeps it honest while the build runs, and renders it as an HTML board the user can watch the journey on.
Use it when at least two of these are true:
Do not use it for:
reports:create-pbi-report or semantic-models:semantic-model. A plan for a
twenty-minute job is overhead with a progress bar.On a dataset you did not build (a challenge, a vendor extract, anything with a brief that
asserts findings), triage it before writing the map. Run the fabrication checks in
references/data-triage.md, report the verdict, and let the user decide whether the build is
worth doing. The same file says how to word a "cannot use this column" verdict.
Hand-offs. This skill plans. It does not build. Each ticket is executed by the skill that owns that work:
| Ticket type | Executed by |
|---|---|
model | semantic-models:semantic-model, semantic-models:dax-standard, pbip:tmdl |
page, visual | reports:create-pbi-report, reports:pbir-cli |
design, chart choice | reports:pbi-report-design (run the insight test there) |
deneb | custom-visuals:deneb-visuals, custom-visuals:deneb-pbir |
shell | reports:pbir-cli, its references/interactions.md |
theme | reports:power-bi-theme, reports:modifying-theme-json |
One markdown file, PLAN.md, at the root of the PBIP project folder, beside the .pbip.
Not in a notes vault, not in a scratch directory: it is an operational file and it lives
with the thing it plans. Copy references/PLAN-template.md to start.
It has four parts, and all four are mandatory.
One paragraph: what the build is for, and who reads the finished thing. If it cannot be written, the plan is premature and the answer is to go and find out, not to start ticketing.
Things a reasonable person might expect and will not get, each with its reason on the line. RLS, mobile layout, scheduled refresh, a drillthrough hierarchy. This section is not housekeeping. It is the thing you point at in week two when someone asks why there is no mobile layout, and its absence is what turns that question into a day of work.
Every question the build will have to answer and cannot answer yet. Four entries are mandatory and must appear even when the answer is "none":
These four are compulsory because they are invisible on a page artboard. Nobody draws a
tooltip in a mockup, so nobody signs one off, so every one of them arrives after the
design is locked and lands as a change rather than as work. Naming them up front, even to
write "Tooltips: none, default everywhere", converts a late surprise into an early
decision. scripts/plan-board.py reports a plan problem when any of the four is missing.
Add to the list whenever the build raises a question it cannot settle. Removing an entry means writing the answer into a ticket, not deleting the line. A fog list that only ever shrinks is a fog list nobody is using.
Numbered from 01, and never renumbered. A number is an address that other tickets,
commit messages and conversations point at. Renumbering silently breaks every reference.
Cut work by setting Status: cut, never by deleting the ticket and closing the gap.
### 07: Spend by category
Type: page
Status: open
Blocked by: 02, 05
Exit: `python <pbir-cli skill>/scripts/close-plan.py "Sales.Report" --enforce`
What to build: the page lands "three categories carry two thirds of spend". One
horizontal bar chart, spend by category, sorted descending, top 12 plus an "other" band.
- [ ] passes the insight test
- [ ] title states the insight on a `narrative` page, the subject on the other four shapes
- [ ] tooltip decided, even if the decision is "default"
- [ ] alt text written
On a page or visual ticket, What to build: opens with the sentence the page is meant
to land, then the shape that lands it. A ticket that names only the chart leaves the claim
to whoever writes it up, a session later and with less context. Where the claim lands is the
page shape's decision, not the ticket's: a narrative page puts it in the headline, and the
other four shapes keep a subject title and carry the claim in a callout or a measure-driven
title (reports:pbi-report-design, references/page-titles.md). plan-board.py renders the
first line of the ticket body as the card summary, so that sentence is what the board shows.
| Field | Rule |
|---|---|
Type | model, page, visual, design, deneb, shell, theme, data. Routes the ticket to its skill. |
Status | open, in progress, done, cut. blocked is never written by hand, it is derived. |
Blocked by | Ticket numbers, or none. |
Exit | Mandatory. A command that returns an exit code. |
Exit line is the part that mattersA ticket whose exit condition is prose closes when someone feels it is closed. A ticket whose exit condition is a command closes when the command passes. Almost always one of:
pbir validate "Sales.Report"
python <pbir-cli skill>/scripts/close-plan.py "Sales.Report" --enforce
close-plan.py ships advisory by default and non-blocking is the right default for a
script anyone might run at 11pm. The --enforce belongs here, in the ticket. A gate
wired into twenty tickets runs twenty times; a gate hard-coded into a script's default
runs once and then gets deleted the first time it stops a legitimate ship.
For a model ticket, a DAX query that returns an expected value is a valid exit. For a
design ticket, the exit is the insight test in reports:pbi-report-design with its
verdict recorded in the ticket. "Looks right" is not an exit condition.
The instinct is to build the model first and the pages after, so the pages depend on the
model. Invert it. Write the page ticket first, let it name the measures it needs, and make
the model ticket Blocked by: the page ticket that specifies it.
A measure written before anything consumes it is written against a guess at the filter
context. A measure written against a named visual has a denominator you can state out
loud, which is exactly what the insight test and the tooltip filter-context trap both turn
on. See reports:pbir-cli references/interactions.md.
The exception is the skeleton: the date table, the fact table and the one relationship. That is ticket 01 and everything is blocked by it.
The next ticket is the lowest-numbered ticket that is open, unblocked and unclaimed.
Not the most interesting one, not the one adjacent to what was just finished. The rule exists so that "what now" is never a judgement call at the start of a session, which is precisely when context is thinnest and the temptation to re-decide the plan is strongest.
python <this skill>/scripts/plan-board.py PLAN.md --frontier
A ticket is blocked when any of its blockers is not done or cut. That is derived from
the Blocked by lines every time the board renders, so a blocked ticket cannot go stale.
If the frontier is empty and work remains, every remaining ticket is blocked. That is
a plan bug, not a work state: something upstream needs finishing, or a Blocked by line
is wrong. The board says so explicitly.
Every plan gets a board. It is how the user follows the journey rather than reading a markdown diff, and it is the reason the plan gets looked at between sessions at all.
python <this skill>/scripts/plan-board.py PLAN.md
# writes PLAN.html beside PLAN.md
Self-contained: one file, no CDN, no network, light and dark, and it prints. Open it with
start PLAN.html on Windows or open PLAN.html on macOS.
It shows:
Exit command.Regenerate the board at the end of every ticket, in the same change that sets
Status: done. The markdown is the source of truth and the board is a projection of it;
a board that lags the plan is worse than no board, because it is believed.
Never hand-write or hand-edit PLAN.html. Edit PLAN.md and re-run the script. Two
authors on one file is the same lost-edit class of bug as two writers on one PBIP.
Status: in progress, regenerate the board.Exit command. It must pass, and you must have seen it pass.Status: done, regenerate the board, and in the same change write any new
question the ticket raised into the fog list.Step 5 is the one that gets skipped and it is the one the plan lives or dies on. A question discovered during a ticket and not written down is discovered again three sessions later, from scratch.
At the start of a session that continues a build:
Read PLAN.md.
Reconcile it against the PBIR and TMDL on disk, not against the transcript. The files are what shipped. A plan is a claim about the files, and a resumed session that trusts the claim over the files will rebuild things that already exist and skip things that silently did not land.
pbir tree "Sales.Report" -v
python <pbir-cli skill>/scripts/close-plan.py "Sales.Report"
Correct any ticket whose status disagrees with the disk, and say which ones you corrected.
Regenerate the board, then take the frontier.
This step is not ceremony. Most of the divergence a long build accumulates shows up here, and it takes two minutes to find and an afternoon to find later.
Expect to rewrite a third of the plan during the build. On the one multi-session build this skill has been run against, the PBIR spec grew from 2,484 to 3,246 lines, and 31% of the growth was correcting things the plan had asserted rather than adding new work. That is not a planning failure. A plan written before the data is in Desktop cannot know what the data will look like, and pretending otherwise is what produces plans nobody updates.
So replan deliberately, on a schedule, rather than defending the original:
Status: cut and a one-line reason in the body. The number stays.cut, and
make the new ones Blocked by: whatever the original was blocked by.A plan whose tickets are all still open in session four is not a plan being followed. A
plan that has been edited every session is working exactly as intended.
Refuse to call the build finished while any of these is true:
in progress.close-plan.py still reports undecided cells that nobody has ruled on. not decided is
not a state a delivered report is allowed to be in. "Off" is a decision; silence is
not.Then run both exits one final time and regenerate the board, so the artefact that survives the build is a complete and accurate record of it:
pbir validate "Sales.Report"
python <pbir-cli skill>/scripts/close-plan.py "Sales.Report" --enforce
python <this skill>/scripts/plan-board.py PLAN.md
Finally, write what the build taught into the project's LEARNINGS.md. The plan records
what was done. It does not record what was learned, and those are different files.
references/PLAN-template.md: a filled PLAN.md to copy, with the four mandatory sections and four worked tickets
references/data-triage.md: fabrication checks to run on a dataset you did not build before any planning, and how to word a "cannot use this column" verdict
scripts/plan-board.py: renders PLAN.md to a self-contained PLAN.html; --frontier prints the next tickets and any plan problems
Related skills: reports:pbir-cli (scripts/close-plan.py, references/interactions.md),
reports:create-pbi-report, reports:pbi-report-design (the insight test).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./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-report-designThe Power BI report design canon covering design identity, visual hierarchy and the 3-30-300 rule, page shapes, layout and alignment, chart selection, KPI and card design, tables and matrices, and how Power BI applies color and alt text. The shared reference home for report design judgment, routed to by the create-pbi-report, pbir-cli, review-report, modifying-theme-json, and custom-visual skills. Load when committing a design identity or making a layout, chart-selection, KPI or conditional-formatting decision for a report./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