Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Red Hat Developer Hub software template authoring with rhdh-templates

Build, validate, and debug Red Hat Developer Hub templates faster with the rhdh-templates skill

September 7, 2026
Kashish Mittal
Related topics:
Developer toolsPlatform engineeringDeveloper productivityArtificial intelligence
Related products:
Red Hat Developer Hub

    If you are a platform engineer or developer building Red Hat Developer Hub software templates, you know the friction of wrestling with Nunjucks syntax, guessing location.yaml placements, and discovering errors only after rendering in your developer portal. While AI coding agents handle generic YAML, they lack Red Hat Developer Hub and Backstage-specific conventions.

    To address this, the rhdh-templates skill, part of the RHDH Users Skill Pack, equips your AI assistant with Red Hat Developer Hub best practices, Nunjucks conventions, and local template validation. It brings schema checking, Nunjucks helpers, and reference templates directly into your coding assistant.

    What you get

    Install the skill once into your coding agent, then use it in 3 common situations to build Backstage software templates faster:

    • Validate before merge: Schema and gotcha checks on template.yaml from your laptop without a running cluster.
    • Templatize a repo: Interactive parameterization when you turn an existing codebase into a template. You confirm each mapping instead of accepting speculative YAML.
    • Talk to your instance: Connect to a reachable Red Hat Developer Hub deployment to list active Scaffolder actions (the automated tasks that execute workflow steps like fetching templates, publishing repos, and registering entities), read action schemas directly, and dry-run templates against the API.

    Whether you start from scratch or convert an existing repo, you end up with a clean, validated template ready for your catalog.

    Quick start: Build Backstage software templates in 5 minutes

    Prerequisites: 

    • An agent-enabled editor (such as Cursor, Claude Code, Codex, or Pi)
    • A Git repository where you store software templates (location.yaml, templates/, and so on)
    • A Red Hat Developer Hub instance (optional) to run the finished template. (Note: A running Red Hat Developer Hub instance is optional for developing the template; local validation runs offline.)

    This walkthrough templatizes a real repository. Converting a live repository by hand is tedious work. You spend hours manually picking out parameter values, fighting Nunjucks syntax, and debugging broken YAML links.

    1. Install the skill

    Run the following command in your terminal, then open your template repository in your agent-enabled editor:

    npx skills add redhat-developer/rhdh-users-skill-pack --skill rhdh-templates

    2. Scaffold the layout

    If this is a new template repo, ask the skill to set up the recommended tree:

    Set up template authoring in this repo. Check my tooling and scaffold the recommended layout.

    You should get a root location.yaml that registers templates under ./templates/**/template.yaml and a layout you can extend.

    3. Templatize a reference repository

    Pick a code base your team might standardize on for new services. We used the Quarkus getting-started quick start:

    Help me turn the Quarkus getting-started quickstart into an RHDH software template. Walk parameterization interactively and wire fetch, publish, and catalog-register steps.

    The skill should propose which values become parameters, update templated files, and shape template.yaml for your instance.

    4. Validate locally

    Before you merge or import anything:

    Validate the template locally

    A clean run reports 0 critical findings. Fix anything the skill flags, then validate again. That is your signal the template is ready to merge or import.

    5. Try it out on Red Hat Developer Hub

    If you have rhdh-local or a cluster deployment available, refresh your catalog (or import the repo's location.yaml), navigate to self-service, and launch your newly authored Quarkus template to see it in action.

    Under the hood: Commands and scripts

    rhdh-templates bundles reference docs, JSON schema, example templates, and Python scripts your agent can run for deterministic checks. You invoke workflows in plain language; the skill routes to the right command. The following quick start uses init, template creation, and validate. When you need more, these are the main entry points:

    CommandDescription
    initCheck tooling and scaffold the recommended template repo layout
    createAuthor a new template from scratch with guided steps
    templatizeTurn an existing codebase into a parameterized template
    add-parameterAdd a form field or parameter group to template.yaml
    add-stepAdd a Scaffolder step to an existing template
    add-skeletonAdd or parameterize files copied into the target repo
    create-locationGenerate or fix root location.yaml for catalog registration
    fix-gotchasAuto-fix common Red Hat Developer Hub template mistakes
    validateRun local schema, gotcha, and optional Nunjucks checks
    examplesBrowse curated reference templates to study or compare
    list-actionsList Scaffolder actions exposed on your Red Hat Developer Hub instance
    dry-runTest template execution against the API
    explain-actionShow an action or parameter schema from your instance

    Local commands such as validate and fix-gotchas run on your laptop. Commands like list-actions, dry-run, and explain-action need a reachable Red Hat Developer Hub back-end URL and an optional API token. See the skill source on GitHub for full reference docs.

    Ready to speed up your workflow? Install rhdh-templates today to turn your team's core repository into a self-service template. Explore the subcommand reference on GitHub, or try Red Hat Developer Hub in a hands-on sandbox environment.

    Related Posts

    • How to template AI software in Red Hat Developer Hub

    • An in-depth look at the Software Catalog and Templates

    • Build your first Software Template for Backstage

    • Chat with your docs with Red Hat Developer Hub

    • How Developer Hub simplifies Backstage configuration

    • 10 tips for better Backstage Software Templates

    Recent Posts

    • Understanding W8A8 INT8 LLM quantization: Half the size, better performance, same accuracy

    • Red Hat Developer Hub software template authoring with rhdh-templates

    • Reference architecture for HA scanning with Red Hat Advanced Cluster Security for Kubernetes

    • From incident to remediation: Building an AI-driven AIOps workflow with Red Hat Ansible Automation Platform

    • Build AI-assisted firewall workflows with Ansible Automation Platform

    What’s up next?

    Learning Path Red Hat Developer Hub feature image

    Install and configure Red Hat Developer Hub and explore templating basics

    Development teams today face a huge amount of cognitive overload due to the...
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility
    Ask AI