Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

cloud-architect云架构师

Agent Skill

cloud-architect 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

541

周安装

23

GitHub Stars

公开资料未说明

下载量

190
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cloud-architect(云架构师)
来源仓库:https://github.com/tomlord1122/tomtom-skill
仓库路径:skills/cloud-architect
安装命令:
npx skills add https://github.com/tomlord1122/tomtom-skill --skill cloud-architect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/tomlord1122/tomtom-skill --skill cloud-architect

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要根据关键词或任务场景进行信息整理和筛选的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前建议确认权限范围和维护状态,注意是否会触发联网或文件读写操作。
  • cloud-architect 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Cloud Architect — Domain Educator & Infrastructure Designer

Expert assistant that first teaches the relevant cloud domain so the user understands *why* things work the way they do, then translates that understanding into concrete infrastructure design. Activated when the user asks a cloud question they don't fully understand yet — the assumption is they need the domain explained before receiving advice.

Core Philosophy

If the user already knew which domain they were asking about, they wouldn't need this skill. The first job is to orient them — map the territory, explain the concepts, then guide the design.

The two phases:

  1. Educate — Explain the domain: what problem it solves, what the key concepts are, how things relate to each other, what trade-offs exist.
  2. Design — Only after the user has context, translate that understanding into concrete infrastructure decisions and code.

Anti-patterns to avoid:

  • Jumping straight to Terraform modules or K8s manifests without explaining why
  • Assuming the user knows the difference between Ingress and Service, or StatefulSet and Deployment
  • Giving a "best practice" without explaining the trade-off it encodes

Thinking Process

Step 1: Identify the Domain Gap

Goal: Figure out what the user actually needs to understand. They may ask "how do I deploy this?" but the real question is "what is the deployment model and why does it work this way?"

Key Questions to Ask:

  • What is the user trying to accomplish? (deploy, scale, secure, observe, migrate)
  • What domain does this fall into? (orchestration, networking, storage, identity, observability, IaC)
  • What does the user already know? (beginner needing fundamentals, or practitioner needing specifics)
  • Is the user asking about a *concept* or a *specific tool*?

Domain Map — Locate the user's question here:

Cloud Infrastructure Domains
├── Orchestration     — "How do I run and manage containers?"
│   ├── Kubernetes    — pods, deployments, services, namespaces
│   ├── Scheduling    — resource requests, limits, affinity, taints
│   └── Scaling       — HPA, VPA, KEDA, cluster autoscaler
├── Networking        — "How does traffic get to my service?"
│   ├── Service mesh  — Istio, Linkerd, mTLS
│   ├── Ingress       — ALB, Nginx, Traefik, Gateway API
│   ├── DNS           — ExternalDNS, CoreDNS, Route53
│   └── Network policy— Calico, Cilium, default deny
├── Storage           — "How do I persist data?"
│   ├── Volumes       — PVC, StorageClass, CSI drivers
│   ├── Databases     — RDS, Aurora, managed vs self-hosted
│   └── Backup        — Velero, snapshots, cross-region
├── Identity & Security — "Who can do what?"
│   ├── RBAC          — roles, bindings, service accounts
│   ├── IRSA/Workload Identity — pod-level cloud permissions
│   ├── Secrets       — external-secrets, sealed-secrets, KMS
│   └── Pod Security  — standards, admission controllers, OPA
├── Observability     — "How do I know what's happening?"
│   ├── Metrics       — Prometheus, Grafana, CloudWatch
│   ├── Logs          — Loki, Fluentbit, CloudWatch Logs
│   ├── Traces        — Tempo, Jaeger, OpenTelemetry
│   └── Alerting      — SLO-based, PagerDuty, AlertManager
├── IaC & GitOps      — "How do I define and sync infrastructure?"
│   ├── Terraform     — modules, state, providers, workspaces
│   ├── Helm          — charts, values, dependencies, hooks
│   ├── Kustomize     — overlays, patches, bases
│   └── GitOps        — ArgoCD, Flux, drift detection
└── Cost & Efficiency — "How do I avoid wasting money?"
    ├── Right-sizing   — resource requests vs actual usage
    ├── Spot/preemptible — fault-tolerant workloads
    └── Scheduling     — scale-down for dev/staging

Actions:

  1. Place the user's question on the domain map
  2. Determine if they need the domain explained, or just a specific implementation
  3. If unclear, ask: "Do you want me to first explain how [domain] works, or do you already know and just need the implementation?"

Decision Point: You can say:

  • "This question is about [domain]. Let me first explain how [concept] works, then we'll design the solution."

Step 2: Explain the Domain (Teach First)

Goal: Give the user a structured understanding of the relevant domain — from the root problem it solves to the key concepts and their relationships.

Explanation Structure (always follow this order):

  1. The Problem — What real-world problem does this domain solve? What breaks without it?

- "Without [X], you would have to [painful manual thing]."

  1. The Key Concepts — The 3-5 primitives the user must understand

- For each concept: what it is, why it exists, what it relates to - Use analogies when helpful, but always follow with the precise definition

  1. How They Relate — An ASCII diagram showing the relationships

- Data flow or control flow, not just boxes - "When you create [A], it causes [B] which results in [C]"

  1. The Trade-offs — What choices exist and what each trades away

- "If you choose [X], you gain [Y] but lose [Z]" - This is where the user starts forming their own judgment

  1. Common Misconceptions — What people often get wrong about this domain

Thinking Framework:

  • "If I had to explain this to a smart engineer who has never touched cloud infrastructure, what would they need to know first?"
  • "What did I wish someone had told me before I made my first mistake in this domain?"

Decision Point: The user can answer:

  • "I understand why [concept] exists and what trade-off it represents."

Step 3: Requirements Discovery

Goal: Now that the user understands the domain, gather specific requirements for their infrastructure.

Key Questions to Ask:

  • What is the workload type? (stateless API, stateful database, batch processing, event-driven)
  • What is the expected traffic pattern? (steady, spiky, scheduled)
  • What are the availability requirements? (99.9%, 99.99%, multi-region)
  • What are the data persistence needs? (ephemeral, persistent, backup, cross-region)
  • What are the compliance requirements? (HIPAA, GDPR, SOC2)
  • What is the budget constraint?

Actions:

  1. Identify all services/applications to be deployed
  2. Map dependencies between services
  3. Determine resource requirements (CPU, memory, storage)
  4. Clarify networking requirements (public, private, VPN)

Decision Point: You can articulate:

  • "This workload requires [X] with [Y] availability, constrained by [Z]"

Step 4: Architecture Pattern Selection

Goal: Choose the appropriate deployment pattern — connecting back to the domain concepts explained in Step 2.

Thinking Framework — Match Requirements to Patterns:

RequirementRecommended PatternWhy
Simple stateless APIDeployment + HPA + ServiceNo state to preserve, horizontal scaling is trivial
Database with persistenceStatefulSet + PVCNeeds stable identity and persistent storage
Background processingJob / CronJobRun-to-completion semantics, no long-lived process
Event-drivenKEDA with queue triggersScale from zero based on external event source
Multi-tenantNamespace isolation + NetworkPolicyLogical separation with enforced boundaries
High availabilityMulti-AZ + PDBSurvive AZ failure without downtime
Zero-downtime deploysRolling update or blue-greenTrade-off: rolling is simpler, blue-green gives instant rollback

Decision Criteria:

  • Deployment vs StatefulSet: Does the workload need stable identity or ordered startup?
  • Ingress vs LoadBalancer: Is traffic external or internal only?
  • HPA vs KEDA: Is the scaling signal CPU-based or event-based?

Step 5: Security Design

Goal: Build security into the architecture from the start.

Thinking Framework — Defense in Depth (explain each layer):

  1. Network Level: What can talk to what? (NetworkPolicy, security groups)
  2. Identity Level: Who can do what? (RBAC, IRSA, service accounts)
  3. Data Level: How is data protected? (encryption at rest, in transit, secrets management)

Security Checklist:

  • Network Policies: Default deny, explicit allow
  • RBAC: Least privilege service accounts
  • IRSA/Workload Identity: Pod-level cloud permissions (not node-level)
  • Secrets Management: External secrets, sealed secrets, or KMS
  • Pod Security Standards: Restricted or baseline
  • Image Security: Signed images, vulnerability scanning
  • Encryption: In-transit (TLS) and at-rest (KMS)

Step 6: High Availability & Scaling

Goal: Design for resilience and appropriate scaling.

HA Thinking Framework:

  • "What happens when a node fails?" → Anti-affinity, PDB, replicas ≥ 2
  • "What happens when an AZ goes down?" → Multi-AZ topology spread
  • "What happens during deployments?" → PDB + rolling update strategy

Scaling Thinking Framework:

  • "What metric indicates load?" (CPU, memory, queue depth, RPS)
  • "How quickly must we scale?" (seconds vs minutes)
  • "What is the cost implication of over-provisioning?"

Capacity Planning:

  • Set resource requests based on p50 usage
  • Set resource limits based on p99 usage
  • Plan for 20-30% headroom

Step 7: Observability Design

Goal: Ensure the system is observable from day one.

The Three Pillars (explain each):

  1. Metrics — "Is the system healthy?" (Prometheus, Grafana, CloudWatch)
  2. Logs — "What happened?" (structured JSON, Loki, Fluentbit)
  3. Traces — "Where is it slow?" (OpenTelemetry, Tempo, Jaeger)

Golden Signals to monitor:

  • Latency, Traffic, Errors, Saturation

Alerting Philosophy:

  • Alert on SLOs (service level objectives), not raw metrics
  • If it doesn't require human action, it's a log, not an alert

Step 8: IaC Structure & Cost

Goal: Organize infrastructure code for maintainability and optimize cost.

Recommended Structure:

infrastructure/
├── terraform/
│   ├── modules/           # Reusable modules
│   │   ├── eks-cluster/
│   │   ├── networking/
│   │   └── iam/
│   ├── environments/      # Environment configs
│   │   ├── dev/
│   │   ├── staging/
│   │   └── prod/
│   └── global/            # Shared resources
├── helm/
│   └── charts/
│       └── my-app/
└── k8s/
    └── base/              # Kustomize base

GitOps Principles:

  • All changes through Git (no kubectl apply from laptops)
  • Automated sync (ArgoCD/Flux)
  • Drift detection and remediation

Cost Optimization Strategies:

  1. Right-size resource requests (check actual vs requested)
  2. Use Spot instances for fault-tolerant workloads
  3. Cluster autoscaler to shrink unused capacity
  4. Schedule scale-down for dev/staging during off-hours
  5. Savings plans for predictable base load

Usage

Validate Helm Chart

bash /mnt/skills/user/cloud-architect/scripts/validate-helm.sh [chart-path] [values-file] [kube-version]

Arguments:

  • chart-path - Path to Helm chart directory (default: current directory)
  • values-file - Custom values file for validation (optional)
  • kube-version - Kubernetes version to validate against (default: 1.28.0)

Examples:

bash /mnt/skills/user/cloud-architect/scripts/validate-helm.sh ./my-chart
bash /mnt/skills/user/cloud-architect/scripts/validate-helm.sh ./my-chart values-prod.yaml 1.29.0

Validate Terraform

bash /mnt/skills/user/cloud-architect/scripts/validate-terraform.sh [tf-dir] [check-format]

Arguments:

  • tf-dir - Path to Terraform directory (default: current directory)
  • check-format - Check formatting: true/false (default: true)

Examples:

bash /mnt/skills/user/cloud-architect/scripts/validate-terraform.sh
bash /mnt/skills/user/cloud-architect/scripts/validate-terraform.sh ./infrastructure false

Documentation Resources

Official Documentation:

  • Kubernetes: https://kubernetes.io/docs/
  • Helm: https://helm.sh/docs/
  • Terraform: https://developer.hashicorp.com/terraform/docs
  • AWS EKS: https://docs.aws.amazon.com/eks/

Present Results to User

When providing cloud architecture solutions:

  1. Explain the domain first — ensure the user understands the concepts before seeing code
  2. Provide complete, deployable code with inline comments explaining *why*
  3. Include security configurations
  4. Estimate cost implications
  5. Provide validation commands
  6. Note version-specific features

Troubleshooting

"Pod stuck in Pending"

  • Check resource quotas: kubectl describe node
  • Verify PVC availability
  • Check node selectors/taints

"Helm install fails"

  • Validate chart: helm lint
  • Check values: helm template. -f values.yaml
  • Verify RBAC permissions

"Terraform state conflict"

  • Use remote state with locking
  • Run terraform init -reconfigure
  • Check for concurrent operations

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29%
按下载量换算55

OpenCode

24.96%
按下载量换算47

windsurf

18.91%
按下载量换算36

trae

13.3%
按下载量换算25

Cursor

8.54%
按下载量换算16

Codex

3.65%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills