hugo-publisher

Generate Hugo frontmatter and content directories for article publishing.

1|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/bravegeek/ai-workshop --skill hugo-publisher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugo-publisher
Source: https://github.com/bravegeek/ai-workshop/tree/main/.gemini/skills/hugo-publisher
Command: npx skills add https://github.com/bravegeek/ai-workshop --skill hugo-publisher

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Publishing articles to Hugo sites typically requires manual setup of directory structure, frontmatter, and content formatting. This Skill automates those steps, reducing boilerplate and ensuring consistency across Hugo-powered sites.

Core Features & Use Cases

  • Generate proper Hugo frontmatter (date, title, slug, image, alt, tags, description, and img-prompt) and create the corresponding directory under content/posts.
  • Create and format content according to Hugo conventions, including bold headings and image references.
  • Manage references to images and prompts for image generation, enabling consistent visuals across posts.
  • Support publishing to The Aiglet and other Hugo-based sites with a single workflow.
  • Use case: publish a new article from draft to a ready-to-publish Hugo post with correct metadata and structure.

Quick Start

Provide the article text and title to begin. After generation, you will be prompted to approve the metadata before files are created.

Frequently Asked Questions about hugo-publisher

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

FAQPage Schema
How do I automate Hugo frontmatter generation for new blog posts?

Automating Hugo frontmatter generation requires a tool that formats metadata fields like date, title, slug, and tags. This skill automatically creates the correct frontmatter structure and builds the corresponding content directory for Hugo posts.

What is the best way to structure Hugo content directories for static site publishing?

Structuring Hugo content directories involves creating specific paths under content/posts and formatting text with bold headings. This skill automates directory creation and applies Hugo conventions to format your article structure consistently.

How do I handle image references and alt text in Hugo frontmatter?

Handling image references in Hugo frontmatter involves managing image, alt, and img-prompt fields. This skill automatically generates these metadata fields, enabling consistent visuals and proper image handling across your static site posts.

Can I use this Hugo publisher skill for static sites other than The Aiglet?

Yes, you can use this skill for other static sites. It supports publishing to The Aiglet and other Hugo-based sites by applying standard Hugo frontmatter fields and content formatting workflows.

What do I need to start publishing Hugo posts with automated metadata?

To start publishing Hugo posts, you need to provide your article text and title. After generation, the skill prompts you to approve the metadata before creating the formatted content files.

Why does formatting Hugo blog posts manually cause consistency issues?

Formatting Hugo blog posts manually causes consistency issues because boilerplate frontmatter and directory structures are prone to human error. Automating these steps ensures correct slug generation, metadata fields, and content structure across all articles.