migrate-posts-to-v2-frontmatter
CommunitySafely migrate posts to v2 frontmatter
Software Engineering#schema validation#content migration#tag normalization#frontmatter v2#dry-run verification#rollback with bak#static site content
Authorjacob-balslev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the risk of breaking a populated content build when a required frontmatter field and validation contract change across many Markdown posts.
Core Features & Use Cases
- Four-phase migration workflow: add a nullable field, backfill, verify, then flip the validator only after sign-off to prevent build outages.
- Per-post safety and rollback: use
.bakfiles and an explicit rollback path that preserves authored content instead of regenerating summaries. - Controlled tag normalization and schema re-validation: normalize tags to the canonical vocabulary and ensure every post passes the v2 schema before enforcement.
- Verification gates for migration correctness: enforce dry-run review, post-level author confirmation, and zero-error validation before changing the schema requirement.
Quick Start
Run the migration for content/posts/**/*.md in dry-run mode first, review the output, then apply the v2 frontmatter backfill with --apply and flip the validator only after author sign-off.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: migrate-posts-to-v2-frontmatter Download link: https://github.com/jacob-balslev/skill-graph/archive/main.zip#migrate-posts-to-v2-frontmatter Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.