hugo-template-dev

Official

Ensure Hugo templates render without errors.

Authorinfluxdata
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Hugo template development often misses runtime errors that only appear when templates render. This Skill enforces a mandatory runtime testing protocol to catch issues in layouts, partials, and shortcodes before deployment.

Core Features & Use Cases

  • Enforces runtime validation by launching a local Hugo server and attempting page renders to surface template errors.
  • Applies to changes under layouts/, layouts/partials/, and layouts/shortcodes/ with automatic verification of page rendering.
  • Use case: when updating a theme or documentation site, ensure all templates render without panics across common pages.

Quick Start

Start by running the Hugo server on port 1315: npx hugo server --port 1315 2>&1 | head -50 Verify the server is serving pages: curl -s -o /dev/null -w "%{http_code}" http://localhost:1315/ Stop the server after validation: pkill -f "hugo server --port 1315"

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hugo-template-dev
Download link: https://github.com/influxdata/docs-v2/archive/main.zip#hugo-template-dev

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.