選項
首頁首頁 Skill 雲端基礎設施 google-cloud-solution-architecture

google-cloud-solution-architecture

google/skills google/skills

此技能可互動式地偵測特定雲端工作負載的需求,並針對在 Google Cloud 上建置多產品解決方案,產生設計建議與架構指引。請運用此技能,針對 Google Cloud 上特定使用情境中的複雜多產品工作負載,產生全面且端對端的設計建議與架構指引。 若其他專用技能(例如:針對特定產品或以 google-cloud-recipe-* 為名的技能)能直接處理使用者的工作負載或用例,請勿使用此技能。

...展開全部
16
更新時間 2026-08-23

關於「google-cloud-solution-architecture」

這項技能可驅動一套互動式、分階段的工作流程,用於在 Google Cloud 上設計多產品解決方案。它能解決如何針對複雜工作負載,提供全面且端到端的架構建議,同時避免過早鎖定特定產品的問題。 此工作流程包含四個階段:需求探索、解決方案架構、解決方案驗證,以及解決方案彙整與呈現,各階段之間設有嚴格的防護機制。

此技能強制執行嚴謹的運作規範:在需求探索階段,必須在收集完功能需求、非功能需求(安全性、隱私、合規性、可靠性、災難復原、成本、運維、效能、永續性)、現狀及依賴關係之前,不得提出任何架構、產品或技術分解方案;且在進行設計前,必須揭露並解決所有模糊點或矛盾之處。 每項交付成果(包括技術分解、產品建議、圖表、架構描述及部署腳本)在繼續進行前,均須提交給使用者明確批准。 值得注意的是,該方法嚴格禁止自主執行任何生成的腳本或程式碼,必須獲得使用者的明確授權,因為執行這些內容可能會配置非預期的雲端資源、產生費用,或變更現有基礎架構;同時,該方法會透過 Google Developer Knowledge MCP 伺服器,依據官方 Google Cloud 指引來驗證生成的內容是否符合規範。 參考資料涵蓋架構指南、決策指南、最佳實務指南以及輸出範本。

目標使用者為雲端架構師、解決方案工程師,以及規劃複雜、涉及多種 Google Cloud 產品的技術團隊。典型應用情境包括:系統化需求彙整、生成技術分解方案、制定基於實證的架構建議與驗證計畫,以及彙整完整的解決方案指南;同時,當特定產品技能能直接處理工作負載時,則將相關任務交由該領域專家處理。

常見問題

此工作流程包含哪些階段?

共分四個階段:需求探索、解決方案架構、解決方案驗證(為使用者建立驗證計畫、操作說明及執行腳本),以及解決方案彙整與簡報。

它會立即設計架構嗎?

不會。該流程嚴格執行階段分離,必須先彙整功能性與非功能性需求、現狀及依賴關係,並釐清任何歧義或矛盾,才得以提出任何架構、產品或分解方案。

它會自行執行腳本或配置資源嗎?

不會。它明確禁止自主執行生成的腳本或程式碼,並要求獲得明確的用戶授權,因為執行過程可能會配置非預期的雲端資源、產生費用,或變更現有基礎架構;因此,系統始終提供手動執行的選項。

它如何確保建議的準確性?

它透過 Google Developer Knowledge MCP 伺服器,將生成的內容與官方 Google Cloud 指南相互比對,並參考內建的架構、決策及最佳實務參考指南。

何時不應使用此技能?

當有更專業的技能(例如特定產品或 google-cloud-recipe-* 技能)能直接處理使用者的工作負載或使用情境時;此技能適用於全面性、複雜且涉及多種產品的解決方案。

所有檔案

5 個檔案SKILL.md13.2 KB檢視assets/output-template.md5.2 KB檢視references/architecture-guides.md84.4 KB檢視references/decision-making-guides.md 14.3 KB 檢視 references/best-practices-guides.md 14.1 KB 檢視
在 GitHub 上查看

Overview of the workflow

The workflow consists of the following phases:

  • Phase 1: Requirements discovery. Gather detailed requirements related tothe cloud workload or use case that the user needs assistance for.
  • Phase 2: Solution architecture. Use the requirements that were gatheredin Phase 1 to generate a detailed solution architecture for the cloudworkload or use case.
  • Phase 3: Solution validation. Create a plan to validate the generatedsolution, generate validation instructions and scripts, and provide them tothe user to execute (or perform a dry-run validation with explicitpermission from the user).
  • Phase 4: Solution packing and presentation. Consolidate the generatedcontent and present the solution.

Important notes about the workflow:

  • Strict phase separation: During Phase 1 (Requirements discovery), whenyou ask the user clarifying questions, don't recommend, propose, or outlineany architectural designs, technical decompositions, cloud services, orcomponent mappings. Proposing solutions before functional and non-functionalrequirements are thoroughly assessed causes confirmation bias and risksanchoring the solution on specific products, features, or tools prematurely.

  • Iterative approval & task transitions: For each deliverable in thisworkflow (technical decompositions, product recommendations, diagrams,architectural descriptions, and deployment scripts), explicitly present youroutput to the user for approval. If the user requests modifications,iteratively revise the content until approved before progressing to thesubsequent task or phase.

  • No autonomous execution of code and scripts: Don't run any scripts orcode that you generate without explicit, unambiguous permission from theuser. Executing scripts autonomously can provision unintended cloudresources (incurring unexpected costs), mutate live infrastructure, or posesecurity and safety risks. Always offer the option for the user to executethe commands manually.

  • When you can skip certain phases: If the user's prompt indicates that aspecific phase or task in this workflow is already completed or approved(e.g., "requirements discovery stage is completed", "product selection isapproved", or "architecture is confirmed"), don't repeat that phase or task.Instead, skip directly to the requested task (such as generating thetechnical decomposition, recommending products, or compiling the solutionguide).

Phase 1: Requirements discovery

  1. Gather the following requirements related to the workload or use case forwhich the user needs assistance.

    CRITICAL: You MUST NOT generate any architecture designs, productrecommendations, or technical decompositions until the user provides theserequirements.

    • Functional requirements: Ask the user to describe the businessprocesses, activities, and use cases of their workload.
    • Non-functional requirements: Ask the user to describe requirementsfor security, privacy, compliance, reliability, disaster recovery, cost,operations, performance, and sustainability.
      • CRITICAL: If non-functional requirements are missing orincomplete, you MUST ask the user to describe the requirements andexplicitly explain why they are important (e.g., because theydirectly dictate operational SLAs, availability tiers, scalingconfiguration, cost budgets, resource types, and the securityposture) when asking the user to supply them.
    • Current state: Ask whether the workload currently runs on othercloud providers or on-premises (if yes, prompt for the architecture ofthe existing deployment).
    • System dependencies: Ask the user to describe any dependenciesbetween their application and other workloads, products, systems, ortools.
  2. Review the input that the user has provided so far, and check whether thereare any ambiguities or contradictions (e.g., conflicting goals like completenetwork isolation with zero internet exposure vs. real-time ingestion frompublic APIs).

    If you identify any ambiguities or contradictions in the user'srequirements, you must:

    • Clearly describe the ambiguities and contradictions.
    • Explain why the contradictory requirements cannot be simultaneouslysatisfied.
    • Request the user to clarify their trade-off preferences and choices toresolve the ambiguities and contradictions.
      • If the user delegates the choice to you (e.g., the user replies with"do what you think is best" or "you decide"), then provide a clearsuggestion to resolve the ambiguity or contradiction, explain yourreasoning, and ask the user to approve your suggestion.

    CRITICAL: Until all the ambiguities and contradictions that you identifyare resolved, don't recommend or generate any architecture design, technicaldecomposition, or Google Cloud product recommendations. Ambiguous orcontradictory requirements lead to invalid architectural assumptions.

  3. Generate a technical decomposition of the components of the workload thatbreaks down the solution into logical components. Present it to the user andobtain approval before proceeding to Phase 2.

    CRITICAL: Before proceeding to Phase 2, ensure that the user hasapproved the technical decomposition. Misalignment of the technicaldecomposition with the user's requirements will invalidate the outputs ofthe subsequent phases in this workflow.

Phase 2: Solution architecture

Use the approved requirements from Phase 1 to generate a comprehensive solutionarchitecture.

Ground all generated content

For each task in this phase, to ensure that the generated content aligns withthe latest and official Google Cloud guidance, you must ground the generatedcontent by using the following resources:

  • Google Developer Knowledge MCP server
    • Server: https://developerknowledge.googleapis.com/mcp
    • Tools:
    • developerknowledge:search_documents
    • developerknowledge:get_documents
    • developerknowledge:answer_query
  • Relevant skills from https://github.com/google/skills
  • Official Google Cloud documentation, including the following:
    • Reference architectures and design guides that are relevant to thetechnology category of the workload: references/architecture-guides.md
    • Decision-making guides for the products and topics that are relevant tothe workload: references/decision-making-guides.md
    • Best-practices guides for the products and topics that are relevant tothe workload: references/best-practices-guides.md

For each item in the generated guidance, you must include citations to therelevant official Google Cloud documentation pages.

Task 2.1: Identify Google Cloud products and features required for the workload.

  1. Recommend the products and features that are appropriate for each componentof the user's workload.

    CRITICAL:

    • Don't recommend any products or features that are deprecated, retired,decommissioned, or unsupported. To check the status of a product orfeature, call developerknowledge:answer_query ordeveloperknowledge:search_documents with query strings like:"{product_name} release status".
    • If multiple products or features can be used for a component of theworkload, then do the following:
      • Recommend the most appropriate product or feature. When alternativeproducts exist, the relevant product documentation might provideguidance on when to choose each product. Follow that guidance.
      • Mention the available alternative products or features.
      • Explain the pros and cons of each alternative product or feature.
  2. Present the generated product recommendations to the user and ask whetherany changes are needed.

    CRITICAL: Don't generate anything further (architecture diagrams,descriptions, or deployment configurations) in the same turn. Halt executionimmediately after listing the product choices until the user approves theproduct selections.

  3. After the user approves the product selections, proceed to Task 2.2.

Task 2.2: Generate an architecture diagram.

  1. Generate an architecture diagram in Mermaid format:https://github.com/mermaid-js/mermaid.
  2. Present the generated diagram to the user and obtain approval beforeproceeding to Task 2.3.

Task 2.3: Generate an architecture description.

  1. Generate a description that explains the purpose of each component, therelationships between the components, and the task flow or data flow.
  2. Present the generated architecture description to the user and obtainapproval before proceeding to Task 2.4.

Task 2.4: Generate design recommendations.

  1. Generate design recommendations and best practices to optimally configureeach component in the architecture based on the workload's requirements.Important:

    • When generating design recommendations, incorporate the following:
      • Functional requirements that were gathered in Phase 1.
      • Non-functional requirements that were gathered in Phase 1.
    • To generate guidance for non-functional requirements, use the followingskills, as appropriate:
      • google-cloud-waf-security
      • google-cloud-waf-reliability
      • google-cloud-waf-cost-optimization
      • google-cloud-waf-operational-excellence
      • google-cloud-waf-performance-optimization
      • google-cloud-waf-sustainability

    If any of the specialized google-cloud-waf-* skills are not available inyour current workspace, derive design guidance directly from thedocumentation references in references/best-practices-guides.md.

  2. Present the generated recommendations to the user and obtain approval beforeproceeding to Task 2.5.

Task 2.5: Generate deployment guidance.

  1. Generate deployment guidance, including infrastructure-as-code andinstructions to enable the user to deploy the solution.
  2. Present the generated deployment guidance to the user and obtain approvalbefore proceeding to Phase 3.

Phase 3: Solution validation

Task 3.1: Pre-deployment validation

  1. Create a pre-deployment plan to statically validate the generated solutionand verify that it meets the workload's requirements without provisioninglive resources:
    • Deployment dry-run: Validate infrastructure syntax and preview theresources that will be provisioned using dry-run commands (e.g.,terraform plan or (where supported) gcloud ... --dry-run).
    • Architecture & policy analysis: Perform static verification ofnetwork routing topologies, firewall rules, and IAM enforcement againstbest practices.
  2. Present the static validation plan to the user and obtain explicitpermission from the user to execute the dry-run commands. If the user givespermission, then run the commands; otherwise, or if the user prefers,provide the exact commands that the user can run manually.
  3. Troubleshoot and fix any errors or policy discrepancies identified duringdry-run checks until validation succeeds.
  4. Proceed to Task 3.2

Task 3.2: Runtime validation (Post-deployment)

  1. Ask the user whether they choose to deploy the infrastructure now to performlive runtime verification, or skip directly to Phase 4.
  2. If the user chooses to deploy the infrastructure:
    • After the user deploys the infrastructure, generate runtime verificationcommands (using tools like curl, ping, or gcloud) and provide themto the user to execute, to test live endpoint reachability, networkingpaths, and load balancer routing.
    • Troubleshoot any deployment or runtime routing issues until checks pass.
  3. Proceed to Phase 4.

Phase 4: Solution packaging and presentation

Package all the generated text and code artifacts for final presentation.

  1. Consolidate the text artifacts that were generated in Phase 2 and Phase 3into a single Markdown file named solution-architecture-guide.md, based onthe template in assets/output-template.md.
  2. Request the user's permission to write the code files in the user'sworkspace.
  3. After the user gives permission, write the code files in the user'sworkspace.

所有檔案

0 個檔案

安裝 google-cloud-solution-architecture

請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/,Claude 會自動偵測並使用該技能
儲存庫 google/skills

相關技能

Cloudflare Manager
更新時間 2026-06-29
pinecone
更新時間 2026-06-29
sentry-architecture-variants
更新時間 2026-06-29
azure-setup-guide
更新時間 2026-06-29
OR