[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699YCN4ZDW2AMDP4NVJ2QGC":3,"skill-same:01M699YCN4ZDW2AMDP4NVJ2QGC":106},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":17,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"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。","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\u002Fvisuals\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现","SCENARIO","使用场景",[5,31,32,33],"visualize","dashboard","components","2026-11-10 10:12:30",false,"---\nname: visuals\ndescription: >\n  Use when user wants to incorporate charts, graphs, data grid, \n  or other visual representations of data into their project.\n  Use VegaVisual and DataGrid components to create these visuals, \n  utilizing the shared DataTable input, formatting, theme, and interactivity.\n  Covers the onInteraction selection\u002Fclick events host apps consume, named\n  multi-table data input for layered overlays and reference lines, and\n  Vega-Lite native selections. Triggers: chart, graph, plot, dashboard, KPI,\n  metric, trend, scorecard, data grid, visualize.\n---\n\n# Visuals\n\n## Turn it on first\n\n```sh\nnpm run pack:add -- visuals\n```\n\nThat installs `@microsoft\u002Ffabric-visuals`, `@microsoft\u002Ffabric-visuals-core` and\n`@microsoft\u002Ffabric-datagrid`, copies in `toDataTable`, and wires\n`validate:visual`. Run it before writing any component that imports them — the\nbase app does not carry the visual packages, so the imports below do not resolve\nuntil it is applied.\n\nRe-applying is safe: an existing file is preserved, not overwritten.\n\nCharting is all this pack does.\nIf the numbers come from a Power BI semantic model, add `analytics` as well and\nread [`analytics`](..\u002Fanalytics\u002FSKILL.md) — it owns the connection, the queries\nand the semantic-model connector.\nCharts over sample data or over records the app owns need no analytics pack.\n\n## Types of visuals\n\nThere are 2 different types of visuals that can be used in a project:\n1. Charts and Graphs: These are used to represent data in a visual format, such as bar charts, line charts, pie charts, etc. These are built using vega-lite, see [references\u002Fvega-lite-visual.md](references\u002Fvega-lite-visual.md) for more details.\n2. Data Grids: These are used to display tabular data in a structured format, allowing for sorting, filtering, and pagination. See [references\u002Fdata-grid-visual.md](references\u002Fdata-grid-visual.md) for more details.\n\n## Packages & Imports\n\nThe visual components are provided by three packages. **Always use these package imports when creating visuals.**\n\n| Package | Primary exports | Example import |\n|---|---|---|\n| `@microsoft\u002Ffabric-visuals` | `VegaVisual`, types: `VisualizationSpec`, `VegaLiteConfig`, `VegaVisualProps` | `import { VegaVisual } from \"@microsoft\u002Ffabric-visuals\"` |\n| `@microsoft\u002Ffabric-datagrid` | `DataGrid`, types: `GridColumnDef`, `Row`, `CellValue`, `DataGridProps`, `DataGridTheme`, `SortConfig` | `import { DataGrid } from \"@microsoft\u002Ffabric-datagrid\"` |\n| `@microsoft\u002Ffabric-visuals-core` | `isDataTable`, `convertDataTableToRows`, design tokens | `import { isDataTable } from \"@microsoft\u002Ffabric-visuals-core\"` |\n\nThe `DataTable` type (used by both components) is defined in `@microsoft\u002Ffabric-visuals-core` and re-exported by the visual packages' type definitions.\n\n## Data Format\n\nThe chart and data grid components share a unified `data` prop of type `DataTable` (from `@microsoft\u002Ffabric-visuals-core`). This structured format carries column metadata (`displayName`, `format`, `semanticType`) that the components use for axis titles, grid headers, number formatting, and tooltips.\n\n**Using `DataTable`**: Pass a `DataTable` via the `data` prop. The visual uses its column metadata for formatting, axis titles, and tooltips.\n\n**From a query result**: the pack copies in `toDataTable()` at\n`packages\u002Ffrontend\u002Fsrc\u002Flib\u002Fto-data-table.ts`, which merges a query's table with the\n`columnMetadata` its factory exports to produce a `DataTable`. Its parameter is\n`QueryTableLike` — `{ columns: { name }[], rows }` — which the Fabric SDK's\n`QueryTable` satisfies, so it accepts a semantic-model result without this pack\ndepending on the `analytics` one.\n\n**Inline spec data — Vega-Lite only**: the `data` prop takes a `DataTable`\nwhatever the rows are, query results and static rows alike, and for `DataGrid` it\nis the only option. A Vega-Lite spec additionally accepts its own\n`data: { values: [...] }`, with the `data` prop omitted. That second form\ndiscards the `DataTable` metadata — `displayName`, `format` and `semanticType` —\nso axis titles and number formatting have to be part of the Vega-Lite spec; prefer the prop\nwhenever that metadata exists, which is normally the case for anything a query\nreturned.\n\n**Multiple tables in one visual**: the `data` prop also accepts a `Record\u003Cstring, DataTable>` for specs that bind separate layers to more than one dataset by name such as layered overlays, reference lines, and axis spines. See [references\u002Fmulti-data-input.md](references\u002Fmulti-data-input.md).\n\n```tsx\nimport { VegaVisual, useCssTheme } from \"@microsoft\u002Ffabric-visuals\";\nimport type { VisualizationSpec } from \"@microsoft\u002Ffabric-visuals\";\nimport { DataGrid } from \"@microsoft\u002Ffabric-datagrid\";\nimport type { DataTable } from \"@microsoft\u002Ffabric-visuals-core\";\n\n\u002F\u002F useCssTheme() reads --color-* vars from the page and updates automatically\n\u002F\u002F when the theme changes (e.g. dark-mode toggle adds\u002Fremoves the .dark class).\nconst theme = useCssTheme();\n\n\u002F\u002F Charts — pass a DataTable and Vega-Lite spec\n\u003CVegaVisual spec={vegaLiteSpec} data={dataTable} theme={theme} \u002F>\n\n\u002F\u002F Grids — displayName becomes column headers, format applies to cells\n\u003CDataGrid data={dataTable} theme={theme} \u002F>\n\n\u002F\u002F Inline spec data — Vega-Lite only, no data prop needed\nconst inlineSpec: VisualizationSpec = {\n  data: { values: [{ x: 1, y: 2 }, { x: 3, y: 4 }] },\n  mark: \"point\",\n  encoding: { ... },\n};\n\n\u003CVegaVisual spec={inlineSpec} theme={theme} \u002F>\n```\n\n**Type every spec you write**, with `VisualizationSpec` from\n`@microsoft\u002Ffabric-visuals` — on the constant, or as `useMemo\u003CVisualizationSpec>`\nwhen it is built per render. Without the annotation the object widens (`type:\n\"nominal\"` becomes `string`) and the compiler stops checking the parts that\nmatter. With it, build the spec however the chart needs — from a filter\nselection, a theme token, whatever — and `npm run typecheck` still checks the\nmark, encoding and field shapes.\n\n`validate:visual` adds the published Vega-Lite schema on top, catching value\nranges the types do not (`opacity: 5`), plus a spec that resolves to no mark at\nall. It can only read a spec whose values are literals, though; one assembled\nfrom variables is reported with `status: \"incomplete\"` and `ok: false`, not as a\ncompleted schema-validation pass.\nThe JSON report also carries `coverage: \"none\" | \"partial\" | \"complete\"`.\nWhen runtime or computed specs exist and zero schemas were checked, the normal\n`npm run validate:visual` gate exits nonzero.\nUse `npm run validate:visual:preview` only for that narrow zero-static-spec case\nto proceed to browser validation; actual failures still exit nonzero.\nWhen at least one schema was checked but runtime or computed specs remain,\nthe report stays `status: \"incomplete\"` and `ok: false` but exits zero without\nthe preview flag.\nThat partial result still requires browser validation and is not a completed\nvisual-validation gate.\nWhere a spec is static anyway, leave it literal or put it in a `.json` under\n`packages\u002Ffrontend\u002Fsrc\u002Fqueries\u002F` to get the schema check.\nWhere it genuinely varies at runtime, record the rendered browser check required\nby [`app-validation`](..\u002Fapp-validation\u002FSKILL.md) before calling the visual\ncomplete.\nMissing, unreadable, invalid, or uncompilable Vega-Lite\u002FAJV tooling is a failed\ninstall, not incomplete coverage.\nRestore the visuals pack dependencies; the preview flag never bypasses it.\n\nFor the `DataTable` schema and `ColumnDef` fields, see [references\u002Fdata-table.md](references\u002Fdata-table.md).\n\n## Formatting & Theme\n\n- **Formatting rules**: Number formatting, color palettes, chart-specific encoding rules, highlighting guidelines, and a default theme. See [references\u002Fformatting.md](references\u002Fformatting.md).\n\n## Custom visuals\n\nAlways use the above mentioned ways to create visual when possible. If the user's request doesn't allow creation using the above methods, ask the user if they are ok with using another library for creating the visual. If they are ok with it, use the library to create the visual. If they are not ok with it, then build that visual from scratch using HTML, CSS, and JS\u002FTS. Make sure to ask the user for any specific requirements they have for the visual, such as colors, labels, etc.\n\n## Container Layout\n\n- **`DataGrid`** — the direct parent must apply `overflow-auto` so content remains scrollable when it exceeds the container bounds (many rows).\n\n## Interactivity\n\nBoth `VegaVisual` and `DataGrid` expose an `onInteraction` prop that emits structured, predicate-based events when the user clicks a data point or row.\n\n**Always use the `onInteraction` prop** on `VegaVisual` and `DataGrid` to surface user selections. The component only emits the selection; the host app decides what it does — e.g. coordinating other visuals or queries on the page.\n\n> A visual renders a layered subset by binding two named datasets to two layers (`data={{ all, highlighted }}`) — see [references\u002Fmulti-data-input.md](references\u002Fmulti-data-input.md). The component renders whatever tables it is handed.\n\n```tsx\nimport type { InteractionEvent } from \"@microsoft\u002Ffabric-visuals-core\";\n\nfunction handleInteraction(source: string, events: InteractionEvent[]) {\n    for (const event of events) {\n        if (event.action === \"select\") {\n            \u002F\u002F event.selections describes the clicked data as predicates\n        } else if (event.action === \"clear\") {\n            \u002F\u002F user deselected (re-clicked same item or clicked empty space)\n        }\n    }\n}\n\n\u003CVegaVisual spec={spec} data={dataTable} theme={theme}\n    onInteraction={(events) => handleInteraction(\"salesChart\", events)} \u002F>\n\u003CDataGrid data={dataTable} theme={theme}\n    onInteraction={(events) => handleInteraction(\"detailTable\", events)} \u002F>\n```\n\n**Key concepts**:\n- Clicking a different data point emits a new `select` (replaces the prior selection — no preceding `clear`).\n- Re-clicking the same item or background space in a vega-lite visual emits `clear`.\n- Predicates include all fields from the datum; consumers filter to the ones that are relevant to them.\n","# Visuals\n\n## Turn it on first\n\n```sh\nnpm run pack:add -- visuals\n```\n\nThat installs `@microsoft\u002Ffabric-visuals`, `@microsoft\u002Ffabric-visuals-core` and\n`@microsoft\u002Ffabric-datagrid`, copies in `toDataTable`, and wires\n`validate:visual`. Run it before writing any component that imports them — the\nbase app does not carry the visual packages, so the imports below do not resolve\nuntil it is applied.\n\nRe-applying is safe: an existing file is preserved, not overwritten.\n\nCharting is all this pack does.\nIf the numbers come from a Power BI semantic model, add `analytics` as well and\nread [`analytics`](..\u002Fanalytics\u002FSKILL.md) — it owns the connection, the queries\nand the semantic-model connector.\nCharts over sample data or over records the app owns need no analytics pack.\n\n## Types of visuals\n\nThere are 2 different types of visuals that can be used in a project:\n1. Charts and Graphs: These are used to represent data in a visual format, such as bar charts, line charts, pie charts, etc. These are built using vega-lite, see [references\u002Fvega-lite-visual.md](references\u002Fvega-lite-visual.md) for more details.\n2. Data Grids: These are used to display tabular data in a structured format, allowing for sorting, filtering, and pagination. See [references\u002Fdata-grid-visual.md](references\u002Fdata-grid-visual.md) for more details.\n\n## Packages & Imports\n\nThe visual components are provided by three packages. **Always use these package imports when creating visuals.**\n\n| Package | Primary exports | Example import |\n|---|---|---|\n| `@microsoft\u002Ffabric-visuals` | `VegaVisual`, types: `VisualizationSpec`, `VegaLiteConfig`, `VegaVisualProps` | `import { VegaVisual } from \"@microsoft\u002Ffabric-visuals\"` |\n| `@microsoft\u002Ffabric-datagrid` | `DataGrid`, types: `GridColumnDef`, `Row`, `CellValue`, `DataGridProps`, `DataGridTheme`, `SortConfig` | `import { DataGrid } from \"@microsoft\u002Ffabric-datagrid\"` |\n| `@microsoft\u002Ffabric-visuals-core` | `isDataTable`, `convertDataTableToRows`, design tokens | `import { isDataTable } from \"@microsoft\u002Ffabric-visuals-core\"` |\n\nThe `DataTable` type (used by both components) is defined in `@microsoft\u002Ffabric-visuals-core` and re-exported by the visual packages' type definitions.\n\n## Data Format\n\nThe chart and data grid components share a unified `data` prop of type `DataTable` (from `@microsoft\u002Ffabric-visuals-core`). This structured format carries column metadata (`displayName`, `format`, `semanticType`) that the components use for axis titles, grid headers, number formatting, and tooltips.\n\n**Using `DataTable`**: Pass a `DataTable` via the `data` prop. The visual uses its column metadata for formatting, axis titles, and tooltips.\n\n**From a query result**: the pack copies in `toDataTable()` at\n`packages\u002Ffrontend\u002Fsrc\u002Flib\u002Fto-data-table.ts`, which merges a query's table with the\n`columnMetadata` its factory exports to produce a `DataTable`. Its parameter is\n`QueryTableLike` — `{ columns: { name }[], rows }` — which the Fabric SDK's\n`QueryTable` satisfies, so it accepts a semantic-model result without this pack\ndepending on the `analytics` one.\n\n**Inline spec data — Vega-Lite only**: the `data` prop takes a `DataTable`\nwhatever the rows are, query results and static rows alike, and for `DataGrid` it\nis the only option. A Vega-Lite spec additionally accepts its own\n`data: { values: [...] }`, with the `data` prop omitted. That second form\ndiscards the `DataTable` metadata — `displayName`, `format` and `semanticType` —\nso axis titles and number formatting have to be part of the Vega-Lite spec; prefer the prop\nwhenever that metadata exists, which is normally the case for anything a query\nreturned.\n\n**Multiple tables in one visual**: the `data` prop also accepts a `Record\u003Cstring, DataTable>` for specs that bind separate layers to more than one dataset by name such as layered overlays, reference lines, and axis spines. See [references\u002Fmulti-data-input.md](references\u002Fmulti-data-input.md).\n\n```tsx\nimport { VegaVisual, useCssTheme } from \"@microsoft\u002Ffabric-visuals\";\nimport type { VisualizationSpec } from \"@microsoft\u002Ffabric-visuals\";\nimport { DataGrid } from \"@microsoft\u002Ffabric-datagrid\";\nimport type { DataTable } from \"@microsoft\u002Ffabric-visuals-core\";\n\n\u002F\u002F useCssTheme() reads --color-* vars from the page and updates automatically\n\u002F\u002F when the theme changes (e.g. dark-mode toggle adds\u002Fremoves the .dark class).\nconst theme = useCssTheme();\n\n\u002F\u002F Charts — pass a DataTable and Vega-Lite spec\n\u003CVegaVisual spec={vegaLiteSpec} data={dataTable} theme={theme} \u002F>\n\n\u002F\u002F Grids — displayName becomes column headers, format applies to cells\n\u003CDataGrid data={dataTable} theme={theme} \u002F>\n\n\u002F\u002F Inline spec data — Vega-Lite only, no data prop needed\nconst inlineSpec: VisualizationSpec = {\n  data: { values: [{ x: 1, y: 2 }, { x: 3, y: 4 }] },\n  mark: \"point\",\n  encoding: { ... },\n};\n\n\u003CVegaVisual spec={inlineSpec} theme={theme} \u002F>\n```\n\n**Type every spec you write**, with `VisualizationSpec` from\n`@microsoft\u002Ffabric-visuals` — on the constant, or as `useMemo\u003CVisualizationSpec>`\nwhen it is built per render. Without the annotation the object widens (`type:\n\"nominal\"` becomes `string`) and the compiler stops checking the parts that\nmatter. With it, build the spec however the chart needs — from a filter\nselection, a theme token, whatever — and `npm run typecheck` still checks the\nmark, encoding and field shapes.\n\n`validate:visual` adds the published Vega-Lite schema on top, catching value\nranges the types do not (`opacity: 5`), plus a spec that resolves to no mark at\nall. It can only read a spec whose values are literals, though; one assembled\nfrom variables is reported with `status: \"incomplete\"` and `ok: false`, not as a\ncompleted schema-validation pass.\nThe JSON report also carries `coverage: \"none\" | \"partial\" | \"complete\"`.\nWhen runtime or computed specs exist and zero schemas were checked, the normal\n`npm run validate:visual` gate exits nonzero.\nUse `npm run validate:visual:preview` only for that narrow zero-static-spec case\nto proceed to browser validation; actual failures still exit nonzero.\nWhen at least one schema was checked but runtime or computed specs remain,\nthe report stays `status: \"incomplete\"` and `ok: false` but exits zero without\nthe preview flag.\nThat partial result still requires browser validation and is not a completed\nvisual-validation gate.\nWhere a spec is static anyway, leave it literal or put it in a `.json` under\n`packages\u002Ffrontend\u002Fsrc\u002Fqueries\u002F` to get the schema check.\nWhere it genuinely varies at runtime, record the rendered browser check required\nby [`app-validation`](..\u002Fapp-validation\u002FSKILL.md) before calling the visual\ncomplete.\nMissing, unreadable, invalid, or uncompilable Vega-Lite\u002FAJV tooling is a failed\ninstall, not incomplete coverage.\nRestore the visuals pack dependencies; the preview flag never bypasses it.\n\nFor the `DataTable` schema and `ColumnDef` fields, see [references\u002Fdata-table.md](references\u002Fdata-table.md).\n\n## Formatting & Theme\n\n- **Formatting rules**: Number formatting, color palettes, chart-specific encoding rules, highlighting guidelines, and a default theme. See [references\u002Fformatting.md](references\u002Fformatting.md).\n\n## Custom visuals\n\nAlways use the above mentioned ways to create visual when possible. If the user's request doesn't allow creation using the above methods, ask the user if they are ok with using another library for creating the visual. If they are ok with it, use the library to create the visual. If they are not ok with it, then build that visual from scratch using HTML, CSS, and JS\u002FTS. Make sure to ask the user for any specific requirements they have for the visual, such as colors, labels, etc.\n\n## Container Layout\n\n- **`DataGrid`** — the direct parent must apply `overflow-auto` so content remains scrollable when it exceeds the container bounds (many rows).\n\n## Interactivity\n\nBoth `VegaVisual` and `DataGrid` expose an `onInteraction` prop that emits structured, predicate-based events when the user clicks a data point or row.\n\n**Always use the `onInteraction` prop** on `VegaVisual` and `DataGrid` to surface user selections. The component only emits the selection; the host app decides what it does — e.g. coordinating other visuals or queries on the page.\n\n> A visual renders a layered subset by binding two named datasets to two layers (`data={{ all, highlighted }}`) — see [references\u002Fmulti-data-input.md](references\u002Fmulti-data-input.md). The component renders whatever tables it is handed.\n\n```tsx\nimport type { InteractionEvent } from \"@microsoft\u002Ffabric-visuals-core\";\n\nfunction handleInteraction(source: string, events: InteractionEvent[]) {\n    for (const event of events) {\n        if (event.action === \"select\") {\n            \u002F\u002F event.selections describes the clicked data as predicates\n        } else if (event.action === \"clear\") {\n            \u002F\u002F user deselected (re-clicked same item or clicked empty space)\n        }\n    }\n}\n\n\u003CVegaVisual spec={spec} data={dataTable} theme={theme}\n    onInteraction={(events) => handleInteraction(\"salesChart\", events)} \u002F>\n\u003CDataGrid data={dataTable} theme={theme}\n    onInteraction={(events) => handleInteraction(\"detailTable\", events)} \u002F>\n```\n\n**Key concepts**:\n- Clicking a different data point emits a new `select` (replaces the prior selection — no preceding `clear`).\n- Re-clicking the same item or background space in a vega-lite visual emits `clear`.\n- Predicates include all fields from the datum; consumers filter to the ones that are relevant to them.\n",{"name":5,"description":7},"main","0979439a7a0806abd0ee48c2619b37f297ae1324","samples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals",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":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add microsoft\u002Frayfin --skill visuals",{"tool":54,"command":55},"bunx","bunx skills add microsoft\u002Frayfin --skill visuals",{"tool":57,"command":58},"pnpm","pnpm dlx skills add microsoft\u002Frayfin --skill visuals","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002FSKILL.md",true,[62,68,72,76,80,86,90,94,98,102],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"kit\u002Flib\u002Fto-data-table.spec.ts","SCRIPT","脚本",2889,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Fkit\u002Flib\u002Fto-data-table.spec.ts",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"kit\u002Flib\u002Fto-data-table.ts",2500,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Fkit\u002Flib\u002Fto-data-table.ts",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"kit\u002Fscripts\u002Fvalidate-visual.mjs",57272,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Fkit\u002Fscripts\u002Fvalidate-visual.mjs",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"kit\u002Fscripts\u002Fvalidate.test.mjs",107780,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Fkit\u002Fscripts\u002Fvalidate.test.mjs",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"pack.json","REFERENCE","参考文档",1235,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Fpack.json",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fdata-grid-visual.md",5798,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Freferences\u002Fdata-grid-visual.md",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fdata-table.md",3922,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Freferences\u002Fdata-table.md",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fformatting.md",6465,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Freferences\u002Fformatting.md",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fmulti-data-input.md",5640,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Freferences\u002Fmulti-data-input.md",{"path":103,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fvega-lite-visual.md",3379,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002Freferences\u002Fvega-lite-visual.md",[107,126,143,157,171,188],{"skillNo":108,"name":109,"nameZh":110,"description":111,"descriptionZh":112,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":119,"publishedAt":34},"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",[115,116],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":117,"categoryName":118,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[120,121,122,123,10,124,125],"rayfin getting started","rayfin","scaffold","init","docs","cli",{"skillNo":127,"name":128,"nameZh":129,"description":130,"descriptionZh":131,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":132,"categories":133,"keywords":140,"publishedAt":34},"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",[134,137],{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":138,"categoryName":139,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[141,142],"schema discovery","dax",{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":153,"publishedAt":34},"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",[151,152],{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":138,"categoryName":139,"taxonomyType":23,"taxonomyTypeDesc":24},[154,155,156,142],"design","query design","typescript",{"skillNo":158,"name":159,"nameZh":160,"description":161,"descriptionZh":162,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":163,"categories":164,"keywords":169,"publishedAt":34},"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",[165,166],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":167,"categoryName":168,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[170],"functions capability",{"skillNo":172,"name":173,"nameZh":174,"description":175,"descriptionZh":176,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":177,"categories":178,"keywords":183,"publishedAt":34},"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",[179,180],{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":181,"categoryName":182,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师",[184,185,186,121,187,142],"sdk","fabric sdk","connectors","rayfin connectors",{"skillNo":189,"name":190,"nameZh":191,"description":192,"descriptionZh":193,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":194,"categories":195,"keywords":200,"publishedAt":34},"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 数据对话时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-data-agent\u002FSKILL.md",[196,199],{"categoryNo":197,"categoryName":198,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",{"categoryNo":181,"categoryName":182,"taxonomyType":23,"taxonomyTypeDesc":24},[201,202,121,203],"fabric data agent","MCP","auth"]