跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

prepare

AI 与智能体1.5kskills/azure-app-onboard/prepare/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/microsoft/azure-skills/prepare/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

Prepare — Architecture Planning & Cost Estimation

Quick Reference

PropertyValue
Best forMapping app components to Azure services with cost estimation and quota validation
Inputsprereq-output.json + context.json from .copilot-azure/sessions/{id}/
Outputsprepare-plan.json written to session directory
Parentazure-app-onboard

When to Use This Skill

Invoked by the azure-app-onboard orchestrator at Phase 2 when prereq-output.json exists. Not directly user-routable.

Return to orchestrator: When complete, return control to azure-app-onboard. Do NOT directly invoke scaffold or deploy.

When NOT to Use

ScenarioUse Instead
Code readiness or prereq scanningazure-app-onboard Step 3 (prereq)
IaC generation from a completed planazure-app-onboard Step 7 (scaffold)
Deploying resources to Azureazure-app-onboard Step 9 (deploy)
Optimizing existing Azure spendcost-optimization from the optional azure-cost plugin
Estimating VM-specific costsazure-compute
Enterprise landing zone architectureazure-enterprise-infra-planner

If cost-optimization is unavailable, explain that it is provided by the optional azure-cost plugin and direct the user to their client's supported plugin installation flow; do not imply the handoff completed.

MCP Tools

ToolPurpose
mcp_azure_mcp_pricing / azure-pricing (router → command: pricing_get)Cost estimation (inline — see Step 6). Fallback: dispatch subagent-pricing.md
mcp_azure_mcp_policySubscription policy constraints
az restQuota validation (via sub-agent — see Step 5)
mcp_azure_mcp_cloudarchitect → cloudarchitect_designWAF-aligned architecture design
mcp_azure_mcp_wellarchitectedframeworkPer-service WAF guidance
mcp_azure_mcp_advisor → advisor_recommendation_listOptimization recommendations

Workflow

#StepActionReference
1Read session stateLoad prereq-output.json + context.json. Resolve subscriptionCross-ref subscription-resolution.md if needed
2Query policy constraintsInline MCP: fetch policy + advisor recommendationsmcp_azure_mcp_policy + mcp_azure_mcp_advisor
3Map components to servicesPer-component Azure service selection, Dockerfile routing, deploy-as-is⛔ You MUST read service-mapping.md and deploy-strategy.md
4Select SKUs + WAF analysisBudget-aware SKU selection, inline WAF service guidance⛔ You MUST read sku-matrix.md
5Validate quotas + region capacity⛔ Read subagent-quota.md → dispatch as task (NEXT action MUST be task, ⛔ agent_type: "task" — NEVER "general-purpose"). Copy the COMPLETE and UNMODIFIED template text into the task prompt between <<<TEMPLATE_START>>> / <<<TEMPLATE_END>>> delimiters — do NOT summarize. Append the caller-provided inputs listed in subagent-quota.md's Input table AFTER the template block. ⛔ After dispatching, proceed to Step 6 (cost estimation) while the subagent runs. Do NOT run quota checks yourself — the subagent handles it. Collect subagent results before Step 9 (write plan).⛔ You MUST read subagent-quota.md
6Estimate costs⛔ You MUST read pricing-guide.md for methodology, then pricing-guide-services.md for per-service filters. Call the pricing router (mcp_azure_mcp_pricing/azure-pricing) with command: "pricing_get" + a parameters{} object inline per paid service. If MCP unavailable or fails → ⛔ Read subagent-pricing.md → dispatch as task (NEXT action MUST be task, ⛔ agent_type: "task" — NEVER "general-purpose"). Copy the COMPLETE and UNMODIFIED template text into the task prompt between <<<TEMPLATE_START>>> / <<<TEMPLATE_END>>> delimiters — do NOT summarize. Append data (services[], region, budget tier) AFTER the template block. Write results to prepare-plan.json.costEstimate.pricing-guide.md
7Generate namingCentralized naming: suffix, prefix, all resource names⛔ You MUST read naming-patterns.md
8Determine IaC formatExisting non-Azure .tf → ask_user Bicep vs TF, write to overrides[].iacFormat. No .tf → default Bicep.(inline)
9Write prepare-plan.jsonPer PreparePlan schema. Include postDeployRecommendations, deploymentVariables⛔ You MUST read prepare-schemas.ts for PreparePlan schema
10Return summaryStructured summary for orchestrator approval gate(inline — 1 line)
11Validate plan4-dimension check: Goal Alignment, WAF Alignment, Dependency Completeness, Deployment Viability. Fix inline on failure, document tradeoffs in assumptions[].All must pass before writing

Step 5 — Post-Quota Validation

⛔ NEVER present a region without checking quota first. Skipping quota validation causes cascading deploy failures and extended healing loops. ⛔ If plan includes PostgreSQL/MySQL, verify offerRestrictionsVerified: true — if false/missing, region is blocked. Do NOT proceed to scaffold with unchecked DB services. ⛔ Free ≠ unlimited. Every compute SKU — including F1, Consumption, and Serverless tiers — has a per-subscription, per-region quota. Do NOT skip quota checks because a SKU is free. ⛔ After region fallback, update ALL services[].region in prepare-plan.json. Do not leave stale values.

Error Handling

ErrorRemediation
Pricing API 400Verify --sku included. Free tiers: skip API
MCP pricing unavailableDispatch subagent-pricing.md as task fallback (uses direct HTTP to prices.azure.com)
Prereq output missingTrigger prereq backfill
Quota check failsFall back to best-effort estimate + disclaimer
Override conflictsRe-run from Step 3 with new constraints

相似的 Skill

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI 与智能体

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI 与智能体

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI 与智能体

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI 与智能体

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI 与智能体

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI 与智能体