greglas75/zuvo/content-migration

Claude Code and agent skill by greglas75/zuvo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Compare old CMS page with new SSG page after migration. Finds missing headings, paragraphs, images, CTAs, tables, forms. Optionally patches safe gaps in local .md files. Use when content was migrated from Joomla/WordPress/ Drupal to Astro/Hugo/Next.js and you need to verify nothing was lost. Flags: --old <url>, --new <url>, --fix, --source-file <path>, --status.

Install

npx vskill@latest install greglas75/zuvo/content-migration

SKILL.md

The same SKILL.md was published earlier as greglas75/zuvo/content-migration.

zuvo:content-migration — CMS-to-SSG Content Parity Check & Fix

Compare an old CMS page with its new SSG version. Report parity gaps. Optionally apply safe additive patches to the local markdown source.

One page pair per invocation. For bulk progress, use --status.

Out of scope: SEO optimization (zuvo:seo-audit), content hygiene (zuvo:content-audit), pixel-level visual comparison, redirect mapping.


Mandatory File Loading

Read before work begins:

  1. ../../shared/includes/env-compat.md -- Environment adaptation
  2. ../../shared/includes/live-probe-protocol.md -- Consent + rate limiting

Load on demand:

  • ../../shared/includes/codesift-setup.md -- Only if source file needs discovery
  • ../../shared/includes/migration-fix-registry.md -- Only with --fix
  • ../../shared/includes/verification-protocol.md -- Only with --fix
  • ../../shared/includes/run-logger.md -- At report phase
  • ../../shared/includes/retrospective.md -- At report phase

Safety Gates

GATE 1 — Consent

Per live-probe-protocol.md for BOTH --old and --new URLs.

GATE 2 — Read-Only Default

Without --fix: compare and report only. Writes only to zuvo/reports/.

GATE 3 — Conservative Fixes

With --fix:

  • Never delete content from the new site
  • Never reorder existing content
  • Never modify files not explicitly resolved as the source
  • Dirty file check: git status --porcelain -- <file>. Dirty → STOP.
  • If insertion point is ambiguous → NEEDS_REVIEW, do not guess
  • All fixes are additive (insert missing content only)
  • Limit: max 5 content insertions per run. When many gaps found, prefer

report-first over bulk insertion.


Arguments

ArgumentBehavior
--old <url>Original CMS page URL (required, unless --status)
--new <url>New SSG page URL or localhost (required, unless --status)
--fixApply fixes to local .md file (default: compare only)
--source-file <path>Explicit path to the .md file for --new page
--settle-ms <ms>Wait after page load (default: 3000, max: 15000)
--scroll-to-bottomScroll page before extraction (triggers lazy-loaded content)
--content-selector <sel>CSS selector for content area (default: auto-detect)
--wait-for <sel>Wait for specific element before extraction
--statusShow migration progress dashboard (no --old/--new needed)

Phase 0: Setup

0.1 Status mode (--status): If --status flag is set, skip all phases. Read zuvo/reports/migration-status.json and print progress dashboard:

MIGRATION PROGRESS:
A (90+): 12 pages
B (75-89): 8 pages
C (50-74): 5 pages
D (<50): 3 pages
Average parity: 78%
Last updated: 2026-04-07 10:30 UTC

If no status file exists: "No migration runs recorded yet." STOP.

0.2 Browser detection: Playwright or Chrome DevTools MCP available → MODE=full. Neither → MODE=degraded (curl, warn about JS content).

0.3 URL normalization (for --old): If URL contains Joomla query patterns (?option=com_content, /component/):

  • Follow redirects (max 3 hops)
  • Log final URL after redirects
  • Warn: "Old URL redirected to {final_url}, using as canonical"
  • Use final URL for comparison

0.4 Framework detection: Astro / Hugo / Next.js / generic.

0.5 Load ignore rules: If .content-migration-ignore.yml exists in project root, load it.

Format:

yaml
global:
paragraphs:
- "Wszelkie prawa zastrzeżone 2018"
headings:
- "Newsletter"
images:
- alt: "logo-old.png"
per_url:
"/tajlandia.html":
paragraphs:
- "Promocja wazna do 31.12.2023"

Elements matching ignore rules are excluded from findings entirely.

0.6 Source file resolution (for --fix):

PriorityStrategyConfidence
1--source-file <path> argumentExplicit
2Frontmatter slug matches URL pathHIGH
3Frontmatter url / permalink fieldHIGH
4File path convention (src/pages/path.md → /path/)MEDIUM
5Content collection H1/title matchLOW
  • HIGH → proceed
  • MEDIUM → proceed. Note in report: "Source file resolved with MEDIUM

confidence via [strategy]. Verify before applying fixes."

  • LOW or multiple → ask user to confirm
  • Zero → compare-only, fix_type: null

0.7 Print summary:

SETUP: Old=[url] New=[url] Mode=[full|degraded] Source=[path|not resolved] Fix=[on|off]

Phase 1: Extract

For each URL (old, new):

  1. Navigate browser to URL
  2. If --scroll-to-bottom: scroll to page bottom (triggers lazy load)
  3. If --wait-for <sel>: wait until selector appears (max 10s)
  4. Wait --settle-ms (default 3s)
  5. Extract content from page (see below)
  6. Take full-page screenshot → zuvo/reports/content-migration-{timestamp}/
Content Extraction

Extract from the page's content area only. Auto-strip navigation, header, footer, and sidebar to avoid false positives from layout differences.

Content root resolution:

  1. --content-selector if provided
  2. <main> element
  3. <article> element
  4. .content or #content container
  5. Fallback: <body> — auto-strip <nav>, <header>, <footer>, <aside>,

[role="navigation"], [role="banner"], [role="contentinfo"]

If fallback to <body>: warn "No semantic content container found. Consider --content-selector."

Extracted elements:

  • Headings (H1-H6): tag, text, order
  • Paragraphs (>5 words): text, word count, order
  • Images: src, alt text, filename (basename without extension), order
  • Links/CTAs: text, href, isCTA flag, order
  • Lists (ul/ol): item count, item texts
  • Tables: row/column count, header text
  • Forms: field types, submit button text

SEO metadata (compared separately, NOT part of parity score — metadata findings affect report warnings but do not change parity grade):

  • Title tag, meta description, canonical URL, og:image, H1 count
  • Title shortened >50% or meta description missing = WARNING

CTA detection — element is a CTA if:

  • <button> tag or role="button"
  • Class contains btn or cta
  • Text matches (EN): register|sign up|join|buy|start|get started|contact|book now|learn more|try free|subscribe|download|apply|pricing|demo|free trial|reserve|schedule|enroll|book a call

or (PL): zarejestruj|kup|kontakt|sprawdz|zobacz|rezerwuj|zapisz|pobierz|dowiedz|umow|dolacz|cennik|zamow|wyprobuj

  • Prefer interactive, conversion-oriented elements over ordinary links.

Not every "learn more" is a critical CTA.


Phase 2: Compare

Compare semantically — matching by meaning, not exact string equality. This naturally handles rephrased headings, shortened copy, localized text.

Prefer semantic equivalence, but do NOT mark as MATCHED when intent, structure, or informational value materially changed.

Parity Status
StatusMeaning
MATCHEDFound in new page (exact or semantic match)
PARTIALFound but significantly shortened or changed
MISSINGNot found in new page
ADDEDIn new page but not old (informational only)
Severity (business impact)
Element typeMISSING severityPARTIAL severity
H1CRITICALHIGH
CTA / tel: / mailto:CRITICALHIGH
H2-H6 headingsHIGHMEDIUM
ParagraphsMEDIUMMEDIUM
ImagesMEDIUMLOW
Lists, tables, formsHIGHMEDIUM

Image severity may be upgraded when the image carries essential informational or conversion value (pricing graphic, comparison chart, hero CTA image, trust badges).

PARTIAL Detection

PARTIAL is the middle band. Anything above it is MATCHED, anything below is MISSING — state the boundary explicitly, because the parity score below counts MATCHED and PARTIAL alike and MISSING not at all, so a coin-flip on an exact boundary value moves the grade.

  • Paragraph: >= 50 and < 90 % word overlap (>= 90 MATCHED, < 50 MISSING)
  • Heading: new is <60% character length of old
  • Title tag: new is <50% character length of old
  • Meta description: new is <70% character length of old
Image Matching Cascade

Match images between old and new page in this order:

  1. Filename match: basename without extension (zdjecie-1.jpg = zdjecie-1.webp)
  2. URL pathname match: after CDN/domain strip, ignore query params
  3. Alt text match: >50% similarity (handles rewritten alts)
  4. Position-based: last resort, only if same total image count
Parity Score
score = (MATCHED + PARTIAL) / total elements in old page * 100

The formula is fractional, so the bands are inequalities — a hyphenated 75-89 leaves 74.5 ungraded.

GradeScore
A>= 90
B>= 75 and < 90
C>= 50 and < 75
D< 50
Verdict

Hierarchy: FAIL > NEEDS_REVIEW > PROVISIONAL > PASS. If multiple conditions match, the higher-priority verdict wins.

VerdictCondition
PASSNo CRITICAL/HIGH missing items AND parity >= 90%
PROVISIONALLow-confidence source mapping OR old site partially loaded OR degraded extraction mode OR incomplete post-fix verification
FAILAny CRITICAL missing item OR parity < 50% OR new page 404 OR old site unreachable
NEEDS_REVIEWAmbiguous source mapping OR ambiguous fix insertion points

Phase 3: Report

CONTENT MIGRATION -- [project]
Old: [url] → New: [url]
Source: [path.md | not resolved]
Parity: [score]% ([grade]) | Verdict: [PASS|FAIL|PROVISIONAL|NEEDS_REVIEW]
SEO METADATA:
Title: "Old title" → "New title" (OK | shortened X% | MISSING)
Meta: "Old desc" → "New desc" (OK | MISSING)
H1: 1 → 1 (OK) | 1 → 0 (CRITICAL)
MISSING:
- H2 "Our Services" — CRITICAL
- CTA "Register Now" — CRITICAL
- Image (file: team-photo, alt: "team") — MEDIUM
PARTIAL:
- H2 "Full guide to Vietnam" → "Vietnam" — shortened 70%, HIGH
MATCHED: 23/32 elements
Screenshots: zuvo/reports/content-migration-{ts}/
Run: <ISO-8601-Z> content-migration <project> - - <VERDICT> - parity-[grade] <NOTES> <BRANCH> <SHA7> <INCLUDES> <TIER>

Append via wrapper (REQUIRED). Never >> directly to ~/.zuvo/runs.log — the wrapper is the gate that verifies a retro entry exists for this run. Order: retro bash executed → wrapper invoked → completion claimed.

bash
printf '%b\n' "$RUN_LINE" | ~/.zuvo/append-runlog

Expected stdout: OK: appended to runs.log (retro verified for <skill> on <project>). If exit 2 with RETRO_REQUIRED — go execute the retro bash from retrospective.md first; never bypass with ZUVO_SKIP_RETRO_GATE=1. After the wrapper succeeds, print a Logs: evidence line (tail -1 ~/.zuvo/retros.log, grep -c "^<!-- RETRO -->" ~/.zuvo/retros.md, tail -1 ~/.zuvo/runs.log) before claiming completion. Printing the markdown retro section without executing the bash leaves all three log files empty.

JSON report → zuvo/reports/content-migration-YYYY-MM-DD.json:

json
{
"version": "1.2",
"skill": "content-migration",
"timestamp": "2026-04-07T10:15:00Z",
"old_url": "...",
"new_url": "...",
"source_file": "src/content/pages/home.md",
"verdict": "FAIL",
"score": { "overall": 72, "grade": "C" },
"seo_metadata": {
"title": { "old": "...", "new": "...", "status": "shortened", "delta": "-50%" },
"meta_description": { "old": "...", "new": null, "status": "missing" }
},
"findings": [],
"summary": { "matched": 23, "partial": 2, "missing": 7, "total_old": 32 }
}

Update progress → zuvo/reports/migration-status.json:

Auto-append/update this page's result. Keyed by new URL path.

json
{
"/tajlandia": { "score": 92, "grade": "A", "verdict": "PASS", "last_run": "2026-04-07T10:15:00Z" },
"/wietnam": { "score": 67, "grade": "C", "verdict": "FAIL", "last_run": "2026-04-07T09:30:00Z" }
}

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
7-day trend score
11

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/greglas75/zuvo/content-migration/badge)](https://verified-skill.com/skills/greglas75/zuvo/content-migration)

Something wrong with this skill or its page? Tell us.