用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Azure/vscode-aks-tools --skill kickstart-generate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | kickstart-generate |
| description | Generation phase playbook — create all deployment artifacts. |
| disable-model-invocation | true |
Create all deployment artifacts and write them to the workspace. Follow /kickstart-file-generation for the batch-write order: compute ALL contents first, write all files, then report.
Use the per-service structure map from Discovery (build context, entry point, existing Dockerfile path). Never assume the app sits at the repo root.
Dockerfile, use it as-is (or amend in place) — do not generate a parallel one. Only author a Dockerfile for services that lack one.COPY/ADD. Each source must resolve to a real file/dir inside that service's build context, and the destination must match where the entry point runs (e.g. WORKDIR /app + COPY . /app only if the entry point is at the context root). Use search/codebase to confirm sources exist before writing the Dockerfile; flag and fix any mismatch.CMD/ENTRYPOINT), not a guessed filename.Load these for detailed patterns as you author each artifact:
/kickstart-bicep-authoring — Bicep template structure and conventions/kickstart-workload-identity — federated credentials, service-account wiring, pod labels/kickstart-acr-integration — attaching ACR to the cluster (no pull secrets)Dockerfile: Multi-stage build, pinned base image (never :latest), non-root user, .dockerignore. COPY/ADD paths validated against the build context; CMD runs the real entry point.
K8s Manifests (k8s/): namespace.yaml, deployment.yaml (resource limits, probes, runAsNonRoot, Workload Identity labels, env from ConfigMap/Secret), service.yaml (ClusterIP), httproute.yaml (Gateway API, not Ingress). See /kickstart-workload-identity.
Bicep (infra/main.bicep): AKS Automatic + ACR + Managed Identity + federated credential. Parameterized, pinned API versions. ARM resource IDs follow /subscriptions/{sub}/resourceGroups/{rg}/providers/{ns}/{type}/{name}. See /kickstart-bicep-authoring and /kickstart-acr-integration.
GitHub Actions (.github/workflows/deploy.yml): OIDC auth (no secrets), build+push to ACR, deploy to AKS, minimal permissions, environment protection. Use federated credentials with azure/login@v2.
:latest tags.vscode_askQuestions.Do not hand off unbuilt artifacts. For each Dockerfile, build and inspect before announcing completion:
docker build -t kickstart-validate-<svc>:check -f <dockerfilePath> <buildContext>.COPY sources): az acr build --registry <acr> --image kickstart-validate/<svc>:check -f <dockerfilePath> <buildContext>.docker run --rm kickstart-validate-<svc>:check ls -la <workdir> — confirm the entry point and expected files landed where the app runs from. A build that succeeds but places files in the wrong dir is exactly the failure this step catches.All artifacts written, every Dockerfile builds, and the entry point is confirmed present in the image. Announce: "Artifacts generated and build-validated — moving to Review."