hetzner-clilisted
Install: claude install-skill abdullahkhawer/devops-skills
# Hetzner Cloud CLI Skill
When running `hcloud` commands, always pass the `--context` flag based on the target environment.
## Configuration
Update the context map below with your `hcloud` CLI context names:
| Environment | Context |
|---|---|
| Production | `<your-prod-context>` |
| Staging / Non-Prod | `<your-nonprod-context>` |
### Prerequisites (one-time setup by user)
If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself.
```bash
brew install hcloud
hcloud context create <your-context-name>
hcloud context list
```
## Command Format
```bash
hcloud --context <context> <resource> <command> [options]
```
### Examples
```bash
# Production
hcloud --context <your-prod-context> server list
# Staging / Non-Prod
hcloud --context <your-nonprod-context> server list
```
## Available Commands
### Read-only (safe, no confirmation needed)
| Command | Description |
|---|---|
| `server list` / `server describe <name>` | List or describe servers |
| `volume list` / `volume describe <name>` | List or describe volumes |
| `load-balancer list` / `load-balancer describe <name>` | List or describe load balancers |
| `network list` / `network describe <name>` | List or describe networks |
| `firewall list` / `firewall describe <name>` | List or describe firewalls |
| `context list` / `context active` | Show CLI context information |
### Mutating operations (confirm with user