Token导航 LogoToken导航

Agent Skill · 待分类

architecting-networks(构建网络)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

architecting-networks 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,第三方扫描已通过,按安装量在待分类类的 11,209 个 Skill 里排第 4,709。

总安装 692周安装 28GitHub Stars 350下载 217核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ancoleman/ai-design-components --skill architecting-networks

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

用于设计安全可扩展的云网络架构,支持多云环境部署。提供 VPC 拓扑、子网策略、零信任实现和混合连接等设计框架。适用于新环境网络规划、分段控制和跨云连接场景。安装需通过 GitHub 仓库,使用时应结合具体云平台特性。涉及生产环境配置时需确认最小权限和操作范围。

architecting-networks 属于待分类类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/architecting-networks

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ancoleman/ai-design-components --skill archite…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

architecting-networks 怎么安装?

在终端执行 npx skills add https://github.com/ancoleman/ai-design-components --skill architecting-netw…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

architecting-networks 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

architecting-networks 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

architecting-networks 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

architecting-networks 用的人多吗?

公开数据是累计安装 692 次,近一周安装 28 次,下载 217 次,GitHub 350 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

architecting-networks 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
architecting-networks

构建网络 · 本页

692350调用外部服务MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Network Architecture

Design secure, scalable cloud network architectures using proven patterns across AWS, GCP, and Azure. This skill provides decision frameworks for VPC design, subnet strategy, zero trust implementation, and hybrid connectivity.

When to Use This Skill

Invoke this skill when:

  • Designing VPC/VNet topology for new cloud environments
  • Implementing network segmentation and security controls
  • Planning multi-VPC or multi-cloud connectivity
  • Establishing hybrid cloud connectivity (on-premises to cloud)
  • Migrating from flat network to sophisticated architecture
  • Implementing zero trust network principles
  • Optimizing network costs and performance

Core Network Architecture Patterns

Pattern 1: Flat (Single VPC) Architecture

Use When: Small applications, single environment, simple security requirements, team < 10 engineers

Characteristics:

  • All resources in one VPC with subnet-level segmentation
  • Public, private, and database subnet tiers
  • Simplest to understand and manage
  • No inter-VPC routing complexity

Tradeoffs:

  • ✓ Lowest cost, fastest to set up
  • ✗ Poor isolation, difficult to scale, entire VPC is blast radius

Pattern 2: Multi-VPC (Isolated) Architecture

Use When: Multiple environments (dev/staging/prod), strong isolation requirements, compliance mandates separation

Characteristics:

  • Separate VPCs per environment or workload
  • No direct connectivity without explicit setup
  • Independent CIDR ranges

Tradeoffs:

  • ✓ Strong blast radius containment, clear security boundaries
  • ✗ Management overhead, duplicate infrastructure, higher costs

Pattern 3: Hub-and-Spoke (Transit Gateway) Architecture

Use When: 5+ VPCs need communication, centralized security inspection required, hybrid connectivity, multi-account setup

Characteristics:

  • Central hub VPC/Transit Gateway
  • Spoke VPCs connect to hub
  • All inter-VPC traffic routes through hub

Tradeoffs:

  • ✓ Simplified routing, centralized security, scales easily (100+ VPCs)
  • ✗ Transit Gateway costs (~$0.05/hour + $0.02/GB), increased latency (hub hop)

Pattern 4: Full Mesh (VPC Peering) Architecture

Use When: Small number of VPCs (< 5), low latency critical, no centralized inspection needed

Characteristics:

  • Every VPC directly connected via peering
  • Direct VPC-to-VPC communication

Tradeoffs:

  • ✓ Lowest latency, no Transit Gateway costs
  • ✗ Management complexity scales as O(n²), doesn't scale beyond ~10 VPCs

Pattern 5: Hybrid (Multi-Pattern) Architecture

Use When: Large enterprise with diverse requirements, balancing cost/performance/security

Characteristics:

  • Hub-spoke for most VPCs + direct peering for latency-sensitive pairs
  • Combination based on workload requirements

Tradeoffs:

  • ✓ Optimized for specific needs
  • ✗ More complex to design and manage

Pattern Selection Framework

Number of VPCs?
│
├─► 1 VPC → Flat (Single VPC)
├─► 2-4 VPCs + No inter-VPC communication → Multi-VPC (Isolated)
├─► 2-5 VPCs + Low latency critical → Full Mesh (VPC Peering)
├─► 5+ VPCs + Centralized inspection → Hub-and-Spoke (Transit Gateway)
└─► 10+ VPCs + Mixed requirements → Hybrid (Multi-Pattern)

Additional Considerations:
├─► Hybrid connectivity required? → Hub-and-Spoke preferred
├─► Centralized egress/inspection? → Hub-and-Spoke with Inspection VPC
├─► Multi-account environment? → Hub-and-Spoke with AWS RAM sharing
└─► Cost optimization priority? → Flat or Multi-VPC (avoid TGW fees)

Subnet Strategy

Standard Three-Tier Design

Public Subnets:

  • Route to Internet Gateway
  • Use for load balancers, bastion hosts, NAT Gateways
  • CIDR: /24 to /27 (256 to 32 IPs)

Private Subnets:

  • Route to NAT Gateway for outbound
  • Use for application servers, containers, compute workloads
  • CIDR: /20 to /22 (4,096 to 1,024 IPs)

Database Subnets:

  • No direct internet route
  • Use for RDS, ElastiCache, managed databases
  • CIDR: /24 to /26 (256 to 64 IPs)

Multi-AZ Distribution

Production: Distribute each tier across 3 Availability Zones minimum Dev/Test: 1-2 AZs acceptable for cost savings

CIDR Block Planning

VPC Sizing:

  • /16 (65,536 IPs) - Large production environments
  • /20 (4,096 IPs) - Medium environments
  • /24 (256 IPs) - Small/dev environments

Critical Rules:

  • Non-overlapping CIDR ranges across VPCs
  • Coordinate with on-premises network team for hybrid connectivity
  • Reserve address space for future expansion

For detailed subnet planning, see references/subnet-strategy.md

NAT Gateway Strategy

Decision Framework

Cost vs Resilience?
│
├─► Cost Priority (Dev/Test)
│   └─► Single NAT Gateway (~$32/month)
│       └─► Risk: Single point of failure
│
├─► Balanced (Most Production)
│   └─► One NAT Gateway per AZ (~$96/month for 3 AZs)
│       └─► Resilience: AZ failure doesn't break connectivity
│
└─► Maximum Resilience
    └─► Multiple NAT Gateways per AZ + monitoring
        └─► Critical workloads, SLA-dependent

Alternative: Centralized Egress Pattern
└─► Hub-and-Spoke: Single egress VPC with NAT
    └─► Reduces NAT Gateway count, centralized logging

No Outbound Internet Needed?

  • Skip NAT Gateway entirely (cost savings)
  • Use VPC Endpoints for AWS service access

Security Controls

Security Groups (Recommended)

Characteristics:

  • Stateful (return traffic auto-allowed)
  • Instance-level control
  • Allow rules only (implicit deny)
  • Can reference other security groups

Use For:

  • Service-to-service communication
  • Instance-level security
  • Most common use case

Best Practices:

  • Use descriptive names (app-alb-sg, app-backend-sg)
  • Reference other security groups instead of CIDR blocks
  • Keep rules minimal and specific

Network ACLs (Optional)

Characteristics:

  • Stateless (must allow both request and response)
  • Subnet-level control
  • Allow and deny rules
  • Processes rules in order (lowest number first)

Use For:

  • Explicit deny rules (block specific IPs)
  • Compliance requirements (defense in depth)
  • Additional layer beyond security groups

Best Practices:

  • Use sparingly (complex to manage)
  • Remember to allow ephemeral ports (1024-65535)
  • Test thoroughly (stateless nature causes issues)

For security group architecture patterns, see references/security-controls.md

Zero Trust Principles

Core Tenets

  1. Never Trust, Always Verify

- Authenticate every request regardless of source - No implicit trust based on network location

  1. Least Privilege Access

- Grant minimum necessary permissions - Time-bound access (just-in-time)

  1. Assume Breach

- Segment network aggressively - Monitor all traffic - Rapid detection and response

Implementation Patterns

Microsegmentation:

  • Isolate every workload with granular security group rules
  • Service-to-service communication only between specific services
  • Reduce blast radius

Identity-Based Access:

  • Use IAM roles instead of IP addresses for authorization
  • VPC Endpoints with IAM policies
  • Service-to-service identity verification

Continuous Verification:

  • VPC Flow Logs for traffic analysis
  • Monitor rejected connections
  • Alert on anomalies

For zero trust architecture patterns, see references/zero-trust-networking.md

Hybrid Connectivity

VPN (Virtual Private Network)

Use When: Dev/test environments, backup connectivity, temporary connections

Characteristics:

  • Encrypted tunnel over public internet
  • Throughput: ~1.25 Gbps per tunnel
  • Latency: Variable (internet-dependent)
  • Cost: Low (~$0.05/hour + data transfer)
  • Setup: Quick (no contracts)

Direct Connect / ExpressRoute / Cloud Interconnect

Use When: Production workloads, large data transfers, real-time applications

Characteristics:

  • Dedicated network connection (bypasses public internet)
  • Throughput: Up to 100 Gbps
  • Latency: Low and consistent
  • Cost: Higher (port fees + data transfer)
  • Setup: Slower (contracts, coordination)

Transit Gateway + Direct Connect

Use When: Multiple VPCs need on-premises connectivity

Benefits:

  • Single Direct Connect connection → Transit Gateway → Multiple VPCs
  • Cost efficient and scalable
  • Centralized hybrid connectivity

For hybrid connectivity patterns and examples, see references/hybrid-connectivity.md

Multi-Cloud Networking

Unified Concepts Across Providers

ConceptAWSGCPAzure
Virtual NetworkVPCVPCVirtual Network (VNet)
SubnetsSubnets (AZ-scoped)Subnets (Regional)Subnets
NATNAT GatewayCloud NATNAT Gateway
PeeringVPC PeeringVPC PeeringVNet Peering
Hub-SpokeTransit GatewayCloud RouterVirtual WAN
Private EndpointsPrivateLinkPrivate Service ConnectPrivate Link
Hybrid VPNVPNCloud VPNVPN Gateway
Hybrid DedicatedDirect ConnectCloud InterconnectExpressRoute

Provider-Specific Best Practices

AWS:

  • Multi-AZ baseline for production
  • Prefer Transit Gateway for 5+ VPCs
  • Use VPC Endpoints to avoid NAT charges

GCP:

  • Custom mode VPC (not auto-mode)
  • Start with single VPC, use Shared VPC for multi-project
  • Grant network user role at subnet level

Azure:

  • Hub-and-spoke network topology as standard
  • Few large VNets vs many small VNets
  • Private endpoints for Azure services

For multi-cloud implementations, see references/multi-cloud-networking.md

Network Observability

VPC Flow Logs

Enable Flow Logs for:

  • Traffic analysis and troubleshooting
  • Security monitoring (detect unauthorized access)
  • Cost attribution by network path
  • Compliance requirements

Configuration:

  • Traffic type: ALL (capture accepted and rejected)
  • Aggregation interval: 1-10 minutes
  • Destination: CloudWatch Logs or S3

Monitoring Patterns

Monitor:

  • Rejected connections (security anomalies)
  • Traffic volume spikes
  • Cross-VPC communication patterns
  • NAT Gateway utilization

Alert On:

  • Spike in rejected connections
  • Unusual traffic patterns
  • High data transfer costs
  • Network errors

For observability patterns and flow log analysis, see references/network-observability.md

Cost Optimization

Common Cost Drivers

  1. NAT Gateway: $0.045/hour + $0.045/GB data processed
  2. Transit Gateway: $0.05/hour/attachment + $0.02/GB
  3. Data Transfer: Egress charges vary by destination
  4. VPN/Direct Connect: Port fees + data transfer

Optimization Strategies

Reduce NAT Gateway Costs:

  • Use VPC Endpoints for AWS services (S3, DynamoDB)
  • Centralized egress VPC pattern
  • Single NAT Gateway for dev/test (accept availability risk)

Reduce Data Transfer Costs:

  • Keep traffic within same region
  • Use VPC Endpoints instead of public internet
  • Private connectivity for high-volume transfers

Avoid Transit Gateway Costs:

  • Use VPC Peering for small number of VPCs (< 5)
  • Direct peering for latency-sensitive pairs

For detailed cost optimization strategies, see references/cost-optimization.md

Implementation Workflow

Step 1: Analyze Requirements

  • How many VPCs/environments needed?
  • Hybrid connectivity required?
  • Latency requirements?
  • Security/compliance requirements?
  • Budget constraints?

Step 2: Select Pattern

Use pattern selection framework above to choose:

  • Flat, Multi-VPC, Hub-Spoke, Mesh, or Hybrid

Step 3: Design Subnets

  • Calculate CIDR blocks (non-overlapping)
  • Plan multi-AZ distribution
  • Determine public/private/database tiers

Step 4: Configure Security

  • Design security group architecture
  • Plan microsegmentation
  • Configure Network ACLs if needed

Step 5: Implement with IaC

Use infrastructure-as-code skill to implement with Terraform/Pulumi

Step 6: Enable Observability

  • Configure VPC Flow Logs
  • Set up monitoring and alerting
  • Cost tracking

Quick Reference

VPC Pattern Selection

RequirementRecommended Pattern
Single environmentFlat (Single VPC)
Multiple isolated environmentsMulti-VPC (Isolated)
2-5 VPCs, low latencyFull Mesh (Peering)
5+ VPCs, centralized securityHub-and-Spoke (TGW)
Hybrid connectivityHub-and-Spoke (TGW)
Cost optimizationFlat or Multi-VPC

NAT Gateway Configuration

ScenarioConfigurationMonthly Cost (3 AZs)
Dev/TestSingle NAT~$32
ProductionNAT per AZ~$96
Centralized EgressHub VPC NAT~$32-96

Hybrid Connectivity

RequirementSolutionThroughputLatency
Dev/TestVPN~1.25 GbpsVariable
ProductionDirect ConnectUp to 100 GbpsLow, consistent
BackupVPN (backup to DX)~1.25 GbpsVariable

Reference Documentation

Detailed Guides:

  • references/vpc-design-patterns.md - Comprehensive pattern descriptions with diagrams
  • references/subnet-strategy.md - CIDR planning, IPAM, multi-AZ best practices
  • references/zero-trust-networking.md - Microsegmentation, IAM integration, continuous verification
  • references/hybrid-connectivity.md - VPN, Direct Connect, Transit Gateway patterns
  • references/multi-cloud-networking.md - AWS, GCP, Azure implementations
  • references/security-controls.md - Security groups, NACLs, firewall patterns
  • references/private-networking.md - VPC Endpoints, PrivateLink, Private Service Connect
  • references/multi-region-networking.md - Cross-region peering, global load balancing
  • references/network-observability.md - Flow logs, monitoring, troubleshooting
  • references/cost-optimization.md - Egress reduction, NAT strategies

Code Examples:

  • examples/aws/ - AWS VPC patterns (flat, hub-spoke, peering, VPN, Direct Connect)
  • examples/gcp/ - GCP VPC patterns (custom VPC, Shared VPC, Cloud Interconnect)
  • examples/azure/ - Azure VNet patterns (hub-spoke, peering, ExpressRoute)
  • examples/multi-cloud/ - Cross-cloud connectivity examples

Utility Scripts:

  • scripts/cidr-calculator.py - Calculate CIDR blocks and plan IP addressing
  • scripts/cost-estimator.sh - Estimate network infrastructure costs
  • scripts/validate-sg-rules.py - Validate security group rule configurations
  • scripts/flow-log-analyzer.py - Analyze VPC flow logs for security and cost

Integration with Other Skills

Use infrastructure-as-code skill to:

  • Implement network architectures with Terraform/Pulumi
  • Version control network configurations
  • Automate network provisioning

Use kubernetes-operations skill to:

  • Configure Kubernetes networking (CNI) on top of VPC design
  • Implement pod networking and service meshes

Use security-hardening skill to:

  • Implement firewall rules and WAF configurations
  • Configure network-level DDoS protection
  • Set up intrusion detection systems

Use observability skill to:

  • Implement comprehensive network monitoring
  • Set up distributed tracing across network boundaries
  • Configure performance dashboards

Use disaster-recovery skill to:

  • Design multi-region failover networking
  • Implement cross-region backup connectivity
  • Plan network recovery procedures

平台分布

Claude Code

27.64%
按下载量换算60

OpenCode

20.69%
按下载量换算45

Gemini CLI

16.5%
按下载量换算36

Antigravity

13.21%
按下载量换算29

Cursor

7.78%
按下载量换算17

mux

3.44%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills