rayfin
Skill1 starsChanged 21 days agoMITView on GitHub
Use for Rayfin entities, permissions, queries, auth, client composition, configuration, CLI, or optional service setup in Field Services.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/frontiertour27-LTG291-turn-your-data-into-production-apps-with-rayfintheir own version, first seen Oct 17, 2026
- microsoft/frontiertour27-BRK390-building-ai-applications-with-microsoft-databases-and-fabrictheir own version, first seen Oct 17, 2026
- microsoft/rayfintheir own version, first seen Oct 13, 2026
- microsoft/aitour27-BRK390-building-ai-applications-with-microsoft-databases-and-fabrictheir own version, first seen Sep 25, 2026
- microsoft/trivia-challengetheir own version, first seen Sep 24, 2026
- microsoft/aitour27-LTG291-turn-your-data-into-production-apps-with-rayfintheir own version, first seen Aug 31, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- microsoft/rayfin★ 646same name
- microsoft/awesome-rayfin★ 116same name
- microsoft/trivia-challenge★ 7same name
- microsoft/aitour27-LTG291-turn-your-data-into-production-apps-with-rayfin★ 3same name
- microsoft/frontiertour27-LTG291-turn-your-data-into-production-apps-with-rayfin★ 3same name
- microsoft/aitour27-BRK390-building-ai-applications-with-microsoft-databases-and-fabric★ 1same name
- microsoft/frontiertour27-BRK390-building-ai-applications-with-microsoft-databases-and-fabric★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- src/field-services-app/AGENTS.mdAGENTS.md
- template/field-services-app/AGENTS.mdAGENTS.md
- lab-instructionsSkill
- lab-vm-updateSkill
- app-deploymentSkill
- app-validationSkill
- dax-authoringSkill
- query-designSkill
- rayfin-connectorsSkill
- rayfin-functionsSkill
- rayfinSkill
- rayfin-storageSkill
- app-deploymentSkill
- app-validationSkill
- dax-authoringSkill
- query-designSkill
- rayfin-connectorsSkill
- rayfin-functionsSkill
- rayfin-storageSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Run commands from this app's workspace root.
- Very specific: line 11
Read the owning installed package's package.json, resolve rayfinDocs.dir, and open index.md followed by the needed page.
- Very specific: line 27
Keep decorated entities in packages/data/src/, registered in schema.ts and exported from index.ts.
- Very specific: line 29
Keep current Fabric auth, protected hosting, redirect URIs, and the DEV-only dynamic broker import.
- Very specific: line 35
Read known-limitations.md before entity/query work.
- Distinctive: line 37
Use the typed data client, explicit selections, and bounded paginated collection reads.
“Common” is measured: kept by at least 6 in 10 of the 7 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.
Files
Rayfin in Field Services
Read the installed version first
Run commands from this app's workspace root. Use the installed npx rayfin CLI, not an unversioned package download. Rayfin additions use ^2.0.0; scaffolding commands use npm create @microsoft/rayfin@^2.0.0.
Read the owning installed package's package.json, resolve rayfinDocs.dir, and open index.md followed by the needed page. npm may put a dependency under its owning workspace's node_modules, not the root.
| Topic | Owning package / documentation |
| CLI, auth, deployment, limitations | @microsoft/rayfin-guide: known-limitations.md, auth/overview.md, app-backend/deploy.md |
| Decorators and policies | @microsoft/rayfin-core: decorators.md, permissions.md |
| Queries, mutations, paging | @microsoft/rayfin-data |
| Client composition | @microsoft/rayfin-client |
| Local Vite routing and CLI-brokered sign-in | @microsoft/rayfin-local-dev |
| Optional Functions | rayfin-functions and guide functions/index.md |
| Optional Storage | rayfin-storage and guide storage/index.md |
The CLI has no docs root; use the installed guide. Only if indexes do not identify a page, use npx rayfin docs search '<topic>' or the already configured Rayfin MCP. For a missing package, use version-matched package discovery; do not install unrelated packages just to search. If docs and CLI help disagree, inspect the installed implementation and report the discrepancy.
Preserve the app
- Keep decorated entities in
packages/data/src/, registered inschema.tsand exported fromindex.ts. Browser-safe contracts andFieldServiceSchemabelong inpackages/shared/src/index.ts; never import entity runtime classes into the browser. - Preserve
@field-services/*,ServiceContainer, and the synchronous factory inpackages/frontend/src/services/rayfin/RayfinClientService.ts. Extend its existingRayfinClient.createservices map, retainruntimeConfig,browserSession({ storage: true }), anddataService<FieldServiceSchema>(), and infer its type withReturnType. Do not replace it with a client subclass or an asynchronous global accessor. - Keep current Fabric auth, protected hosting, redirect URIs, and the DEV-only dynamic broker import. Leave
externalEntraExchange: trueand loopback-bound Vite intact. Public assets would not authorize public data. - Preserve styles in
packages/frontend/src/styles/theme.css, existing UI components, and seed/reset invariants in AGENTS.md. View switching is not role authorization. - Functions and Storage are disabled until requested. Do not enable services merely because their skills exist.
Model and query safely
Read known-limitations.md before entity/query work. Use TC39 Stage 3 decorators, not experimentalDecorators or emitDecoratorMetadata. Give every entity explicit permissions; omission is not a safe deny-all default. Review policies server-side, not through UI filters.
Use the typed data client, explicit selections, and bounded paginated collection reads. Re-read required fields after partial mutation responses; normalize wire dates at the service boundary. Follow the installed decorator options and reserved GraphQL names rather than guessing. Keep entity and shared contract changes consistent.
For existing Fabric sources use rayfin-connectors, not a new app-owned schema. Verify source identity and returned data before UI integration. Surface configuration/auth/permission failures explicitly, never as sample rows or endless loading.
Workflow
Install at the app root with one lockfile and dependencies owned by their consuming packages. Use app-validation and app-deployment. npm run dev is Fabric-backed and may apply remote settings/schema; it is not a read-only local preview. Never run destructive apply/reset commands without owner approval.
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
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.

