All skills
microsoft avatar

/prepare

@b8a1c66
by microsoftmicrosoft/skills3.1k stars
351

Skills, MCP servers, Custom Agents, Agents.md for SDKs to ground Coding Agents

  • 13 files
  • 71.3 KB
  • Updated last week
  • GitHub

Use this Skill: https://skilld.dev/gh/microsoft/skills/prepare

This session only. Nothing lands on disk.

referencessku-matrix.md

โ‰ˆ823 tokens on demand. Your agent reads this file only when SKILL.md points to it.

SKU Selection Matrix

Select SKU based on context.json.intent.budget. Cross-reference with intent.scale for right-sizing.

Budget Tiers

โš ๏ธ F1 (Free) limitations: 1 GB RAM, shared compute (60 min/day CPU), no custom domain, no always-on, no deployment slots, no VNet integration. Only suitable for low-traffic dev/test. Production apps โ†’ B1 minimum.

Service cost-optimized balanced performance
Container Apps Consumption (scale-to-zero) Consumption Dedicated
App Service F1 (Free) B1 / S1 P1v3
Azure SQL Basic (5 DTU) Standard (S0) Premium / Serverless
Cosmos DB Serverless Provisioned (400 RU) Provisioned (autoscale)
Storage Standard_LRS Standard_GRS Premium_LRS
Static Web Apps Free Standard Standard
Key Vault Standard Standard Premium (HSM)
Service Bus Basic Standard Premium
Redis Cache Basic C0 Standard C1 Premium P1
Functions Consumption Flex Consumption Premium EP1
Log Analytics PerGB2018 PerGB2018 PerGB2018 (dedicated cluster)

โš ๏ธ Log Analytics Free SKU is deprecated. ARM rejects it with some API versions and retention settings. Always use PerGB2018 โ€” first 5 GB/month is free anyway.

Modifier Rules

  • intent.scale = "Large" (100K+ users) โ†’ bump minimum one tier above cost-optimized
  • intent.budget = "performance" + intent.scale = "Small" โ†’ don't over-provision; use balanced tier
  • Policy denies a SKU โ†’ fall back to next available tier, add to assumptions[]
  • Cosmos DB Serverless: max 1K RU/s burst, no geo-replication โ€” only for intermittent/dev workloads. Sustained read-heavy โ†’ Provisioned.

Default Behavior

  • Single-component app + cost-optimized โ†’ cheapest viable SKU (App Service F1, Static Web Apps Free)
  • Simple web app with no DB โ†’ $0โ€“$15/month
  • Always output exact SKU codes: "App Service F1 (Free)" not "Free tier"

Auto-Cheapest for Fast-Track

โ›” If prereq-output.json.fastTrackEligible == true AND context.json.intent.budget is unset, treat as cost-optimized. Fast-track means single-component + no DB + no auth + no Dockerfile โ€” by definition this app fits the cheapest tier. Pick App Service F1 (Free) for dynamic apps that need a runtime (Node.js/Python starter templates), or Static Web Apps Free for pure static HTML/JS/CSS with no server-side runtime. The user still sees the SKU + monthly cost in the scaffold approval gate โ€” they can override via "Edit plan" if they want to upgrade. Do NOT ask the user about budget unless they mention cost first (per intent-gathering.md).

โ›” Fast-track free promise can degrade. If the cheapest free tier is unavailable during deploy prep (no F1 quota AND Static Web Apps Free cap reached โ€” see sku-quota-validation.md ยง After Checking), degrade to the cheapest AVAILABLE tier โ€” do NOT name or assume a specific paid SKU; let the live quota results decide which is cheapest-available. Record an assumptions[] note that states clearly WHY fast-track could not stay free, so the approval gate presents the plan with the resulting cost instead of silently upgrading.

Source: SKILL.md on GitHub

No third-party reports yet.

Signed by skilld at b8a1c66. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week

README badge

README badge for microsoft/skills/prepare