Automate adding new cloud provider/platform support to Ignition
This skill automates adding support for a new cloud provider or platform to Ignition, following the exact pattern from commits like ef142f33 (Hetzner) and 9b833b21 (Akamai).
Performs a complete platform addition by:
internal/providers/{provider}/{provider}.gointernal/register/providers.godocs/supported-platforms.mddocs/release-notes.mdNone - the skill handles everything automatically.
/add-platform-support
The skill will prompt you for:
/add-platform-support --id hetzner --name "Hetzner Cloud" --url "http://169.254.169.254/hetzner/v1/userdata" --docs "https://www.hetzner.com/cloud"
When invoked, follow these steps in order:
If not provided as arguments, ask the user for:
Required:
provider_id: Platform ID (lowercase, alphanumeric, e.g., "hetzner")provider_name: Display name (e.g., "Hetzner Cloud")metadata_url: Full URL to fetch config fromprovider_url: Documentation URL for the platformOptional:
description: Custom description (default: "Ignition will read its configuration from the instance userdata. Cloud SSH keys are handled separately.")Validation:
internal/providers/Find the latest experimental spec version:
# List config spec directories
ls -d internal/config/v*_experimental/ | sort -V | tail -1
Extract the version (e.g., v3_6_experimental) to use in import paths.
Parse the metadata URL to extract components: