/copilot-managed-runtime:add-backendfrom copilot-managed-runtime
Scaffolds a Fabric backend using `ms app add backend --provider fabric`. Covers database entities, client integration, and Rayfin runtime setup for Copilot Managed Runtime apps.
Ships in copilot-managed-runtime. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Shared instructions: shared-instructions.md
Minimum versions for this workflow: @microsoft/cmr-cli 1.0.0 and
@microsoft/cmr-apps (SDK) 1.0.0. The CLI release includes the Fabric provider
and feature key and scaffolds compatible Rayfin ^2.0.0 dependencies. The SDK
uses Rayfin 2 service composition and explicit browser authentication through the
host-backed helper. See the CMR package baseline.
Required first: pass the Fabric feature gate.
Before scaffolding, run ms app add backend --help and confirm that it lists
fabric as the supported provider with a preview label. If not, report the CLI
compatibility gap and stop; do not fall back to the old provider spelling.
If rayfin/rayfin.yml exists, use the existing configuration. Otherwise, run:
ms app add backend --provider fabric --json
This creates the backend configuration, TypeScript configuration and rayfin/data/.
Keep the existing app layout and exclude rayfin/.temp/ from version control.
This prepares the app's backend definitions; it does not provision a database.
Fabric is the app backend, not an existing database to select or connect to.
The CLI provider and feature key are fabric, but this does not rename rayfin/, rayfin.yml,
@microsoft/rayfin-* packages or initializeRayfin(). Do not migrate those contracts.
Run from the app root before continuing so the declared dependencies and their
version-matched docs are available in node_modules:
npm install
Use the app's existing package manager and lockfile if it does not use npm.
Report installation or peer-dependency errors; do not force-install or downgrade
the app to bypass them. Add missing direct dependencies only as required by the
implementation described in the references.
Check the installed SDK version; a preserved pre-1.0.0 dependency is not compatible
with this workflow. Report it and update the app's declared SDK dependency to
^1.0.0 before reinstalling. Preserve newer compatible versions.
Read the installed package docs identified in these references, then follow them in order:
When invoked from /create-app, complete data modeling in Step 9 and return the
entity/client paths; that workflow handles UI implementation and checks in
Steps 10-11. Standalone use continues through both references.
Wait until Rayfin configuration is set up before starting the dev server.
Complete scaffolding, dependency installation and entity/client implementation,
and verify rayfin/rayfin.yml exists before running ms app dev or starting
Vite separately. Do not start a server in parallel with backend setup. If setup is
still running, wait for it; if it fails or configuration is missing, report the
error and finish setup before continuing. Apply this prerequisite when returning
to /create-app or /dev as well.
Use the normal app build and deploy workflow,
not a separate Rayfin provisioning workflow. Local configuration readiness is
not proof of cloud provisioning; let ms app dev / ms app deploy handle their
normal backend provisioning and report actual failures.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub microsoft/copilot-managed-runtime --plugin copilot-managed-runtime25 skills in this plugin
/add-azuredevopsAdds Azure DevOps by delegating to `/add-data-source` with `api-id=shared_visualstudioteamservices` and action mode. Use when adding Azure DevOps integration./add-data-sourceCanonical add flow for Copilot Managed Runtime. Use when adding any data source through `ms app add data-source` (with `--as table` or `--as action`), or when the user wants help discovering which connector / api-id to use./add-dataverseAdds Microsoft Dataverse through `/add-data-source` with `api-id=shared_commondataserviceforapps`. Use for existing table bindings or Dataverse actions.Other plugins' skills for the same job