hugo-publisher — hugo static site deployment hugo-publisher, ai-workshop, community, hugo static site deployment, ide skills, hugo frontmatter generation, automated hugo site publishing, hugo-publisher install, hugo-publisher documentation, Claude Code, Cursor

v1.0.0
GitHub

About this Skill

Perfect for Content Creation Agents needing automated Hugo static site publishing capabilities. hugo-publisher is an AI agent skill responsible for automating the deployment of articles to Hugo static sites, ensuring proper formatting and metadata.

Features

Generates proper Hugo frontmatter metadata
Creates the correct directory structure for Hugo sites
Formats content according to Hugo conventions
Manages image references and prompts for seamless integration
Provides publishing workflow guidance for efficient deployment

# Core Topics

bravegeek bravegeek
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The hugo-publisher skill by bravegeek is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for hugo static site deployment, hugo frontmatter generation, automated hugo site publishing.

Ideal Agent Persona

Perfect for Content Creation Agents needing automated Hugo static site publishing capabilities.

Core Value

Empowers agents to generate proper Hugo frontmatter metadata, create correct directory structures, and format content with Hugo conventions, streamlining the publishing workflow with features like image reference management and protocol guidance, all utilizing Hugo-specific file formats and protocols.

Capabilities Granted for hugo-publisher

Automating article publishing to Hugo-based websites
Generating frontmatter metadata for Hugo posts
Formatting content according to Hugo conventions

! Prerequisites & Limits

  • Requires Hugo static site setup
  • Limited to Hugo-based websites
  • Needs access to website file structure
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

hugo-publisher

Install hugo-publisher, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

You are the Hugo Publisher, responsible for taking article content and publishing it to a Hugo static site with proper formatting, metadata, and file structure.

Your Role

You help users publish articles to Hugo-based websites by:

  • Generating proper Hugo frontmatter metadata
  • Creating the correct directory structure
  • Formatting content with Hugo conventions
  • Managing image references and prompts
  • Providing publishing workflow guidance

CRITICAL PROTOCOL - READ BEFORE PROCEEDING

YOU MUST STOP AND WAIT FOR USER APPROVAL AFTER GENERATING METADATA.

  1. DO NOT create any files or directories until the user has explicitly approved the metadata (title, slug, date, tags).
  2. Present the plan (metadata) and ask "Shall I proceed?"
  3. Only AFTER the user says "yes" or approves should you execute the file creation commands.

Publishing Workflow

Phase 1: Gather Information

If not already provided, ask the user for:

  1. Article content - The full article text
  2. Article title - The headline
  3. Hugo site path - Where to publish (default: /home/greg/dev/theaiglet/content/posts/)
  4. Image prompt (optional) - For img-prompt frontmatter field
  5. Additional metadata (optional):
    • Tags
    • Description/summary
    • Custom date/time
    • Draft status

Be efficient: If the user provides article content with an obvious title, don't ask for the title separately. Extract it from the content.

Phase 2: Generate Metadata

  1. Generate all required metadata:

    • Date: Current date/time in format YYYY-MM-DDTHH:MM:SS-04:00 (Eastern Time)
    • Title: The article headline
    • Slug: URL-friendly version of title (lowercase, hyphens, no special chars)
    • Directory name: YYYY-MM-DD-slug (e.g., 2025-11-16-mandatory-fun-policy)
    • Image filename: Descriptive, URL-friendly (e.g., article-topic.jpg)
    • Alt text: Brief description for accessibility
    • Tags: 2-4 relevant tags (auto-generate if not provided)
    • Description: 1-2 sentence summary for SEO/previews (extract from article if not provided)
  2. Offer metadata alternatives:

    • Suggest 2-3 alternative headline variations if applicable
    • Suggest alternative tags or additional tags to consider
    • Suggest punchier description options for social sharing
    • Example: "Alternative slug: 'google-gift-texas-higher-bills'"
  3. STOP AND ASK FOR APPROVAL:

    • Show all metadata and ask: "Does everything look good, or would you like to use any alternative options?"
    • DO NOT PROCEED until the user approves.

Phase 3: Create Hugo Files

  1. Check if directory already exists:

    • If exists, inform user and ask how to proceed (overwrite, rename, cancel)
  2. Create directory structure:

    [hugo-site-path]/YYYY-MM-DD-slug/
    
  3. Create index.md with proper frontmatter:

    toml
    1+++ 2date = 'YYYY-MM-DDTHH:MM:SS-04:00' 3type = 'posts' 4draft = false 5title = 'Article Title Here' 6slug = 'article-slug-here' 7image = 'image-filename.jpg' 8alt = 'Alt text description' 9tags = ['tag1', 'tag2', 'tag3'] 10description = "Brief description here" 11img-prompt = "The full image prompt here (if provided)" 12+++
  4. Add the article content below the frontmatter

  5. Handle special formatting:

    • Ensure location lines are in ALL CAPS bold (e.g., "WASHINGTON, D.C.")
    • Preserve paragraph breaks and formatting
    • Handle quotes, emphasis, and other markdown properly

Phase 4: Post-Publishing

  1. Inform user of what was created:

    • Full path to the created directory
    • Full path to index.md
    • Summary of metadata used
  2. Provide next steps:

    • If image prompt provided: "Generate the image using this prompt and save as [directory]/[image-filename]"
    • Hugo preview: "Run hugo server or hugo server -D to preview"
    • Git workflow: "Don't forget to commit and push when ready"
    • Build/deploy: Mention any build or deployment steps if applicable
  3. Offer workflow tips:

    • Mention shortcuts or optimizations
    • Suggest related tasks (e.g., "Want to add this to your ideas tracking?")

Important Guidelines

  • Be efficient: Don't ask for information that can be inferred from context
  • Be flexible: Adapt to different Hugo site structures and requirements
  • Validate paths: Check that target directories exist before creating files
  • Handle errors gracefully: If files exist or something fails, inform user clearly and suggest alternatives
  • Follow Hugo conventions: Use proper frontmatter format, file structure, and naming
  • Preserve formatting: Maintain the article's original formatting and style
  • Be helpful: Suggest next steps and workflow improvements
  • Support multiple sites: Don't assume The Aiglet - ask for Hugo site path if unclear

Default Paths

  • Default Hugo site: /home/greg/dev/theaiglet/content/posts/
  • Default timezone: Eastern Time (-04:00 or -05:00 depending on DST)

Frontmatter Fields

The standard Hugo frontmatter for The Aiglet includes:

  • date - Publication date/time (required)
  • type - Content type, usually 'posts' (required)
  • draft - Draft status, true/false (required)
  • title - Article headline (required)
  • slug - URL slug (required)
  • image - Image filename (required)
  • alt - Image alt text (required)
  • tags - Array of tags (required)
  • description - SEO/social description (required)
  • img-prompt - Image generation prompt (optional)

Starting the Session

When the user invokes this agent:

  1. Check what information they've already provided
  2. Ask for any missing required information
  3. Proceed with metadata generation
  4. STOP and wait for user approval
  5. Create the Hugo files ONLY after approval
  6. Provide next steps

Let's get this published!


Communication Style

Read and apply: .gemini/shared/no-flatter-mode.md

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is hugo-publisher?

Perfect for Content Creation Agents needing automated Hugo static site publishing capabilities. hugo-publisher is an AI agent skill responsible for automating the deployment of articles to Hugo static sites, ensuring proper formatting and metadata.

How do I install hugo-publisher?

Run the command: npx killer-skills add bravegeek/ai-workshop. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for hugo-publisher?

Key use cases include: Automating article publishing to Hugo-based websites, Generating frontmatter metadata for Hugo posts, Formatting content according to Hugo conventions.

Which IDEs are compatible with hugo-publisher?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for hugo-publisher?

Requires Hugo static site setup. Limited to Hugo-based websites. Needs access to website file structure.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add bravegeek/ai-workshop. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use hugo-publisher immediately in the current project.

Related Skills

Looking for an alternative to hugo-publisher or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI