[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699Y412TNZ8EABAE8TABG0D":3,"skill-same:01M699Y412TNZ8EABAE8TABG0D":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":17,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M699Y412TNZ8EABAE8TABG0D","fabric-data-agent","Fabric 数据智能体调用","Call a published Fabric data agent from a Universal App through a Rayfin function using application auth and MCP streamable HTTP. Use when the request names a Fabric data agent, data-agent MCP endpoint, or asks to chat with governed Fabric data through an app.","通过 Rayfin 函数，使用应用程序认证和 MCP 流式 HTTP，从 Universal App 调用已发布的 Fabric 数据智能体。当请求中提到 Fabric 数据智能体、数据智能体 MCP 端点，或要求通过应用与受治理的 Fabric 数据对话时使用。","microsoft\u002Frayfin","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699VK9NEV8GH0Y5JKT1G8XG",662,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-data-agent\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师","PROFESSION","适用职业",[31,32,33,34],"fabric data agent","MCP","auth","rayfin","2026-11-10 10:12:30",false,"---\nname: fabric-data-agent\ndescription: >\n  Call a published Fabric data agent from a Universal App through a Rayfin\n  function using application auth and MCP streamable HTTP.\n  Use when the request names a Fabric data agent, data-agent MCP endpoint, or\n  asks to chat with governed Fabric data through an app.\n---\n\n# Fabric data agent\n\nUse a Rayfin function so the Fabric access token remains server-side.\nRead `functions-capability` and apply its pack before implementing this\nworkflow.\n\n## Required input\n\nObtain the published data-agent MCP endpoint.\nDo not substitute the legacy OpenAI-style endpoint.\nThe published endpoint has this shape:\n\n```text\nhttps:\u002F\u002Fapi.fabric.microsoft.com\u002Fv1\u002Fmcp\u002Fworkspaces\u002F{workspaceId}\u002Fdataagents\u002F{dataAgentId}\u002Fagent\n```\n\nUse `ctx.Tokens.Fabric`, not an API key or service-principal secret.\n\n## Fabric access token\n\nImport the Fabric audience and context from the functions runtime:\n\n```ts\nimport {\n  AudienceType,\n  UserDataFunctions,\n  type RayfinContext,\n} from '@microsoft\u002Ffabric-user-data-functions';\n\nconst udf = new UserDataFunctions();\n\nudf.func(\n  'askFabricDataAgent',\n  async (\n    ctx: RayfinContext\u003CAppSchema, AudienceType.Fabric>,\n    question: string\n  ): Promise\u003CDataAgentResult> => {\n    const token: string = ctx.Tokens.Fabric;\n    \u002F\u002F Perform the MCP exchange and return only the bounded result.\n  },\n  [] \u002F\u002F the audience in the annotation is the declaration\n);\n```\n\nThe audience union on the context annotation is what registers the connection —\ndeclare it there, written literally as `AudienceType.Fabric`, and read the token\nas `ctx.Tokens.Fabric`.\nRequesting an audience the annotation does not declare is a compile error.\n`ctx.getToken(...)` is deprecated and flagged by\n`@typescript-eslint\u002Fno-deprecated`.\n\nSend the token only in the server-side `Authorization: Bearer \u003Ctoken>` header.\nNever return it to the browser or write it to application logs.\nThe deployed function accesses the data agent using the app identity's permissions.\n\n## MCP exchange\n\nThe function performs this sequence:\n\n1. Send `initialize`.\n2. Send `notifications\u002Finitialized`.\n3. Call `tools\u002Flist`.\n4. Discover the advertised tool and its question argument.\n5. Call `tools\u002Fcall`.\n\nTreat `Mcp-Session-Id` as optional.\nForward it when supplied, but do not fail initialization when it is absent.\n\nParse successful bodies according to their content type.\nSupport JSON and server-sent events for JSON-RPC responses.\nAccept a non-JSON acknowledgement such as plain-text `Accepted` without trying\nto parse it as JSON.\n\nUse\n[`references\u002Fmcp-streamable-http.md`](references\u002Fmcp-streamable-http.md)\nas the reusable transport reference.\nCopy and adapt the helper into the functions source only for a data-agent\nscenario.\nThe general functions pack deliberately does not seed MCP code into every app.\n\nBound the question and the answer returned to the browser.\nDo not log questions, answers, bearer tokens, provider bodies, or sensitive\nexceptions.\n\n## Long-running behavior\n\nThe function's outbound MCP deadline and the browser's wait for the function\ninvocation are independent.\nBoth must accommodate the operation.\n\nShow a visible progress state explaining that a data-agent response may take up\nto 10 minutes.\nThe current frontend SDK has a client-wide timeout rather than a\nper-invocation timeout.\nDo not make an extended timeout the default for every app operation.\nIf needed, isolate the workaround to a dedicated data-agent client and document\nthat the full platform execution duration remains to be verified.\n\nDo not return from the UDF and expect work to continue in the background.\nThe current MCP `tools\u002Fcall` is one awaited request.\nA start-and-poll design requires a durable operation ID from the downstream\nservice or an app-owned queue, worker, and result store.\n","# Fabric data agent\n\nUse a Rayfin function so the Fabric access token remains server-side.\nRead `functions-capability` and apply its pack before implementing this\nworkflow.\n\n## Required input\n\nObtain the published data-agent MCP endpoint.\nDo not substitute the legacy OpenAI-style endpoint.\nThe published endpoint has this shape:\n\n```text\nhttps:\u002F\u002Fapi.fabric.microsoft.com\u002Fv1\u002Fmcp\u002Fworkspaces\u002F{workspaceId}\u002Fdataagents\u002F{dataAgentId}\u002Fagent\n```\n\nUse `ctx.Tokens.Fabric`, not an API key or service-principal secret.\n\n## Fabric access token\n\nImport the Fabric audience and context from the functions runtime:\n\n```ts\nimport {\n  AudienceType,\n  UserDataFunctions,\n  type RayfinContext,\n} from '@microsoft\u002Ffabric-user-data-functions';\n\nconst udf = new UserDataFunctions();\n\nudf.func(\n  'askFabricDataAgent',\n  async (\n    ctx: RayfinContext\u003CAppSchema, AudienceType.Fabric>,\n    question: string\n  ): Promise\u003CDataAgentResult> => {\n    const token: string = ctx.Tokens.Fabric;\n    \u002F\u002F Perform the MCP exchange and return only the bounded result.\n  },\n  [] \u002F\u002F the audience in the annotation is the declaration\n);\n```\n\nThe audience union on the context annotation is what registers the connection —\ndeclare it there, written literally as `AudienceType.Fabric`, and read the token\nas `ctx.Tokens.Fabric`.\nRequesting an audience the annotation does not declare is a compile error.\n`ctx.getToken(...)` is deprecated and flagged by\n`@typescript-eslint\u002Fno-deprecated`.\n\nSend the token only in the server-side `Authorization: Bearer \u003Ctoken>` header.\nNever return it to the browser or write it to application logs.\nThe deployed function accesses the data agent using the app identity's permissions.\n\n## MCP exchange\n\nThe function performs this sequence:\n\n1. Send `initialize`.\n2. Send `notifications\u002Finitialized`.\n3. Call `tools\u002Flist`.\n4. Discover the advertised tool and its question argument.\n5. Call `tools\u002Fcall`.\n\nTreat `Mcp-Session-Id` as optional.\nForward it when supplied, but do not fail initialization when it is absent.\n\nParse successful bodies according to their content type.\nSupport JSON and server-sent events for JSON-RPC responses.\nAccept a non-JSON acknowledgement such as plain-text `Accepted` without trying\nto parse it as JSON.\n\nUse\n[`references\u002Fmcp-streamable-http.md`](references\u002Fmcp-streamable-http.md)\nas the reusable transport reference.\nCopy and adapt the helper into the functions source only for a data-agent\nscenario.\nThe general functions pack deliberately does not seed MCP code into every app.\n\nBound the question and the answer returned to the browser.\nDo not log questions, answers, bearer tokens, provider bodies, or sensitive\nexceptions.\n\n## Long-running behavior\n\nThe function's outbound MCP deadline and the browser's wait for the function\ninvocation are independent.\nBoth must accommodate the operation.\n\nShow a visible progress state explaining that a data-agent response may take up\nto 10 minutes.\nThe current frontend SDK has a client-wide timeout rather than a\nper-invocation timeout.\nDo not make an extended timeout the default for every app operation.\nIf needed, isolate the workaround to a dedicated data-agent client and document\nthat the full platform execution duration remains to be verified.\n\nDo not return from the UDF and expect work to continue in the background.\nThe current MCP `tools\u002Fcall` is one awaited request.\nA start-and-poll design requires a durable operation ID from the downstream\nservice or an app-owned queue, worker, and result store.\n",{"name":5,"description":7},"main","0979439a7a0806abd0ee48c2619b37f297ae1324","samples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-data-agent",77,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-12 01:21:10",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add microsoft\u002Frayfin --skill fabric-data-agent",{"tool":55,"command":56},"bunx","bunx skills add microsoft\u002Frayfin --skill fabric-data-agent",{"tool":58,"command":59},"pnpm","pnpm dlx skills add microsoft\u002Frayfin --skill fabric-data-agent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-data-agent\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fmcp-streamable-http.md","REFERENCE","参考文档",2644,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-data-agent\u002Freferences\u002Fmcp-streamable-http.md",[70,90,106,123,137,151],{"skillNo":71,"name":72,"nameZh":73,"description":74,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":76,"categories":77,"keywords":84,"publishedAt":35},"01M699YEY2QDVPKTZS3HR9AX84","rayfin-getting-started","Rayfin 应用创建与入门","Use when starting or creating a NEW Rayfin app, or when a Rayfin task comes up and you are not yet inside a Rayfin project. Gets you into a project with the Rayfin CLI, then hands off to the authoritative, version-locked in-project rayfin skill\u002Fdocs that own all in-project work. Triggers: build a Rayfin app, start a Rayfin project, create a new Rayfin app, create-rayfin, npm create @microsoft\u002Frayfin, rayfin init, scaffold rayfin, rayfin CLI, rayfin template, universal app, awesome-rayfin gallery, get started with Rayfin","在启动或创建新的 Rayfin 应用时使用，或在出现 Rayfin 任务但尚未进入 Rayfin 项目时使用。它会通过 Rayfin CLI 带你进入项目，然后移交给项目内权威的、版本锁定的 rayfin 技能\u002F文档，由它们负责所有项目内工作。触发词：构建 Rayfin 应用、启动 Rayfin 项目、创建新的 Rayfin 应用、create-rayfin、npm create @microsoft\u002Frayfin、rayfin init、scaffold rayfin、rayfin CLI、rayfin template、universal app、awesome-rayfin gallery、get started with Rayfin。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fskills\u002Frayfin-getting-started\u002FSKILL.md",[78,81],{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":82,"categoryName":83,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[85,34,86,87,10,88,89],"rayfin getting started","scaffold","init","docs","cli",{"skillNo":91,"name":92,"nameZh":93,"description":94,"descriptionZh":95,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":96,"categories":97,"keywords":102,"publishedAt":35},"01M699YCN4ZDW2AMDP4NVJ2QGC","visuals","数据可视化图表实现","Use when user wants to incorporate charts, graphs, data grid,  or other visual representations of data into their project. Use VegaVisual and DataGrid components to create these visuals,  utilizing the shared DataTable input, formatting, theme, and interactivity. Covers the onInteraction selection\u002Fclick events host apps consume, named multi-table data input for layered overlays and reference lines, and Vega-Lite native selections. Triggers: chart, graph, plot, dashboard, KPI, metric, trend, scorecard, data grid, visualize.","当用户想要在项目中加入图表、图形、数据网格或其他数据可视化表示时使用。使用 VegaVisual 和 DataGrid 组件创建这些可视化，利用共享的 DataTable 输入、格式设置、主题和交互性。涵盖宿主应用消费的 onInteraction 选择\u002F点击事件、用于分层叠加和参考线的命名多表数据输入，以及 Vega-Lite 原生选择。触发词：chart、graph、plot、dashboard、KPI、metric、trend、scorecard、data grid、visualize。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002FSKILL.md",[98,99],{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":100,"categoryName":101,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[92,103,104,105],"components","dashboard","visualize",{"skillNo":107,"name":108,"nameZh":109,"description":110,"descriptionZh":111,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":120,"publishedAt":35},"01M699YBEP146MJZJNN8YEBZ2G","schema-discovery","Power BI 语义模型探查","Explore Power BI semantic model schemas using DAX INFO functions. Progressive metadata discovery strategy, scope estimation, and narrowing techniques for tables, columns, measures, and relationships.","使用 DAX INFO 函数探索 Power BI 语义模型架构。包括渐进式元数据发现策略、范围估计，以及针对表、列、度量值和关系的缩小范围技巧。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fschema-discovery\u002FSKILL.md",[114,117],{"categoryNo":115,"categoryName":116,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":118,"categoryName":119,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[121,122],"schema discovery","dax",{"skillNo":124,"name":125,"nameZh":126,"description":127,"descriptionZh":128,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":133,"publishedAt":35},"01M699Y9E80WYFKD1S4MT4B1CS","query-design","Power BI 查询设计","Separates DAX data-fetching from TypeScript presentation. Guides when to use  DAX vs. TypeScript vs. Vega-Lite for aggregation, total rows, FORMAT(), SELECTCOLUMNS,  BLANK handling, filtering, multi-grain queries, cross-filtering and cross-highlight subset\u002Foverlay queries, and format strings.","将 DAX 数据获取与 TypeScript 呈现相分离。指导何时使用 DAX、TypeScript 或 Vega-Lite 来进行聚合、总计行、FORMAT()、SELECTCOLUMNS、BLANK 处理、筛选、多粒度查询、交叉筛选与交叉高亮的子集\u002F覆盖查询，以及格式字符串。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002FSKILL.md",[131,132],{"categoryNo":115,"categoryName":116,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":118,"categoryName":119,"taxonomyType":28,"taxonomyTypeDesc":29},[134,135,122,136],"query design","design","typescript",{"skillNo":138,"name":139,"nameZh":140,"description":141,"descriptionZh":142,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":149,"publishedAt":35},"01M699Y7CKZ55QSYFE827RRVJE","functions-capability","Universal App 函数能力开发","Apply and build the Universal App functions capability. Use for trusted server-side logic, secrets, external APIs, custom model endpoints, published Fabric data agents, webhooks, or privileged operations.","应用并构建 Universal App 的函数能力。用于可信的服务器端逻辑、密钥（secrets）、外部 API、自定义模型端点、已发布的 Fabric 数据智能体、Webhook 或特权操作。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffunctions-capability\u002FSKILL.md",[145,146],{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":147,"categoryName":148,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BT7QVANT4709358VEJK53E","代码实现",[150],"functions capability",{"skillNo":152,"name":153,"nameZh":154,"description":155,"descriptionZh":156,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":157,"categories":158,"keywords":161,"publishedAt":35},"01M699Y5R87YE620T78Z30KQSA","fabric-sdk","Fabric 语义模型 DAX 查询","How to query Fabric data from a running app through the Rayfin connectors client. Use getRayfinClient().connectors.\u003Cname>.executeQuery to run DAX against a semantic model, and toQueryResult to normalize the response.","如何通过运行中的应用里的 Rayfin connectors 客户端查询 Fabric 数据。使用 getRayfinClient().connectors.\u003Cname>.executeQuery 对语义模型执行 DAX 查询，并使用 toQueryResult 规范化响应。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-sdk\u002FSKILL.md",[159,160],{"categoryNo":115,"categoryName":116,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[162,163,122,164,34,165],"sdk","fabric sdk","rayfin connectors","connectors"]