scaffold
Skill1.5k starsChanged 2 months agoMITView on GitHub
Generate deployment-ready infrastructure code from an architecture plan, verify it with adversarial self-review, and bridge to validation — all without deploying. Invoked by the azure-app-onboard orchestrator at Phase 3 when prepare-plan.json exists with services[]. Not directly user-routable in v1. Return to orchestrator: When complete, return control to azure-app-onboard. Do NOT directly invoke deploy — the orchestrator manages phase transitions. See shared tools for cross-phase tools and global parameters. See scaffold tools for full parameter tables. Session folder: .copilot-azure/sessions/{uuid}/ — reads…
29 other projects use a version of this.
Trending
Quiet since October.thin dataabout the whole repository
Most recently taken up by
- batirko/research-and-learntheir own version, first seen Oct 5, 2026
- danmaps/gis-agent-skillstheir own version, first seen Oct 2, 2026
- microsoft/GitHub-Copilot-for-Azureword for word, first seen Oct 1, 2026
- coroboros/agent-skillstheir own version, first seen Sep 26, 2026
- wangqiqi/cursor-aitheir own version, first seen Sep 23, 2026
- BULDEE/ai-craftsman-superpowerstheir own version, first seen Sep 21, 2026
Who's talking about microsoft/azure-skills
- microsoft/apm“Fold marketplace authoring config into apm.yml as the single APM surface”GitHub · Apr 29, 2026 · 2 reactions
- salaboy/skills-oci“Support for Skill Collections”GitHub · Jul 3, 2026 · 1 reactions
- Azure/azure-dev“Add `azd tool install/upgrade azure-skills` with per-host selection”GitHub · Jun 18, 2026 · 1 reactions
- microsoft/apm“feat(pack): unify 'apm pack' to produce bundle and marketplace.json (closes #722)”GitHub · Apr 29, 2026 · 1 reactions
- microsoft/GitHub-Copilot-for-Azure“Update CHANGELOG.md when syncing plugin content”GitHub · Apr 16, 2026 · 1 reactions
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub (13 times).
On GitHub · 13
- Apr 29, 2026Fold marketplace authoring config into apm.yml as the single APM surface — microsoft/apm2 reactions
- Jul 3, 2026Support for Skill Collections — salaboy/skills-oci1 reaction
- Jun 18, 2026Add `azd tool install/upgrade azure-skills` with per-host selection — Azure/azure-dev1 reaction · 1 comment
- Apr 29, 2026feat(pack): unify 'apm pack' to produce bundle and marketplace.json (closes #722) — microsoft/apm1 reaction · 1 comment
- Apr 16, 2026Update CHANGELOG.md when syncing plugin content — microsoft/GitHub-Copilot-for-Azure1 reaction · 2 comments
8 more on GitHub
- Oct 4, 2026copilot-plugins.github.microsoft.azure-skills: init at 1.2.77 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.microsoft.azure-skills: init at 1.2.77 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.microsoft.azure-skills: 1.2.51 → 1.2.77 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.microsoft.azure-skills: init at 1.2.51 — sudosubin/agents.nix0 reactions
- Sep 28, 2026azure-skills: upstream update — robomotionio/robomotion-skills0 reactions
- Sep 24, 2026azure-hosted-copilot-sdk generated install command fails — microsoft/skills0 reactions
- Jul 29, 2026Add support for Marketplace plugins — microsoft/scope0 reactions
- May 19, 2026Label agent plugin telemetry separately from VS Code extension telemetry — microsoft/GitHub-Copilot-for-Azure0 reactions · 3 comments
Used with
Projects with it also use git, refactor and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nicolasestremSkillgit
Git operations with intelligent commit messages and branch management
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 6 projects that use this
nicepkgSkillteam
根据任务快速组建临时 AI Agent 团队协作。自动从 .claude/agents/ 中选择最合适的成员组队。
Also in 3 projects that use this
Microsoft AzureSkilldesign
Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.
Also in 6 projects that use this
an8079Skillautopilot
Also in 3 projects that use this
genomewalkerSkillmigrate
Import soul data from SQLite or shared chitta files
Also in 3 projects that use this
Other versions29 projects use a version of this.
Word for word · 2
- microsoft/skills★ 3.1k100% same
- microsoft/GitHub-Copilot-for-Azure★ 253100% same
Edited · 0
None found.
Wrote their own version · 27
- SethGammon/Citadel★ 922same name
- codewithmukesh/dotnet-claude-kit★ 750same name
- genkovich/sdd★ 170same name
- Rune-kit/rune★ 88same name
- simota/agent-skills★ 87same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- danmaps/gis-agent-skills★ 29same name
- pcatattacks/solopreneur-plugin★ 15same name
- aborroy/aiup-alfresco★ 14same name
- mhlaghari/stuntman★ 14same name
17 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository85 other files it gives its agents.
- cost-analysisSkill
- cost-estimationSkill
- cost-governanceSkill
- cost-optimizationSkill
- azure-kusto-graphSkill
- azure-kusto-irql-graphSkill
- azure-kusto-irqlSkill
- azure-local-multi-rackSkill
- azure-localSkill
- airunway-aks-setupSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- deploySkill
- prepareSkill
- azure-app-onboard-prereqSkill
- scaffoldSkill
- azure-app-onboardSkill
- azure-cloud-migrateSkill
- azure-complianceSkill
- azure-computeSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-enterprise-infra-plannerSkill
- azure-kubernetes-app-deploySkill
- azure-kubernetes-automatic-readinessSkill
- azure-kubernetesSkill
- azure-kustoSkill
- azure-messagingSkill
- azure-prepareSkill
- azure-quotasSkill
- azure-reliabilitySkill
- azure-resource-lookupSkill
- azure-resource-visualizerSkill
- azure-storageSkill
- azure-upgradeSkill
- azure-validateSkill
- discover-azure-skillsSkill
- entra-agent-idSkill
- entra-app-registrationSkill
- finetuningSkill
- capacitySkill
- customizeSkill
- presetSkill
- deploy-modelSkill
- microsoft-foundrySkill
- python-appservice-deploySkill
- foundry-iqSkill
- airunway-aks-setupSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- deploySkill
- prepareSkill
- azure-app-onboard-prereqSkill
- azure-app-onboardSkill
- azure-cloud-migrateSkill
- azure-complianceSkill
- azure-computeSkill
- azure-deploySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 177
Verify deploy-checklist.md exists (written at Step 5b) — if missing, create NOW from deploy-checklist-template.md.
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azure App Onboard Scaffold — IaC Generation + Self-Review
Generate deployment-ready infrastructure code from an architecture plan, verify it with adversarial self-review, and bridge to validation — all without deploying.
Quick Reference
| Property | Value |
| Parent | azure-app-onboard |
| Best for | Turning prepare-plan.json service list into Bicep templates with secure-by-default patterns |
| Inputs | prepare-plan.json (services, naming, quotas), context.json (overrides, components, repo info) |
| Outputs | scaffold-manifest.json, generated IaC files in infra/ |
| Pipeline position | Phase 3 of 4: prereq → prepare → scaffold → deploy |
| IaC format | Bicep (v1 default). Terraform when existing .tf detected or user override. |
When to Use This Skill
Invoked by the azure-app-onboard orchestrator at Phase 3 when prepare-plan.json exists with services[]. Not directly user-routable in v1.
Return to orchestrator: When complete, return control to
azure-app-onboard. Do NOT directly invoke deploy — the orchestrator manages phase transitions.
When NOT to Use
| Scenario | Use Instead |
User-triggered IaC (no prepare-plan.json) | azure-prepare |
| Subscription-scope landing zones | azure-enterprise-infra-planner |
Execute deployment (azd up) | azure-deploy (do NOT invoke from AppOnboard pipeline) |
MCP Tools
See shared tools for cross-phase tools and global parameters. See scaffold tools for full parameter tables.
| Tool | Sub-command | Purpose | Parameters |
mcp_azure_mcp_bicepschema | bicepschema_get | ARM resource type schemas | resource_type (Required), api_version (Optional) |
mcp_bicep_list_avm_metadata | (flat) | AVM module catalog | None |
mcp_bicep_get_bicep_best_practices | (flat) | Bicep best practices | None |
mcp_bicep_get_az_resource_type_schema | (flat) | ARM resource type JSON schema | azResourceType, apiVersion (Required) |
mcp_bicep_build_bicep | (flat) | Validate .bicep files (self-review L3) | filePath (Required) |
mcp_bicep_format_bicep_file | (flat) | Format .bicep files (LF enforcement) | filePath (Required) |
mcp_azure_mcp_deploy | deploy_iac_rules_get | IaC best practices and rules | deployment-tool, iac-type, resource-types |
mcp_azure_mcp_deploy | deploy_pipeline_guidance_get | CI/CD pipeline config | is-azd-project, pipeline-platform, deploy-option |
mcp_azure_mcp_get_azure_bestpractices | get_azure_bestpractices_get | SDK/Functions best practices | resource, action |
mcp_azure_mcp_azureterraformbestpractices | (flat) | Terraform patterns (TF path only) | resource_type (Required) |
Workflow
Session folder: .copilot-azure/sessions/{uuid}/ — reads prepare-plan.json + context.json, writes scaffold-manifest.json.
DETECT (Steps 1–4)
- Read
prepare-plan.json— verifyservices[]exists, readnamingconfig (especiallynaming.resourcePrefix,naming.suffix,naming.resources[]). Read resource group name fromcontext.json.azure.resourceGroup. ⛔ Use EXACTLY these names in generated IaC — do NOT invent names, derive them fromenvironmentName, or append your own suffixes. ⛔ Use EXACTLY the names fromprepare-plan.json.naming.resources[]as Bicep parameters. Do NOT derive names withtake(),substring(), or string manipulation. The plan is the source of truth. Missing → trigger prepare backfill viaazure-app-onboardorchestrator. - Read
context.json— checkoverrides[]foriacFormatpreference,detectedInfra[]for existing.tf,detectedInfraProviderfor cloud provider classification. - Check workspace for existing IaC — ⛔ Skip if
context.json.overrides[]containsignoreExistingInfra: true. Otherwise:- Azure IaC (
.bicep,azure.yaml,.tfwithazurerm):ask_user→ "Start fresh" (renameinfra/toinfra.bak/) or "Use existing" (route toazure-prepare, stop pipeline). - Non-Azure IaC (
.tfwith GCP/AWS): respectcontext.json.overrides[].iacFormatfrom prepare. Default: Bicep alongside existing TF. - Unknown TF (
detectedInfraProvider.terraform=="unknown"): ask user which provider before routing. - No IaC: continue.
- Azure IaC (
- Determine compute targets — Check which compute targets are in the plan (App Service/Functions, Container Apps, or both) and whether PostgreSQL/Redis is present. Do NOT read any reference files — pass this info to the sub-agent at Step 5.
4b. Pre-check API versions (main thread) — MCP tool access is unreliable in
taskagents — call these in the main thread before dispatching. Callmcp_bicep_list_az_resource_types_for_provider(orbicep-list_az_resource_types_for_provider) once per provider namespace inprepare-plan.json.services[](e.g.,Microsoft.Web,Microsoft.App,Microsoft.DBforPostgreSQL,Microsoft.Cache,Microsoft.KeyVault,Microsoft.ContainerRegistry). Extract the latest GA API version (no-preview) for each resource type. Build anapiVersionsmap and pass it to the IaC gen sub-agent at Step 5. Fallback: if MCP unavailable, runaz provider show --namespace {ns} --query "resourceTypes[?resourceType=='{type}'].apiVersions[?!contains(@, 'preview')] | [0][0]" -o tsvper resource type — this filters to GA-only and picks the latest. Pass"MCP unavailable"only if both MCP AND CLI fail. Sub-agent still validates generated Bicep viaaz bicep build.
ACTION (Steps 5–12)
⛔ File boundary: NEVER modify files outside
infra/,.copilot-azure/. Scaffold only writes files — no install/build commands.
⛔ Sub-agent delegation is MANDATORY for Steps 5, 6–9, and 10–12. Each step reads its
subagent-*.mdtemplate, then dispatches ataskcall. Do NOT read any reference file not explicitly named in these steps.⛔ Dispatch type:
taskONLY — NEVERgeneral-purpose.general-purposeleaks sub-agent context into the main thread, accelerating compaction and evicting the orchestrator workflow.taskisolates sub-agent context.⛔ How to dispatch — VERBATIM COPY required:
viewthesubagent-*.mdtemplate file- Your NEXT action MUST be a
tasktool call — notview,powershell,create, or ANY other tool- The task prompt MUST contain the COMPLETE and UNMODIFIED template text. Copy the template between
<<<TEMPLATE_START>>>/<<<TEMPLATE_END>>>delimiters exactly as shown below. Do NOT summarize, paraphrase, reword, or omit ANY part of it — the sub-agent needs every "Read [file]" and "Do:" instruction to produce correct output- AFTER the template block, append the data sections (plan JSON, overrides, etc.)
Anti-pattern (causes regressions): Writing your OWN prompt that lists workflow steps or describes what to generate. The template already contains the complete workflow — your job is to COPY it, not rewrite it.
- IaC generation — ⛔ You MUST dispatch
subagent-iac-gen.mdas atask. ⛔ agent_type:"task"— NEVER"general-purpose".<<<TEMPLATE_START>>> {paste the ENTIRE content of subagent-iac-gen.md here — unmodified} <<<TEMPLATE_END>>> ## Data (appended by orchestrator) ### prepare-plan.json {full JSON} ### context.json.overrides {overrides array} ### prereq-output.json.buildRequirements {buildRequirements object} ### prereq-output.json.warnings[] {warnings array} ### Compute targets {App Service/Functions, Container Apps, or both + whether PostgreSQL/Redis present} ### apiVersions {map from Step 4b, e.g. {"Microsoft.KeyVault/vaults": "2023-07-01", ...} — or "MCP unavailable" if skipped} ### Working directory {absolute path}- Expect: IaC files written to
infra/, file list returned forscaffold-manifest.json.files[] - The tag
app-onboard-skill: 'true'MUST appear verbatim in generated Bicep.
- Expect: IaC files written to
5b. Deploy checklist (parallel with Step 5) — Dispatch as a task in parallel with the IaC gen subagent above. ⛔ agent_type: "task" — NEVER "general-purpose".
<<<TEMPLATE_START>>>
You are a deploy-checklist generator. Do NOT invoke any skills.
1. Read the deploy-checklist-template at: plugin/skills/azure-app-onboard/deploy/references/deploy-checklist-template.md
2. Fill in {placeholders} with real values from prepare-plan.json (appName, rgName, subscriptionId, sessionId).
3. Delete sections that don't apply to this deployment's compute target (e.g., remove App Service section for Container Apps deploys). The template section headers indicate which to delete.
4. Write the result to the session folder using the `create` tool. This file survives conversation compaction — deploy re-reads it after every long-running command.
<<<TEMPLATE_END>>>
## Data (appended by orchestrator)
### prepare-plan.json
{full JSON}
### Session path
{.copilot-azure/sessions/{uuid}/}
### Compute targets
{App Service, Container Apps, Static Web Apps, or combination}- Expect:
deploy-checklist.mdwritten to session folder. If this subagent fails, the validate subagent (Steps 10b–12.5) will catch the missing file.
6–9. Self-review — ⛔ You MUST dispatch subagent-review.md as a task. ⛔ agent_type: "task" — NEVER "general-purpose".
<<<TEMPLATE_START>>>
{paste the ENTIRE content of subagent-review.md here — unmodified}
<<<TEMPLATE_END>>>
## Data (appended by orchestrator)
### Generated IaC files
{full content of every .bicep/.tf file}
### prepare-plan.json (services, naming, deploymentVariables)
{relevant sections}
### prereq-output.json.warnings[]
{warnings array}- Expect: findings JSON → write to
scaffold-manifest.json.selfReview - FLAGGED at L1/L3 → fix IaC before proceeding
VALIDATE → MANIFEST → APPROVE (Steps 10–12.5)
10a. Format IaC (main thread) — For each .bicep file in infra/ (including modules/): call mcp_bicep_format_bicep_file (or bicep-format_bicep_file) with { filePath: "<absolute path>" }.This enforces LF line endings via the bicepconfig.json written during IaC generation. Fallback: skip if unavailable.
10a-conf. Conformance gate (main thread — MANDATORY for Bicep) — ⛔ Skip this entire step when the scaffold emitted Terraform (infra/main.bicep absent) — these checks are Bicep-only (Terraform is syntax-validated via terraform validate in the validate subagent). Otherwise run the conformance script from this skill's scripts/ dir; it deterministically catches ARM-rejected values az bicep build can't (invalid Bicep values, wrong DB version, reserved DB login, enablePurgeProtection):
{scaffoldDir}/scripts/scaffold-conformance.ps1 -SessionPath ".copilot-azure/sessions/{uuid}" -InfraPath infra # pwsh (preferred)
bash {scaffoldDir}/scripts/scaffold-conformance.sh ".copilot-azure/sessions/{uuid}" infra # bash (only if pwsh unavailable; needs jq for the plan-dependent checks)⛔ Prefer the .ps1 when pwsh is available — it runs every check unconditionally. The .sh twin skips the plan-dependent checks (DB-VERSION-MATCH, SERVICES-COMPLETE, DB-NAME-PRESENT, WARN-FIXED) when jq is absent.
⛔ Any BLOCK failure → fix the IaC, re-run (max 3); never present the deploy gate with an open BLOCK. Run it here in the main thread — do NOT delegate to the validate subagent or hand-judge the result when a shell exists. Pass the JSON to the validate subagent for scaffold-manifest.json.conformance.
10b–12.5. Validation + manifest — ⛔ You MUST dispatch subagent-validate.md as a task. ⛔ agent_type: "task" — NEVER "general-purpose".
<<<TEMPLATE_START>>>
{paste the ENTIRE content of subagent-validate.md here — unmodified}
<<<TEMPLATE_END>>>
## Data (appended by orchestrator)
### IaC file paths
{list of generated files}
### Self-review findings (from Steps 6–9)
{findings JSON}
### prepare-plan.json
{full JSON}
### prereq-output.json.warnings[]
{warnings array}
### prereq-output.json.healthEndpoint
{detected health path string or null}
### Conformance result
{JSON from Step 10a-conf}
### Session path
{.copilot-azure/sessions/{uuid}/}- Expect:
scaffold-manifest.jsonwithvalidationResult, deploy checklist generated - Verify
deploy-checklist.mdexists (written at Step 5b) — if missing, create NOW fromdeploy-checklist-template.md. Verifydeploy-result.jsonexists — if missing, create fromdeploy-schemas.ts. - ⛔ Verify
context.jsonupdate (main-thread — do NOT delegate). Read.copilot-azure/sessions/{uuid}/context.json. IfcompletedPhasesdoes not include"scaffold"ORcurrentPhaseis not"deploy", write it yourself viaedit/create: append"scaffold"tocompletedPhases, setcurrentPhaseto"deploy", updatelastModifiedUtcto current UTC ISO 8601. This is a phase-boundary write required by pipeline-rules.md — do not skip it. - ⛔ Return to orchestrator for Step 8 (Deploy Approval Gate). YOUR NEXT ACTION MUST BE presenting the Deploy Gate per orchestrator SKILL.md — do NOT write a "summary of generated files" message, do NOT emit a completion report. The Deploy Gate prompt (
🚀 Ready to deploy? ...) is the ONLY correct next output.
Self-Healing Loop
On validation failure → read scaffold-healing-rules.md (healing cadence, PLAN_LEVEL_CHANGE, artifact consistency). Do NOT pre-read.
Error Handling
- Missing
prepare-plan.json: trigger backfill via orchestrator. - Existing IaC: handled in DETECT Step 3.
- MCP unavailable: fall back to reference patterns, flag as "unverified."
- FLAGGED findings and healing exhaustion: see scaffold-healing-rules.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

