Skip to main content

skill-deployment-context

[Skill] deployment context, aks, azure, koji - Resolve Koji AKS deployment context -- resource group, cluster name, subscription, Log Analytics workspace, and monitoring resource names from deployment_summary.yaml when available, or discover them dynamically from Azure.

소스 정보

저장소
microsoft/azurelinux
최근 소스 활동
2026년 7월 24일 22:42
감지된 SKILL.md 언어
영어
스타
5,359
포크
711

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
skill-deployment-context
description
[Skill] deployment context, aks, azure, koji - Resolve Koji AKS deployment context -- resource group, cluster name, subscription, Log Analytics workspace, and monitoring resource names from deployment_summary.yaml when available, or discover them dynamically from Azure.
user-invocable
false
disable-model-invocation
false
# Koji Deployment Context Discovery **Always resolve context before running queries. Never assume resource names.** ## Step 1: Locate `deployment_summary.yaml` (if available) This file is typically generated by the Koji deployment pipeline (e.g., as an Azure DevOps pipeline artifact) and stored at the repository root as `./deployment_summary.yaml`. It should contain `resource_group`, `aks_cluster_name`, `subscription_id`, and monitoring resource names/IDs. - If the file exists, open it and use its values as the source of truth for the deployment context. - If the file does **not** exist (e.g., in a new or manually provisioned environment), skip to Steps 2–4 and resolve the deployment context directly from Azure. - If the user needs help obtaining this file, offer to run `az` commands to discover the values and generate it for them. ## Step 2: If subscription is missing Run: `az account show --query id -o tsv` ## Step 3: If deployment does not match the summary Ask the user for the **resource group** or **AKS cluster name**. ## Step 4: Discover monitoring resources dynamically ```bash az monitor log-analytics workspace list --resource-group <RG> -o table az resource list --resource-group <RG> --resource-type Microsoft.Monitor/accounts -o table az resource list --resource-group <RG> --resource-type Microsoft.Dashboard/grafana -o table ``` ## Naming convention Resources follow `<prefix>-koji-*`: - Resource group: `<prefix>-koji-rg-<suffix>` - AKS cluster: `<prefix>-koji-aks` - Log Analytics: `<prefix>-koji-logs` - Azure Monitor: `<prefix>-koji-monitor` - Grafana: `<prefix>-koji-grafana` ## MCP tools for context discovery | Tool | Purpose | |------|---------| | `aks_cluster_get` | List/get AKS cluster details | | `aks_nodepool_get` | List/get node pool details | | `monitor_table_list` | List tables in a Log Analytics workspace | **Prerequisites:** Node.js (`npx`) and an active `az login` session.
GitHub에서 보기