[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BVVFK3WFDMJW2R5CYCRD4":3,"skill-same:01M69BVVFK3WFDMJW2R5CYCRD4":78},{"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":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":36,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M69BVVFK3WFDMJW2R5CYCRD4","play","Microsoft App 浏览器预览","Opens a Microsoft App in the browser via `ms app play`. Use when opening the live deployed version or a cloud-hosted preview (main branch or specific commit SHA) without starting a local dev server.","通过 `ms app play` 在浏览器中打开 Microsoft App。适用于打开已部署的线上版本或云端托管的预览版本（主分支或特定提交 SHA），而无需启动本地开发服务器。","microsoft\u002Fmanaged-apps","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BTSR13CCGCPK40C03N7CN",36,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Fplay\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,10],"read","via","app","local","preview","main","ms","local dev server","version","use","local dev","branch","grep","Bash","server","browser","dev","commit","2026-11-10 10:12:30",false,"---\nname: play\ndescription: Opens a Microsoft App in the browser via `ms app play`. Use when opening the live deployed version or a cloud-hosted preview (main branch or specific commit SHA) without starting a local dev server.\nallowed-tools: Read Grep Bash AskUserQuestion\n---\n\n**? Shared Instructions: [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md)** — Cross-cutting concerns.\n\n# Play\n\nOpens a Microsoft App in the browser by fetching its cloud play URL and launching it. No local dev server required.\n\n| Mode | Command | What opens |\n| ---- | ------- | ---------- |\n| `live` (default) | `ms app play` | The most recently deployed version. A snapshot — does not update until `ms app deploy` is run again. |\n| `preview` (main) | `ms app play --mode preview` | Built from the `main` branch on demand — always reflects the latest pushed code, even without a deploy. |\n| `preview` (commit) | `ms app play --mode preview --commit \u003Csha>` | App as of a specific commit SHA — useful for code review or regression testing. |\n\n> **Live vs. preview:** Live requires a prior `ms app deploy`. Preview builds from source on demand — it works without any deployment and always reflects unpublished code.\n\n## Workflow\n\n1. Memory Bank → 2. Verify Project + Env → 3. Resolve Mode → 4. Run → 5. Surface URL\n\n---\n\n### Step 1: Check Memory Bank\n\nRead `memory-bank.md` per [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md) for the app's environment\u002Fapp identifiers, if recorded.\n\n### Step 2: Verify Project + Env\n\n```bash\ntest -f ms.config.json || { echo \"Not in a Microsoft App workspace.\"; exit 1; }\nBIN=ms\n$BIN auth status                                         # must report the expected UPN\n```\n\n`--app` and `--environment-id` can be passed explicitly to run from outside a project directory — `ms.config.json` is only needed for the defaults.\n\n### Step 3: Resolve Mode\n\nIf not already clear from the user's request, ask:\n\n> \"Do you want to open the **live** deployed version, a **preview** of the latest code on main, or a preview of a **specific commit**?\"\n\nMap intent to mode:\n\n| User says | Mode |\n| --------- | ---- |\n| \"live\", \"deployed\", no qualifier | `live` (default — no flag needed) |\n| \"preview\", \"latest\", \"unpublished\", \"before deploy\" | `--mode preview` |\n| \"preview at commit X\" \u002F specific SHA provided | `--mode preview --commit \u003Csha>` |\n\n### Step 4: Run\n\n**Live (default):**\n\n```bash\n$BIN app play\n```\n\n**Preview — latest code on main:**\n\n```bash\n$BIN app play --mode preview\n```\n\n**Preview — specific commit:**\n\n```bash\n$BIN app play --mode preview --commit \u003Csha>\n```\n\nFull flag reference:\n\n| Flag | Alias | Default | Description |\n| ---- | ----- | ------- | ----------- |\n| `--mode` | `-m` | `live` | `live` or `preview`. |\n| `--commit` | `-c` | HEAD on main | Preview only. The commit SHA to open. Ignored for live mode (CLI throws if combined). |\n| `--app` | | `appId` from `ms.config.json` | App name override for running outside the project directory. |\n| `--no-browser` | | false | Print the URL without opening a browser tab. |\n| `--json` | | | Emit `{ success, appName, mode, url, commitHash }` instead of human-readable output. |\n\n### Step 5: Surface URL\n\nPresent the URL the CLI printed. For live mode, surface the CLI's built-in warning:\n\n```\nLive URL for 'my-app':\n  https:\u002F\u002Fapps.powerapps.com\u002Fplay\u002Fe\u002F\u003Cenv-id>\u002Fapp\u002F\u003Cguid>\n\n⚠ Live does not auto-update. Run \u002Fdeploy to publish new code to the live URL.\n```\n\nFor preview:\n\n```\nPreview URL for 'my-app' (main):\n  https:\u002F\u002Fapps.powerapps.com\u002Fplay\u002Fe\u002F\u003Cenv-id>\u002Fapp\u002F\u003Cguid>\u002Fbranch\u002Fmain\n```\n\nFor commit-pinned preview:\n\n```\nPreview URL for 'my-app' (commit abc1234):\n  https:\u002F\u002Fapps.powerapps.com\u002Fplay\u002Fe\u002F\u003Cenv-id>\u002Fapp\u002F\u003Cguid>\u002Fcommit\u002Fabc1234\n```\n\n---\n\n## Edge Cases\n\n| Situation | Action |\n| --------- | ------ |\n| `No live build available — run 'ms app deploy' first` | The app has never been deployed. Tell the user to run `\u002Fdeploy`, then retry `ms app play`. |\n| `--commit` passed with `--mode live` | Hard `UsageError` from the CLI. Explain that `--commit` only works with `--mode preview`. |\n| No `appPlayUri` for preview mode | App record exists but play URI is missing. Surface the error verbatim and stop. |\n| User wants URL without opening a browser | Pass `--no-browser`; the CLI prints the URL and exits without launching a tab. |\n| User is outside a project directory | Pass `--app \u003Cname>` and `--environment-id \u003Cid>` explicitly. |\n","**? Shared Instructions: [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md)** — Cross-cutting concerns.\n\n# Play\n\nOpens a Microsoft App in the browser by fetching its cloud play URL and launching it. No local dev server required.\n\n| Mode | Command | What opens |\n| ---- | ------- | ---------- |\n| `live` (default) | `ms app play` | The most recently deployed version. A snapshot — does not update until `ms app deploy` is run again. |\n| `preview` (main) | `ms app play --mode preview` | Built from the `main` branch on demand — always reflects the latest pushed code, even without a deploy. |\n| `preview` (commit) | `ms app play --mode preview --commit \u003Csha>` | App as of a specific commit SHA — useful for code review or regression testing. |\n\n> **Live vs. preview:** Live requires a prior `ms app deploy`. Preview builds from source on demand — it works without any deployment and always reflects unpublished code.\n\n## Workflow\n\n1. Memory Bank → 2. Verify Project + Env → 3. Resolve Mode → 4. Run → 5. Surface URL\n\n---\n\n### Step 1: Check Memory Bank\n\nRead `memory-bank.md` per [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md) for the app's environment\u002Fapp identifiers, if recorded.\n\n### Step 2: Verify Project + Env\n\n```bash\ntest -f ms.config.json || { echo \"Not in a Microsoft App workspace.\"; exit 1; }\nBIN=ms\n$BIN auth status                                         # must report the expected UPN\n```\n\n`--app` and `--environment-id` can be passed explicitly to run from outside a project directory — `ms.config.json` is only needed for the defaults.\n\n### Step 3: Resolve Mode\n\nIf not already clear from the user's request, ask:\n\n> \"Do you want to open the **live** deployed version, a **preview** of the latest code on main, or a preview of a **specific commit**?\"\n\nMap intent to mode:\n\n| User says | Mode |\n| --------- | ---- |\n| \"live\", \"deployed\", no qualifier | `live` (default — no flag needed) |\n| \"preview\", \"latest\", \"unpublished\", \"before deploy\" | `--mode preview` |\n| \"preview at commit X\" \u002F specific SHA provided | `--mode preview --commit \u003Csha>` |\n\n### Step 4: Run\n\n**Live (default):**\n\n```bash\n$BIN app play\n```\n\n**Preview — latest code on main:**\n\n```bash\n$BIN app play --mode preview\n```\n\n**Preview — specific commit:**\n\n```bash\n$BIN app play --mode preview --commit \u003Csha>\n```\n\nFull flag reference:\n\n| Flag | Alias | Default | Description |\n| ---- | ----- | ------- | ----------- |\n| `--mode` | `-m` | `live` | `live` or `preview`. |\n| `--commit` | `-c` | HEAD on main | Preview only. The commit SHA to open. Ignored for live mode (CLI throws if combined). |\n| `--app` | | `appId` from `ms.config.json` | App name override for running outside the project directory. |\n| `--no-browser` | | false | Print the URL without opening a browser tab. |\n| `--json` | | | Emit `{ success, appName, mode, url, commitHash }` instead of human-readable output. |\n\n### Step 5: Surface URL\n\nPresent the URL the CLI printed. For live mode, surface the CLI's built-in warning:\n\n```\nLive URL for 'my-app':\n  https:\u002F\u002Fapps.powerapps.com\u002Fplay\u002Fe\u002F\u003Cenv-id>\u002Fapp\u002F\u003Cguid>\n\n⚠ Live does not auto-update. Run \u002Fdeploy to publish new code to the live URL.\n```\n\nFor preview:\n\n```\nPreview URL for 'my-app' (main):\n  https:\u002F\u002Fapps.powerapps.com\u002Fplay\u002Fe\u002F\u003Cenv-id>\u002Fapp\u002F\u003Cguid>\u002Fbranch\u002Fmain\n```\n\nFor commit-pinned preview:\n\n```\nPreview URL for 'my-app' (commit abc1234):\n  https:\u002F\u002Fapps.powerapps.com\u002Fplay\u002Fe\u002F\u003Cenv-id>\u002Fapp\u002F\u003Cguid>\u002Fcommit\u002Fabc1234\n```\n\n---\n\n## Edge Cases\n\n| Situation | Action |\n| --------- | ------ |\n| `No live build available — run 'ms app deploy' first` | The app has never been deployed. Tell the user to run `\u002Fdeploy`, then retry `ms app play`. |\n| `--commit` passed with `--mode live` | Hard `UsageError` from the CLI. Explain that `--commit` only works with `--mode preview`. |\n| No `appPlayUri` for preview mode | App record exists but play URI is missing. Surface the error verbatim and stop. |\n| User wants URL without opening a browser | Pass `--no-browser`; the CLI prints the URL and exits without launching a tab. |\n| User is outside a project directory | Pass `--app \u003Cname>` and `--environment-id \u003Cid>` explicitly. |\n",{"name":5,"description":7,"allowed-tools":54},"Read Grep Bash AskUserQuestion","5e4bd47de38c9ae0327efb7c0003d250afff31b6","plugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Fplay",12,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FCopilot-Managed-Runtime","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-06 04:02:23",{"source":9,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add microsoft\u002Fmanaged-apps --skill play",{"tool":70,"command":71},"bunx","bunx skills add microsoft\u002Fmanaged-apps --skill play",{"tool":73,"command":74},"pnpm","pnpm dlx skills add microsoft\u002Fmanaged-apps --skill play","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Fplay\u002FSKILL.md",true,[],[79,107,127,148,170,187],{"skillNo":80,"name":81,"nameZh":82,"description":83,"descriptionZh":84,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":91,"publishedAt":49},"01M69BW0D2HDW3YFJJX4QEYJF2","state","Microsoft 托管应用状态与附件管理","Store and query a Microsoft Managed App's built-in state and file attachments with `ms project state` CLI schema commands and generated TypeScript clients. First, with the user signed in to the CLI, run `ms feature status --name state --json`; if `feature.enabled` is not `true`, recommend an alternative connector or data source.","使用 `ms project state` CLI schema 命令和生成的 TypeScript 客户端，存储与查询 Microsoft 托管应用的内置状态和文件附件。首先，在用户登录 CLI 后运行 `ms feature status --name state --json`；如果 `feature.enabled` 不为 `true`，则推荐替代的连接器或数据源。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Fstate\u002FSKILL.md",[87,88],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":89,"categoryName":90,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BWKS60NTYJHFE9FQSXGDKS","低代码应用开发",[81,92,93,94,95,96,97,98,99,31,100,44,101,102,37,33,103,104,105,106],"feature","project","source","data","commands","recommend","edit","write","Connector","query","generated","typescript","run","cli","status",{"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":121,"publishedAt":49},"01M69BVYVZ0YYRMDY1WPVJ98VV","share","Microsoft 应用共享与访问控制","Shares (or unshares) a Microsoft App with users via `ms app share` \u002F `ms app unshare`. Use when updating app access control.","通过 `ms app share` \u002F `ms app unshare` 与用户共享（或取消共享）Microsoft 应用。在需要更新应用访问控制时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Fshare\u002FSKILL.md",[115,118],{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTFDX7M21YT75733H52N36","身份与访问管理",{"categoryNo":119,"categoryName":120,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C6RQ852C9AEJFCBGG1YA7S","IT 管理员",[109,33,122,44,123,40,37,124,10,125,43,31,32,126],"users","access","Access Control","with","control",{"skillNo":128,"name":129,"nameZh":130,"description":131,"descriptionZh":132,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":137,"publishedAt":49},"01M69BVX6TTS1A17ZA2BDP13KP","share-link","Microsoft App 共享链接管理","Manages tenant-wide share links for a Microsoft App via `ms app share link create`, `ms app share link list`, and `ms app share link revoke`. Use when you want to distribute app access via a URL instead of named principals.","通过 `ms app share link create`、`ms app share link list` 和 `ms app share link revoke` 管理 Microsoft App 的租户级共享链接。适用于希望通过 URL（而非指定主体）来分发应用访问权限的场景。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Fshare-link\u002FSKILL.md",[135,136],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},[138,109,139,140,141,142,44,123,143,144,43,31,32,145,37,146,33,10,147,40],"share link","link","URL","you","distribute","list","wide","for","links","create",{"skillNo":149,"name":150,"nameZh":151,"description":152,"descriptionZh":153,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":154,"categories":155,"keywords":160,"publishedAt":49},"01M69BVSSESTPDA4Z5WP8WEN01","list-connectors","可用连接器列表查询","Lists connectors available in the active environment — including whether each is allowed or blocked by your organization's policy — plus the connection-bound data sources already wired into a Microsoft App. Use when discovering connectors and their operations before adding data sources.","列出当前活动环境中可用的连接器——包括每个连接器是被组织策略允许还是阻止——以及已接入 Microsoft App 的连接绑定数据源。适用于在添加数据源之前发现可用的连接器及其操作。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Flist-connectors\u002FSKILL.md",[156,157],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":158,"categoryName":159,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BWDNFEHJCBZX47YY896K05","应用连接器集成",[161,162,143,163,164,95,31,165,166,44,40,167,168,33,169,10],"connectors","list connectors","operations","connection","active","organization","environment","sources","policy",{"skillNo":171,"name":172,"nameZh":173,"description":174,"descriptionZh":175,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":176,"categories":177,"keywords":182,"publishedAt":49},"01M69BVRDCYENNS8XXM1E5RBYQ","list-apps","Microsoft 应用列表查询","Discovers managed apps in the active environment via `ms app list --json` and optional `ms app show --json`. Use when listing or locating apps.","通过 `ms app list --json` 以及可选的 `ms app show --json` 发现活动环境中的受管理应用。在列出或定位应用时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Flist-apps\u002FSKILL.md",[178,179],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":180,"categoryName":181,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C6RHQSB2BGY8CHB7AN49N9","Microsoft 应用生命周期管理",[183,143,184,165,32,44,40,167,37,185,33,186,43,31],"list apps","apps","show","json",{"skillNo":188,"name":47,"nameZh":189,"description":190,"descriptionZh":191,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":192,"categories":193,"keywords":196,"publishedAt":49},"01M69BVPVP9SPEY44ZG7PBDPQF","Microsoft 应用本地运行","Runs a Microsoft App locally with hot reload via `ms app dev`. Use when starting or restarting local development and surfacing the App Player URL.","通过 `ms app dev` 在本地运行 Microsoft 应用并支持热重载。在开始或重启本地开发、展示 App Player URL 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmanaged-apps\u002Fblob\u002Fmain\u002Fplugins\u002Fmicrosoft-managed-apps\u002Fskills\u002Fdev\u002FSKILL.md",[194,195],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":180,"categoryName":181,"taxonomyType":28,"taxonomyTypeDesc":29},[47,125,43,31,32,44,140,40,34,197,198,37,33,10,199],"player","local development","development"]