Ten skills
What a Fabric analytics app gives its coding agent
When a coding agent builds a Fabric app, data leads ask me about trust long before they ask about code. What did the agent know before it started? Why didn’t it invent a number when a query failed? And what should someone look at before the app reaches its users?
The answers sit in a folder most people never open: the kit that comes with Microsoft’s data app template and sits beside the app’s code. This post opens the kit a new project gets today, and ends with a review list and a way to add your own rules.

What ships beside the code
Create an app with the Rayfin command line and the data app template (its README calls it the Analytics Template), and the project arrives with four things written for the agent to read:
- An instructions file,
AGENTS.md. Ninety-eight lines the agent reads when a session starts: what the app is, how its code is organised, five rules it must not break, and what to do at which moment. - Ten skills in the project’s
.agents/skillsfolder, 29 markdown files in all. - A docs server the agent can search, which answers from the documentation shipped with the installed package versions.
- A chart check, a small script that runs each chart’s real query and draws the chart without a browser.
A skill is a folder with one SKILL.md file: a name and a short description of when to use it, then the instructions, with longer reference files beside it. Agent Skills is an open format that GitHub Copilot, Claude Code and several other coding agents can read; the template’s README is written for GitHub Copilot CLI.
Seven skills come with the template and three are written by the Rayfin command line, which can refresh them later. On 23 October 2026 a new project gets the template’s release 4.2.0 and Rayfin CLI 1.36.2.
| # | skill | its one job | how the agent gets it |
|---|---|---|---|
| 1 | schema-discovery | learns the model from the model, a little at a time, with DAX INFO functions | named in the instructions, first |
| 2 | app-design | sets a tone, then fonts, colours and spacing in one theme file, before any component | named: before any UI code |
| 3 | dax-authoring | writes DAX and runs every query before it goes into the app | found by its description |
| 4 | query-design | decides what DAX computes and what the page only displays | found |
| 5 | visuals | charts and the data grid, fed from one shared table with its formats | found |
| 6 | fabric-sdk | how the app queries the model while people use it | found |
| 7 | fabric-cli | registers the model the app and the agent query | found |
| 8 | rayfin | the Fabric Apps SDK itself: settings, sign-in, deploy | found; written by the CLI |
| 9 | rayfin-connectors | links to data you already have in Fabric | found; written by the CLI |
| 10 | rayfin-functions | server-side functions | found; written by the CLI |
fabric-cli is not Fabric’s own command line, fab: it covers a small tool in the template that records which model the app connects to. And Rayfin is not another product. It is the SDK and command line Fabric apps are built with.
Three fixed moments
The instructions file fixes three moments the agent may not skip: two skills and the chart check.
- Learn the model first. Before writing a query, the agent registers the model you named, and no other, then follows schema-discovery: a quick count of tables, columns, measures and relationships, then only the tables the request needs. It may not ask you to describe the schema or guess a column name, and every query runs before it goes into the app.
- Check every chart. After each query and its chart are written, the agent runs the chart check. It fails when the query returns no rows or the chart draws nothing, and the agent may not start on design until every chart passes.
- Design before pixels. Then it follows app-design: a tone in one word and one signature detail, then fonts, colours and corner radius as tokens in the theme file, and a loading, an empty and an error state for anything that waits on data. Hard-coded colours and pixel sizes are not allowed anywhere else.
Behind all three sits the first rule of the instructions file: never use mock, fake or hardcoded data. These are the moments a capable agent skips when it is in a hurry: guessing column names, drawing charts it never ran, styling as it goes.
Some checks are left to people. Release 4.2.0 removed the template’s browser check; its release notes say end-to-end validation of the chart specs replaced it. Microsoft’s template page still describes a Playwright browser check, so with today’s template only a person opens the app inside the Fabric portal. The kit also cannot tell whether a number is the right answer: a query that runs and returns rows passes, even with the wrong measure. And Microsoft asks you to test the deployed app with a user who has access to both the app and the model.
The rest are found by their descriptions
The other eight wait. At the start of a session, an agent that supports skills sees only each skill’s name and description, about 480 words for all ten. When a task matches a description, it opens that skill’s SKILL.md; when it needs a detail, it opens a reference file. Microsoft’s documentation for Agent Skills describes the same pattern in stages: advertise, load, then read resources as needed.
Skills also point at each other: query-design sends the agent on to dax-authoring and visuals. A request for a year-over-year chart should lead to dax-authoring and its time-intelligence reference, and leave the functions and connectors skills closed.
Release 4.0.0 had a 310-line instructions file with a whole workflow in it, read in every session; release 4.1.0 cut it to 91 lines and moved the detail into skills.
Because the description does the finding, read it as a trigger. The three skills the CLI writes end their descriptions with long lists of the commands and code names a request would mention; the template’s own skills use a sentence or two. A vague description makes a skill easy to miss.
Why the kit outweighs the starter code
Count the lines and the kit is larger than the code it comes with. In release 4.2.0 the ten skills hold 5,482 lines; the template’s own starter code, its TypeScript, CSS and DAX, is 2,260 lines. The agent gets more than two lines of guidance for every line of the app it starts from.

Only 391 of those lines are about the Fabric Apps SDK. The rest is analytics craft: 2,832 lines on reading the model and writing DAX (DAX alone is the largest skill, at 1,696) and 2,259 on building the app. Most of the kit is what a senior Power BI developer knows, written down where an agent can read it.
The agent does not read it all. Each session starts with the instructions file and ten descriptions; the rest arrives in pieces. Microsoft’s template page makes the case for the kit plainly: without it, an agent solves sign-in, DAX and visual design from scratch in every session, which can mean more failures, broken or empty visuals and unnecessary DAX queries. I would rather pay for a few hundred lines of reading than for a session spent on any of those.
These counts include every line of the release’s files, blank ones too; non-blank lines give 4,232 against 2,017.
The kit moves with every release
Ten is today’s count. Release 4.1.0, published at the end of September, had nine template skills, so a project created from it with today’s CLI has twelve. Two of those nine were a browser check (app-validation and playwright-cli, 1,836 lines between them). Release 4.2.0 removed both and kept the chart check that 4.1.0 had added.
The next change is already published. Releases 4.3.0 and later reach the model through a semantic model connector and rename several skills (schema-query, semantic-model-data, visual-interactivity). The CLI does not scaffold them yet, but Microsoft’s template page already describes the connector, and says to replace any other model client rather than keep two.
Read the kit your project has, because the documentation and this post can lag behind it. And remember that the template’s skills are copied into a project once, when it is created: the CLI can refresh its own three, while the template’s seven stay as they were until someone edits them.
Reviewing an app an agent built
When I review an agent-built app, I start from the kit, because it tells me what the agent was told. Its rules become my first checks, and Microsoft’s own Copilot walkthrough includes a review prompt along the same lines:
- Every number on screen comes from a DAX file in the project that the agent ran. Nothing typed in, nothing saved in the browser.
- The DAX uses the model’s measures and format strings, not raw columns summed again.
- There is one path to the model, whichever one the project uses.
- Loading, empty and error states exist, and the theme lives in one file.
- Someone other than the developer has opened the app inside the Fabric portal with their own access, because today’s template does not open it at all.
- The kit has only deliberate edits.
rayfin init ai-files statusreports which of the CLI’s skills were changed.
During the build, the agent queries the model through the developer’s own sign-in (the template asks for an Azure CLI login). Whatever the developer can see in a model, the agent can read. On a client’s tenant, decide that on purpose.
Adding your own
Teams ask me where their own rules should go. It depends on the kind of rule:
| what the agent should know | where it goes | why there |
|---|---|---|
| a rule for every task: brand, naming, what never to do | the instructions file | read every session, and the CLI never overwrites it |
| knowledge for one kind of task: your model’s glossary, your chart conventions, your review steps | a new skill, with a description that names the task | read only when that task comes up |
| long reference material: a measure catalogue, a style guide | a reference file inside that skill | opened only when a detail is needed |
| all of the above, in every new app | your own template | copied into each project when it is created |
Three cautions apply:
- Know whose file it is. The template’s seven skills are your files now; edit them as you like. Leave the CLI’s three alone, or tell the CLI to stop managing one first (
--disable), because a forced refresh writes over local edits. - Write the description as a trigger. Say what the skill does and when to use it, in the words a request would contain. A description can run to 1,024 characters, and the folder name must match the skill’s name.
- Test it. Ask for the task it covers and watch whether the agent opens the skill.
Of the four places, the team template saves the most work. Microsoft documents how to author one: a folder or Git repository with a small manifest, copied into each new project, with your instructions file kept exactly as you wrote it. Once a team has built two or three apps, its kit belongs there, and a browser check is a good first skill to put back.
What to take away
- A new project’s kit is an instructions file, ten skills, a docs server and a chart check. The skills alone hold more than twice the lines of the starter code.
- Three moments are fixed: learn the model first, check every chart, design before any UI. The other eight skills are found by their descriptions and read in pieces.
- The kit forces real data and a design pass. Since release 4.2.0 it no longer opens the app in a browser, and it cannot tell whether a number answers the business question.
- It changes with every template release, and a project keeps the version it was created with.
Before an agent builds your next Fabric app, settle these with the team:
- Which template release and CLI version are you on, and what does its kit contain? Open the skills folder and the instructions file.
- Who opens the app in the Fabric portal before it ships, now that the template does not?
- Who checks the DAX against the business question, since the kit only checks that queries run?
- What will the agent be able to see, given that it works with the developer’s sign-in?
- Which of your team’s rules belong in the instructions file, which in a skill, and who owns the team template?
- When the template releases again, who reads the change before new apps start from it?
This closes the series. FA-B-01, What a Fabric app is, put one item in your workspace. FA-B-02, Where the data comes from, chose its sources, and FA-B-03, Who sees what, settled who may read them. FA-B-04, From editor to workspace, followed a change from the editor to release, and FA-B-05, An agent builds it, handed that work to a coding agent. This post opened the kit the agent works from.
Fabric Apps is in preview and the template releases often, so details move. Everything here was checked on 23 October 2026 against Microsoft’s data app template page, its Copilot walkthrough, the CLI reference, the template authoring guide and the template’s public releases. The counts describe template release 4.2.0 with Rayfin CLI 1.36.2, the versions a new project got that day.