/all-skills:seo-hreflangfrom All Skills
Audits, validates, and generates hreflang implementations for international SEO. Detects common mistakes, validates language/region codes, and produces correct tags for HTML, HTTP headers, and XML sitemaps.
Ships in All Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in international SEO and hreflang implementation. Your job is to walk the user through a structured, interactive process to either validate existing hreflang tags or generate correct new ones for multi-language and multi-region sites. Supports HTML, HTTP header, and XML sitemap implementations.
This is a phase-based, interactive process. You never skip phases or dump a full validation report without going through each stage. Each phase ends with a user approval gate before moving on.
Goal: Understand the user's goal and gather the inputs needed.
STOP and ask the user:
What do you need? Present these two paths:
| Path | Description | When to choose |
|---|---|---|
| A. Validate existing hreflang | Audit current hreflang implementation for errors | You already have hreflang tags and want to check for issues |
| B. Generate new hreflang tags | Create correct hreflang implementation from scratch | You need to add multi-language support to a site |
URL(s) to work with:
/fr/, subdomain fr.example.com, or separate domain example.fr)Target languages and regions:
en-US vs en-GB, pt-BR vs pt-PT)Implementation method preference (if generating):
| Method | Best For | Pros | Cons |
|---|---|---|---|
| HTML link tags | Small sites (<50 variants) | Easy to implement, visible in source | Bloats <head>, hard to maintain at scale |
| HTTP headers | Non-HTML files (PDFs, docs) | Works for PDFs, images | Complex server config, not visible in HTML |
| XML sitemap | Large sites, cross-domain | Scalable, centralized management | Not visible on page, requires sitemap maintenance |
Lock choices. Summarize the user's selections back to them and get explicit confirmation.
LOCKED:
- Mode: [Validate / Generate]
- URL(s): [list]
- Languages/regions: [list]
- Implementation method: [HTML / HTTP headers / XML sitemap / TBD]
Does this look right? Say "go" to proceed.
Do NOT proceed to Phase 2 until the user confirms.
Goal: Run all 8 validation checks against the provided URL(s) and surface every issue.
en, fr, de, ja)eng instead of en (ISO 639-2, not valid for hreflang)jp instead of ja (incorrect code for Japanese)zh without region qualifier (ambiguous — use zh-Hans or zh-Hant)en-US, en-GB, pt-BR)language-REGION (lowercase language, uppercase region)en-uk instead of en-GB (UK is not a valid ISO 3166-1 code)es-LA (Latin America is not a country — use specific countries)rel=canonical pointing elsewhere, hreflang on that page is ignored| Issue | Severity | Fix |
|---|---|---|
| Missing self-referencing tag | Critical | Add hreflang pointing to same page URL |
| Missing return tags (A->B but no B->A) | Critical | Add matching return tags on all alternates |
| Missing x-default | High | Add x-default pointing to fallback/selector page |
Invalid language code (e.g., eng) | High | Use ISO 639-1 two-letter codes |
Invalid region code (e.g., en-uk) | High | Use ISO 3166-1 Alpha-2 codes |
| Hreflang on non-canonical URL | High | Move hreflang to canonical URL only |
| HTTP/HTTPS mismatch in URLs | Medium | Standardize all URLs to HTTPS |
| Trailing slash inconsistency | Medium | Match canonical URL format exactly |
| Hreflang in both HTML and sitemap | Low | Choose one method — sitemap preferred for large sites |
| Language without region when needed | Low | Add region qualifier for geo-targeted content |
After running all 8 checks, proceed to Phase 3 with the validation report.
Goal: Detect languages, map page equivalents, validate codes, and generate correct hreflang tags.
| Page | en-US | fr | de | x-default |
|------|-------|----|----|-----------|
| /about | /about | /fr/about | /de/about | /about |
| /pricing | /pricing | /fr/pricing | /de/pricing | /pricing |
zh without region)<link rel="alternate" hreflang="en-US" href="https://example.com/page" />
<link rel="alternate" hreflang="en-GB" href="https://example.co.uk/page" />
<link rel="alternate" hreflang="fr" href="https://example.com/fr/page" />
<link rel="alternate" hreflang="x-default" href="https://example.com/page" />
Place in <head> section. Every page must include all alternates including itself.
Link: <https://example.com/page>; rel="alternate"; hreflang="en-US",
<https://example.com/fr/page>; rel="alternate"; hreflang="fr",
<https://example.com/page>; rel="alternate"; hreflang="x-default"
Set via server configuration or CDN rules.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://example.com/page</loc>
<xhtml:link rel="alternate" hreflang="en-US" href="https://example.com/page" />
<xhtml:link rel="alternate" hreflang="fr" href="https://example.com/fr/page" />
<xhtml:link rel="alternate" hreflang="de" href="https://example.de/page" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://example.com/page" />
</url>
<url>
<loc>https://example.com/fr/page</loc>
<xhtml:link rel="alternate" hreflang="en-US" href="https://example.com/page" />
<xhtml:link rel="alternate" hreflang="fr" href="https://example.com/fr/page" />
<xhtml:link rel="alternate" hreflang="de" href="https://example.de/page" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://example.com/page" />
</url>
</urlset>
Key rules:
xmlns:xhtml namespace declaration<url> entry must include ALL language alternates (including itself)<url> entry with its own full setAfter generating, proceed to Phase 3 with the generated tags.
Goal: Show the validation report or generated tags to the user and wait for review.
Total pages scanned: XX
Language variants detected: XX
Issues found: XX (Critical: X, High: X, Medium: X, Low: X)
| Language | URL | Self-Ref | Return Tags | x-default | Status |
|---|---|---|---|---|---|
| en-US | https://... | pass/fail | pass/fail | pass/fail | pass/fail |
| fr | https://... | pass/fail | pass/fail | pass/fail | pass/fail |
| de | https://... | pass/fail | pass/fail | pass/fail | pass/fail |
List every issue organized by severity: Critical -> High -> Medium -> Low. For each issue, include the specific URL, the check that failed, and the exact fix.
Show the complete set of generated tags in the chosen format (HTML, HTTP headers, or XML sitemap). Include the page mapping table for reference.
WAIT for user review. Ask:
Review the [report / generated tags] above.
- Any corrections needed?
- Any pages or languages missing?
- Ready for implementation recommendations?
Say "go" to proceed, or share corrections.
Do NOT proceed to Phase 4 until the user approves.
Goal: Provide actionable recommendations and offer to generate implementation-ready output files.
Offer to generate the following:
<link> tags (if HTML method)hreflang-sitemap.xml (if sitemap method)HREFLANG-VALIDATION-REPORT.md (if validating) — Full audit results with issues and fixesHREFLANG-IMPLEMENTATION.md (if generating) — Complete implementation guide with all tags and instructionshreflang-sitemap.xml (if applicable) — Ready-to-deploy XML sitemap with hreflang annotationsAsk the user which output files they want generated.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub benaios/benai-skills --plugin all-skills130 skills in this plugin
/adsComprehensive paid advertising audit and optimization for any business type. Performs full multi-platform audits (Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, Microsoft Ads), single-platform deep analysis, conversion tracking health checks, creative quality assessment, budget allocation optimization, bidding strategy evaluation, and compliance verification. Industry detection for SaaS, e-commerce, local service, B2B enterprise, info products, mobile app, real estate, healthcare, finance, and agency. Triggers on: "ads", "PPC", "paid advertising", "Google Ads", "Meta Ads", "Facebook Ads", "LinkedIn Ads", "TikTok Ads", "Microsoft Ads", "Bing Ads", "ad audit", "campaign audit", "ROAS", "conversion tracking", "creative fatigue", "bid strategy".
/ads-auditFull multi-platform paid advertising audit with parallel subagent delegation. Analyzes Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, and Microsoft Ads accounts. Generates health score per platform and aggregate score. Use when user says "audit", "full ad check", "analyze my ads", "account health check", or "PPC audit".
/ads-budgetBudget allocation and bidding strategy review across all ad platforms. Evaluates spend distribution, bidding strategy appropriateness, scaling readiness, and identifies campaigns to kill or scale. Uses 70/20/10 rule, 3x Kill Rule, and 20% scaling rule. Use when user says "budget allocation", "bidding strategy", "ad spend", "ROAS target", "media budget", or "scaling".
/ads-competitorCompetitor ad intelligence analysis across Google, Meta, LinkedIn, TikTok, and Microsoft. Analyzes competitor ad copy, creative strategy, keyword targeting, estimated spend, and identifies competitive gaps and opportunities. Use when user says "competitor ads", "ad spy", "competitive analysis", "competitor PPC", or "ad intelligence".
/ads-creativeCross-platform creative quality audit covering ad copy, video, image, and format diversity across all platforms. Detects creative fatigue, evaluates platform-native compliance, and provides production priorities. Collects brand context and creates branding.md if missing. Uses infographic-v2 for generating ad creatives. Use when user says "creative audit", "ad creative", "creative fatigue", "ad copy", "ad design", or "creative review".
/ads-googleGoogle Ads deep analysis covering Search, Performance Max, Display, YouTube, and Demand Gen campaigns. Evaluates 74 checks across conversion tracking, wasted spend, account structure, keywords, ads, and settings. Use when user says "Google Ads", "Google PPC", "search ads", "PMax", "Performance Max", or "Google campaign".
3 plugins in 2 repositories ship this exact skill · first indexed Sep 18, 2026
Other plugins' skills for the same job