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-templates skill and set up a template repository.

Procedure

  1. 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.
  2. 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.
  3. Confirm that the skill builds the template directory with template.yaml, a skeleton/ directory, and an optional README.md. In skeleton files, values use the ${{ values.* }} prefix, which the fetch:template action requires.
  4. Ask your agent to register the template by generating or updating the root location.yaml.

Results

  1. The template.yaml is a valid v1beta3 template with parameters, steps, and outputs appropriate to your use case.
  2. The skeleton/ directory has at least one templated file, and location.yaml lists the new template.
  3. Local validation and gotcha checks report zero critical findings. See Validate a software template locally.

What to do next