pre-publish-checker

Validate Hugo post front matter, links, images, and draft status.

415|44|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/notque/claude-code-toolkit --skill pre-publish-checker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-publish-checker
Source: https://github.com/notque/claude-code-toolkit/tree/main/skills/pre-publish-checker
Command: npx skills add https://github.com/notque/claude-code-toolkit --skill pre-publish-checker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates the comprehensive validation of Hugo posts prior to publication, ensuring front matter correctness, SEO metadata, and content integrity.

Core Features & Use Cases

  • Parse Hugo front matter in TOML (+++) or YAML (---) and validate required fields
  • Validate internal links and that images exist with alt text
  • Enforce draft status and surface a structured readiness report

Quick Start

Validate a post by running the pre-publish checker against a Hugo post path to receive a complete readiness assessment.

Frequently Asked Questions about pre-publish-checker

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

FAQPage Schema
How do I validate Hugo front matter before publishing a post?

To validate Hugo front matter before publishing, the checker parses TOML or YAML metadata to verify required fields, ensuring structural correctness and readiness for publication.

Can I check internal links and images in Hugo drafts automatically?

Yes, you can check internal links and images in Hugo drafts automatically. The validation process confirms internal links resolve and verifies referenced images exist and include alt text.

What is the best way to enforce SEO metadata checks in Hugo posts?

The best way to enforce SEO metadata checks in Hugo posts is to run a pre-publish validation that evaluates SEO metrics alongside content structure to ensure readiness before going live.

Does the pre-publish checker support both TOML and YAML front matter formats?

Yes, the pre-publish checker supports both TOML (+++) and YAML (---) front matter formats, parsing either structure to validate required metadata fields for Hugo content.

How do I generate a readiness report for Hugo draft posts?

To generate a readiness report for Hugo draft posts, run the validation against the post path to assess front matter, SEO, links, images, and draft status, surfacing a structured readiness summary.