front-matter-image-converter

Community

Convert Hugo front-matter images to WebP.

Authorkquinsland
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Hugo sites often reference local images in front matter that remain in legacy formats. This skill converts those local images to WebP and updates front matter references to ensure faster load times and smaller asset footprints.

Core Features & Use Cases

  • Converts local PNG/JPEG/GIF assets to WebP when possible and preserves non-convertible assets.
  • Updates index.md front matter paths to point to the new .webp files and keeps alt text/metadata intact.
  • Supports selective processing by targetting specific content trees (e.g., content/tools/*) as needed.

Quick Start

Process a Hugo site root with the conversion script to automatically replace image references with WebP variants.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: front-matter-image-converter
Download link: https://github.com/kquinsland/tools/archive/main.zip#front-matter-image-converter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.