What problem does it solve?
Adding a new cloud/platform provider to Afterburn is repetitive and error-prone because it requires creating Rust modules, mock tests, wiring into dispatch tables, and updating multiple docs and service files manually. This Skill automates the repetitive scaffolding work, ensures consistent project structure, and reduces integration mistakes.
Core Features & Use Cases
- Interactive Input & Validation: Collects provider ID, struct name, metadata type (imds or configdrive), base URLs/auth, supported features, and attributes, and validates there are no naming conflicts.
- Code & Tests Generation: Creates a provider Rust module and mock tests following existing provider patterns, and wires the provider into src/providers/mod.rs and src/metadata.rs.
- Documentation & Service Updates: Updates docs/platforms.md, docs/usage/attributes.md, docs/release-notes.md, and conditionally edits systemd/dracut service files based on supported features, then verifies formatting, build, tests, and linting.
- Use Case: Quickly add a new IMDS or configdrive provider during contribution development to accelerate PR readiness and reduce manual errors.
Quick Start
Run the add-provider workflow and answer the interactive prompts to scaffold a new provider module and accompanying tests and documentation.