来源信息
- 仓库
- coreos/ignition
- 最近来源活动
- 2026年5月4日 20:45
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 976
- 分支
- 298
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- add-platform-support
- description
- Automate adding new cloud provider/platform support to Ignition
# Add Platform Support
This skill adds a new cloud provider/platform to Ignition by running the codified script.
## Usage
When invoked, gather the following from the user if not provided as arguments:
- **Provider ID** (`--id`): lowercase alphanumeric, e.g. `hetzner`
- **Provider Name** (`--name`): display name, e.g. `Hetzner Cloud`
- **Metadata URL** (`--url`): URL to fetch config from, e.g. `http://169.254.169.254/hetzner/v1/userdata`
- **Documentation URL** (`--docs`): platform docs URL, e.g. `https://www.hetzner.com/cloud`
- **Description** (`--description`, optional): custom description for supported-platforms.md
Then execute:
```bash
.opencode/skills/add-platform-support/run.sh \
--id <provider_id> \
--name "<provider_name>" \
--url "<metadata_url>" \
--docs "<docs_url>"
```
The script handles everything: generating the provider Go file, updating the registry, docs, release notes, running validation, and creating the commit.
See `README.md` in this directory for detailed documentation.
在 GitHub 查看