agentleFS
MicrosoftKnown publishermicrosoft/ignite26-LAB690/src/field-services-app/.agents/skills/rayfin-connectors/SKILL.md

rayfin-connectors

Skill1 starsChanged 21 days agoMITView on GitHub

Use for discovering, adding, querying, authorizing, or troubleshooting existing Fabric sources, especially semantic-model dashboards.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read rayfin first. App-owned records stay in packages/data/src/.

    line 7
  2. Very specific:

    Read installed guide cli/connectors/index.md, then npx rayfin connector types --json for available types, operations, auth, and package …

    line 11
  3. Very specific:

    Read the matching category guide only: cli/connectors/category-a-entities.md routes SQL-backed entity work to the version-matched …

    line 13
  4. Distinctive:

    Read dax-authoring and query-design.

    line 21

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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

Existing Fabric sources

Read rayfin first. App-owned records stay in packages/data/src/; connectors describe existing sources and must not replace the Field Services data service.

Discover and prove the source

  1. Read installed guide cli/connectors/index.md, then npx rayfin connector types --json for available types, operations, auth, and package versions. Do not infer platform availability from package presence. Held/unsupported types are blockers, not permission to hand-author a bypass.
  2. Resolve the user's actual workspace/item with npx rayfin connector search and confirm ambiguous matches. Verify schema, measures, relationships, and permissions before writing queries. Never fabricate IDs or silently switch sources.
  3. Read the matching category guide only: cli/connectors/category-a-entities.md routes SQL-backed entity work to the version-matched @microsoft/rayfin-connector-fabric-graphql docs; cli/connectors/category-b-function-bridge.md covers semantic-model operations. The Lakehouse SQL analytics connector reads SQL-visible data, not arbitrary files.
  4. Follow cli/connectors/add.md and the installed command's help. connector add declares configuration and generates files but does not install dependencies. Install its version-matched packages from the app root into their consuming workspace, retaining this app's ^2.0.0 policy and root lockfile. Resolve incompatible catalog requirements explicitly rather than mixing releases.
  5. Narrow operations to the requirement. Keep connectors: as an array, exact aliases consistent, and generated files intact. For SQL entities review server permissions and register runtime classes as required by the category guide; these are distinct from browser-safe app-owned contracts.

Compose, do not replace

In the existing RayfinClientService.ts factory, add connectors: connectorsService<AppConnectorsSchema>({ configs: connectorConfigs, runtime: connectorRuntimes }) from @microsoft/rayfin-connectors. Preserve auth, runtime configuration, and data. For semantic models import fabricSemanticModel from @microsoft/rayfin-connector-fabric-semanticmodel and register its factory result under the exact alias in connectorRuntimes; this decodes the response. Follow generated contracts and installed SDK docs for maps and imports.

Read dax-authoring and query-design. Store query inputs in a reviewed file inside the app root:

{ "query": "EVALUATE ROW(\"Probe\", 1)", "resultSetRowCountLimit": 1 }

Invoke with npx rayfin connector invoke <alias> executeQuery --file <probe.query.json>. --file accepts JSON, not raw DAX. Check both invocation and normalized result status; a resolved call is not necessarily success. Inspect columns, types, values, row count, and any spilled output file. A CLI output preview is not a query row limit.

The semantic-model CLI default uses the developer's direct Power BI identity and can run before deployment. The browser uses the deployed function bridge and caller authorization; CLI success does not prove that route. Other connector types generally require deployment first. Follow app-deployment before remote writes, then execute the same bounded query in the signed-in deployed app. Surface Build-permission, consent, tenant-enablement, and query failures; never mask them with sample data. Do not assume rayfin dev alone wires deployed connectors.

Fabric IQ/chat and Data Agent integrations are separate capabilities, outside this lab refresh. Do not substitute them for a semantic-model query or each other.

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.