Infrastructure

From clawic/skills · View interactive version

Infrastructure is an AI agent skill from the GitHub repository clawic/skills. Design, provision, and connect cloud resources across servers, networks, and services.

How to use this skill

Skill file

Scope

This skill:

User-driven model:

This skill does NOT:

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

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 |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.