rhdh-templates skill commands

The rhdh-templates skill routes your request to a subcommand based on your goal. Each command maps to a task, from initial setup through local validation and remote testing.

Table 1. rhdh-templates skill commands
Command Description

init

Check required tools, scaffold the template repository layout, and optionally probe RHDH connectivity.

templatize

Convert an existing codebase into a parameterized template. This is the most common workflow.

create

Author a template from scratch when no reference code exists.

add-parameter

Add a parameter or parameter group to an existing template.yaml.

add-step

Add a Scaffolder step to an existing template.yaml.

add-skeleton

Add or parameterize skeleton files with Nunjucks.

create-location

Generate or update the root location.yaml for catalog registration.

fix-gotchas

Auto-fix common template mistakes, such as missing {% raw %} blocks or wrong action ID casing.

validate

Run local YAML schema, gotcha, and optional Nunjucks checks without a running instance.

list-actions

List the Scaffolder actions available on a running RHDH instance.

dry-run

Test template execution through the Scaffolder v2 dry-run API.

explain-action

Show the input schema for an action or the parameter schema for a template.

examples

Browse curated reference templates from the official library and bundled examples.