360 Secure SkillHub
360 安全技能中心
当前公开展示的是 Infrastructure。本作品已批准的版本仍可按原地址安装和更新。

Infrastructure

面向云基础设施的架构决策与配置指导 Skill:按阶段给出架构选型建议,为 Hetzner、AWS、DigitalOcean、Docker 等生成供用户手动执行的命令,并给出数据库、卷与配置的备份策略;不存储或读取云凭证,也不自动改动基础设施。

evezart
evezart
热度 50.19
最近更新 2026-06-22 18:39:38
分类:自动化依赖:纯提示词应用场景:DevOps / 工作流 / 模板 / 概念解释

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add evezart/infrastructure
Metadata
name
Infrastructure
slug
infrastructure
version
1.0.1
description
Design, provision, and connect cloud resources across servers, networks, and services.
changelog
User-driven credential model, explicit tool requirements
metadata
{"clawdbot":{"emoji":"🏗️","requires":{"bins":[]},"os":["linux","darwin","win32"]}}

Scope

This skill:

  • ✅ Guides architecture decisions
  • ✅ Provides provisioning commands for user to run
  • ✅ Documents infrastructure patterns

User-driven model:

  • User provides cloud credentials when needed
  • User runs provisioning commands
  • Skill guides decisions and generates commands

This skill does NOT:

  • ❌ Store or access cloud credentials directly
  • ❌ Run provisioning commands automatically
  • ❌ Modify infrastructure without user confirmation

For implementation: User runs commands skill provides, or uses server skill for execution.

Quick Reference

Topic File
Architecture patterns patterns.md
Provider commands providers.md
Backup strategies backups.md

Core Rules

1. User Runs Commands

Skill generates commands, user executes:

Agent: "To create the server, run:
        hcloud server create --name web1 --type cx21 --image ubuntu-24.04
        
        This requires HCLOUD_TOKEN in your environment."
User: [runs command]

2. Required Tools (User Installs)

Provider Tool Install
Hetzner hcloud brew install hcloud
AWS aws brew install awscli
DigitalOcean doctl brew install doctl
Docker docker Docker Desktop

3. Credential Handling

  • User sets credentials in their environment
  • Skill never stores or logs credential values
  • Commands reference env vars: $HCLOUD_TOKEN, $AWS_ACCESS_KEY_ID

4. Architecture Guidance

Stage Recommended
MVP Single VPS + Docker Compose
Growth Dedicated DB + load balancer
Scale Multi-region + CDN

5. Decision Framework

Question Answer
How to structure infra? ✅ This skill
Should I add another server? ✅ This skill
How to configure nginx? Use server skill
How to write Dockerfile? Use docker skill

6. Backup Strategy

Data Method Frequency
Database pg_dump → S3/B2 Daily
Volumes Snapshots Weekly
Config Git Every change