agentleFS
90le90le/microsoft-excel-bi-agent/skills/excel-bi-router/SKILL.md

excel-bi-router

Skill2 starsChanged 5 months agoMITView on GitHub

Use when an Excel BI request is broad, mixed, or unclear and must be routed among workbook, VBA, Power Query, DAX, MDX/CUBE, ADO/SQL, reporting, QA, delivery, or environment skills.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 9 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill first for ambiguous or mixed Excel BI work.

    line 10
  2. Very specific:

    Use scripts/route_excel_bi_task.py --text "<task>" [--out-json <path>] [--out-md <path>] when the first step should be machine-readable or …

    line 30
  3. Distinctive:

    Use three evidence levels:

    line 36
  4. Very specific:

    Use office-environment-diagnostics first when the task is blocked by local Excel, provider, or COM readiness.

    line 46
  5. Very specific:

    If data transformation is involved, inspect Power Query with power-query-m-engineering.

    line 48
  6. Very specific:

    If Data Model calculations are involved, inspect DAX with power-pivot-dax-modeling.

    line 49
  7. Very specific:

    If Excel formulas pull model values, inspect CUBE/MDX with mdx-cubevalue-extraction.

    line 50
  8. Very specific:

    If VBA queries data sources directly, inspect ADO/SQL with excel-ado-sql-data-access.

    line 51
  9. Very specific:

    Use excel-report-builder when the primary deliverable is a readable workbook/report surface.

    line 52
  10. Very specific:

    Use excel-deliverable-publisher only after required refresh/calculation/report validation is complete.

    line 53
  11. Very specific:

    Use excel-testing-fixtures when the task needs safe regression evidence without customer files.

    line 54
  12. Distinctive:

    Do not solve DAX problems with M patterns.

    line 58
  13. Distinctive:

    Do not solve Power Query refresh problems by changing CUBE formulas unless the error is at the report layer.

    line 59
  14. Distinctive:

    Do not claim Linux/macOS can validate Excel VBA, Power Query refresh, Power Pivot, or Solver without desktop Excel.

    line 60
  15. Distinctive:

    When the user says "Excel formula taking data from Power Pivot", check CUBE/MDX before DAX.

    line 61
  16. Distinctive:

    When the user says "VBA SQL from Power Pivot", check ADO/ADOMD and workbook connections before writing SQL.

    line 62
  17. Distinctive:

    When the user asks for a client-ready file, separate report construction from final publish cleanup.

    line 63
  18. Distinctive:

    When the user asks about Power BI semantic models, do not assume Excel Power Pivot function support is identical.

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Excel BI Router

Purpose

Use this skill first for ambiguous or mixed Excel BI work. Identify the actual layer before editing files or writing code.

Route By User Signal

User signalUse skill
.xlsx, .xlsm, buttons, macros, sheet formatting, hidden sheets, or implementation against an already-confirmed Excel runtimeexcel-vba-workbook-engineering
Power Query, M, query editor, refresh error, Table.*, Excel.Workbook, folder combinepower-query-m-engineering
Power Pivot, Data Model, relationships, DAX, measure, CALCULATE, filter contextpower-pivot-dax-modeling
CUBEVALUE, CUBEMEMBER, ThisWorkbookDataModel, MDX member, cube formulamdx-cubevalue-extraction
ADO, OLEDB, ADOMD, SQL in VBA, connection string, query workbook table/modelexcel-ado-sql-data-access
Publish, clean copy, pure .xlsx, values-only, remove formulas/links/queries/model, delete config sheetsexcel-deliverable-publisher
QA, audit, review, delivery readiness, workbook risks, formula quality, hidden/process sheetsexcel-workbook-qa-auditor
Compatibility, supported platform/version, Windows/Linux/macOS/web, Excel COM availability, Office environment, bitness, provider drift, or Trust Centeroffice-environment-diagnostics
Report workbook, dashboard, layout, chart, pivot, client-facing sheet, polished outputexcel-report-builder
Power BI, PBIX, semantic model, TMDL, XMLA, Fabric, calculation groups, DAX portabilitypower-bi-semantic-model
Fixture, smoke test, regression, sanitized workbook, sample workbook, forward-test promptsexcel-testing-fixtures

Scripted Routing

Use scripts/route_excel_bi_task.py --text "<task>" [--out-json <path>] [--out-md <path>] when the first step should be machine-readable or reviewed by another agent. The script emits the selected layer, skill, matched keywords, validation boundary, and recommended package scripts. Treat it as a first-pass routing aid, not as proof of workbook behavior.

Compatibility First

Route platform, Office-version, offline, Excel COM, Linux, macOS, or web compatibility questions to office-environment-diagnostics before choosing an implementation skill. Keep the execution environment—the machine running the agent and probe—separate from the target environment where the workbook must be authored, automated, consumed, or delivered.

Use three evidence levels:

  • Structural evidence: package, OpenXML, formulas, and source inspection without claiming Excel runtime behavior.
  • Runtime capability evidence: local Office, COM, provider, and generated-fixture smoke results.
  • Workbook behavior evidence: task-specific refresh, calculation, macro, model, endpoint, or rendered-output proof from the target workbook and host.

DAX or Power Pivot compatibility remains a power-pivot-dax-modeling task when the question concerns formula/function support rather than host availability.

Mixed Task Order

  1. Use office-environment-diagnostics first when the task is blocked by local Excel, provider, or COM readiness.
  2. Inspect workbook shape with excel-vba-workbook-engineering or audit it with excel-workbook-qa-auditor when the request is review-first.
  3. If data transformation is involved, inspect Power Query with power-query-m-engineering.
  4. If Data Model calculations are involved, inspect DAX with power-pivot-dax-modeling.
  5. If Excel formulas pull model values, inspect CUBE/MDX with mdx-cubevalue-extraction.
  6. If VBA queries data sources directly, inspect ADO/SQL with excel-ado-sql-data-access.
  7. Use excel-report-builder when the primary deliverable is a readable workbook/report surface.
  8. Use excel-deliverable-publisher only after required refresh/calculation/report validation is complete.
  9. Use excel-testing-fixtures when the task needs safe regression evidence without customer files.

Boundary Rules

  • Do not solve DAX problems with M patterns.
  • Do not solve Power Query refresh problems by changing CUBE formulas unless the error is at the report layer.
  • Do not claim Linux/macOS can validate Excel VBA, Power Query refresh, Power Pivot, or Solver without desktop Excel.
  • When the user says "Excel formula taking data from Power Pivot", check CUBE/MDX before DAX.
  • When the user says "VBA SQL from Power Pivot", check ADO/ADOMD and workbook connections before writing SQL.
  • When the user asks for a client-ready file, separate report construction from final publish cleanup.
  • When the user asks about Power BI semantic models, do not assume Excel Power Pivot function support is identical.

Output

After routing, state:

Layer: <Workbook/VBA | Power Query M | DAX | MDX/CUBE | ADO/SQL | Mixed>
Skill: <skill-name>
Why: <short reason>
Validation needed: <platform/tool>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.