[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699W9NF3M9NQH7D74F5H8ZN":3,"skill-same:01M699W9NF3M9NQH7D74F5H8ZN":67},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":17,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M699W9NF3M9NQH7D74F5H8ZN","rayfin-cli-ux","Rayfin CLI 交互体验设计","Mandatory for Rayfin CLI UX work. Load before designing, speccing, implementing, or reviewing CLI commands, flags, output, or errors.","Rayfin CLI 用户体验（UX）工作的必用技能。在设计、规格制定、实现或审查 CLI 命令、标志、输出或错误信息之前加载。","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\u002F.github\u002Fskills\u002Frayfin-cli-ux\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现","SCENARIO","使用场景",[31,32],"cli","rayfin cli ux","2026-11-10 10:12:30",false,"---\nname: rayfin-cli-ux\ndescription: >-\n  Mandatory for Rayfin CLI UX work. Load before designing, speccing,\n  implementing, or reviewing CLI commands, flags, output, or errors.\n---\n\n# Rayfin CLI UX Guidelines\n\nStandards for consistent, high-quality CLI experiences in `@microsoft\u002Frayfin-cli`.\n\n**Full reference**: [references\u002Fcli-ux-guidelines.md](.\u002Freferences\u002Fcli-ux-guidelines.md) — load on demand for depth, examples, and rationale.\n\n## Architecture Status\n\nThese rules define *what* a good CLI experience must deliver — they stay in force regardless of wiring.\n*How* output is wired is mid-migration to the workflow + adapter architecture ([`docs\u002Frfc\u002Frayfin-tools-architecture.md`](..\u002F..\u002F..\u002Fdocs\u002Frfc\u002Frayfin-tools-architecture.md), tracked in [`rayfin-tools-architecture-migration.md`](..\u002F..\u002F..\u002Fdocs\u002Frfc\u002Frayfin-tools-architecture-migration.md)).\n\n- **New or migrated commands** use a `common\u002Fsrc\u002Fworkflows\u002F\u003Cname>\u002F` workflow returning a typed `Result\u003CT>`, with a thin Layer-1 Commander wrapper rendering via `Logger`\u002F`Progress` adapters selected from `--output \u003Cmode>`. Do **not** import `output-mode.ts`, branch on raw `--json`\u002F`--verbose`, or use `CliHandledError`\u002F`process.exit`.\n- **Legacy (un-migrated) commands** use `output-mode.ts` (`modeLog`\u002F`emitJson`\u002F`resolveOutputMode`). This machinery is scheduled for removal in Phase 6.\n- When this skill and the architecture RFC disagree, the RFC wins.\n\n## Constitutional Rules\n\nNon-negotiable for every CLI command. Each rule has a stable ID (R1–R12) for cross-referencing.\n\n| ID | Rule | One-liner |\n|----|------|-----------|\n| R1 | Three output modes | Every command supports `interactive`, `plain`, and `json`. See [reference §1](.\u002Freferences\u002Fcli-ux-guidelines.md). |\n| R2 | No `console.log` | All output goes through mode-aware utilities (or v2 `Logger`\u002F`Progress` adapters). |\n| R3 | Recovery hints | Every `❌` error includes an indented next-step action. |\n| R4 | `--force` for destructive ops | Operations risking data loss fail by default; `--force` opts in. |\n| R5 | Respect non-interactive | No prompts when `--yes`, non-TTY stdin, or `CI=true`. |\n| R6 | Valid JSON output | `--json` → exactly one JSON object on stdout, no ANSI\u002Femoji. `--verbose` + `--json` → reject with error. |\n| R7 | Standard flags | `--output \u003Cmode>` (canonical), `--json` (shorthand), `-y\u002F--yes`, `--verbose`, `--dry-run`, `--force`, `--env-file \u003Cpath>`. |\n| R8 | Clear progress text | Every step uses `ProgressIndicator` with action-oriented text. |\n| R9 | No credentials\u002FPII | Truncate tokens, use boolean indicators, never log emails\u002FOIDs. |\n| R10 | `--dry-run` explains | Lists planned ops without mutations; viable previews exit `0`, validation failures exit nonzero. |\n| R11 | `--help` everywhere | `.description()` on every command\u002Foption\u002Fargument. See [reference §5](.\u002Freferences\u002Fcli-ux-guidelines.md) for canonical descriptions. |\n| R12 | Semantic exit codes | `0` = success, `1` = error, `2` = cancelled. |\n\n## Decision Shortcuts\n\n- \"Command or flag?\" → Changes **what** = command. Changes **how** = flag.\n- \"`dev` or `up`?\" → Local Docker \u002F no auth → `dev`. Authenticated cloud → `up`.\n- \"Child service or connector?\" → Owned\u002Fdeployed with app → `rayfin \u003Cservice> init`. External → `rayfin connector add`.\n- \"`init` create this?\" → Only minimal base app (auth, data, static). Otherwise explicit follow-up command.\n- \"Implicit?\" → Only required system actions in `dev`\u002F`up`. User-facing = explicit.\n\n## Common Patterns (keep — action-oriented)\n\n### Standard action handler (legacy path)\n\n```typescript\n.action(async (cmdOptions) => {\n  const mode = resolveOutputMode({ json: cmdOptions.json });\n  const interactive = isInteractive({ yes: cmdOptions.yes });\n  const verbose = createVerboseLogger(cmdOptions.verbose);\n\n  try {\n    \u002F\u002F ...work...\n    if (mode === 'json') {\n      emitJson({ status: 'success', ...result });\n    }\n  } catch (err) {\n    if (mode === 'json') {\n      emitJsonError(mode, (err as Error).message);\n    }\n    modeError(mode, `❌ ${(err as Error).message}`);\n    modeError(mode, '   \u003Crecovery hint>');\n    throw new CliHandledError(err);\n  }\n})\n```\n\n### Error with recovery hint\n\n```typescript\nmodeError(mode, '❌ Project name not found in rayfin.yml configuration');\nmodeError(mode, \"   Run 'rayfin init' to create a new project configuration\");\nthrow new CliHandledError(new Error('...'));\n```\n\n### Progress step\n\n```typescript\nconst spinner = showProgress('Deploying configuration', '?', mode);\ntry {\n  await doWork();\n  spinner.succeed('Configuration deployed');\n} catch (err) {\n  spinner.fail('Configuration deployment failed');\n  throw err;\n}\n```\n\n## Implementing a New Command\n\n> **First decide: v2 workflow or legacy path?** New commands target the workflow + adapter architecture (see [migration plan](..\u002F..\u002F..\u002Fdocs\u002Frfc\u002Frayfin-tools-architecture-migration.md)).\n> The legacy steps below are for un-migrated commands only.\n\n**V2 command** (preferred): orchestration in `common\u002Fsrc\u002Fworkflows\u002F\u003Cname>\u002F`, Commander `.action()` is a thin wrapper that parses → builds deps → calls workflow → renders `Result` via adapters → maps exit code.\n\n**Legacy path** (un-migrated commands):\n\n1. Create command file in `packages\u002Ftools\u002Fcli\u002Fsrc\u002Fcommands\u002F`.\n2. Import utilities from `..\u002Futils\u002Foutput-mode.js`.\n3. Add `--json`, `-y\u002F--yes`, `--verbose` options.\n4. Add `--dry-run`\u002F`--force` when applicable.\n5. Wrap progress in `ProgressIndicator`.\n6. Follow the standard action handler skeleton above.\n7. Register in parent `index.ts`.\n\n## Reviewing a Command (checklist by rule ID)\n\n- [ ] R1 — supports interactive, plain, json modes\n- [ ] R2 — no bare `console.log`\n- [ ] R3 — every `❌` has a recovery hint\n- [ ] R6 — `--json` emits valid JSON only; no ANSI\u002Femoji\n- [ ] R4 — destructive ops gated on `--force`\n- [ ] R5 — prompts respect `isInteractive()`\n- [ ] R8 — progress uses `ProgressIndicator` with action text\n- [ ] R10 — `--dry-run` lists ops without mutations and uses a semantic exit code\n- [ ] R9 — no PII in verbose output\n- [ ] R11 — `--help` descriptions present, canonical wording for standard flags\n- [ ] R12 — exit codes are semantic\n- [ ] Spec includes user intent, behavior contract, validation\u002Ffailures, error wording, examples, cross-cutting impacts\n\n## Command Topology: `dev` vs `up`\n\nSee [reference §12](.\u002Freferences\u002Fcli-ux-guidelines.md) for full rationale and patterns.\n\nKey rules:\n\n1. Mirror nouns under both `dev` and `up` when capability exists in both worlds.\n2. `dev` = local Docker, offline, single env, lifecycle via flags (`--stop`, `--down`, etc.).\n3. `up` = Fabric cloud, requires auth (except inspection), multi-env via subcommands.\n4. `dev` never authenticates. Inspection commands (`status`, `list`) never block on auth.\n5. `--force` means \"allow destructive schema changes\" — not \"skip prompt\" (that's `--yes`).\n\n## Pre-flight Checklist (OpenSpec CLI changes)\n\nEvery `tasks.md` for a CLI-touching OpenSpec change MUST begin with this block:\n\n```markdown\n## Pre-flight\n\n- [ ] Loaded `.github\u002Fskills\u002Frayfin-cli-ux\u002FSKILL.md`. Cite one rule applied: \u003CID and restatement>.\n- [ ] Loaded `.github\u002Fskills\u002Frayfin-cli-ux\u002Freferences\u002Fcli-ux-guidelines.md`. Cite one section: \u003Cname>.\n- [ ] Every new\u002Fchanged command, option, argument has a `.description()` (R11).\n- [ ] Every `❌` error has a recovery hint (R3).\n- [ ] All three output modes covered in scenarios (R1).\n- [ ] Destructive ops gated on `--force` (R4).\n- [ ] Non-interactive behavior preserved (R5).\n- [ ] `dev` vs `up` topology rules respected if adding lifecycle commands.\n```\n\n## Final Scan (Guardrails)\n\nBefore submitting, verify none of the NEVER\u002FALWAYS rules are violated:\n\n- NEVER: bare `console.log` (R2), prompt when non-interactive (R5), partial\u002Fmultiple JSON (R6), error without recovery (R3), destructive without `--force` (R4), PII in logs (R9), emoji outside interactive (R1), mutating API calls in dry-run (R10), auth in `dev` commands.\n- ALWAYS: action-oriented progress text (R8), standard flag names (R7), mirror `dev`\u002F`up` nouns, regenerate `.env.local` after lifecycle commands.\n\nDry-run reads require an explicit documented contract.\n`rayfin up` authenticates and reads workspace metadata so its preview can identify the resolved target; it validates local static inputs first and never runs builds or deployment writes.\nSee reference section 7 for this exception to the otherwise offline dry-run contract.\n","# Rayfin CLI UX Guidelines\n\nStandards for consistent, high-quality CLI experiences in `@microsoft\u002Frayfin-cli`.\n\n**Full reference**: [references\u002Fcli-ux-guidelines.md](.\u002Freferences\u002Fcli-ux-guidelines.md) — load on demand for depth, examples, and rationale.\n\n## Architecture Status\n\nThese rules define *what* a good CLI experience must deliver — they stay in force regardless of wiring.\n*How* output is wired is mid-migration to the workflow + adapter architecture ([`docs\u002Frfc\u002Frayfin-tools-architecture.md`](..\u002F..\u002F..\u002Fdocs\u002Frfc\u002Frayfin-tools-architecture.md), tracked in [`rayfin-tools-architecture-migration.md`](..\u002F..\u002F..\u002Fdocs\u002Frfc\u002Frayfin-tools-architecture-migration.md)).\n\n- **New or migrated commands** use a `common\u002Fsrc\u002Fworkflows\u002F\u003Cname>\u002F` workflow returning a typed `Result\u003CT>`, with a thin Layer-1 Commander wrapper rendering via `Logger`\u002F`Progress` adapters selected from `--output \u003Cmode>`. Do **not** import `output-mode.ts`, branch on raw `--json`\u002F`--verbose`, or use `CliHandledError`\u002F`process.exit`.\n- **Legacy (un-migrated) commands** use `output-mode.ts` (`modeLog`\u002F`emitJson`\u002F`resolveOutputMode`). This machinery is scheduled for removal in Phase 6.\n- When this skill and the architecture RFC disagree, the RFC wins.\n\n## Constitutional Rules\n\nNon-negotiable for every CLI command. Each rule has a stable ID (R1–R12) for cross-referencing.\n\n| ID | Rule | One-liner |\n|----|------|-----------|\n| R1 | Three output modes | Every command supports `interactive`, `plain`, and `json`. See [reference §1](.\u002Freferences\u002Fcli-ux-guidelines.md). |\n| R2 | No `console.log` | All output goes through mode-aware utilities (or v2 `Logger`\u002F`Progress` adapters). |\n| R3 | Recovery hints | Every `❌` error includes an indented next-step action. |\n| R4 | `--force` for destructive ops | Operations risking data loss fail by default; `--force` opts in. |\n| R5 | Respect non-interactive | No prompts when `--yes`, non-TTY stdin, or `CI=true`. |\n| R6 | Valid JSON output | `--json` → exactly one JSON object on stdout, no ANSI\u002Femoji. `--verbose` + `--json` → reject with error. |\n| R7 | Standard flags | `--output \u003Cmode>` (canonical), `--json` (shorthand), `-y\u002F--yes`, `--verbose`, `--dry-run`, `--force`, `--env-file \u003Cpath>`. |\n| R8 | Clear progress text | Every step uses `ProgressIndicator` with action-oriented text. |\n| R9 | No credentials\u002FPII | Truncate tokens, use boolean indicators, never log emails\u002FOIDs. |\n| R10 | `--dry-run` explains | Lists planned ops without mutations; viable previews exit `0`, validation failures exit nonzero. |\n| R11 | `--help` everywhere | `.description()` on every command\u002Foption\u002Fargument. See [reference §5](.\u002Freferences\u002Fcli-ux-guidelines.md) for canonical descriptions. |\n| R12 | Semantic exit codes | `0` = success, `1` = error, `2` = cancelled. |\n\n## Decision Shortcuts\n\n- \"Command or flag?\" → Changes **what** = command. Changes **how** = flag.\n- \"`dev` or `up`?\" → Local Docker \u002F no auth → `dev`. Authenticated cloud → `up`.\n- \"Child service or connector?\" → Owned\u002Fdeployed with app → `rayfin \u003Cservice> init`. External → `rayfin connector add`.\n- \"`init` create this?\" → Only minimal base app (auth, data, static). Otherwise explicit follow-up command.\n- \"Implicit?\" → Only required system actions in `dev`\u002F`up`. User-facing = explicit.\n\n## Common Patterns (keep — action-oriented)\n\n### Standard action handler (legacy path)\n\n```typescript\n.action(async (cmdOptions) => {\n  const mode = resolveOutputMode({ json: cmdOptions.json });\n  const interactive = isInteractive({ yes: cmdOptions.yes });\n  const verbose = createVerboseLogger(cmdOptions.verbose);\n\n  try {\n    \u002F\u002F ...work...\n    if (mode === 'json') {\n      emitJson({ status: 'success', ...result });\n    }\n  } catch (err) {\n    if (mode === 'json') {\n      emitJsonError(mode, (err as Error).message);\n    }\n    modeError(mode, `❌ ${(err as Error).message}`);\n    modeError(mode, '   \u003Crecovery hint>');\n    throw new CliHandledError(err);\n  }\n})\n```\n\n### Error with recovery hint\n\n```typescript\nmodeError(mode, '❌ Project name not found in rayfin.yml configuration');\nmodeError(mode, \"   Run 'rayfin init' to create a new project configuration\");\nthrow new CliHandledError(new Error('...'));\n```\n\n### Progress step\n\n```typescript\nconst spinner = showProgress('Deploying configuration', '?', mode);\ntry {\n  await doWork();\n  spinner.succeed('Configuration deployed');\n} catch (err) {\n  spinner.fail('Configuration deployment failed');\n  throw err;\n}\n```\n\n## Implementing a New Command\n\n> **First decide: v2 workflow or legacy path?** New commands target the workflow + adapter architecture (see [migration plan](..\u002F..\u002F..\u002Fdocs\u002Frfc\u002Frayfin-tools-architecture-migration.md)).\n> The legacy steps below are for un-migrated commands only.\n\n**V2 command** (preferred): orchestration in `common\u002Fsrc\u002Fworkflows\u002F\u003Cname>\u002F`, Commander `.action()` is a thin wrapper that parses → builds deps → calls workflow → renders `Result` via adapters → maps exit code.\n\n**Legacy path** (un-migrated commands):\n\n1. Create command file in `packages\u002Ftools\u002Fcli\u002Fsrc\u002Fcommands\u002F`.\n2. Import utilities from `..\u002Futils\u002Foutput-mode.js`.\n3. Add `--json`, `-y\u002F--yes`, `--verbose` options.\n4. Add `--dry-run`\u002F`--force` when applicable.\n5. Wrap progress in `ProgressIndicator`.\n6. Follow the standard action handler skeleton above.\n7. Register in parent `index.ts`.\n\n## Reviewing a Command (checklist by rule ID)\n\n- [ ] R1 — supports interactive, plain, json modes\n- [ ] R2 — no bare `console.log`\n- [ ] R3 — every `❌` has a recovery hint\n- [ ] R6 — `--json` emits valid JSON only; no ANSI\u002Femoji\n- [ ] R4 — destructive ops gated on `--force`\n- [ ] R5 — prompts respect `isInteractive()`\n- [ ] R8 — progress uses `ProgressIndicator` with action text\n- [ ] R10 — `--dry-run` lists ops without mutations and uses a semantic exit code\n- [ ] R9 — no PII in verbose output\n- [ ] R11 — `--help` descriptions present, canonical wording for standard flags\n- [ ] R12 — exit codes are semantic\n- [ ] Spec includes user intent, behavior contract, validation\u002Ffailures, error wording, examples, cross-cutting impacts\n\n## Command Topology: `dev` vs `up`\n\nSee [reference §12](.\u002Freferences\u002Fcli-ux-guidelines.md) for full rationale and patterns.\n\nKey rules:\n\n1. Mirror nouns under both `dev` and `up` when capability exists in both worlds.\n2. `dev` = local Docker, offline, single env, lifecycle via flags (`--stop`, `--down`, etc.).\n3. `up` = Fabric cloud, requires auth (except inspection), multi-env via subcommands.\n4. `dev` never authenticates. Inspection commands (`status`, `list`) never block on auth.\n5. `--force` means \"allow destructive schema changes\" — not \"skip prompt\" (that's `--yes`).\n\n## Pre-flight Checklist (OpenSpec CLI changes)\n\nEvery `tasks.md` for a CLI-touching OpenSpec change MUST begin with this block:\n\n```markdown\n## Pre-flight\n\n- [ ] Loaded `.github\u002Fskills\u002Frayfin-cli-ux\u002FSKILL.md`. Cite one rule applied: \u003CID and restatement>.\n- [ ] Loaded `.github\u002Fskills\u002Frayfin-cli-ux\u002Freferences\u002Fcli-ux-guidelines.md`. Cite one section: \u003Cname>.\n- [ ] Every new\u002Fchanged command, option, argument has a `.description()` (R11).\n- [ ] Every `❌` error has a recovery hint (R3).\n- [ ] All three output modes covered in scenarios (R1).\n- [ ] Destructive ops gated on `--force` (R4).\n- [ ] Non-interactive behavior preserved (R5).\n- [ ] `dev` vs `up` topology rules respected if adding lifecycle commands.\n```\n\n## Final Scan (Guardrails)\n\nBefore submitting, verify none of the NEVER\u002FALWAYS rules are violated:\n\n- NEVER: bare `console.log` (R2), prompt when non-interactive (R5), partial\u002Fmultiple JSON (R6), error without recovery (R3), destructive without `--force` (R4), PII in logs (R9), emoji outside interactive (R1), mutating API calls in dry-run (R10), auth in `dev` commands.\n- ALWAYS: action-oriented progress text (R8), standard flag names (R7), mirror `dev`\u002F`up` nouns, regenerate `.env.local` after lifecycle commands.\n\nDry-run reads require an explicit documented contract.\n`rayfin up` authenticates and reads workspace metadata so its preview can identify the resolved target; it validates local static inputs first and never runs builds or deployment writes.\nSee reference section 7 for this exception to the otherwise offline dry-run contract.\n",{"name":5,"description":7},"main","0979439a7a0806abd0ee48c2619b37f297ae1324",".github\u002Fskills\u002Frayfin-cli-ux",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":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add microsoft\u002Frayfin --skill rayfin-cli-ux",{"tool":53,"command":54},"bunx","bunx skills add microsoft\u002Frayfin --skill rayfin-cli-ux",{"tool":56,"command":57},"pnpm","pnpm dlx skills add microsoft\u002Frayfin --skill rayfin-cli-ux","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frayfin-cli-ux\u002FSKILL.md",true,[61],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fcli-ux-guidelines.md","REFERENCE","参考文档",28050,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frayfin-cli-ux\u002Freferences\u002Fcli-ux-guidelines.md",[68,86,102,119,133,145],{"skillNo":69,"name":70,"nameZh":71,"description":72,"descriptionZh":73,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":74,"categories":75,"keywords":80,"publishedAt":33},"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",[76,77],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":78,"categoryName":79,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[81,82,83,84,10,85,31],"rayfin getting started","rayfin","scaffold","init","docs",{"skillNo":87,"name":88,"nameZh":89,"description":90,"descriptionZh":91,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":98,"publishedAt":33},"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",[94,95],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":96,"categoryName":97,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[88,99,100,101],"components","dashboard","visualize",{"skillNo":103,"name":104,"nameZh":105,"description":106,"descriptionZh":107,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":116,"publishedAt":33},"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",[110,113],{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":114,"categoryName":115,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[117,118],"schema discovery","dax",{"skillNo":120,"name":121,"nameZh":122,"description":123,"descriptionZh":124,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":125,"categories":126,"keywords":129,"publishedAt":33},"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",[127,128],{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":114,"categoryName":115,"taxonomyType":23,"taxonomyTypeDesc":24},[130,131,118,132],"query design","design","typescript",{"skillNo":134,"name":135,"nameZh":136,"description":137,"descriptionZh":138,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":139,"categories":140,"keywords":143,"publishedAt":33},"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",[141,142],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[144],"functions capability",{"skillNo":146,"name":147,"nameZh":148,"description":149,"descriptionZh":150,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":157,"publishedAt":33},"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",[153,154],{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":155,"categoryName":156,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师",[158,159,118,160,82,161],"sdk","fabric sdk","rayfin connectors","connectors"]