OpenParable
Skip to content
← Back to skills

Stabilize Spec

Development
stabilize-spec

Stabilize Spec is an Agent Skill for development published in the coreos/ignition repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Automate the Ignition config spec stabilization process

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/coreos/ignition/blob/HEAD/.opencode/skills/stabilize-spec/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/stabilize-spec, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Stabilize Spec

This skill performs a complete config spec stabilization by running the codified script.

Prerequisites

Before running, ensure schematyper is installed:

cd /tmp
git clone https://github.com/idubinskiy/schematyper.git
cd schematyper
go mod init github.com/idubinskiy/schematyper
echo 'replace gopkg.in/alecthomas/kingpin.v2 => github.com/alecthomas/kingpin/v2 v2.4.0' >> go.mod
go mod tidy
go install .

Also install build dependencies (Fedora/RHEL): sudo dnf install -y libblkid-devel

Usage

When invoked, gather the following from the user if not provided:

  • Minor version (required): the minor version to stabilize, e.g. 7 for v3_7_experimental -> v3_7

Then execute:

.opencode/skills/stabilize-spec/run.sh <minor_version>

The script creates 8 atomic commits: renaming experimental to stable, creating the next experimental version, updating all imports across the codebase, updating tests, regenerating docs/schemas, and running build/test validation.

See README.md in this directory for detailed documentation.