Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Run pre-deployment validation checks on Azure configuration, Bicep/Terraform, and permissions
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/global-rules.md
1# Global Rules23> **MANDATORY** — These rules apply to ALL skills. Violations are unacceptable.45## Rule 1: Destructive Actions Require User Confirmation67⛔ **ALWAYS use `ask_user`** before ANY destructive action.89### What is Destructive?1011| Category | Examples |12|----------|----------|13| **Delete** | `az group delete`, `azd down`, `rm -rf`, delete resource |14| **Overwrite** | Replace existing files, overwrite config, reset settings |15| **Irreversible** | Purge Key Vault, delete storage account, drop database |16| **Cost Impact** | Provision expensive resources, scale up significantly |17| **Security** | Expose secrets, change access policies, modify RBAC |1819### How to Confirm2021```22ask_user(23question: "This will permanently delete resource group 'rg-myapp'. Continue?",24choices: ["Yes, delete it", "No, cancel"]25)26```2728### No Exceptions2930- Do NOT assume user wants to delete/overwrite31- Do NOT proceed based on "the user asked to deploy" (deploy ≠ delete old)32- Do NOT batch destructive actions without individual confirmation3334---3536## Rule 2: Never Assume Subscription or Location3738⛔ **ALWAYS use `ask_user`** to confirm:39- Azure subscription (show actual name and ID)40- Azure region/location41