greglas75/zuvo/content-migration
Claude Code and agent skill by greglas75/zuvo
- community
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-migrationSKILL.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:
../../shared/includes/env-compat.md-- Environment adaptation../../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
| Argument | Behavior | |
|---|---|---|
--old <url> | Original CMS page URL (required, unless --status) | |
--new <url> | New SSG page URL or localhost (required, unless --status) | |
--fix | Apply 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-bottom | Scroll 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 | |
--status | Show 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:
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:
Elements matching ignore rules are excluded from findings entirely.
0.6 Source file resolution (for --fix):
| Priority | Strategy | Confidence | |
|---|---|---|---|
| 1 | --source-file <path> argument | Explicit | |
| 2 | Frontmatter slug matches URL path | HIGH | |
| 3 | Frontmatter url / permalink field | HIGH | |
| 4 | File path convention (src/pages/path.md → /path/) | MEDIUM | |
| 5 | Content collection H1/title match | LOW |
- 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:
Phase 1: Extract
For each URL (old, new):
- Navigate browser to URL
- If
--scroll-to-bottom: scroll to page bottom (triggers lazy load) - If
--wait-for <sel>: wait until selector appears (max 10s) - Wait
--settle-ms(default 3s) - Extract content from page (see below)
- 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:
--content-selectorif provided<main>element<article>element.contentor#contentcontainer- 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 orrole="button"- Class contains
btnorcta - 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
| Status | Meaning | |
|---|---|---|
| MATCHED | Found in new page (exact or semantic match) | |
| PARTIAL | Found but significantly shortened or changed | |
| MISSING | Not found in new page | |
| ADDED | In new page but not old (informational only) |
Severity (business impact)
| Element type | MISSING severity | PARTIAL severity | |
|---|---|---|---|
| H1 | CRITICAL | HIGH | |
| CTA / tel: / mailto: | CRITICAL | HIGH | |
| H2-H6 headings | HIGH | MEDIUM | |
| Paragraphs | MEDIUM | MEDIUM | |
| Images | MEDIUM | LOW | |
| Lists, tables, forms | HIGH | MEDIUM |
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 (>= 90MATCHED,< 50MISSING) - 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:
- Filename match: basename without extension (
zdjecie-1.jpg=zdjecie-1.webp) - URL pathname match: after CDN/domain strip, ignore query params
- Alt text match: >50% similarity (handles rewritten alts)
- Position-based: last resort, only if same total image count
Parity Score
The formula is fractional, so the bands are inequalities — a hyphenated 75-89 leaves 74.5 ungraded.
| Grade | Score | |
|---|---|---|
| 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.
| Verdict | Condition | |
|---|---|---|
| PASS | No CRITICAL/HIGH missing items AND parity >= 90% | |
| PROVISIONAL | Low-confidence source mapping OR old site partially loaded OR degraded extraction mode OR incomplete post-fix verification | |
| FAIL | Any CRITICAL missing item OR parity < 50% OR new page 404 OR old site unreachable | |
| NEEDS_REVIEW | Ambiguous source mapping OR ambiguous fix insertion points |
Phase 3: Report
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.
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:
Update progress → zuvo/reports/migration-status.json:
Auto-append/update this page's result. Keyed by new URL path.
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
- SKILL.md in the repositoryCheckingskills/content-migration/SKILL.md
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
[](https://verified-skill.com/skills/greglas75/zuvo/content-migration)