Skip to content

microsoft/rayfin

v0.3.0MIT

Getting-started router skill for Rayfin - scaffold a new app with the Rayfin CLI, then use the version-locked skill installed in the project.

DocsWebsiteTemplatesIssuesReddit


Getting Started

npm create @microsoft/rayfin@latest

This CLI scaffolds a new Rayfin project with everything you need: data models, authentication, APIs, and a ready-to-deploy app.

Agent plugin

Install the Rayfin getting-started skill through your agent's native marketplace or extension manager:

Claude Code

/plugin marketplace add microsoft/rayfin
/plugin install rayfin@rayfin-skills

Grok Build automatically reads Claude Code marketplaces.

GitHub Copilot CLI

copilot plugin marketplace add microsoft/rayfin
copilot plugin install rayfin@rayfin-skills

Codex

codex plugin marketplace add microsoft/rayfin

After adding the marketplace, install Rayfin from the Plugins Directory.

Kimi Code

/plugins marketplace https://raw.githubusercontent.com/microsoft/rayfin/main/kimi-marketplace.json

Gemini CLI

gemini extensions install https://github.com/microsoft/rayfin

Alternatively, use the cross-agent plugins CLI:

npx plugins add microsoft/rayfin

The plugin supports Claude Code, Cursor, Codex, GitHub Copilot CLI, Grok Build, Kimi Code, Visual Studio Code agent plugins, and Gemini CLI.

What is Rayfin?

Rayfin is a fully managed Backend-as-a-Service (BaaS) platform that helps teams build and ship applications faster without building or operating backend infrastructure.

With Rayfin, you define your data model using TypeScript decorators, and the platform automatically provides and manages:

  • Database
  • Authentication
  • Data APIs
  • Storage
  • Hosting

So you can focus on building your application, not backend services.

npm create @microsoft/rayfin@latest    # scaffold a new project
npx rayfin up                          # deploy and run

Why Fabric?

Rayfin is built on Microsoft Fabric, which provides centralized data discovery, access control, and governance capabilities -- helping organizations manage data access, sharing, and compliance consistently across workloads.

This means your Rayfin apps inherit enterprise-grade security and governance out of the box, so you can build fast without compromising on compliance.

👉 Get started with Microsoft Fabric

Local Development (Experimental)

Rayfin supports a pure local development experience — no cloud resources required. This is currently experimental and great for trying out Rayfin or building offline.

👉 See the Todo Local Experimental template to get started.

Packages

PackageVersionDescription
@microsoft/create-rayfinnpmScaffold a Rayfin project with npm create @microsoft/rayfin@latest
@microsoft/rayfin-clinpmCLI for scaffolding, deploying, and managing Rayfin apps
@microsoft/rayfin-corenpmEntity decorators, schema definitions, and core types
@microsoft/rayfin-clientnpmMain client SDK for Rayfin services
@microsoft/rayfin-datanpmType-safe client library for Data API Builder endpoints
@microsoft/rayfin-authnpmAuthentication utilities for Rayfin SDK
@microsoft/rayfin-auth-provider-fabricnpmFabric brokered authentication provider for Rayfin SDK
@microsoft/rayfin-functionsnpmRayfin functions runtime
@microsoft/rayfin-storagenpmType-safe client library for Rayfin storage operations
@microsoft/rayfin-libnpmShared library utilities and HTTP client foundation
@microsoft/rayfin-tools-commonnpmShared utilities for Rayfin tools packages
@microsoft/rayfin-docsnpmRayfin docs indexing and search library
@microsoft/rayfin-guidenpmCross-cutting builder guides for the Rayfin platform
@microsoft/rayfin-mcpnpmRayfin Model Context Protocol tooling
@microsoft/fabric-embedded-hostnpmPostMessage bridge and embedded mode detection for Fabric iframes

Related Repositories

RepositoryDescription
microsoft/awesome-rayfinCommunity templates and resources gallery
microsoft/fabric-apps-analytic-templatesBuild data analytics apps based on your data in Fabric

Community

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos must follow the Microsoft Trademark and Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third parties' policies.

License

MIT