-
Notifications
You must be signed in to change notification settings - Fork 3.9k
π€π€π€ Update azure-architecture-autopilot: v0.1.5 engine (routing + UI) #1451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
whoniiii
wants to merge
1
commit into
github:staged
Choose a base branch
from
whoniiii:update-azure-architecture-autopilot-v0.1.5
base: staged
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,312
β115
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,188 @@ | ||
| <h1 align="center">Azure Architecture Autopilot</h1> | ||
|
|
||
| <p align="center"> | ||
| <strong>Design β Diagram β Bicep β Deploy β all from natural language</strong> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <img src="https://img.shields.io/badge/GitHub_Copilot-Skill-8957e5?logo=github" alt="Copilot Skill"> | ||
| <img src="https://img.shields.io/badge/Azure-All_Services-0078D4?logo=microsoftazure&logoColor=white" alt="Azure"> | ||
| <img src="https://img.shields.io/badge/Bicep-IaC-ff6f00" alt="Bicep"> | ||
| <img src="https://img.shields.io/badge/70+-Service_Types-00bcf2" alt="Service Types"> | ||
| <img src="https://img.shields.io/badge/License-MIT-green" alt="License"> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <b>Azure Architecture Autopilot</b> designs Azure infrastructure from natural language,<br> | ||
| generates interactive diagrams, produces modular Bicep templates, and deploys β all through conversation.<br> | ||
| It also scans existing resources, visualizes them as architecture diagrams, and refines them on the fly. | ||
| </p> | ||
|
|
||
| <!-- Hero image: interactive architecture diagram with 605+ Azure icons --> | ||
| <p align="center"> | ||
| <img src="assets/06-architecture-diagram.png" width="100%" alt="Interactive Azure architecture diagram with 605+ official icons"> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <em>β Auto-generated interactive diagram β drag, zoom, click for details, export to PNG</em> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <img src="assets/08-deployment-succeeded.png" width="80%" alt="Deployment succeeded"> | ||
| | ||
| <img src="assets/07-azure-portal-resources.png" width="80%" alt="Azure Portal β deployed resources"> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <em>β Real Azure resources deployed from the generated Bicep templates</em> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <a href="#-how-it-works">How It Works</a> β’ | ||
| <a href="#-features">Features</a> β’ | ||
| <a href="#%EF%B8%8F-prerequisites">Prerequisites</a> β’ | ||
| <a href="#-usage">Usage</a> β’ | ||
| <a href="#-architecture">Architecture</a> | ||
| </p> | ||
|
|
||
| --- | ||
|
|
||
| ## π How It Works | ||
|
|
||
| ``` | ||
| Path A: "Build me a RAG chatbot on Azure" | ||
| β | ||
| π¨ Design β π§ Bicep β β Review β π Deploy | ||
|
|
||
| Path B: "Analyze my current Azure resources" | ||
| β | ||
| π Scan β π¨ Modify β π§ Bicep β β Review β π Deploy | ||
| ``` | ||
|
|
||
| | Phase | Role | What Happens | | ||
| |:-----:|------|--------------| | ||
| | **0** | π Scanner | Scans existing Azure resources via `az` CLI β auto-generates architecture diagram | | ||
| | **1** | π¨ Advisor | Interactive design through conversation β asks targeted questions with smart defaults | | ||
| | **2** | π§ Generator | Produces modular Bicep: `main.bicep` + `modules/*.bicep` + `.bicepparam` | | ||
| | **3** | β Reviewer | Compiles with `az bicep build`, checks security & best practices | | ||
| | **4** | π Deployer | `validate` β `what-if` β preview diagram β `create` (5-step mandatory sequence) | | ||
|
|
||
| --- | ||
|
|
||
| ## β¨ Features | ||
|
|
||
| | | Feature | Description | | ||
| |---|---------|-------------| | ||
| | π¦ | **Zero Dependencies** | 605+ Azure icons bundled β no `pip install`, works offline | | ||
| | π¨ | **Interactive Diagrams** | Drag-and-drop HTML with zoom, click details, PNG export | | ||
| | π | **Resource Scanning** | Analyze existing Azure infra β auto-generate architecture diagrams | | ||
| | π¬ | **Natural Language** | *"It's slow"*, *"reduce costs"*, *"add security"* β guided resolution | | ||
| | π | **Live Verification** | API versions, SKUs, model availability fetched from MS Docs in real-time | | ||
| | π | **Secure by Default** | Private Endpoints, RBAC, managed identity β no secrets in files | | ||
| | β‘ | **Parallel Preload** | Next-phase info loaded while waiting for user input | | ||
| | π | **Multi-Language** | Auto-detects user language β responds in English, Korean, or any language | | ||
|
|
||
| --- | ||
|
|
||
| ## βοΈ Prerequisites | ||
|
|
||
| | Tool | Required | Install | | ||
| |------|:--------:|---------| | ||
| | **GitHub Copilot CLI** | β | [Install guide](https://docs.github.com/copilot/concepts/agents/about-copilot-cli) | | ||
| | **Azure CLI** | β | `winget install Microsoft.AzureCLI` / `brew install azure-cli` | | ||
| | **Python 3.10+** | β | `winget install Python.Python.3.12` / `brew install python` | | ||
|
|
||
| > No additional packages required β the diagram engine is bundled in `scripts/`. | ||
|
|
||
| ### π€ Recommended Models | ||
|
|
||
| | | Models | Notes | | ||
| |---|--------|-------| | ||
| | π **Best** | Claude Opus 4.5 / 4.6 | Most reliable for all 5 phases | | ||
| | β **Recommended** | Claude Sonnet 4.5 / 4.6 | Best cost-performance balance | | ||
| | β οΈ **Minimum** | Claude Sonnet 4, GPT-5.1+ | May skip steps in complex architectures | | ||
|
|
||
| --- | ||
|
|
||
| ## π Usage | ||
|
|
||
| ### Path A β Build new infrastructure | ||
|
|
||
| ``` | ||
| "Build a RAG chatbot with Foundry and AI Search" | ||
| "Create a data platform with Databricks and ADLS Gen2" | ||
| "Deploy Fabric + ADF pipeline with private endpoints" | ||
| "Set up a microservices architecture with AKS and Cosmos DB" | ||
| ``` | ||
|
|
||
| ### Path B β Analyze & modify existing resources | ||
|
|
||
| ``` | ||
| "Analyze my current Azure infrastructure" | ||
| "Scan rg-production and show me the architecture" | ||
| "What resources are in my subscription?" | ||
| ``` | ||
|
|
||
| Then modify through conversation: | ||
| ``` | ||
| "Add 3 VMs to this architecture" | ||
| "The Foundry endpoint is slow β what can I do?" | ||
| "Reduce costs β downgrade AI Search to Basic" | ||
| "Add private endpoints to all services" | ||
| ``` | ||
|
|
||
| ### π Output Structure | ||
|
|
||
| ``` | ||
| <project-name>/ | ||
| βββ 00_arch_current.html β Scanned architecture (Path B) | ||
| βββ 01_arch_diagram_draft.html β Design diagram | ||
| βββ 02_arch_diagram_preview.html β What-if preview | ||
| βββ 03_arch_diagram_result.html β Deployment result | ||
| βββ main.bicep β Orchestration | ||
| βββ main.bicepparam β Parameter values | ||
| βββ modules/ | ||
| βββ *.bicep β Per-service modules | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## π Architecture | ||
|
|
||
| ``` | ||
| SKILL.md β Lightweight router (~170 lines) | ||
| β | ||
| βββ scripts/ β Embedded diagram engine | ||
| β βββ generator.py β Interactive HTML generator | ||
| β βββ icons.py β 605+ Azure icons (Base64 SVG) | ||
| β βββ cli.py β CLI entry point | ||
| β | ||
| βββ references/ β Phase instructions + patterns | ||
| βββ phase0-scanner.md β π Resource scanning | ||
| βββ phase1-advisor.md β π¨ Architecture design | ||
| βββ bicep-generator.md β π§ Bicep generation | ||
| βββ bicep-reviewer.md β β Code review | ||
| βββ phase4-deployer.md β π Deployment pipeline | ||
| βββ service-gotchas.md β Required properties & PE mappings | ||
| βββ azure-common-patterns.md β Security & naming patterns | ||
| βββ azure-dynamic-sources.md β MS Docs URL registry | ||
| βββ architecture-guidance-sources.md | ||
| βββ ai-data.md β AI/Data service domain pack | ||
| ``` | ||
|
|
||
| > **Self-contained** β `SKILL.md` is a lightweight router. All phase logic lives in `references/`. The diagram engine is embedded in `scripts/` with no external dependencies. | ||
|
|
||
| --- | ||
|
|
||
| ## π Supported Services (70+ types) | ||
|
|
||
| All Azure services supported. AI/Data services have optimized templates; others are auto-looked up from MS Docs. | ||
|
|
||
| **Key types:** `ai_foundry` Β· `openai` Β· `ai_search` Β· `storage` Β· `adls` Β· `keyvault` Β· `fabric` Β· `databricks` Β· `aks` Β· `vm` Β· `app_service` Β· `function_app` Β· `cosmos_db` Β· `sql_server` Β· `postgresql` Β· `mysql` Β· `synapse` Β· `adf` Β· `apim` Β· `service_bus` Β· `logic_apps` Β· `event_grid` Β· `event_hub` Β· `container_apps` Β· `app_insights` Β· `log_analytics` Β· `firewall` Β· `front_door` Β· `load_balancer` Β· `expressroute` Β· `sentinel` Β· `redis` Β· `iot_hub` Β· `digital_twins` Β· `signalr` Β· `acr` Β· `bastion` Β· `vpn_gateway` Β· `data_explorer` Β· `document_intelligence` ... | ||
|
|
||
|
|
||
| --- | ||
|
|
||
| ## π License | ||
|
|
||
| MIT Β© [Jeonghoon Lee](https://github.com/whoniiii) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this file, it's not part of the skills spec so we don't need it.