digitalocean
Use when the user asks about DigitalOcean, Droplets, DOKS, App Platform, Spaces, managed databases, reserved IPs, cloud firewalls, doctl, or the Terraform…
от j4flmao★ 47 звёзд на GitHub
Установить digitalocean в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
DigitalOcean
Purpose
Design, deploy, and manage DigitalOcean infrastructure using Terraform, doctl, and best practices for Droplets, Kubernetes, managed databases, and App Platform.
Agent Protocol
Trigger
Exact user phrases: "DigitalOcean", "DO", "Droplet", "DOKS", "App Platform", "Spaces", "Managed Database", "Floating IP", "Cloud Firewall", "doctl", "Terraform DigitalOcean", "VPC", "Load Balancer", "Container Registry".
Input Context
- DO region (nyc1-3, sfo3, ams3, fra1, etc.).
- Team/project structure (team, apps, project).
- Authentication method (DO API token, doctl, Terraform provider).
- Scale requirements (droplet size, cluster node count, HA needs).
Output Artifact
Writes to Terraform HCL, doctl CLI commands, YAML manifests, configuration files.
Response Format
HCL, YAML, or CLI commands with no extraneous explanation.
No preamble. No postamble. No explanations. No filler/hedging/transitions.
Completion Criteria
- VPC and networking (firewall, load balancer, DNS) are configured.
- Droplets or DOKS cluster are provisioned with HA.
- Managed database is deployed with backups and connection pooling.
- App Platform or Container Registry is set up.
- Monitoring and alerting are configured.
Architecture / Decision Trees
Compute Decision Tree
- Simple app, no container orchestration: Droplets with load balancer.
- Containerized apps, need orchestration: DOKS (DigitalOcean Kubernetes).
- Serverless / PaaS: App Platform (build from GitHub, auto-deploy).
- Batch / background jobs: Droplets or Functions.
- GPU / ML workloads: Droplets with GPU plans.
Database Decision Tree
- Relational, need managed: Managed PostgreSQL or MySQL.
- Key-value, caching: Managed Redis.
- Document / NoSQL: Self-managed on Droplets (no managed MongoDB).
- Time-series: Self-managed TimescaleDB on Managed PostgreSQL.
- Need HA: 2-3 node database cluster with standby.
Storage Decision Tree
- Object storage: Spaces (S3-compatible) + CDN for public assets.
- Block storage: Volume attachment to Droplets (up to 16TB).
- Container images: Container Registry.
- Backup: Spaces + automated snapshot schedules.
- Archive: Spaces with lifecycle policies.
Networking Decision Tree
- Single region, simple: VPC with default firewall.
- Multi-tier app: VPC + Cloud Firewall + Load Balancer.
- Private database: VPC + database firewall rules.
- Global presence: Spaces CDN + multiple regions + DNS failover.
- High availability: Load Balancer + multi-droplet backend + Reserved IP (formerly Floating IP).
Core Workflow
Step 1: VPC and Networking
resource "digitalocean_vpc" "main" {
name = "production-vpc"
region = "nyc3"
ip_range = "10.10.0.0/16"
}
resource "digitalocean_firewall" "web" {
name = "web-firewall"
droplet_ids = [for d in digitalocean_droplet.app : d.id]
inbound_rule {
protocol = "tcp"
port_range = "80"
source_addresses = ["0.0.0.0/0", "::/0"]
}
inbound_rule {
protocol = "tcp"
port_range = "443"
source_addresses = ["0.0.0.0/0", "::/0"]
}
inbound_rule {
protocol = "tcp"
port_range = "22"
source_addresses = ["10.10.0.0/16"]
}
outbound_rule {
protocol = "tcp"
port_range = "1-65535"
destination_addresses = ["0.0.0.0/0", "::/0"]
}
outbound_rule {
protocol = "udp"
port_range = "1-65535"
destination_addresses = ["0.0.0.0/0", "::/0"]
}
}
Step 2: Droplets with Load Balancer
resource "digitalocean_droplet" "app" {
count = 3
name = "app-${count.index}"
region = "nyc3"
size = "s-4vcpu-8gb"
image = "ubuntu-24-04-x64"
vpc_uuid = digitalocean_vpc.main.id
ssh_keys = [data.digitalocean_ssh_key.terraform.id]
monitoring = true
backups = true
user_data = <<-EOF
#!/bin/bash
ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw --force enable
EOF
tags = ["production", "web"]
}
resource "digitalocean_loadbalancer" "public" {
name = "public-lb"
region = "nyc3"
vpc_uuid = digitalocean_vpc.main.id
forwarding_rule {
entry_port = 443
entry_protocol = "https"
target_port = 80
target_protocol = "http"
certificate_name = digitalocean_certificate.main.name
}
healthcheck {
port = 80
protocol = "http"
path = "/health"
}
droplet_tag = "web"
}
Step 3: DOKS Cluster
resource "digitalocean_kubernetes_cluster" "main" {
name = "production-doks"
region = "nyc3"
version = "1.30.5"
node_pool {
name = "worker-pool"
size = "s-4vcpu-8gb"
node_count = 3
auto_scale = true
min_nodes = 1
max_nodes = 5
tags = ["production"]
}
maintenance_policy {
day = "sunday"
start_time = "04:00"
}
}
resource "digitalocean_container_registry" "main" {
name = "app-registry"
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/app-platform.md
- references/digitalocean-advanced.md
- references/digitalocean-fundamentals.md
- references/droplets-networking.md
- references/infrastructure-tools.md
- references/kubernetes-doks.md
- references/managed-databases.md
FAQ
Что делает скилл digitalocean?
Use when the user asks about DigitalOcean, Droplets, DOKS, App Platform, Spaces, managed databases, reserved IPs, cloud firewalls, doctl, or the Terraform digitalocean provider. Produces DigitalOcean infrastructure and IaC. Not for AWS (use aws) or Hetzner (use hetzner-cloud).
Как установить скилл digitalocean?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл digitalocean запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…