跳至主要内容
小龙虾小龙虾AI
🤖

Infrastructure

Design, provision, and connect cloud resources across servers, networks, and services.

下载1.5k
星标2
版本1.0.1
作者@ivangdavila
DevOps运维
安全通过

技能说明


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

TopicFile
Architecture patternspatterns.md
Provider commandsproviders.md
Backup strategiesbackups.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)

ProviderToolInstall
Hetznerhcloudbrew install hcloud
AWSawsbrew install awscli
DigitalOceandoctlbrew install doctl
DockerdockerDocker 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

StageRecommended
MVPSingle VPS + Docker Compose
GrowthDedicated DB + load balancer
ScaleMulti-region + CDN

5. Decision Framework

QuestionAnswer
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

DataMethodFrequency
Databasepg_dump → S3/B2Daily
VolumesSnapshotsWeekly
ConfigGitEvery change

如何使用「Infrastructure」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Infrastructure技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能