[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699VZPK5Y4K2V3E1DX6JZQX":3,"skill-same:01M699VZPK5Y4K2V3E1DX6JZQX":150},{"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":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":17,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M699VZPK5Y4K2V3E1DX6JZQX","azure-app-onboard-prereq","Azure 部署就绪评估","Assess whether source code is ready to deploy to Azure — the check BEFORE infrastructure work. Evaluates build health, app completeness, dependencies and local services, stack compatibility, and deployment feasibility. Answers questions about what your app needs before it can be deployed — frameworks, dependencies, and configuration. Checks whether dependencies are compatible and identifies deployment blockers and unsupported frameworks. WHEN: \"evaluate my repo\", \"is my app ready to deploy\", \"what does my app need to deploy\", \"what do I need before deploying\", \"does my app need\", \"can I ship this to Azure\", \"scan my repo for issues\", \"is this app deployable\", \"check if my app is ready for Azure\", \"do I need a Dockerfile\", \"what's blocking my deployment\", \"are there any blockers\", \"are my dependencies compatible\", \"does Azure support my framework\", \"what needs to change before deploying\", \"check my app configuration\".","评估源代码是否已准备好部署到 Azure——这是开展基础设施工作之前的检查。评估构建健康状况、应用完整性、依赖项与本地服务、技术栈兼容性以及部署可行性。回答有关应用部署前需要什么的问题——框架、依赖项和配置。检查依赖项是否兼容，并识别部署阻碍因素和不受支持的框架。适用场景：“评估我的仓库”、“我的应用是否已准备好部署”、“我的应用部署需要什么”、“部署前我需要准备什么”、“我的应用是否需要”、“我能把它部署到 Azure 吗”、“扫描我的仓库中的问题”、“这个应用可部署吗”、“检查我的应用是否已准备好部署到 Azure”、“我需要 Dockerfile 吗”、“是什么阻碍了我的部署”、“是否有阻碍因素”、“我的依赖项是否兼容”、“Azure 是否支持我的框架”、“部署前需要更改什么”、“检查我的应用配置”。","microsoft\u002FGitHub-Copilot-for-Azure","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699SRDDGQCK3TYBF146AE4D",264,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT9F3Z67AB1M6CHA8X75WW","云架构师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"azure app onboard","azure app onboard prereq","app","azure","onboard","when","infrastructure","compatibility","ship","source","my","stack","work","code","local","dockerfile","issues","ready","support","change","placeholder","2026-11-10 10:12:30",false,"---\nname: azure-app-onboard-prereq\ndescription: \"Assess whether source code is ready to deploy to Azure — the check BEFORE infrastructure work. Evaluates build health, app completeness, dependencies and local services, stack compatibility, and deployment feasibility. Answers questions about what your app needs before it can be deployed — frameworks, dependencies, and configuration. Checks whether dependencies are compatible and identifies deployment blockers and unsupported frameworks. WHEN: \\\"evaluate my repo\\\", \\\"is my app ready to deploy\\\", \\\"what does my app need to deploy\\\", \\\"what do I need before deploying\\\", \\\"does my app need\\\", \\\"can I ship this to Azure\\\", \\\"scan my repo for issues\\\", \\\"is this app deployable\\\", \\\"check if my app is ready for Azure\\\", \\\"do I need a Dockerfile\\\", \\\"what's blocking my deployment\\\", \\\"are there any blockers\\\", \\\"are my dependencies compatible\\\", \\\"does Azure support my framework\\\", \\\"what needs to change before deploying\\\", \\\"check my app configuration\\\".\"\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"0.0.0-placeholder\"\n---\n\n# Azure App Onboard Prereq — Repository Evaluation\n\nEvaluate a user's repository for build health, app completeness, and Azure deployment feasibility — before infrastructure planning. Produces per-component verdicts (PASS\u002FWARN\u002FFAIL) consumed by downstream phases.\n\n> **Orchestrator relationship:** Called by `azure-app-onboard` at Step 3, or standalone for code readiness checks. When called by orchestrator, return control to `azure-app-onboard` after writing artifacts — do NOT invoke downstream phases directly.\n\nPhase 1 of 4 in AppOnboard pipeline. Session: `.copilot-azure\u002Fsessions\u002F{session-id}\u002F`. Reads `context.json`. Writes `components[]`, `repo{}`, `detectedInfra[]`. Produces `prereq-output.json`. Schema: [`prereq-schemas.ts`](references\u002Fprereq-schemas.ts) — `PrereqOutput`, `BuildRequirements`. Direct entry supported.\n\n## When NOT to Use\n\n| Signal | Redirect |\n|--------|----------|\n| Validate infrastructure (Bicep\u002FTF\u002Fazure.yaml) | **azure-validate** |\n| Generate IaC | **azure-prepare** |\n| End-to-end idea-to-production | **azure-app-onboard** |\n| Run `azd up` or deploy | **azure-deploy** |\n\n## Rules\n\n> ⛔ **ABSOLUTE PROHIBITION — `npm install`, `npm test`, `npx jest`, `pytest`, and ALL install\u002Fbuild\u002Ftest commands are NEVER allowed.**\n> Under NO circumstances may you run `npm install`, `npm test`, `npx jest`, `pip install`, `pytest`, `dotnet build`, `dotnet restore`, `dotnet test`, `go mod download`, `cargo build`, or ANY package-manager install, build, or test command during the prereq phase. Do NOT run test suites to verify code — check for test config files statically instead. The prereq phase is read-only evaluation + static-only verification.\n> **ONLY exception — two sanctioned contexts, both consent-gated:** (a) code the agent **modified** during migration\u002Fremediation (see [remediation-protocol.md](references\u002Fremediation-protocol.md) step 6), or (b) code the agent **wrote** from scratch on the zero-code path (see [zero-code-path.md](references\u002Fzero-code-path.md)). In either case, install\u002Fbuild\u002Ftest runs ONLY via the user-confirmed build-validation gate ([build-check.md](references\u002Fbuild-check.md) Step 3), after the user answers that specific per-command consent prompt. General prior consent never counts.\n\n1. ⛔ **Full pipeline (Steps 1–8), no exceptions.** All prompts → Step 1 directly. Answer specific questions AS PART OF findings (Step 5), not before.\n2. ⛔ **No sub-agents for evaluation.** 3-axis evaluation is inline. **Exception**: zero-code-path scaffolding (Step 2).\n3. Code\u002Fdestructive modifications require `ask_user`. Max 3 questions before results. Direct entry: don't repeat orchestrator's intent questions.\n\n## MCP Tools\n\n| Tool | Purpose |\n|------|---------|\n| `mcp_azure_mcp_get_azure_bestpractices` | Validate detected stack patterns against Azure best practices |\n| `mcp_azure_mcp_extension_cli_install` | Check\u002Finstall required CLI tools (az, azd, func) |\n\n## Workflow\n\n### Step 1: Session Check\n\n**Orchestrator entry:** Session exists — read `context.json`, proceed to Step 2.\n\n**Direct entry:** Check `.copilot-azure\u002Fsessions\u002Factive-session.json`:\n- **Exists** → ⛔ read [session-protocol.md](references\u002Fsession-protocol.md) for resume\u002Ffresh gate. Do NOT proceed until user answers.\n- **Missing** → create session: generate UUID, `New-Item -ItemType Directory -Path \".copilot-azure\u002Fsessions\u002F{uuid}\" -Force`, write `context.json` + `active-session.json` via `create` tool.\n\nThen: `az account show` → merge `{id, name, tenantId}` into `context.json.azure`. ⛔ Session MUST exist on disk before any scanning.\n\n### Step 2: Scan Workspace\n\nScan for project files. Detect components, `repo{}`, `detectedInfra[]`, `detectedServices[]`. Classify Terraform providers. Check CLI availability. Stack detection conflicts: user explicit statement wins (write to `context.json`, mark scan as override); scan-only → confirm with user; multiple stacks → show all and ask (see [component-mapping.md](references\u002Fcomponent-mapping.md)); no code → [zero-code-path.md](references\u002Fzero-code-path.md).\n\n> If no project files, no Dockerfile, AND no index.html → ⛔ read [zero-code-path.md](references\u002Fzero-code-path.md).\n\n> ⛔ **Cloud SDK early gate.** Grep for `aws-sdk|@aws-sdk|boto3|google-cloud|@google-cloud|firebase`. If functional deps found → read [cloud-sdk-migration.md](references\u002Fcloud-sdk-migration.md), then `ask_user`: **\"Redirect to Azure Cloud Migrate\"** (set `routeToSkill: \"azure-cloud-migrate\"`) · **\"Continue evaluation anyway\"** (finish readiness eval + SDK→Azure mapping, then STOP at Step 8 — no plan until the deps are swapped) · **\"Cancel\"**.\n\n### Step 3: Per-Component Evaluation\n\n| Sub-step | Action | Reference |\n|----------|--------|-----------|\n| 3.1 | **Build check** | ⛔ **You MUST read [build-check.md](references\u002Fbuild-check.md)** |\n| 3.2 | **Completeness check** | ⛔ **You MUST read [completeness-check.md](references\u002Fcompleteness-check.md)** |\n| 3.3 | **Deployability check** | ⛔ **You MUST read [deployability-check.md](references\u002Fdeployability-check.md)** |\n| 3.3a | **Component mapping** (conditional) | Read [component-mapping.md](references\u002Fcomponent-mapping.md) ONLY IF >1 project manifest found (monorepo) |\n\nPopulate `buildRequirements` per component after evaluation. Verdict propagation, tier rules, and f1Viable aggregation are in [readiness-gate.md](references\u002Freadiness-gate.md) and the individual check references.\n\n### Step 4: Write Artifacts + Readiness Gate\n\n⛔ Verify `context.json` exists on disk. ⛔ **You MUST read [readiness-gate.md](references\u002Freadiness-gate.md)** (verdicts, tiers, batch-then-approve, fast-track), then ⛔ **You MUST read [prereq-artifacts.md](references\u002Fprereq-artifacts.md)** (write procedures, schemas).\n\n### Step 5: Present Findings\n\nPer [readiness-gate.md § Present Findings](references\u002Freadiness-gate.md) — show verdicts grouped by severity before proceeding.\n\n### Step 6: Remediation (conditional)\n\n⛔ **You MUST read [remediation-protocol.md](references\u002Fremediation-protocol.md)** IF any ❌ FAIL verdict, ? Recommended Fix, or ⚠️ WARN with `fixPhase: \"prereq\"` exists. Contains remediation loop, static verification, re-eval mandate, post-remediation artifact updates, and the build-validation consent gate. If all verdicts are ✅ PASS or ⚠️ WARN without `fixPhase: \"prereq\"`, skip to Step 7.\n\n### Step 7: Write Final State\n\n`completedPhases` already has `\"prereq\"` + `currentPhase: null` (from Step 4). Then:\n\n> ⛔ **Write `lastScanCommit`.** Run `git rev-parse HEAD` and store the full 40-character SHA as `context.json.repo.lastScanCommit`. Required — staleness guard in Step 1 compares to HEAD on resume to detect changes.\n\n### Step 8: Route\n\n⛔ **Mandatory — do NOT skip this step.**\n\n> **Routing fields:** All routing writes `routeToSkill` and `routeReason` to `context.json`.\n\n> **Post-remediation context:** If Step 6 ran, lead the routing prompt with: \"Remediation complete — {N} issues fixed, your app is now {overallHealth}.\"\n\n> ⛔ **Evaluate rows top to bottom — first match wins.**\n\n| # | Condition | Action |\n|---|-----------|--------|\n| 1 | `routeToSkill` set (any entry) | `ask_user`: \"Redirect to {routeToSkill}\" \u002F \"Not now\". ⛔ Pipeline stops — do NOT proceed to architecture planning. |\n| 2 | `cloudSdkFindings[]` non-empty (user chose \"Continue evaluation anyway\") | Present the cloud-SDK → Azure swap mapping as ? blockers, then `ask_user` with this exact prompt: **\"? Cloud SDK migration required — these dependencies must be swapped before this app can deploy to Azure. (Redirect to azure-cloud-migrate \u002F Stop — swap manually and re-run)\"** — Redirect sets `routeToSkill: \"azure-cloud-migrate\"`, Stop halts. ⛔ Pipeline stops — do NOT proceed to architecture planning, and do NOT offer a \"continue to prepare\" option; the app can't deploy until the deps are swapped. |\n| 3 | Orchestrator + no `routeToSkill` | Tell the user: \"✅ Your app has been evaluated and is ready — let's plan your Azure deployment.\" Then invoke `azure-app-onboard`. ⛔ Do NOT stop, do NOT wait for user input, do NOT narrate internal handoffs. The user already consented to the full pipeline at scope triage. |\n| 4 | Direct + ready\u002FreadyWithCaveats + no Azure infra | `ask_user`: \"Deploy to Azure (full pipeline)\" → invoke `azure-app-onboard` \u002F \"Not now\" |\n| 5 | Direct + ready\u002FreadyWithCaveats + existing Azure infra | `ask_user`: \"Start fresh\" → invoke `azure-app-onboard` \u002F \"Use existing infra\" → invoke `azure-prepare` \u002F \"Not now\" |\n| 6 | Direct + blocked | Report blocker summary + \"Fix and re-run.\" |\n\nSeverity tiers (??❌?⚠️✅) are defined in [readiness-gate.md](references\u002Freadiness-gate.md).\n\n## Outputs\n\n| Artifact | Location | Consumer |\n|----------|----------|----------|\n| Session context | `context.json` → `components[]`, `repo{}`, `detectedInfra[]`, `detectedServices[]` | All downstream phases |\n| Prereq output | `prereq-output.json` | prepare phase (via `azure-app-onboard`) |\n| Readiness report | `.copilot-azure\u002Fsessions\u002F{uuid}\u002Freadiness-report.md` | User (offline reference) |","# Azure App Onboard Prereq — Repository Evaluation\n\nEvaluate a user's repository for build health, app completeness, and Azure deployment feasibility — before infrastructure planning. Produces per-component verdicts (PASS\u002FWARN\u002FFAIL) consumed by downstream phases.\n\n> **Orchestrator relationship:** Called by `azure-app-onboard` at Step 3, or standalone for code readiness checks. When called by orchestrator, return control to `azure-app-onboard` after writing artifacts — do NOT invoke downstream phases directly.\n\nPhase 1 of 4 in AppOnboard pipeline. Session: `.copilot-azure\u002Fsessions\u002F{session-id}\u002F`. Reads `context.json`. Writes `components[]`, `repo{}`, `detectedInfra[]`. Produces `prereq-output.json`. Schema: [`prereq-schemas.ts`](references\u002Fprereq-schemas.ts) — `PrereqOutput`, `BuildRequirements`. Direct entry supported.\n\n## When NOT to Use\n\n| Signal | Redirect |\n|--------|----------|\n| Validate infrastructure (Bicep\u002FTF\u002Fazure.yaml) | **azure-validate** |\n| Generate IaC | **azure-prepare** |\n| End-to-end idea-to-production | **azure-app-onboard** |\n| Run `azd up` or deploy | **azure-deploy** |\n\n## Rules\n\n> ⛔ **ABSOLUTE PROHIBITION — `npm install`, `npm test`, `npx jest`, `pytest`, and ALL install\u002Fbuild\u002Ftest commands are NEVER allowed.**\n> Under NO circumstances may you run `npm install`, `npm test`, `npx jest`, `pip install`, `pytest`, `dotnet build`, `dotnet restore`, `dotnet test`, `go mod download`, `cargo build`, or ANY package-manager install, build, or test command during the prereq phase. Do NOT run test suites to verify code — check for test config files statically instead. The prereq phase is read-only evaluation + static-only verification.\n> **ONLY exception — two sanctioned contexts, both consent-gated:** (a) code the agent **modified** during migration\u002Fremediation (see [remediation-protocol.md](references\u002Fremediation-protocol.md) step 6), or (b) code the agent **wrote** from scratch on the zero-code path (see [zero-code-path.md](references\u002Fzero-code-path.md)). In either case, install\u002Fbuild\u002Ftest runs ONLY via the user-confirmed build-validation gate ([build-check.md](references\u002Fbuild-check.md) Step 3), after the user answers that specific per-command consent prompt. General prior consent never counts.\n\n1. ⛔ **Full pipeline (Steps 1–8), no exceptions.** All prompts → Step 1 directly. Answer specific questions AS PART OF findings (Step 5), not before.\n2. ⛔ **No sub-agents for evaluation.** 3-axis evaluation is inline. **Exception**: zero-code-path scaffolding (Step 2).\n3. Code\u002Fdestructive modifications require `ask_user`. Max 3 questions before results. Direct entry: don't repeat orchestrator's intent questions.\n\n## MCP Tools\n\n| Tool | Purpose |\n|------|---------|\n| `mcp_azure_mcp_get_azure_bestpractices` | Validate detected stack patterns against Azure best practices |\n| `mcp_azure_mcp_extension_cli_install` | Check\u002Finstall required CLI tools (az, azd, func) |\n\n## Workflow\n\n### Step 1: Session Check\n\n**Orchestrator entry:** Session exists — read `context.json`, proceed to Step 2.\n\n**Direct entry:** Check `.copilot-azure\u002Fsessions\u002Factive-session.json`:\n- **Exists** → ⛔ read [session-protocol.md](references\u002Fsession-protocol.md) for resume\u002Ffresh gate. Do NOT proceed until user answers.\n- **Missing** → create session: generate UUID, `New-Item -ItemType Directory -Path \".copilot-azure\u002Fsessions\u002F{uuid}\" -Force`, write `context.json` + `active-session.json` via `create` tool.\n\nThen: `az account show` → merge `{id, name, tenantId}` into `context.json.azure`. ⛔ Session MUST exist on disk before any scanning.\n\n### Step 2: Scan Workspace\n\nScan for project files. Detect components, `repo{}`, `detectedInfra[]`, `detectedServices[]`. Classify Terraform providers. Check CLI availability. Stack detection conflicts: user explicit statement wins (write to `context.json`, mark scan as override); scan-only → confirm with user; multiple stacks → show all and ask (see [component-mapping.md](references\u002Fcomponent-mapping.md)); no code → [zero-code-path.md](references\u002Fzero-code-path.md).\n\n> If no project files, no Dockerfile, AND no index.html → ⛔ read [zero-code-path.md](references\u002Fzero-code-path.md).\n\n> ⛔ **Cloud SDK early gate.** Grep for `aws-sdk|@aws-sdk|boto3|google-cloud|@google-cloud|firebase`. If functional deps found → read [cloud-sdk-migration.md](references\u002Fcloud-sdk-migration.md), then `ask_user`: **\"Redirect to Azure Cloud Migrate\"** (set `routeToSkill: \"azure-cloud-migrate\"`) · **\"Continue evaluation anyway\"** (finish readiness eval + SDK→Azure mapping, then STOP at Step 8 — no plan until the deps are swapped) · **\"Cancel\"**.\n\n### Step 3: Per-Component Evaluation\n\n| Sub-step | Action | Reference |\n|----------|--------|-----------|\n| 3.1 | **Build check** | ⛔ **You MUST read [build-check.md](references\u002Fbuild-check.md)** |\n| 3.2 | **Completeness check** | ⛔ **You MUST read [completeness-check.md](references\u002Fcompleteness-check.md)** |\n| 3.3 | **Deployability check** | ⛔ **You MUST read [deployability-check.md](references\u002Fdeployability-check.md)** |\n| 3.3a | **Component mapping** (conditional) | Read [component-mapping.md](references\u002Fcomponent-mapping.md) ONLY IF >1 project manifest found (monorepo) |\n\nPopulate `buildRequirements` per component after evaluation. Verdict propagation, tier rules, and f1Viable aggregation are in [readiness-gate.md](references\u002Freadiness-gate.md) and the individual check references.\n\n### Step 4: Write Artifacts + Readiness Gate\n\n⛔ Verify `context.json` exists on disk. ⛔ **You MUST read [readiness-gate.md](references\u002Freadiness-gate.md)** (verdicts, tiers, batch-then-approve, fast-track), then ⛔ **You MUST read [prereq-artifacts.md](references\u002Fprereq-artifacts.md)** (write procedures, schemas).\n\n### Step 5: Present Findings\n\nPer [readiness-gate.md § Present Findings](references\u002Freadiness-gate.md) — show verdicts grouped by severity before proceeding.\n\n### Step 6: Remediation (conditional)\n\n⛔ **You MUST read [remediation-protocol.md](references\u002Fremediation-protocol.md)** IF any ❌ FAIL verdict, ? Recommended Fix, or ⚠️ WARN with `fixPhase: \"prereq\"` exists. Contains remediation loop, static verification, re-eval mandate, post-remediation artifact updates, and the build-validation consent gate. If all verdicts are ✅ PASS or ⚠️ WARN without `fixPhase: \"prereq\"`, skip to Step 7.\n\n### Step 7: Write Final State\n\n`completedPhases` already has `\"prereq\"` + `currentPhase: null` (from Step 4). Then:\n\n> ⛔ **Write `lastScanCommit`.** Run `git rev-parse HEAD` and store the full 40-character SHA as `context.json.repo.lastScanCommit`. Required — staleness guard in Step 1 compares to HEAD on resume to detect changes.\n\n### Step 8: Route\n\n⛔ **Mandatory — do NOT skip this step.**\n\n> **Routing fields:** All routing writes `routeToSkill` and `routeReason` to `context.json`.\n\n> **Post-remediation context:** If Step 6 ran, lead the routing prompt with: \"Remediation complete — {N} issues fixed, your app is now {overallHealth}.\"\n\n> ⛔ **Evaluate rows top to bottom — first match wins.**\n\n| # | Condition | Action |\n|---|-----------|--------|\n| 1 | `routeToSkill` set (any entry) | `ask_user`: \"Redirect to {routeToSkill}\" \u002F \"Not now\". ⛔ Pipeline stops — do NOT proceed to architecture planning. |\n| 2 | `cloudSdkFindings[]` non-empty (user chose \"Continue evaluation anyway\") | Present the cloud-SDK → Azure swap mapping as ? blockers, then `ask_user` with this exact prompt: **\"? Cloud SDK migration required — these dependencies must be swapped before this app can deploy to Azure. (Redirect to azure-cloud-migrate \u002F Stop — swap manually and re-run)\"** — Redirect sets `routeToSkill: \"azure-cloud-migrate\"`, Stop halts. ⛔ Pipeline stops — do NOT proceed to architecture planning, and do NOT offer a \"continue to prepare\" option; the app can't deploy until the deps are swapped. |\n| 3 | Orchestrator + no `routeToSkill` | Tell the user: \"✅ Your app has been evaluated and is ready — let's plan your Azure deployment.\" Then invoke `azure-app-onboard`. ⛔ Do NOT stop, do NOT wait for user input, do NOT narrate internal handoffs. The user already consented to the full pipeline at scope triage. |\n| 4 | Direct + ready\u002FreadyWithCaveats + no Azure infra | `ask_user`: \"Deploy to Azure (full pipeline)\" → invoke `azure-app-onboard` \u002F \"Not now\" |\n| 5 | Direct + ready\u002FreadyWithCaveats + existing Azure infra | `ask_user`: \"Start fresh\" → invoke `azure-app-onboard` \u002F \"Use existing infra\" → invoke `azure-prepare` \u002F \"Not now\" |\n| 6 | Direct + blocked | Report blocker summary + \"Fix and re-run.\" |\n\nSeverity tiers (??❌?⚠️✅) are defined in [readiness-gate.md](references\u002Freadiness-gate.md).\n\n## Outputs\n\n| Artifact | Location | Consumer |\n|----------|----------|----------|\n| Session context | `context.json` → `components[]`, `repo{}`, `detectedInfra[]`, `detectedServices[]` | All downstream phases |\n| Prereq output | `prereq-output.json` | prepare phase (via `azure-app-onboard`) |\n| Readiness report | `.copilot-azure\u002Fsessions\u002F{uuid}\u002Freadiness-report.md` | User (offline reference) |",{"name":5,"license":16,"metadata":57,"description":7},{"author":13,"version":58},"0.0.0-placeholder","main","078fefe1d9536bb4bf2daae42ec39dcdad1e0f28","plugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq",225,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 03:43:10",{"source":9,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-app-onboard-prereq",{"tool":74,"command":75},"bunx","bunx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-app-onboard-prereq",{"tool":77,"command":78},"pnpm","pnpm dlx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-app-onboard-prereq","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002FSKILL.md",true,[82,88,92,96,100,104,108,112,118,122,126,130,134,138,142,146],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fbuild-check.md","REFERENCE","参考文档",5798,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fbuild-check.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fcloud-sdk-migration.md",2219,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fcloud-sdk-migration.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fcompleteness-check.md",4530,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fcompleteness-check.md",{"path":97,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fcomponent-mapping.md",4724,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fcomponent-mapping.md",{"path":101,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fdependency-compatibility.md",10220,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fdependency-compatibility.md",{"path":105,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fdeployability-check.md",3153,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fdeployability-check.md",{"path":109,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fprereq-artifacts.md",2404,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fprereq-artifacts.md",{"path":113,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fprereq-schemas.ts","SCRIPT","脚本",4301,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fprereq-schemas.ts",{"path":119,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Freadiness-gate.md",5528,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Freadiness-gate.md",{"path":123,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fremediation-protocol.md",3641,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fremediation-protocol.md",{"path":127,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fsession-protocol.md",7581,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fsession-protocol.md",{"path":131,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fsession-schemas.ts",5373,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fsession-schemas.ts",{"path":135,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fsubagent-starter-scaffold.md",4093,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fsubagent-starter-scaffold.md",{"path":139,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fsubscription-resolution.md",1888,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fsubscription-resolution.md",{"path":143,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Fzero-code-path.md",3715,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Freferences\u002Fzero-code-path.md",{"path":147,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":148,"sourceHtmlUrl":149},"version.json",55,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fazure-app-onboard-prereq\u002Fversion.json",[151,174,207,232,261,286],{"skillNo":152,"name":153,"nameZh":17,"description":154,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":52},"01M7153X40NMFY8DV2ATNDW060","azure-advisor-cost-optimization","Analyze Azure Advisor Cost\u002FIdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-advisor\u002Fskills\u002Fazure-advisor-cost-optimization\u002FSKILL.md",[],[158,159,160,34,161,162,163,164,165,166,167,168,169,36,170,51,171,172,173,10],"azure advisor","Optimization","cost optimization","cost","advisor","azure advisor cost optimization","resources","generic","for","deletion","unused","use","analyze","delete","requests","find",{"skillNo":175,"name":176,"nameZh":177,"description":178,"descriptionZh":179,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":180,"categories":181,"keywords":188,"publishedAt":52},"01M699ZWKYS4MRFW0KQM1FFCJK","foundry-iq","Foundry IQ 知识库管理","Foundry IQ knowledge bases. WHEN: make local or Blob documents searchable; create\u002Fdiagnose KBs; triage unsupported connectors or multi-source KB creation\u002Freconfiguration (even with classic-search terms); connect existing KB to agents (including multi-source KBs); create\u002Freuse a Search service; retrieve from an existing knowledge base with citations; no brand words needed. Read its procedure before query\u002Ftarget questions. NOT: other KB providers, repository-file search, classic Azure AI Search index\u002Fquery\u002Fapp work with no Foundry IQ KB or connector request, generic agent creation.","Foundry IQ 知识库。适用时机：让本地或 Blob 文档可被搜索；创建\u002F诊断知识库；对不支持的连接器或多源知识库的创建\u002F重新配置进行分类处理；将现有知识库连接到智能体（包括多源知识库）；创建\u002F复用 Search 服务；从现有知识库检索带引用的内容；无需品牌词。在查询\u002F目标类问题前先阅读其流程说明。不适用：其他知识库提供商、存储库文件搜索、不涉及 Foundry IQ 知识库或连接器请求的经典 Azure AI Search 索引\u002F查询\u002F应用类工作、通用智能体创建。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Ffoundry-iq-skills\u002Fskills\u002Ffoundry-iq\u002FSKILL.md",[182,185],{"categoryNo":183,"categoryName":184,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀",{"categoryNo":186,"categoryName":187,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[189,190,51,191,192,10,193,33,194,195,196,165,197,198,199,45,34,200,201,202,203,204,205,36,206],"foundry","foundry iq","triage","azure ai","connectors","Citations","brand","kb","creation","diagnose","search","reuse","knowledge","foundry iq knowledge bases","connect","Existing","documents","query",{"skillNo":208,"name":209,"nameZh":210,"description":211,"descriptionZh":212,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":213,"categories":214,"keywords":217,"publishedAt":52},"01M699ZT26E2D0VTWFZBBGJHMG","python-appservice-deploy","Python 应用 Azure 部署","Deploy Python (Flask\u002FDjango\u002FFastAPI) code to Azure App Service Linux. WHEN: \"Flask App Service\", \"Django App Service\", \"FastAPI App Service\", \"deploy Python to App Service\". DO NOT USE FOR: Container Apps, Functions, non-Python, Terraform\u002FBicep\u002FIaC, full infra — use azure-prepare.","将 Python（Flask\u002FDjango\u002FFastAPI）代码部署到 Azure App Service Linux。触发条件：\"Flask App Service\"、\"Django App Service\"、\"FastAPI App Service\"、\"将 Python 部署到 App Service\"。不适用：Container Apps、Functions、非 Python、Terraform\u002FBicep\u002FIaC、完整基础设施——请使用 azure-prepare。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fpython-appservice-deploy\u002FSKILL.md",[215,216],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[218,219,220,51,221,222,33,223,224,166,225,34,226,227,228,169,229,44,230,231,36],"python appservice deploy","deploy","python","linux","infra","do","django","azure app service","container","iac","fastapi","apps","functions","fastapi app",{"skillNo":233,"name":234,"nameZh":235,"description":236,"descriptionZh":237,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":238,"categories":239,"keywords":244,"publishedAt":52},"01M699ZR83J83TATQZKXHPXPF7","preset","Azure OpenAI 快速部署","Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).","通过分析所有可用区域的容量，智能地将 Azure OpenAI 模型部署到最优区域。自动优先检查当前区域，并在需要时显示备选方案。适用于：快速部署、最优区域、最佳区域、自动区域选择、快速配置、多区域容量检查、高可用部署、部署到最佳位置。不适用于：自定义 SKU 选择（使用 customize）、特定版本选择（使用 customize）、自定义容量配置（使用 customize）、PTU 部署（使用 customize）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fpreset\u002FSKILL.md",[240,243],{"categoryNo":241,"categoryName":242,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRYS21JX3JFDVCQ5GG4TFK","AI 平台资源管理",{"categoryNo":186,"categoryName":187,"taxonomyType":28,"taxonomyTypeDesc":29},[234,219,245,10,246,247,223,248,249,166,250,251,252,34,253,254,255,169,256,257,258,259,260],"setup","capacity","customize","quick","availability","deployment","alternatives","selection","custom","deployments","high availability","version","across","check","multi","first",{"skillNo":262,"name":247,"nameZh":263,"description":264,"descriptionZh":265,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":266,"categories":267,"keywords":270,"publishedAt":52},"01M699ZPM2ZHC9VXG582DY4268","Azure OpenAI 自定义部署","Interactive guided deployment flow for Azure OpenAI models with full customization control. Step-by-step selection of model version, SKU (GlobalStandard\u002FStandard\u002FProvisionedManaged), capacity, RAI policy (content filter), and advanced options (dynamic quota, priority processing, spillover). USE FOR: custom deployment, customize model deployment, choose version, select SKU, set capacity, configure content filter, RAI policy, deployment options, detailed deployment, advanced deployment, PTU deployment, provisioned throughput. DO NOT USE FOR: quick deployment to optimal region (use preset).","具有完全自定义控制能力的 Azure OpenAI 模型交互式引导部署流程。逐步选择模型版本、SKU（GlobalStandard\u002FStandard\u002FProvisionedManaged）、容量、RAI 策略（内容过滤器）以及高级选项（动态配额、优先处理、溢出）。适用于：自定义部署、定制模型部署、选择版本、选择 SKU、设置容量、配置内容过滤器、RAI 策略、部署选项、详细部署、高级部署、PTU 部署、预置吞吐量。不适用于：快速部署到最优区域（使用 preset）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fcustomize\u002FSKILL.md",[268,269],{"categoryNo":241,"categoryName":242,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":186,"categoryName":187,"taxonomyType":28,"taxonomyTypeDesc":29},[247,234,10,246,271,272,248,273,274,275,276,277,252,278,279,280,281,282,283,284,285,223,166,250],"policy","SET","processing","advanced","model","select","choose","configure","filter","azure openai","options","flow","openai","throughput","full",{"skillNo":287,"name":246,"nameZh":288,"description":289,"descriptionZh":290,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":291,"categories":292,"keywords":295,"publishedAt":52},"01M699ZMCK9T4EM6NASDB940R7","Azure OpenAI 模型容量查询","Discovers available Azure OpenAI model capacity across regions and projects. Analyzes quota limits, compares availability, and recommends optimal deployment locations based on capacity requirements. USE FOR: find capacity, check quota, where can I deploy, capacity discovery, best region for capacity, multi-project capacity search, quota analysis, model availability, region comparison, check TPM availability. DO NOT USE FOR: actual deployment (hand off to preset or customize after discovery), quota increase requests (direct user to Azure Portal), listing existing deployments.","跨区域和跨项目发现可用的 Azure OpenAI 模型容量。分析配额限制、比较可用性，并根据容量需求推荐最佳部署位置。适用场景：查找容量、检查配额、可以在哪里部署、容量发现、容量最佳区域、多项目容量搜索、配额分析、模型可用性、区域比较、检查 TPM 可用性。不适用场景：实际部署（发现后转交给预设或自定义技能）、配额提升申请（引导用户前往 Azure 门户）、列出现有部署。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fcapacity\u002FSKILL.md",[293,294],{"categoryNo":241,"categoryName":242,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":186,"categoryName":187,"taxonomyType":28,"taxonomyTypeDesc":29},[246,234,219,10,247,296,275,297,199,298,299,300,257,280,301,302,283,303,304,223,249,166,305,250],"projects","project","analysis","listing","hand","limits","azure portal","direct","TPM","discovery"]