Skip to main content

Agents start here

Route for helping someone prepare or deploy an app with App Service Builder. Read the linked guide before acting; procedures, commands, and prerequisites live there. No skill is required.

Rules for agents​

  • Start read-only. Get approval before edits, installs, builds, deployments, or permission changes. A build runs repository code, so it needs its own approval.
  • Preserve the user's chosen app, source, framework, and unrelated files. Propose the smallest builder.yaml change and show the diff.
  • Creating an app, connecting source, publishing code, and deploying are separate approvals. Local edits aren't deployed source: confirm the pushed branch tip matches before deploying.
  • Don't invent commands, flags, or health endpoints. If Builder CLI is installed, check builder --help; if it's missing, say so rather than installing it.
  • Take field names, limits, and support boundaries from these docs, not from another Azure service.
  • A successful build or accepted request doesn't prove the app serves the right content. Verify the app URL and the app's own health endpoint if it has one.
  • If an outcome is unknown or times out, inspect the existing app and operation read-only before any retry; don't create or deploy again.

Read the Markdown docs​

The Markdown documentation index lists every article. Read this map as Markdown; for any article, replace the final / in its URL with .md (/docs/guides/builder-yaml/ is /docs/guides/builder-yaml.md). Both formats come from the same content, including all client tabs, warnings, and sample descriptions. Agents don't find llms.txt automatically; give them the link.

Follow the journey​

  1. Check access and supported scope. Read preview availability and limitations, runtime support, and access and sign-in. Check regions, networking and app URLs, and durable storage boundaries. See preview terms and support and cost guidance.
  2. Choose the client and source route. Follow the Builder CLI or Portal first-app journey for GitHub source, including repository authorization, or the ZIP deployment walkthrough for local source.
  3. Map the app to its manifest. Use the manifest guide to choose the app shape and separate source roots, build output, startup, ports, and public URLs. Look up exact fields in the YAML reference. GitHub source without a manifest can use best-effort generation. Review its YAML and errors; copy, correct, and commit it before extending the app. ZIP uploads still need a manifest.
  4. Review checks and proposed changes. Read local manifest validation. For settings, see variables, visitor sign-in, and managed identity.
  5. Deploy and verify. Follow completion and active-version checks and use health semantics to tell reachability from the responses you need to test.
  6. Diagnose before retrying. Use the failing-stage checklist, diagnostics, and safe retry guidance.

Choose optional agent instructions​

Agent skills covers installing the optional skill; the routes above don't need it.

Check automation separately​

Before designing CI/CD, read automation boundaries, ARM deployment requests, and CLI headless-session limits. For resource definitions, use ARM or Bicep provisioning. Don't assume an interactive deployment workflow supplies unattended authentication.