/fuse-astro:astro-seofrom fuse-astro
Implements SEO for Astro 7 sites: meta tags, Open Graph, JSON-LD structured data, sitemap/RSS, canonical URLs, hreflang, and Core Web Vitals optimization.
Ships in fuse-astro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Does not cover locale routing mechanics beyond hreflang tag generation (astro-i18n), Content Layer schema design (astro-content), or image-specific optimization like <Image />/<Picture /> (astro-assets) — those are separate skills.
Complete SEO strategy for Astro 7 sites — zero JS by default makes Astro naturally SEO-friendly.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
After implementation, run fuse-ai-pilot:sniper for validation.
| Feature | Benefit |
|---|---|
| Zero JS by default | Pure HTML for crawlers, instant indexing |
| Static output | Sub-second TTFB, top Core Web Vitals |
Astro.site | Canonical URL construction built-in |
| Islands Architecture | Only hydrate interactive parts |
Create a reusable <SEO /> or <Head /> component accepting title, description, og, canonical props. Place in all layouts. Use Astro.site for absolute URL construction.
Always construct canonicals with Astro.site:
const canonical = new URL(Astro.url.pathname, Astro.site);
Inject JSON-LD via <script type="application/ld+json" set:html={JSON.stringify(schema)} />. Use set:html to avoid XSS — never template string interpolation.
| Topic | Reference | When to Consult |
|---|---|---|
| Meta Tags & OG | meta-tags.md | Setting up head metadata |
| JSON-LD | structured-data.md | Rich snippets, schema.org |
| Sitemap & RSS | sitemap-rss.md | Search indexing, feeds |
| Canonical & hreflang | canonical-hreflang.md | Duplicate content, i18n |
| Core Web Vitals | core-web-vitals.md | LCP, CLS, FID optimization |
| Template | When to Use |
|---|---|
| seo-head.md | Reusable SEO head component |
| json-ld.md | JSON-LD BlogPosting, WebSite schemas |
Astro.site for og:image and canonicalsset:html for JSON-LD - Prevents XSS vulnerabilitiesreferences/canonical-hreflang.md (opens in a new tab)references/core-web-vitals.md (opens in a new tab)references/meta-tags.md (opens in a new tab)references/sitemap-rss.md (opens in a new tab)references/structured-data.md (opens in a new tab)references/templates/json-ld.md (opens in a new tab)references/templates/seo-head.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/astro-7Use when building Astro 7 sites, choosing an output mode (static/server, hybrid via per-route prerender), configuring middleware, or upgrading from Astro 5/6./astro-actionsUse when handling form submissions, mutations, or server-side logic with type safety in Astro via defineAction / astro:actions./astro-assetsUse when optimizing images or other assets in Astro — <Image />, <Picture />, getImage(), Fonts API, or OG image generation./astro-contentUse when managing structured content, blog posts, or typed data collections in Astro via the Content Layer API (content.config.ts)./astro-dbUse when doing database operations in an Astro project via Astro DB (defineDb, defineTable, db/config.ts, Turso)./astro-deploymentUse when deploying an Astro 7 app to Cloudflare, Vercel, Netlify, or Node.js — adapter setup, ISR patterns, edge middleware.npx claudepluginhub fusengine/claude-plugins --plugin fuse-astroOther plugins' skills for the same job