hugo-blog

Automates publishing of Crafty's README-synced .rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/.rdml/. files to PDF.

5|1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/wolf5996/agentic-skills --skill hugo-blog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugo-blog
Source: https://github.com/wolf5996/agentic-skills/tree/main/hugo-blog
Command: npx skills add https://github.com/wolf5996/agentic-skills --skill hugo-blog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures consistent, error-free publishing of Hugo blog posts by enforcing a reliable two-file workflow, strict front matter conventions, and a repeatable pre-push process.

Core Features & Use Cases

  • Two-file source-of-truth workflow: author in content/posts/*.rmd, render to content/posts/*.md, and never edit generated output directly.
  • Strict file naming and series management: create series posts as {series_name}_part_{NN}.rmd with zero-padded numbering, starting new series at _part_01.
  • Front matter validation for Hugo/hugodown: apply required YAML fields (including output: hugodown::md_document), correct slug/date formatting, and appropriate alias/summary metadata.
  • Release readiness guardrails: require updating readme.md post counts before pushing to main, ensuring the repo stays in sync with published content.

Quick Start

Run the md-format step on your post’s source .rmd, render it to .md using the provided R command, update the root README series table/counts, then commit both the .rmd and rendered .md and push to main for Netlify deployment.

Frequently Asked Questions about hugo-blog

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

FAQPage Schema
How do I publish R Markdown posts to a Hugo blog with correct front matter?

To publish R Markdown posts to a Hugo blog, author content in `.rmd` files and render them to Hugo-compatible `.md` files. This workflow enforces strict YAML front matter conventions, including required fields like `output: hugodown::md_document`, correct slug and date formatting, and appropriate summary metadata.

How does Hugo blog series management work when writing sequential posts?

Hugo blog series management requires creating source files with a strict naming convention: `{series_name}_part_{NN}.rmd` using zero-padded numbering. New series must start at `_part_01`, ensuring correct sequential structure and front matter organization for your generated posts.

What is the correct workflow to render R Markdown to Hugo compatible markdown?

The correct workflow to render R Markdown involves a dual-file system where you author in `content/posts/*.rmd` and render to `content/posts/*.md`. You must validate the md-format prior to rendering, configure hugodown output, and never edit the generated markdown output directly.

Do I need to update the repository README before pushing Hugo posts to Netlify?

Yes, you need to update the repository README before pushing Hugo posts to Netlify. This pre-push process requires synchronizing the README post counters and series tables, ensuring the repository stays in sync with published content before committing both `.rmd` and `.md` files.

Can I use Quarto with Hugo for blog publishing instead of R Markdown and hugodown?

While Hugo blog publishing supports Quarto alongside R Markdown and hugodown, the enforced workflow specifically requires rendering `.rmd` files to `.md` using hugodown output configuration. You must apply the required YAML fields and dual-file editing rules regardless of the authoring format chosen.