batch-editor

Installation
SKILL.md

Batch Editor Skill

Safe, reversible bulk modifications across Hugo blog posts using a Preview-Confirm-Apply pattern. Supports find/replace (literal or regex), frontmatter field operations (add/modify/remove), and content transforms (headings, links, whitespace, quotes). All operations are scoped to content/posts/*.md by default and limited to markdown files -- binary files, images, and files outside content/ are never touched.

Instructions

Usage

/batch-edit [operation] [options]

Operations:

  • find-replace - Text replacement with optional regex
  • frontmatter - Add/modify/remove frontmatter fields
  • transform - Content transformations (links, headings, whitespace, quotes)

Common Options:

  • --dry-run - Validate pattern, show matches, don't apply
Related skills
Installs
7
GitHub Stars
366
First Seen
Mar 23, 2026