Chapter 4 of 8

Commands — AtelierBID

Every skill and every CLI, with usage. The canonical reference.

AtelierBID ships ten slash-command skills (invoked inside a Claude Code session) and 32 deterministic Node CLIs (run from a terminal). This page is the canonical reference for both.


Slash-command skills#

Run these inside a Claude Code session. Each skill is backed by a multi-agent pipeline; outputs land under output/<run-id>/.

CommandWhat you getOutput
/AtelierBID:design-report8-agent pipeline → self-contained HTML report-layout mockup with chart sketches + narrative titles/insightsoutput/layout-*/final.html
/AtelierBID:build-themeSchema-valid Power BI theme.json, optionally AI-assisted from a brand description (+ palette, font-colour, design critique)output/theme-*/theme.json
/AtelierBID:generate-backgroundSanitised, on-brand SVG report-canvas backgroundoutput/background-*/background.svg
/AtelierBID:prototype-report2-agent plan→build interactive HTML dashboard (Chart.js, KPI cards, dark mode, responsive)output/prototype-*/prototype.html
/AtelierBID:model-star-schema4-step Kimball modeller → SQL DDL + Mermaid ERD + DAX stubs + validation reportoutput/schema-*/schema.sql, schema.mmd, dax-stubs.json, validation.json
/AtelierBID:powerbi-design-systemReference doctrine (SCAN framework, audiences, layout patterns, colour roles); auto-loaded by the design skills — creates nothing
/AtelierBID:author-daxBatch measure authoring from plain English, a spec file, or explicit DAX — linted, validated, with a per-measure scoreboardmeasures.tmdl · scoreboard.json
/AtelierBID:optimise-daxRanked anti-pattern findings with plain-English explanations; rewrites are dry-run and confirmation-gated, with an equivalence pair per changerewrite diff · equivalence.json
/AtelierBID:document-modelRead-only, regenerable data dictionary straight from the TMDL, with undocumented elements flaggeddata-dictionary.md
/AtelierBID:update-metadataDisplay metadata (format strings, folders, sort-by, hidden keys) and Q&A metadata (descriptions, synonyms, linguistic schema)enriched TMDL

Node CLIs (32 scripts)#

Run node scripts/<name>.js from a terminal. All scripts are deterministic, offline, and dependency-free (Node stdlib only). The skills call these internally; they also run standalone.

Start a project & spine (9)#

ScriptWhat it does
new-project.jsScaffold a project folder + conventions + openable PBIP shell
scaffold-pbip.jsComplete openable PBIP tree
validate-pbip.jsPlain-English PBIP structural validation
best-practice.jsPer-project rule library + BPA rules + audit
ground-schema.jsSchema-of-record contract + proposed-additions list
lifecycle.jsOffline↔connected mode/state + "bind live data?" gate
conformance-harness.jsPBIR/TMDL fidelity drift report
new-run.jsScaffold an output/<run-id>/ checkpoint folder
design-system.jsLoad/emit the shared design-system tokens

Discovery & source text (3)#

ScriptWhat it does
discover-requirements.jsStructured requirements/KPIs/grain spec, gaps flagged
author-sql.jsReviewable dialect-aware SQL text — never executed
author-m.jsFolding-aware Power Query/M into the TMDL partition source

Model (6)#

ScriptWhat it does
model-star-schema.jsStar-schema TMDL
model-relationships.jsSafe relationships + cardinality
model-settings.jsTable/column settings
model-partition.jsPartition definitions
model-incremental-refresh.jsrefreshPolicy + RangeStart/End
optimise-model.jsRanked, result-preserving optimisation report + fixes

Calculation / DAX (4)#

ScriptWhat it does
author-dax.jsIdiomatic DAX measures + calc groups + explanations
dax-time-intelligence.jsMarked date table + time-intelligence family
optimise-dax.jsRanked result-preserving rewrites + before/after
dax-query.jsEVALUATE validation queries + equivalence pairs

Design & report (7)#

ScriptWhat it does
design-report.jsDeterministic engine behind the /AtelierBID:design-report skill
build-theme.jsDeterministic engine behind the /AtelierBID:build-theme skill
generate-background.jsDeterministic engine behind the /AtelierBID:generate-background skill
prototype-report.jsDeterministic engine behind the /AtelierBID:prototype-report skill
check-palette.jsFlag data colours within ΔE 15 of reserved RAG roles
validate-theme-schema.jsValidate a theme.json against the Power BI template schema
reconcile-dummy-data.jsCross-check dummy data vs schema; rescale to KPIs

AI (2)#

ScriptWhat it does
ai-readiness.jsQ&A/Copilot readiness: descriptions + synonyms + linguistic schema + audit
fabric-agent.jsOffline Fabric data-agent config + provisioning runbook

Documentation (1)#

ScriptWhat it does
document-model.jsRegenerable data-dictionary markdown from the TMDL, gaps flagged

scripts/lib/* holds shared libraries (colour maths, theme builder, HTML sanitiser, visual metadata, schema→DDL, schema→Mermaid, TMDL parse/emit, IR→PBIR, design-system loader, etc.).


See also#

  • Features — the capability detail behind each command.
  • HOW-IT-WORKS — where each command sits in the end-to-end flow.
  • Architecture — plugin structure and data flow.