scaffold-component-olm
Installation
SKILL.md
Scaffold a new OLM operator component
Scaffold a new OLM operator component under components/ following the exact conventions of this repo.
Parsing arguments
$ARGUMENTS may contain:
- A component name (required unless empty — then ask)
- An optional
--autoor-yflag to enable autoaccept mode
Examples: redhat-oadp-operator --auto, -y metallb-operator, my-operator
Parse the component name and check for the autoaccept flag.
If $ARGUMENTS is empty, ask the user for the component name before proceeding.
Autoaccept mode
When --auto or -y is present, do not ask the user any follow-up questions. Use all defaults from the PackageManifest lookup and the defaults table below, then proceed directly to file generation and validation.