sdaf-ado-project-bootstrap
Skill11 starsChanged 3 months agoMITView on GitHub
Set up SDAF on Azure DevOps end-to-end: create the Azure DevOps project, configuration repository, pipelines, cleanup task, agent pool, control-plane managed identity, service connections, variable groups, optional Web App, and onboard each SDAF workload zone. Drives the documented New-SDAFUserAssignedIdentity + New-SDAFADOProject + New-SDAFADOWorkloadZone path from docs/02-00-bootstrap.md, docs/02-10-configure-devops-project.md, and docs/02-20-configure-workload-zone-artifacts.md. Use when an operator says: "set up SDAF on Azure DevOps", "bootstrap the ADO project", "onboard a workload zone", "create a new SDAF DevOps project", "add SDAF-<env> variable group and service connection". NOT for what an individual pipeline does or when to run it (see sdaf-ado-pipeline-catalogue), and not for the GitHub Actions surface.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- sdaf-ado-pipeline-catalogueSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
TEST-SECE-SAP01 workload zone", "create the SDAF-<env> variable group and workload service connection".
- Very specific: line 36
Do not invoke for: "what does pipeline 01 do?" or "which variable group does 05 read?" (→ sdaf-ado-pipeline-catalogue).
- Very specific: line 59
Wait for New-SDAFADOProject to finish.
- Distinctive: line 85
Every service connection targets the correct subscription and tenant.
- Distinctive: line 89
No SAP password, PAT, or Azure credential appears in source control or pipeline logs.
- Very specific: line 108
Credential hygiene: Read SAP support credentials with Read-Host -AsSecureString, do not echo, and remove Env:SUserName / Env:SPassword in a …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDAF — Azure DevOps project bootstrap and workload-zone onboarding
Drives the two documented PowerShell utilities that create the SDAF Azure
DevOps footprint: New-SDAFADOProject (project + control-plane artifacts) and
New-SDAFADOWorkloadZone (variable group + service connection for each extra
workload environment). Same script family, same doc pages, one operator sitting. Documented in
docs/02-00-bootstrap.md,
docs/02-10-configure-devops-project.md,
and docs/02-20-configure-workload-zone-artifacts.md.
When to invoke
Trigger utterances: "set up SDAF on Azure DevOps", "bootstrap the Azure
DevOps project", "create the SDAF-MGMT-SECE project", "add / onboard the
TEST-SECE-SAP01 workload zone", "create the SDAF-<env> variable group and
workload service connection".
Do not invoke for: "what does pipeline 01 do?" or "which variable group
does 05 read?" (→ sdaf-ado-pipeline-catalogue); anything on the GitHub
Actions surface; or actually deploying the control plane, workload zone, or
SAP system (bootstrap creates artefacts; deployment is a separate hub-plugin
skill).
Recipe
Both journeys run from Windows PowerShell with the latest Azure CLI, download
SDAFUtilities.psm1 from the reviewed sap-automation ref, sign in, run the
utility, capture returned values.
A. First-time project bootstrap
- Confirm inputs listed at the top of
docs/02-10-configure-devops-project.md(see alsodocs/01-00-prerequisites.md): Azure DevOps organization URL, tenant ID, control-plane subscription ID, control-plane and region codes, agent-pool name, SAP support credentials, reviewedsap-automationbranch,SDAF-MSIsresource group. - Copy the script in
docs/02-10-configure-devops-project.md § Configure the scriptinto a local.ps1. Replace every placeholder. Drop-EnableWebAppwhen the configuration Web App is not in scope. az upgrade, sign in to the intended Azure tenant, then run the.ps1; complete each browser prompt the utilities open.- Wait for
New-SDAFADOProjectto finish. Record the project URL, the managed-identity ID fromNew-SDAFUserAssignedIdentity, and the agent-pool name.
B. Onboarding an additional workload zone
Prerequisite: the project and control-plane MSI from A already exist.
- Copy the script in
docs/02-20-configure-workload-zone-artifacts.md § Configure the script. Reuse$ControlPlaneCode,$ControlPlaneRegionCode,$ManagedIdentityName,$MSIResourceGroupNamefrom A; set$WorkloadCode,$WorkloadRegionCode, and$WorkloadSubscriptionId. - Sign in to the tenant that holds the control-plane MSI. Run the
.ps1and confirmGet-SDAFUserAssignedIdentityreturns the control-plane identity beforeNew-SDAFADOWorkloadZoneruns.
C. Validate concretely after either journey
Walk the "Validate" section of the matching configure page
(A: docs/02-10-configure-devops-project.md;
B: docs/02-20-configure-workload-zone-artifacts.md):
- Project exists with the expected name; configuration repository contains
pipelinesandWORKSPACES(docs/02-00-bootstrap.md § Create the project and configuration repository). - Deployment pipelines were created — canonical inventory and variable-group
mapping is
sdaf-ado-pipeline-catalogue § Variable-group dependencies; do not restate it here. - Sensitive values (
S-Password, PAT, Azure credentials) are marked secret. - Every service connection targets the correct subscription and tenant.
- Agent pool exists and required pipelines are authorized on it.
- Build Service has the repository permissions the pipelines need
(
docs/02-00-bootstrap.md § Configure service connections and permissions). - No SAP password, PAT, or Azure credential appears in source control or pipeline logs.
Hard rules
- Documented utilities only. Drive
New-SDAFUserAssignedIdentity,New-SDAFADOProject,Get-SDAFUserAssignedIdentity, andNew-SDAFADOWorkloadZoneas documented.setup_ado.shandconfigure_deployer.share named indocs/02-00-bootstrap.md § Configure the agentas Learn-article steps — drive them only via that path; their internals are not documented here. Other ADO-setup scripts (create_devops_artifacts.sh,New-SDAFDevopsProject.ps1,New-SDAFDevopsWorkloadZone.ps1,setup_devops.ps1,Upgrade-*) are not documented here at all — do not reconstruct their behaviour. - Never invent parameters, roles, or variable-group values. The
per-variable catalogue for
SDAF-<environment>is not exhaustively documented; state the gap, do not guess. - Credential hygiene. Read SAP support credentials with
Read-Host -AsSecureString, do not echo, and removeEnv:SUserName/Env:SPasswordin afinallyblock exactly asdocs/02-10-configure-devops-project.md § Configure the scriptshows. - Do not rerun a partial script blind. Inventory what was created,
correct the first failed dependency, then rerun with the same project and
control-plane names (
docs/02-00-bootstrap.md § If it fails). - Reuse the workload-zone code. Same
$WorkloadZoneCodeupdates in place; a new code creates duplicate artefacts. WORKSPACES/LANDSCAPE/<zone>/<zone>.tfvarsis not created here — it is a prerequisite of the02deployment pipeline.
What this skill does NOT do
Choose between automated and manual paths (docs/02-00-bootstrap.md § Manual
configuration path is a fallback the operator invokes directly); deploy the
control plane, workload zone, or any SAP system; explain individual pipeline
parameters or run order (see sdaf-ado-pipeline-catalogue); cover the
GitHub Actions bootstrap (sap-automation-gh-bootstrap); register the
deployer VM as the self-hosted agent (that happens during control-plane
deployment — docs/02-00-bootstrap.md § Configure the agent points 3–4); or
author / debug SDAFUtilities.psm1 itself.
See also
sdaf-ado-pipeline-catalogue — what each of the 13 pipeline wrappers does,
the variable groups they read, and the 20/21/22 level-up path.
docs/troubleshooting.md — first-triage
for PAT/authorization, variable groups, service connections, and agents.
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.

