agentleFS
ultimatethemedev-bitultimatethemedev-bit/claude-vitrine-kit/.claude/skills/seo/SKILL.md

seo

Skill0 starsChanged 58 days agoMITView on GitHub

SEO complet zéro-touch pour un site vitrine Astro de commerçant local. Met une source unique de vérité (business.ts), un composant <Seo> (title/meta/canonical/Open Graph/Twitter uniques par page), un JSON-LD LocalBusiness (sous-type métier), un sitemap (@astrojs/sitemap), robots.txt, une image de partage social 1200×630, et vérifie les fondamentaux on-page (un seul h1, alt, lang fr, zéro CLS). Puis self-check (titres/meta uniques, JSON-LD valide). Déclenche sur "optimise le SEO", "référencement", "le site est-il bien référencé", "meta/balises", ou automatiquement à l'étape 6 de l'orchestrateur generateur-site-web.

  • Deletes or force-pushes

167 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use seo-agentic, seo-maps and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AgriciDanielSkill

    seo-agentic

    Audit and fix agent readiness: the Lighthouse Agentic Browsing fraction, accessibility tree for agents, robots.txt and Content-Signal for AI agents, WAF treatment of agent traffic, llms.txt, Markdown delivery, ai-catalog.json, /.well-known discovery files, and WebMCP tools. Use when the user asks whether AI agents can use or browse the site, or about llms.txt or WebMCP. Exclude AI citability and brand signals (seo-geo) and commerce protocol depth (seo-ecommerce).

    Also in 5 projects that use this

  • timruebenachSkill

    seo-maps

    Maps intelligence for local SEO — geo-grid rank tracking, GBP profile auditing via API, review intelligence across Google/Tripadvisor/Trustpilot, cross-platform NAP verification (Google/Bing/Apple/OSM), competitor radius mapping, and LocalBusiness schema generation from API data. Three-tier capability: free (Overpass + Geoapify), DataForSEO (full intelligence), DataForSEO + Google (maximum coverage). Use when user says "maps", "geo-grid", "rank tracking", "GBP audit", "review velocity", "competitor radius", "maps analysis", "local rank tracking", "Share of Local Voice", or "SoLV".

    Also in 18 projects that use this

  • timruebenachSkill

    seo-image-gen

    AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when user says \"generate image\", \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"create visual\", \"image-gen\", \"favicon\", \"schema image\", \"pinterest pin\", \"generate visual\", \"banner\", or \"thumbnail\".

    Also in 16 projects that use this

  • megastepSkill

    seo-sitemap

    Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure. Use when user says "sitemap", "generate sitemap", "sitemap issues", or "XML sitemap".

    Also in 28 projects that use this

  • megastepSkill

    seo-images

    Image optimization analysis for SEO and performance. Checks alt text, file sizes, formats, responsive images, lazy loading, and CLS prevention. Use when user says "image optimization", "alt text", "image SEO", "image size", or "image audit".

    Also in 26 projects that use this

  • renepfSkill

    orch-pipeline

    Shared orchestration engine for the orch-* skill family. Defines the gated Research-Plan-TDD-Review-Commit pipeline, the size classifier, the agent map, and the two human gates that the orch-* operation skills delegate to. Not usually invoked directly.

    Also in 4 projects that use this

  • +3 more from timruebenach
  • +2 more from megastep

The file

Files
SKILL.md

seo — référencement complet zéro-touch (site vitrine Astro local)

Tu optimises toi-même le référencement d'un site Astro déjà construit, sans que l'utilisateur ait à coder. Cible : un commerçant local français (réparateur, coiffeur, resto, coach, artisan…). Objectif : titres/meta propres et uniques, données structurées locales, partage social soigné, fondamentaux on-page nickel.

Vue d'ensemble (ce que tu installes)

  1. Source unique de vérité → src/data/business.ts (nom, adresse, tél, email, horaires, géo, réseaux, sous-type métier). Le SEO, le footer et la page contact lisent ce fichier — zéro info en double.
  2. Composant <Seo> dans le <head> du Layout → title + meta description uniques par page, canonical, Open Graph, Twitter Card, lang="fr".
  3. JSON-LD LocalBusiness → composant <LocalBusinessSchema> qui lit business.ts (accueil + contact).
  4. Sitemap (@astrojs/sitemap) + robots.txt.
  5. Image de partage social 1200×630 (une pour tout le site par défaut).
  6. Fondamentaux on-page : un seul <h1>/page, Hn logique, alt partout, dimensions d'images explicites (zéro CLS), lazy-loading.
  7. Self-check final.

Procédure

Étape 1 — Récupère les infos du commerce

Remplis src/data/business.ts à partir du brief (copie le modèle templates/business.ts). Champs critiques pour le SEO local : nom exact, adresse complète, téléphone, horaires, sous-type métier (NAP cohérent partout). S'il manque une info non-inventable (géo, SIRET…), demande-la — ne l'invente jamais.

Étape 2 — Pose les composants

  • Copie templates/Seo.astro → src/components/Seo.astro et appelle-le dans le <head> du Layout principal.
  • Copie templates/LocalBusinessSchema.astro → src/components/LocalBusinessSchema.astro, ajoute-le sur l'accueil et la page contact.
  • Sur chaque page, passe un title et une description uniques et descriptifs (longueurs : references/meta-tags.md).

Étape 3 — Sitemap + robots

  • Ajoute l'intégration officielle : npx astro add sitemap (réponds « yes »).
  • Indispensable : définis site: 'https://ledomaine.fr' dans astro.config.mjs (sinon le sitemap et les URLs canoniques sont faux).
  • Crée public/robots.txt (modèle dans references/meta-tags.md) pointant vers /sitemap-index.xml.

Étape 4 — Image de partage social

Génère l'OG 1200×630 (zéro-touch, script déterministe) :

node .claude/skills/seo/scripts/og-generate.mjs --title "Nom du commerce" --subtitle "Slogan / ville" --accent "#RRGGBB" --bg "#RRGGBB" --logo public/logo.svg --out public/og/default.png
  • Référence /og/default.png comme image par défaut dans <Seo>.
  • Pour générer une OG par page (rarement utile pour un commerçant local), voir references/og-images.md (mode --pages).

Étape 5 — Fondamentaux on-page

Passe les pages en revue : un seul <h1>, hiérarchie Hn sans saut, alt parlant sur chaque image (pas « image1.jpg »), width/height explicites, loading="lazy" sauf le hero. Détails : references/meta-tags.md.

Étape 6 — Self-check (bloquant avant de dire « fini »)

Le serveur dev tournant, vérifie :

  • Titres + meta description uniques sur toutes les pages (aucun doublon).
  • JSON-LD valide : récupère le <script type="application/ld+json"> rendu et parse-le (JSON.parse) — il doit être un objet valide avec @type, name, address.
  • OG présent : chaque page a og:title, og:description, og:image.
  • Un seul <h1> par page.

Tu peux réutiliser Playwright (déjà là via responsive-qa) pour crawler et extraire ces balises. Donne un rapport court : ce qui est en place + ce qui restait à corriger.

Étape manuelle restante (→ pour le cours)

Soumettre le sitemap à Google Search Console = humain (créer le compte + prouver la propriété du domaine). Guide l'utilisateur pas-à-pas : créer la propriété, vérifier via DNS ou balise meta, puis « Sitemaps » → coller https://ledomaine.fr/sitemap-index.xml. Ça ne bloque pas la mise en ligne, mais ça accélère l'indexation.

Garde-fous

  • Ne jamais inventer une info business (adresse, tél, horaires, SIRET, géo). Demande.
  • NAP cohérent : nom/adresse/tél strictement identiques partout (site + schema + Google Business plus tard).
  • FR uniquement. Pas de meta keywords (ignorée par Google).
  • Ne casse pas le design existant : le SEO touche le <head>, les alt, la structure Hn — pas la direction visuelle.
  • Windows / PowerShell. Jamais rm -rf → trash.

Fichiers de référence

  • references/meta-tags.md — checklist balises, bonnes longueurs, robots.txt, Hn, images
  • references/jsonld-localbusiness.md — sous-types métier + champs requis + exemple complet
  • references/og-images.md — gabarit + runner OG (single & per-page)

Templates à copier dans le projet

  • templates/business.ts → src/data/business.ts
  • templates/Seo.astro → src/components/Seo.astro
  • templates/LocalBusinessSchema.astro → src/components/LocalBusinessSchema.astro
  • templates/og-template.html (utilisé par le script, reste dans le skill)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.