技能低风险未认领

Azure App Onboard

End-to-end orchestrator: from a business idea, app idea, or existing app to running Azure deployment with cost estimates and pre-deploy approval. Analyzes your app, auto-detects the right Azure services, scaffolds infrastructure code, and deploys — tailored to your app, not a template. Handles moving existing apps to Azure without rewriting or with minimal changes. WHEN: bring your app to Azure, plan my app, cost to run, is my code ready to deploy, deploy my app to the cloud, deploy all my services, what Azure services do I need, plan my Azure deployment, deploy my new app to Azure, one-click deploy, I have an app and want it on Azure, migrate my app to Azure, help me get started, build an app, no code yet, starter project. DO NOT USE FOR: use azd for deployment(use azure-deploy), optimizing existing costs (use cost-optimization), code readiness checks only (use azure-app-onboard-prereq).

microsoftmicrosoft/azure-app-onboard★ 3.1k更新于 2026年10月9日

说明

⛔ Every repo goes through the full pipeline (Steps 1–10). No exceptions. Do not skip steps, refuse, or short-circuit based on what you recognize. Follow the Workflow table below sequentially — read each step's references before acting.

Quick Reference

Property Value
Best for Developers who know what to build but not which Azure services to use
Inputs Business idea or existing codebase, budget/scale preferences (optional)
Outputs Architecture plan, cost estimate, IaC files, deployed Azure resources
Phases Discover → Architect → Scaffold → Deploy (self-contained, no external skill calls)

When to Use This Skill

  • Deploy existing code without knowing which Azure services to use
  • Check if your existing code is ready to deploy to Azure
  • Move an existing app to Azure without rewriting or with minimal changes
  • Get cost estimates before committing to infrastructure
  • Understand architecture decisions and rejected alternatives
  • Get answers to Azure architecture or service selection questions (e.g., "What database should I use?")
  • Get guided Azure onboarding without prior experience

When NOT to Use

Scenario Use Instead
Run azd up or execute an existing deployment azure-deploy
Optimize existing Azure spend cost-optimization from the optional azure-cost plugin
Generate Bicep/Terraform for a known architecture azure-prepare
Validate infrastructure or run preflight checks azure-validate
Troubleshoot a running Azure deployment azure-diagnostics
Deploy to or manage AKS/Kubernetes directly azure-kubernetes
Look up or list existing Azure resources azure-resource-lookup

If cost-optimization is unavailable, explain that it is provided by the optional azure-cost plugin and direct the user to their client's supported plugin installation flow; do not imply the handoff completed.

Pipeline Rules

⛔ You MUST read references/pipeline-rules.md at the start of every AppOnboard session. It contains approval gates, phase lifecycle, session artifacts, deploy-as-is, and security baseline rules.

Workflow

⛔ Deploy recovery: After deploy gate approval OR before any az deployment/az webapp deploy/az acr build — if you haven't read deploy/SKILL.md, read .copilot-azure/sessions/{id}/deploy-checklist.md first, then deploy/SKILL.md. ⛔ NEVER invoke {"skill": "azure-deploy"} — that is a DIFFERENT skill for a DIFFERENT workflow.

⛔ Post-scaffold transition (MANDATORY): Immediately after scaffold-manifest.json is written, YOUR NEXT ACTION MUST be Step 8 (Deploy Approval Gate) — NOT a summary report, NOT a "here are the generated files" message, NOT a completion signal. Confirm context.json has completedPhases: [...,"scaffold"] + currentPhase: "deploy" (update it yourself if the scaffold subagent didn't). Re-read approval-gates.md § Deploy Gate if evicted from context (scaffold reference loading is heavy), then present the exact prompt: "🚀 Ready to deploy? (Yes / Run manually / Edit plan / Cancel)". This gate is the LAST content in your response — wait for the user's reply.

# Step Action Reference
1 Session check + Azure login Create/resume session, verify Azure CLI auth, resolve subscription + user identity ⛔ You MUST read session-protocol.md
2 Scope triage Check azd markers, triage question. Empty workspace or code-only (no infra) → Step 3 directly. ⛔ Read intent-gathering.md § Scope Triage
3 Prereq scan ⛔ Skip if completedPhases includes "prereq". Otherwise: invoke {"skill": "azure-app-onboard-prereq"}. Write prereq-output.json, update context.json. Halt if: overallHealth: "blocked" OR routeToSkill set.
4 Gather intent Present prereq results, confirm stack + Azure services, ask remaining questions. ⛔ Read intent-gathering.md § After Prereq Returns
5 Plan architecture Write prepare-plan.json. ⛔ You MUST read prepare/SKILL.md
6 Scaffold approval gate Display plan for user approval BEFORE generating any files. ⛔ Read approval-gates.md § Scaffold Gate
7 Scaffold Generate IaC, self-review. Write scaffold-manifest.json. Update context.json. ⛔ You MUST read scaffold/SKILL.md
8 Deploy approval gate Display validation summary. ⛔ After approval: FIRST read deploy-checklist.md → deploy/SKILL.md. NEVER {"skill": "azure-deploy"}. ⛔ Read approval-gates.md § Deploy Gate
9 Deploy Execute IaC, health-check. Write deploy-result.json. ⛔ You MUST read deploy/SKILL.md
10 Handoff Surface deployment identity, cleanup commands, next steps. ⛔ You MUST read handoff-protocol.md

Error Handling

Error Remediation
Phase fails Halt, report phase + error. User decides: retry, skip, abort.
MCP server unavailable Skip affected checks, add disclaimer to costEstimate.assumptions[] and every approval gate.
Missing RBAC Report required role + az role assignment command.

Shared references: MCP tools (cross-phase tool parameters) | IaC resources (Azure resource docs for troubleshooting)

权限

声明检测
运行代码—nodepowershellshell
安装—npmnpxpippnpm/yarn
安装时运行脚本—无
网络—azure.microsoft.comgraph.microsoft.comlearn.microsoft.commanagement.azure.commyapp-ca-dev-a1b2.azurecontainerapps.ioportal.azure.comprices.azure.comregistry.terraform.ioschema.management.azure.com
需要的凭据—无
工作区外的路径—~/overview~/wwwroot
智能体工具—无

检查

低风险 · 没有发现需要提醒的地方。

未经人工审核 · 已做规则检查;模型审核尚未开启。

另有 21 处低风险标记:常见命令之类,只记录、不提醒
  • 规则 · resource_abuseSKILL.md:59
  • 规则 · resource_abuseSKILL.md:74
  • 规则 · command_injectiondeploy/references/blocked-patterns.md:5
  • 规则 · command_injectiondeploy/references/code-deployment-swa.md:21
  • 规则 · resource_abusedeploy/references/deploy-safety.md:28
  • 规则 · resource_abusedeploy/references/error-classification.md:37
  • 规则 · resource_abusedeploy/references/preflight-checks.md:95
  • 规则 · resource_abusedeploy/references/preflight-checks.md:97
  • 规则 · resource_abuseprepare/references/service-mapping.md:77
  • 规则 · resource_abuseprepare/references/sku-quota-validation.md:73
  • 规则 · resource_abusereferences/approval-gates.md:29
  • 规则 · resource_abusereferences/pipeline-rules.md:29
  • 规则 · resource_abusereferences/session-protocol.md:24
  • 规则 · resource_abusereferences/session-schemas.ts:123
  • 规则 · resource_abusereferences/subscription-resolution.md:14
  • 规则 · resource_abusescaffold/references/error-handling.md:3
  • 规则 · resource_abusescaffold/references/scaffold-healing-rules.md:26
  • 规则 · resource_abusescaffold/references/self-review-checklist.md:13
  • 规则 · resource_abusescaffold/references/self-review-procedure.md:25
  • 规则 · resource_abusescaffold/references/subagent-validate.md:87
  • 规则 · resource_abusescaffold/references/validation-and-manifest.md:39

文件68 个文件 · 373.4 KB

  • SKILL.md6.6 KB
deploy/1
  • SKILL.md7.5 KB
deploy/references/15
  • approval-gate-template.md2.9 KB
  • blocked-patterns.md5.7 KB
  • code-deployment-appservice.md4.6 KB
  • code-deployment-container-apps.md8.4 KB
  • code-deployment-swa.md5.7 KB
  • database-post-deploy.md4.5 KB
  • deploy-checklist-template.md10.1 KB
  • deploy-safety.md4.5 KB
  • deploy-schemas.ts3.5 KB
  • error-classification.md3.6 KB
  • health-check-patterns.md5.5 KB
  • mcp-tools.md5.5 KB
  • portal-links.md3.1 KB
  • preflight-checks.md4.4 KB
  • subagent-preflight.md5.1 KB
prepare/1
  • SKILL.md6.4 KB
prepare/references/12
  • deploy-strategy.md6.8 KB
  • mcp-tools.md5.6 KB
  • naming-patterns.md4.6 KB
  • prepare-schemas.ts7.0 KB
  • pricing-guide-services.md8.4 KB
  • pricing-guide.md4.0 KB
  • service-mapping.md8.5 KB
  • sku-matrix.md3.2 KB
  • sku-quota-validation.md9.0 KB
  • subagent-pricing.md2.5 KB
  • subagent-quota.md3.5 KB
  • validation-rubric.md2.3 KB
references/11
  • approval-gates.md7.4 KB
  • azd-template-routing.md4.7 KB
  • handoff-protocol.md7.8 KB
  • iac-resources.md2.6 KB
  • intent-gathering.md2.2 KB
  • mcp-tool-reference.md3.7 KB
  • pipeline-rules-runtime.md3.5 KB
  • pipeline-rules.md6.3 KB
  • session-protocol.md8.0 KB
  • session-schemas.ts5.2 KB
  • subscription-resolution.md2.1 KB
scaffold/1
  • SKILL.md14.2 KB
scaffold/references/24
  • bicep-app-service.md5.2 KB
  • bicep-container-apps.md9.3 KB
  • bicep-patterns-data.md4.0 KB
  • bicep-patterns-security.md7.8 KB
  • bicep-patterns.md6.8 KB
  • bicep-swa.md757 B
  • cicd-pipelines.md325 B
  • dockerfile-generation.md3.8 KB
  • env-var-secrets.md4.1 KB
  • error-handling.md1.5 KB
  • iac-generation-rules.md6.6 KB
  • mcp-tools.md7.0 KB
  • rbac-roles.md3.8 KB
  • scaffold-healing-rules.md3.3 KB
  • scaffold-schemas.ts3.5 KB
  • self-healing.md2.3 KB
  • self-review-checklist.md9.0 KB
  • self-review-procedure.md2.3 KB
  • subagent-iac-gen.md9.5 KB
  • subagent-review.md3.5 KB
  • subagent-validate.md7.2 KB
  • terraform-patterns.md6.9 KB
  • validation-and-manifest.md5.1 KB
  • waf-checklist.md2.3 KB
scaffold/scripts/2
  • scaffold-conformance.ps112.8 KB
  • scaffold-conformance.shx13.8 KB

版本

  1. #21.2.6最新2026年10月10日
  2. #11.2.52026年10月7日