Astro SEO Metadata Sync

0•

Synchronizes SEO metadata and canonical URLs in Astro projects by replacing hardcoded domains with centralized configuration.

Astro SEO Metadata Sync is a specialized capability for Claude Code designed to maintain consistency across website metadata. It automates the process of identifying 'drift'—instances where pages have inconsistent canonical links, Open Graph URLs, or Twitter Card images—and refactors them to use a centralized base URL configuration (baseUrlFromConfig). This ensures that your site's SEO properties remain accurate across development, staging, and production environments without the risk of hardcoded local domains leaking into production metadata.

Key Features

01Standardization of Canonical, OG:URL, and Social Image tags
02Automated detection of hardcoded domain strings and SEO tag drift
03Validation through build checks and recursive directory scanning
04Preservation of existing SEO titles and meta description content
05Centralized URL management integration via baseUrlFromConfig
060 GitHub stars

Use Cases

01Migrating an Astro project from a local development environment to a live production domain
02Fixing broken Open Graph image links and inconsistent canonical URLs across multiple pages
03Auditing an existing Astro codebase for hardcoded domain references in head metadata