generate

Run go generate to compile templ templates and build frontend assets.

23|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/PeterBooker/veloria --skill generate-peterbooker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate
Source: https://github.com/PeterBooker/veloria/tree/main/.claude/skills/generate
Command: npx skills add https://github.com/PeterBooker/veloria --skill generate-peterbooker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the compilation of templ templates and the building of frontend assets, ensuring your project's UI and backend code generation are up-to-date.

Core Features & Use Cases

  • Template Compilation: Compiles .templ files into Go code, essential for dynamic HTML generation.
  • Frontend Asset Building: Builds CSS and JavaScript assets using npm, integrating them into your project.
  • Use Case: After making changes to your website's UI components or backend template logic, run this Skill to regenerate the necessary code and assets before deploying.

Quick Start

Run go generate to build templ templates and frontend CSS/JS assets.

Frequently Asked Questions about generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile templ templates and build frontend assets in a Go project?

To compile templ templates and build frontend assets, run `go generate` to automate CSS and JavaScript building and translate `.templ` files into Go code. This ensures UI components and backend generation remain current.

What dependencies do I need to build templ templates and frontend assets?

Building templ templates and frontend assets requires Node.js, npm, and the templ CLI installed and available in your environment to execute the `go generate` command successfully.

When should I run go generate for my templ files and frontend code?

Run `go generate` for templ files and frontend code after modifying UI components or backend template logic to ensure all project assets are current before deployment.

Does building frontend assets with go generate require npm?

Building frontend assets with `go generate` requires npm to build CSS and JavaScript, integrating them into your project alongside compiled templ templates.