一键导入
11-reset-azure-environment
Removes pronghorn-app app registration and pronghorn-blue resource group, then marks relevant .env values as reset/removed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Removes pronghorn-app app registration and pronghorn-blue resource group, then marks relevant .env values as reset/removed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill will guide you through the process of setting up PostgreSQL on your local machine.
This skill will guide you through running the PostgreSQL schema migration for Pronghorn development.
This skill will guide you through setting up the local API server for Pronghorn development, including installing dependencies, configuring environment variables, and starting the server.
This skill will guide you through setting up the local frontend for Pronghorn development, including installing dependencies, configuring .env.local, and starting the Vite development server.
This skill verifies the local Pronghorn stack by checking frontend, API health endpoint, and local PostgreSQL readiness.
Automates Docker Compose full-stack workflows for local Pronghorn development, including build prerequisites, startup, verification, logs, stop, and reset operations.
| name | 11.reset-azure-environment |
| description | Removes pronghorn-app app registration and pronghorn-blue resource group, then marks relevant .env values as reset/removed. |
| argument-hint | Use this skill to remove Azure app/resource group and update local env values with reset markers. |
| compatibility | ["linux","macos","windows"] |
| license | MIT |
| user-invokable | true |
This skill follows the same wrapper-first automation pattern used in previous local setup skills.
Scope:
pronghorn-apppronghorn-blue.env* values by appending (reset/removed)az login completed.Use wrapper entrypoints. These wrappers call internal scripts and keep usage consistent.
setup-reset-azure-environment.ps1setup-reset-azure-environment.shMaintainer note:
Manage-ResetAzureEnvironment.ps1manage-reset-azure-environment.shSet-Location .github/skills/11.reset-azure-environment/scripts
.\setup-reset-azure-environment.ps1 -Action all
cd .github/skills/11.reset-azure-environment/scripts
bash ./setup-reset-azure-environment.sh all
Set-Location .github/skills/11.reset-azure-environment/scripts
.\setup-reset-azure-environment.ps1 -Action remove-app-registration -AppDisplayName "pronghorn-app"
cd .github/skills/11.reset-azure-environment/scripts
bash ./setup-reset-azure-environment.sh remove-app-registration --app-display-name "pronghorn-app"
Set-Location .github/skills/11.reset-azure-environment/scripts
.\setup-reset-azure-environment.ps1 -Action remove-resource-group -ResourceGroupName "pronghorn-blue"
cd .github/skills/11.reset-azure-environment/scripts
bash ./setup-reset-azure-environment.sh remove-resource-group --resource-group "pronghorn-blue"
Appends (reset/removed) to actual values for keys like:
FOUNDRY_ENDPOINT, FOUNDRY_API_KEY, APIM_OPENAI_URLVITE_AZURE_CLIENT_ID, VITE_AZURE_TENANT_ID, VITE_AZURE_REDIRECT_URIAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_OAUTH_CLIENT_IDVITE_API_BASE_URL, API_BASE_URL, FRONTEND_URLSet-Location .github/skills/11.reset-azure-environment/scripts
.\setup-reset-azure-environment.ps1 -Action update-env-files
cd .github/skills/11.reset-azure-environment/scripts
bash ./setup-reset-azure-environment.sh update-env-files
Runs all reset operations in order:
.env* valuesSet-Location .github/skills/11.reset-azure-environment/scripts
.\setup-reset-azure-environment.ps1 -Action all -AppDisplayName "pronghorn-app" -ResourceGroupName "pronghorn-blue"
cd .github/skills/11.reset-azure-environment/scripts
bash ./setup-reset-azure-environment.sh all --app-display-name "pronghorn-app" --resource-group "pronghorn-blue"
az ad app list --display-name "pronghorn-app" --query "length(@)" -o tsv
# Expected: 0
az group exists --name "pronghorn-blue"
# Expected: false
grep -R "reset/removed" .env* app/backend/.env* 2>/dev/null
These operations are destructive for cloud resources. Use PowerShell -WhatIf on the manager script before execution when needed.