mcpField
H
hugo-template-dev

hugo-template-dev

github.com/influxdataDevelopment8343 installsUpdated today
Repository

About hugo-template-dev

A development skill for Hugo templates that sets out checks and references for template changes, product-specific behavior, and new shortcodes. It emphasizes inspecting existing patterns and verifying runtime behavior beyond a successful build.

Key features

  1. 01Change-specific evidence requirements
  2. 02Runtime Cypress test guidance
  3. 03Data-driven product context
  4. 04Shortcode documentation and tests

Use cases

  1. 01Modify a Hugo template or partial
  2. 02Implement product-specific template behavior
  3. 03Add a shortcode with tests and docs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/influxdata/docs-v2 --skill hugo-template-dev

After installing, type/hugo-template-devin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
product-data.md
runtime-testing.md
shortcodes.md

Details

From the project README

Hugo template development

ChangeRequired evidenceLoad
Template or partialHugo build plus runtime Cypress coveragereferences/runtime-testing.md
Product-specific behaviorData-driven product context, no magic valuesreferences/product-data.md
New shortcodeexample page, docs, and Cypress behavior testreferences/shortcodes.md

Prerequisites: inspect nearby patterns and the page cascade. Never branch on a hardcoded product name, version, or URL segment when data/products.yml and the product context partial provide the fact. A build does not prove runtime behavior.

npx hugo --quiet
node cypress/support/run-e2e-specs.js <content-file>

Load the route-specific reference only when that condition applies.

Comments

Markdown supported