Create a software template from scratch
When no reference codebase exists, create a software template from scratch with AI guidance on Red Hat Developer Hub conventions. The create workflow gathers your intent, suggests reference examples, and builds a minimal but complete template that passes validation.
Before you begin
- You have installed the
rhdh-templatesskill and set up a template repository.
Procedure
- Ask your agent to create a template. When prompted, provide the golden path the template enables, the target entity type, the required form fields, the steps to include, and your source control provider.
- Review the reference examples that the skill suggests for your stack. You can mirror an example’s step sequence or start from the bundled minimal template.
-
Confirm that the skill builds the template directory with
template.yaml, askeleton/directory, and an optionalREADME.md. In skeleton files, values use the${{ values.* }}prefix, which thefetch:templateaction requires. -
Ask your agent to register the template by generating or updating the root
location.yaml.
Results
- The
template.yamlis a validv1beta3template with parameters, steps, and outputs appropriate to your use case. - The
skeleton/directory has at least one templated file, andlocation.yamllists the new template. - Local validation and gotcha checks report zero critical findings. See Validate a software template locally.