用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Azure-Samples/Spec2Cloud --skill implement命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | implement |
| description | Use when a plan exists and the application source or IaC needs to be created or updated. |
Requires spec.md. If spec.md is missing, auto-run specify with the user's prompt and then auto-run plan. If plan.md is missing, auto-run plan. Load workspace context per copilot-instructions.md.
./infra/ is missing)In an OS temp dir (not the workspace), run one of:
azd init -t <AZD template> -e <AZD environment> -s <Azure Subscription Id> -l <Azure Region>
azd init --minimal -e <AZD environment> -s <Azure Subscription Id> -l <Azure Region>
Pick the form recorded in ./.azure/deployment-plan.md. Treat non-zero exit as failure only if azure.yaml or (non-minimal) infra/ are missing.
Move azure.yaml and infra/ into the workspace root. Ask before overwriting; Delete the temp dir.
./.azure/deployment-plan.md must have no [NEEDS CLARIFICATION: …] markers. Run azd env set for AZURE_RESOURCE_GROUP first, then for every other variable in the deployment plan.
Implement per ./docs/plan.md, keeping it updated with progress. On resume, re-read ./docs/plan.md and continue from the next unchecked step.
Accelerate with parallelism. Keep shared contracts (APIs, env vars, azure.yaml service names) consistent across agents, and serialize steps with true dependencies (scaffold and env-var persistence before service code).
Create or update ./docs/implementation.md to capture the architecture that was actually built and the key implementation details (components, data flow, key decisions, deviations from plan.md). Include one or more animated Mermaid flowchart diagrams to visualize the runtime architecture and request/data flow.
Pause if: a task is unclear, implementation reveals a spec/plan gap, or any error/blocker is hit — report and wait, do not guess.
Check the following and fix any gaps before claiming implementation is complete and ready for verify/deploy:
./azure.yaml has service configuration (host: azure.ai.agent) for each implemented agent../azure.yaml has service configuration for each MCP server../azure.yaml has service configuration for the frontend../azure.yaml has service configuration for the backend../azure.yaml has services configured with cloud build (remoteBuild: true) set for container images. Use docker if the user prefers local build and it's running; otherwise, use ACR cloud build../infra).azd ai agent show <agent-name> and reading the Endpoint protocol and URL, and authenticate with a DefaultAzureCredential bearer token (scope https://ai.azure.com/.default). Make sure to use the protocol supported by the agent (invocations, responses, etc.)../infra provision its own registry; container apps need it even though hosted agents use Foundry's remote build.Summarize the updated ./docs/implementation.md (architecture, key decisions, and any deviations from plan.md), report the result of the post-implementation checks, and prompt the user to continue with verify (local tests against provisioned Azure resources) or skip straight to deploy (provision and deploy to Azure with azd up).
基于 SOC 职业分类