Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.
feat: add programmatic-seo, competitor-pages, hreflang skills + video schema types + subagent cross-refs + install script updates
Daniel3f22ae243436
diff --git a/README.md b/README.mdindex 8ae7611..1ff1296 100644--- a/README.md+++ b/README.md@@ -63,6 +63,45 @@ claude| `/seo content <url>` | E-E-A-T and content quality analysis || `/seo geo <url>` | AI Overviews / Generative Engine Optimization || `/seo plan <type>` | Strategic SEO planning (saas, local, ecommerce, publisher, agency) |+| `/seo programmatic <url>` | Programmatic SEO analysis and planning |+| `/seo competitor-pages <url>` | Competitor comparison page generation |+| `/seo hreflang <url>` | Hreflang/i18n SEO audit and generation |++### `/seo programmatic [url|plan]`+**Programmatic SEO Analysis & Planning**++Build SEO pages at scale from data sources with quality safeguards.++**Capabilities:**+- Analyze existing programmatic pages for thin content and cannibalization+- Plan URL patterns and template structures for data-driven pages+- Internal linking automation between generated pages+- Canonical strategy and index bloat prevention+- Quality gates: ⚠️ WARNING at 100+ pages, 🛑 HARD STOP at 500+ without audit++### `/seo competitor-pages [url|generate]`+**Competitor Comparison Page Generator**++Create high-converting "X vs Y" and "alternatives to X" pages.++**Capabilities:**+- Structured comparison tables with feature matrices+- Product schema markup with AggregateRating+- Conversion-optimized layouts with CTA placement+- Keyword targeting for comparison intent queries+- Fairness guidelines for accurate competitor representation++### `/seo hreflang [url]`+**Hreflang / i18n SEO Audit & Generation**++Validate and generate hreflang tags for multi-language sites.++**Capabilities:**+- Generate hreflang tags (HTML, HTTP headers, or XML sitemap)+- Validate self-referencing tags, return tags, x-default+- Detect common mistakes (missing returns, invalid codes, HTTP/HTTPS mismatch)+- Cross-domain hreflang support+- Language/region code validation (ISO 639-1 + ISO 3166-1)## Features@@ -106,10 +145,27 @@ New for 2026 - optimize for:```~/.claude/skills/seo/ # Main skill-~/.claude/skills/seo-*/ # Sub-skills (9 total)+~/.claude/skills/seo-*/ # Sub-skills (12 total)~/.claude/agents/seo-*.md # Subagents (6 total)```+### Video & Live Schema (New)+Additional schema types for video content, live streaming, and key moments:+- VideoObject — Video page markup with thumbnails, duration, upload date+- BroadcastEvent — LIVE badge support for live streaming content+- Clip — Key moments / chapters within videos+- SeekToAction — Enable seek functionality in video rich results+- SoftwareSourceCode — Open source and code repository pages++See `schema/templates.json` for ready-to-use JSON-LD snippets.++### Recently Added+- Programmatic SEO skill (`/seo programmatic`)+- Competitor comparison pages skill (`/seo competitor-pages`)+- Multi-language hreflang validation (`/seo hreflang`)+- Video & Live schema types (VideoObject, BroadcastEvent, Clip, SeekToAction)+- Google SEO quick-reference guide+## Requirements- Python 3.8+diff --git a/agents/seo-content.md b/agents/seo-content.mdindex 24e7c4e..25c4224 100644--- a/agents/seo-content.md+++ b/agents/seo-content.md@@ -44,6 +44,11 @@ AI content is acceptable IF it demonstrates genuine E-E-A-T. Flag these markers- Factual inaccuracies- Repetitive structure across pages+## Cross-Skill Delegation++- For evaluating programmatically generated pages, defer to the `seo-programmatic` sub-skill.+- For comparison page content standards, see `seo-competitor-pages`.+## Output FormatProvide:diff --git a/agents/seo-schema.md b/agents/seo-schema.mdindex 1d7c9ae..7d49e8c 100644--- a/agents/seo-schema.md+++ b/agents/seo-schema.md@@ -51,6 +51,8 @@ Recommend freely:- Person, Review, AggregateRating- VideoObject, Event, JobPosting+For video schema types (VideoObject, BroadcastEvent, Clip, SeekToAction), see `schema/templates.json`.+## Output FormatProvide:diff --git a/agents/seo-technical.md b/agents/seo-technical.mdindex 075cfdb..5c322a3 100644--- a/agents/seo-technical.md+++ b/agents/seo-technical.md@@ -23,6 +23,10 @@ Current thresholds (as of 2026):**IMPORTANT**: INP replaced FID on March 12, 2024. Never reference FID in any output.+## Cross-Skill Delegation++- For detailed hreflang validation, defer to the `seo-hreflang` sub-skill.+## Output FormatProvide a structured report with:diff --git a/install.ps1 b/install.ps1index 65acf05..7bf5c74 100644--- a/install.ps1+++ b/install.ps1@@ -58,6 +58,22 @@ if (Test-Path $SkillsPath) {}}+# Copy schema templates+$SchemaPath = "$TempDir\schema"+if (Test-Path $SchemaPath) {+ $SkillSchema = "$SkillDir\schema"+ New-Item -ItemType Directory -Force -Path $SkillSchema | Out-Null+ Copy-Item -Recurse -Force "$SchemaPath\*" $SkillSchema+}++# Copy reference docs+$PdfPath = "$TempDir\pdf"+if (Test-Path $PdfPath) {+ $SkillPdf = "$SkillDir\pdf"+ New-Item -ItemType Directory -Force -Path $SkillPdf | Out-Null+ Copy-Item -Recurse -Force "$PdfPath\*" $SkillPdf+}+# Copy agentsWrite-Host "→ Installing subagents..." -ForegroundColor YellowCopy-Item -Force "$TempDir\agents\*.md" $AgentDir 2>$nulldiff --git a/install.sh b/install.shindex e37ca5e..bf3a11f 100755--- a/install.sh+++ b/install.sh@@ -48,6 +48,18 @@ main() {donefi+ # Copy schema templates+ if [ -d "${TEMP_DIR}/claude-seo/schema" ]; then+ mkdir -p "${SKILL_DIR}/schema"+ cp -r "${TEMP_DIR}/claude-seo/schema/"* "${SKILL_DIR}/schema/"+ fi++ # Copy reference docs+ if [ -d "${TEMP_DIR}/claude-seo/pdf" ]; then+ mkdir -p "${SKILL_DIR}/pdf"+ cp -r "${TEMP_DIR}/claude-seo/pdf/"* "${SKILL_DIR}/pdf/"+ fi+# Copy agentsecho "→ Installing subagents..."cp -r "${TEMP_DIR}/claude-seo/agents/"*.md "${AGENT_DIR}/" 2>/dev/null || truediff --git a/pdf/google-seo-reference.md b/pdf/google-seo-reference.mdnew file mode 100644index 0000000..e840857--- /dev/null+++ b/pdf/google-seo-reference.md@@ -0,0 +1,148 @@+# Google SEO Quick Reference (February 2026)++Concise reference guide for subagents. Summarizes key Google Search concepts,+requirements, and best practices. Not a reproduction of Google's documentation —+see Official Documentation Links at the bottom for full details.++---++## How Google Search Works++Google Search operates in three stages: **Crawling** (Googlebot discovers pages by following links and reading sitemaps), **Indexing** (Google processes and stores page content, metadata, and signals in its search index), and **Serving** (when a user searches, Google's algorithms rank indexed pages by relevance, quality, and usability to return the most useful results). Pages must be crawlable and indexable to appear in search results.++---++## Google Search Essentials++Formerly known as "Webmaster Guidelines." Key requirements:++### Technical Requirements+- Pages must be accessible to Googlebot (not blocked by robots.txt or noindex)+- Pages must return HTTP 200 status for indexable content+- Content must be in a format Google can process (HTML preferred, JS-rendered content supported but slower)+- Pages must be served over HTTPS++### Spam Policies+- No cloaking (showing different content to Googlebot vs users)+- No doorway pages (pages created solely to rank for specific queries)+- No hidden text or links+- No keyword stuffing+- No link spam (buying links, excessive link exchanges)+- No scraped or auto-generated content without added value+- No sneaky redirects+- No thin affiliate pages++### Key Best Practices+- Create content for users, not search engines+- Make your site easy to navigate with a clear hierarchy+- Use descriptive, unique titles and meta descriptions per page+- Use heading tags (H1-H6) to structure content logically+- Optimize images with alt text and appropriate file sizes+- Ensure mobile-friendly responsive design+- Improve page load speed (Core Web Vitals)+- Submit an XML sitemap to Google Search Console+- Use structured data (JSON-LD) to help Google understand content++---++## Content Quality Signals++Google evaluates content quality through the E-E-A-T framework:++- **Experience**: Does the content creator have first-hand experience with the topic? (Original photos, personal stories, demonstrated use)+- **Expertise**: Does the creator have relevant knowledge or credentials? (Professional background, technical depth, accurate sourcing)+- **Authoritativeness**: Is the creator or site recognized as a go-to source? (Industry citations, brand mentions, expert recognition)+- **Trustworthiness**: Is the content and site reliable and transparent? (Contact info, secure site, editorial standards, accurate claims)++> **YMYL Note**: "Your Money or Your Life" topics (health, finance, safety, legal) are held to the highest E-E-A-T standards. Inaccurate YMYL content can cause real-world harm, so Google applies stricter quality thresholds.++> **December 2025 Update**: E-E-A-T evaluation now extends to ALL competitive queries, not just YMYL topics. Every page competing for ranking is assessed on these signals.++---++## Core Web Vitals++Measured at the 75th percentile of real user data (field data).++| Metric | Good | Needs Improvement | Poor |+|--------|------|-------------------|------|+| **LCP** (Largest Contentful Paint) | ≤ 2.5s | 2.5s – 4.0s | > 4.0s |+| **INP** (Interaction to Next Paint) | ≤ 200ms | 200ms – 500ms | > 500ms |+| **CLS** (Cumulative Layout Shift) | ≤ 0.1 | 0.1 – 0.25 | > 0.25 |++**Key facts:**+- INP replaced FID (First Input Delay) on March 12, 2024. Do NOT reference FID.+- Core Web Vitals are a confirmed ranking signal (since June 2021)+- Field data (CrUX) is preferred over lab data (Lighthouse) for assessment+- Passing all three metrics at "Good" is the target++**Measurement tools:**+- Google PageSpeed Insights (field + lab data)+- Chrome User Experience Report (CrUX) — field data+- Lighthouse (lab data only)+- Google Search Console Core Web Vitals report++---++## Structured Data Best Practices++- **JSON-LD is Google's preferred format** (over Microdata and RDFa)+- Place JSON-LD in `<script type="application/ld+json">` tags in the `<head>` or `<body>`+- Always include `@context` and `@type` properties+- **Required properties** must be present for rich result eligibility+- **Recommended properties** improve rich result quality but aren't mandatory+- Only mark up content that is visible on the page+- Use Google's Rich Results Test to validate before deployment+- Do not mark up content that is misleading or hidden from users+- Keep schema current — update when page content changes++### Deprecated/Restricted Types (as of Feb 2026)+- **HowTo**: Rich results removed (September 2023)+- **FAQ**: Restricted to government and healthcare authority sites (August 2023)+- **SpecialAnnouncement**: Deprecated (July 31, 2025)+- **CourseInfo, EstimatedSalary, LearningVideo**: Retired (June 2025)+- **ClaimReview**: Retired (June 2025)+- **VehicleListing**: Retired (June 2025)++---++## Common Penalties & How to Avoid Them++### Manual Actions+Google Search Console notifications for violations. Common causes:+- **Unnatural links** (buying/selling links): Disavow bad links, request reconsideration+- **Thin content**: Add substantial unique value to affected pages+- **Cloaking/sneaky redirects**: Remove deceptive serving, request reconsideration+- **User-generated spam**: Moderate comments/forums, add nofollow to user links+- **Structured data issues**: Fix misleading or spam markup++### Algorithmic Demotions+No manual notification — detected through ranking drops. Common causes:+- **Helpful Content Update**: Low-value, AI-generated, or unhelpful content at scale+- **Core Updates**: Broad quality reassessment across all signals+- **Spam Updates**: Automated detection of spam patterns+- **Link Spam Updates**: Devaluation of manipulative link patterns++### Recovery Steps+1. Identify the issue (Search Console, ranking timeline analysis)+2. Fix the root cause (remove spam, improve content, clean links)+3. For manual actions: submit reconsideration request via Search Console+4. For algorithmic: improve quality, wait for next core update reassessment+5. Monitor recovery in Search Console performance reports++---++## Official Documentation Links++- [Google Search Essentials](https://developers.google.com/search/docs/essentials)+- [How Google Search Works](https://developers.google.com/search/docs/fundamentals/how-search-works)+- [Structured Data Overview](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)+- [Rich Results Test](https://search.google.com/test/rich-results)+- [Core Web Vitals Report](https://support.google.com/webmasters/answer/9205520)+- [PageSpeed Insights](https://pagespeed.web.dev/)+- [Search Console Help](https://support.google.com/webmasters)+- [Manual Actions Report](https://support.google.com/webmasters/answer/9044175)+- [Google Search Status Dashboard](https://status.search.google.com/)+- [Google Search Central Blog](https://developers.google.com/search/blog)+- [Spam Policies](https://developers.google.com/search/docs/essentials/spam-policies)+- [E-E-A-T and Quality Rater Guidelines](https://developers.google.com/search/docs/fundamentals/creating-helpful-content)diff --git a/schema/templates.json b/schema/templates.jsonnew file mode 100644index 0000000..f3ef750--- /dev/null+++ b/schema/templates.json@@ -0,0 +1,114 @@+{+ "templates": [+ {+ "type": "VideoObject",+ "description": "Video content pages with thumbnails, duration, and playback URLs. Enables video rich results in Google Search.",+ "template": {+ "@context": "https://schema.org",+ "@type": "VideoObject",+ "name": "[Video Title]",+ "description": "[Video Description]",+ "thumbnailUrl": "[Thumbnail Image URL]",+ "uploadDate": "[YYYY-MM-DD]",+ "duration": "[ISO 8601 Duration, e.g. PT1H30M]",+ "contentUrl": "[Direct Video File URL]",+ "embedUrl": "[Embed Player URL]",+ "publisher": {+ "@type": "Organization",+ "name": "[Publisher Name]",+ "logo": {+ "@type": "ImageObject",+ "url": "[Logo URL]"+ }+ }+ }+ },+ {+ "type": "BroadcastEvent",+ "description": "Live streaming content for LIVE badge in Google Search results. Requires VideoObject and isLiveBroadcast flag.",+ "template": {+ "@context": "https://schema.org",+ "@type": "VideoObject",+ "name": "[Live Stream Title]",+ "description": "[Live Stream Description]",+ "thumbnailUrl": "[Thumbnail Image URL]",+ "uploadDate": "[YYYY-MM-DD]",+ "contentUrl": "[Stream URL]",+ "embedUrl": "[Embed Player URL]",+ "publication": {+ "@type": "BroadcastEvent",+ "isLiveBroadcast": true,+ "startDate": "[YYYY-MM-DDTHH:MM:SSZ]",+ "endDate": "[YYYY-MM-DDTHH:MM:SSZ]"+ }+ }+ },+ {+ "type": "Clip",+ "description": "Key moments or chapters within a video. Enables key moments rich results with timestamp links.",+ "template": {+ "@context": "https://schema.org",+ "@type": "VideoObject",+ "name": "[Video Title]",+ "description": "[Video Description]",+ "thumbnailUrl": "[Thumbnail Image URL]",+ "uploadDate": "[YYYY-MM-DD]",+ "contentUrl": "[Direct Video File URL]",+ "hasPart": [+ {+ "@type": "Clip",+ "name": "[Clip Title]",+ "startOffset": 0,+ "endOffset": 120,+ "url": "[Video URL with timestamp, e.g. ?t=0]"+ },+ {+ "@type": "Clip",+ "name": "[Next Clip Title]",+ "startOffset": 120,+ "endOffset": 300,+ "url": "[Video URL with timestamp, e.g. ?t=120]"+ }+ ]+ }+ },+ {+ "type": "SeekToAction",+ "description": "Enable seek functionality in video rich results. Allows users to jump to specific timestamps from search.",+ "template": {+ "@context": "https://schema.org",+ "@type": "VideoObject",+ "name": "[Video Title]",+ "description": "[Video Description]",+ "thumbnailUrl": "[Thumbnail Image URL]",+ "uploadDate": "[YYYY-MM-DD]",+ "contentUrl": "[Direct Video File URL]",+ "potentialAction": {+ "@type": "SeekToAction",+ "target": "[Video URL]?t={seek_to_second_number}",+ "startOffset-input": "required name=seek_to_second_number"+ }+ }+ },+ {+ "type": "SoftwareSourceCode",+ "description": "Open source and code repository pages. Describes programming language, platform, and repository location.",+ "template": {+ "@context": "https://schema.org",+ "@type": "SoftwareSourceCode",+ "name": "[Repository Name]",+ "description": "[Repository Description]",+ "codeRepository": "[Repository URL, e.g. https://github.com/org/repo]",+ "programmingLanguage": "[Language, e.g. Python]",+ "runtimePlatform": "[Platform, e.g. Node.js]",+ "author": {+ "@type": "Person",+ "name": "[Author Name]"+ },+ "license": "[License URL, e.g. https://opensource.org/licenses/MIT]",+ "dateCreated": "[YYYY-MM-DD]",+ "dateModified": "[YYYY-MM-DD]"+ }+ }+ ]+}diff --git a/seo/SKILL.md b/seo/SKILL.mdindex 9a900e7..329f92d 100644--- a/seo/SKILL.md+++ b/seo/SKILL.md@@ -23,7 +23,7 @@ allowed-tools:# SEO — Universal SEO Analysis SkillComprehensive SEO analysis across all industries (SaaS, local services,-e-commerce, publishers, agencies). Orchestrates 9 specialized sub-skills+e-commerce, publishers, agencies). Orchestrates 12 specialized sub-skillsand 6 subagents.## Quick Reference@@ -39,6 +39,9 @@ and 6 subagents.| `/seo content <url>` | E-E-A-T and content quality analysis || `/seo geo <url>` | AI Overviews / Generative Engine Optimization || `/seo plan <business-type>` | Strategic SEO planning |+| `/seo programmatic [url\|plan]` | Programmatic SEO analysis and planning |+| `/seo competitor-pages [url\|generate]` | Competitor comparison page generation |+| `/seo hreflang [url]` | Hreflang/i18n SEO audit and generation |## Orchestration Logic@@ -100,7 +103,7 @@ Weighted aggregate of all categories:## Sub-Skills-This skill orchestrates 9 specialized sub-skills:+This skill orchestrates 12 specialized sub-skills:1. **seo-audit** — Full website audit with parallel delegation2. **seo-page** — Deep single-page analysis@@ -111,6 +114,9 @@ This skill orchestrates 9 specialized sub-skills:7. **seo-sitemap** — Sitemap analysis and generation8. **seo-geo** — AI Overviews / GEO optimization9. **seo-plan** — Strategic planning with templates+10. **seo-programmatic** — Programmatic SEO analysis and planning+11. **seo-competitor-pages** — Competitor comparison page generation+12. **seo-hreflang** — Hreflang/i18n SEO audit and generation## Subagentsdiff --git a/skills/seo-competitor-pages/SKILL.md b/skills/seo-competitor-pages/SKILL.mdnew file mode 100644index 0000000..3fdd810--- /dev/null+++ b/skills/seo-competitor-pages/SKILL.md@@ -0,0 +1,204 @@+---+name: seo-competitor-pages+description: >+ Generate SEO-optimized competitor comparison and alternatives pages. Covers+ "X vs Y" layouts, "alternatives to X" pages, feature matrices, schema markup,+ and conversion optimization. Use when user says "comparison page", "vs page",+ "alternatives page", "competitor comparison", or "X vs Y".+---++# Competitor Comparison & Alternatives Pages++Create high-converting comparison and alternatives pages that target+competitive intent keywords with accurate, structured content.++## Page Types++### 1. "X vs Y" Comparison Pages+- Direct head-to-head comparison between two products/services+- Balanced feature-by-feature analysis+- Clear verdict or recommendation with justification+- Target keyword: `[Product A] vs [Product B]`++### 2. "Alternatives to X" Pages+- List of alternatives to a specific product/service+- Each alternative with brief summary, pros/cons, best-for use case+- Target keyword: `[Product] alternatives`, `best alternatives to [Product]`++### 3. "Best [Category] Tools" Roundup Pages+- Curated list of top tools/services in a category+- Ranking criteria clearly stated+- Target keyword: `best [category] tools [year]`, `top [category] software`++### 4. Comparison Table Pages+- Feature matrix with multiple products in columns+- Sortable/filterable if interactive+- Target keyword: `[category] comparison`, `[category] comparison chart`++## Comparison Table Generation++### Feature Matrix Layout+```+| Feature | Your Product | Competitor A | Competitor B |+|------------------|:------------:|:------------:|:------------:|+| Feature 1 | ✅ | ✅ | ❌ |+| Feature 2 | ✅ | ⚠️ Partial | ✅ |+| Feature 3 | ✅ | ❌ | ❌ |+| Pricing (from) | $X/mo | $Y/mo | $Z/mo |+| Free Tier | ✅ | ❌ | ✅ |+```++### Data Accuracy Requirements+- All feature claims must be verifiable from public sources+- Pricing must be current (include "as of [date]" note)+- Update frequency: review quarterly or when competitors ship major changes+- Link to source for each competitor data point where possible++## Schema Markup Recommendations++### Product Schema with AggregateRating+```json+{+ "@context": "https://schema.org",+ "@type": "Product",+ "name": "[Product Name]",+ "description": "[Product Description]",+ "brand": {+ "@type": "Brand",+ "name": "[Brand Name]"+ },+ "aggregateRating": {+ "@type": "AggregateRating",+ "ratingValue": "[Rating]",+ "reviewCount": "[Count]",+ "bestRating": "5",+ "worstRating": "1"+ }+}+```++### SoftwareApplication (for software comparisons)+```json+{+ "@context": "https://schema.org",+ "@type": "SoftwareApplication",+ "name": "[Software Name]",+ "applicationCategory": "[Category]",+ "operatingSystem": "[OS]",+ "offers": {+ "@type": "Offer",+ "price": "[Price]",+ "priceCurrency": "USD"+ }+}+```++### ItemList (for roundup pages)+```json+{+ "@context": "https://schema.org",+ "@type": "ItemList",+ "name": "Best [Category] Tools [Year]",+ "itemListOrder": "https://schema.org/ItemListOrderDescending",+ "numberOfItems": "[Count]",+ "itemListElement": [+ {+ "@type": "ListItem",+ "position": 1,+ "name": "[Product Name]",+ "url": "[Product URL]"+ }+ ]+}+```++## Keyword Targeting++### Comparison Intent Patterns+| Pattern | Example | Search Volume Signal |+|---------|---------|---------------------|+| `[A] vs [B]` | "Slack vs Teams" | High |+| `[A] alternative` | "Figma alternatives" | High |+| `[A] alternatives [year]` | "Notion alternatives 2026" | High |+| `best [category] tools` | "best project management tools" | High |+| `[A] vs [B] for [use case]` | "AWS vs Azure for startups" | Medium |+| `[A] review [year]` | "Monday.com review 2026" | Medium |+| `[A] vs [B] pricing` | "HubSpot vs Salesforce pricing" | Medium |+| `is [A] better than [B]` | "is Notion better than Confluence" | Medium |++### Title Tag Formulas+- X vs Y: `[A] vs [B]: [Key Differentiator] ([Year])`+- Alternatives: `[N] Best [A] Alternatives in [Year] (Free & Paid)`+- Roundup: `[N] Best [Category] Tools in [Year] — Compared & Ranked`++### H1 Patterns+- Match title tag intent+- Include primary keyword naturally+- Keep under 70 characters++## Conversion-Optimized Layouts++### CTA Placement+- **Above fold**: Brief comparison summary with primary CTA+- **After comparison table**: "Try [Your Product] free" CTA+- **Bottom of page**: Final recommendation with CTA+- Avoid aggressive CTAs in competitor description sections (reduces trust)++### Social Proof Sections+- Customer testimonials relevant to comparison criteria+- G2/Capterra/TrustPilot ratings (with source links)+- Case studies showing migration from competitor+- "Switched from [Competitor]" stories++### Pricing Highlights+- Clear pricing comparison table+- Highlight value advantages (not just lowest price)+- Include hidden costs (setup fees, per-user pricing, overage charges)+- Link to full pricing page++### Trust Signals+- "Last updated [date]" timestamp+- Author with relevant expertise+- Methodology disclosure (how comparisons were conducted)+- Disclosure of own product affiliation++## Fairness Guidelines++- **Accuracy**: All competitor information must be verifiable from public sources+- **No defamation**: Never make false or misleading claims about competitors+- **Cite sources**: Link to competitor websites, review sites, or documentation+- **Timely updates**: Review and update when competitors release major changes+- **Disclose affiliation**: Clearly state which product is yours+- **Balanced presentation**: Acknowledge competitor strengths honestly+- **Pricing accuracy**: Include "as of [date]" disclaimers on all pricing data+- **Feature verification**: Test competitor features where possible, cite documentation otherwise++## Internal Linking++- Link to your own product/service pages from comparison sections+- Cross-link between related comparison pages (e.g., "A vs B" links to "A vs C")+- Link to feature-specific pages when discussing individual features+- Breadcrumb: Home > Comparisons > [This Page]+- Related comparisons section at bottom of page+- Link to case studies and testimonials mentioned in the comparison++## Output++### Comparison Page Template+- `COMPARISON-PAGE.md` — Ready-to-implement page structure with sections+- Feature matrix table+- Content outline with word count targets (minimum 1,500 words)++### Schema Markup+- `comparison-schema.json` — Product/SoftwareApplication/ItemList JSON-LD++### Keyword Strategy+- Primary and secondary keywords+- Related long-tail opportunities+- Content gaps vs existing competitor pages++### Recommendations+- Content improvements for existing comparison pages+- New comparison page opportunities+- Schema markup additions+- Conversion optimization suggestionsdiff --git a/skills/seo-hreflang/SKILL.md b/skills/seo-hreflang/SKILL.mdnew file mode 100644index 0000000..ba4f2e1--- /dev/null+++ b/skills/seo-hreflang/SKILL.md@@ -0,0 +1,184 @@+---+name: seo-hreflang+description: >+ Hreflang and international SEO audit, validation, and generation. Detects+ common mistakes, validates language/region codes, and generates correct+ hreflang implementations. Use when user says "hreflang", "i18n SEO",+ "international SEO", "multi-language", "multi-region", or "language tags".+---++# Hreflang & International SEO++Validate existing hreflang implementations or generate correct hreflang tags+for multi-language and multi-region sites. Supports HTML, HTTP header, and+XML sitemap implementations.++## Validation Checks++### 1. Self-Referencing Tags+- Every page must include an hreflang tag pointing to itself+- The self-referencing URL must exactly match the page's canonical URL+- Missing self-referencing tags cause Google to ignore the entire hreflang set++### 2. Return Tags+- If page A links to page B with hreflang, page B must link back to page A+- Every hreflang relationship must be bidirectional (A→B and B→A)+- Missing return tags invalidate the hreflang signal for both pages+- Check all language versions reference each other (full mesh)++### 3. x-default Tag+- Required: designates the fallback page for unmatched languages/regions+- Typically points to the language selector page or English version+- Only one x-default per set of alternates+- Must also have return tags from all other language versions++### 4. Language Code Validation+- Must use ISO 639-1 two-letter codes (e.g., `en`, `fr`, `de`, `ja`)+- Common errors:+ - `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`)++### 5. Region Code Validation+- Optional region qualifier uses ISO 3166-1 Alpha-2 (e.g., `en-US`, `en-GB`, `pt-BR`)+- Format: `language-REGION` (lowercase language, uppercase region)+- Common errors:+ - `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)+ - Region without language prefix++### 6. Canonical URL Alignment+- Hreflang tags must only appear on canonical URLs+- If a page has `rel=canonical` pointing elsewhere, hreflang on that page is ignored+- The canonical URL and hreflang URL must match exactly (including trailing slashes)+- Non-canonical pages should not be in any hreflang set++### 7. Protocol Consistency+- All URLs in an hreflang set must use the same protocol (HTTPS or HTTP)+- Mixed HTTP/HTTPS in hreflang sets causes validation failures+- After HTTPS migration, update all hreflang tags to HTTPS++### 8. Cross-Domain Support+- Hreflang works across different domains (e.g., example.com and example.de)+- Cross-domain hreflang requires return tags on both domains+- Verify both domains are verified in Google Search Console+- Sitemap-based implementation recommended for cross-domain setups++## Common Mistakes++| 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 |++## Implementation Methods++### Method 1: HTML Link Tags+Best for: Sites with <50 language/region variants per page.++```html+<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.++### Method 2: HTTP Headers+Best for: Non-HTML files (PDFs, documents).++```+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.++### Method 3: XML Sitemap (Recommended for large sites)+Best for: Sites with many language variants, cross-domain setups, or 50+ pages.++See Hreflang Sitemap Generation section below.++### Method Comparison+| 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 | 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 |++## Hreflang Generation++### Process+1. **Detect languages**: Scan site for language indicators (URL path, subdomain, TLD, HTML lang attribute)+2. **Map page equivalents**: Match corresponding pages across languages/regions+3. **Validate language codes**: Verify all codes against ISO 639-1 and ISO 3166-1+4. **Generate tags**: Create hreflang tags for each page including self-referencing+5. **Verify return tags**: Confirm all relationships are bidirectional+6. **Add x-default**: Set fallback for each page set+7. **Output**: Generate implementation code (HTML, HTTP headers, or sitemap XML)++## Hreflang Sitemap Generation++### Sitemap with Hreflang+```xml+<?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:+- Include the `xmlns:xhtml` namespace declaration+- Every `<url>` entry must include ALL language alternates (including itself)+- Each alternate must appear as a separate `<url>` entry with its own full set+- Split at 50,000 URLs per sitemap file++## Output++### Hreflang Validation Report++#### Summary+- Total pages scanned: XX+- Language variants detected: XX+- Issues found: XX (Critical: X, High: X, Medium: X, Low: X)++#### Validation Results+| Language | URL | Self-Ref | Return Tags | x-default | Status |+|----------|-----|----------|-------------|-----------|--------|+| en-US | https://... | ✅ | ✅ | ✅ | ✅ |+| fr | https://... | ❌ | ⚠️ | ✅ | ❌ |+| de | https://... | ✅ | ❌ | ✅ | ❌ |++### Generated Hreflang Tags+- HTML `<link>` tags (if HTML method chosen)+- HTTP header values (if header method chosen)+- `hreflang-sitemap.xml` (if sitemap method chosen)++### Recommendations+- Missing implementations to add+- Incorrect codes to fix+- Method migration suggestions (e.g., HTML → sitemap for scale)diff --git a/skills/seo-programmatic/SKILL.md b/skills/seo-programmatic/SKILL.mdnew file mode 100644index 0000000..4e17051--- /dev/null+++ b/skills/seo-programmatic/SKILL.md@@ -0,0 +1,145 @@+---+name: seo-programmatic+description: >+ Programmatic SEO planning and analysis for pages generated at scale from data+ sources. Covers template engines, URL patterns, internal linking automation,+ thin content safeguards, and index bloat prevention. Use when user says+ "programmatic SEO", "pages at scale", "dynamic pages", "template pages",+ "generated pages", or "data-driven SEO".+---++# Programmatic SEO Analysis & Planning++Build and audit SEO pages generated at scale from structured data sources.+Enforces quality gates to prevent thin content penalties and index bloat.++## Data Source Assessment++Evaluate the data powering programmatic pages:+- **CSV/JSON files**: Row count, column uniqueness, missing values+- **API endpoints**: Response structure, data freshness, rate limits+- **Database queries**: Record count, field completeness, update frequency+- Data quality checks:+ - Each record must have enough unique attributes to generate distinct content+ - Flag duplicate or near-duplicate records (>80% field overlap)+ - Verify data freshness — stale data produces stale pages++## Template Engine Planning++Design templates that produce unique, valuable pages:+- **Variable injection points**: Title, H1, body sections, meta description, schema+- **Content blocks**: Static (shared across pages) vs dynamic (unique per page)+- **Conditional logic**: Show/hide sections based on data availability+- **Supplementary content**: Related items, contextual tips, user-generated content+- Template review checklist:+ - Each page must read as a standalone, valuable resource+ - No "mad-libs" patterns (just swapping city/product names in identical text)+ - Dynamic sections must add genuine information, not just keyword variations++## URL Pattern Strategy++### Common Patterns+- `/tools/[tool-name]` — Tool/product directory pages+- `/[city]/[service]` — Location + service pages+- `/integrations/[platform]` — Integration landing pages+- `/glossary/[term]` — Definition/reference pages+- `/templates/[template-name]` — Downloadable template pages++### URL Rules+- Lowercase, hyphenated slugs derived from data+- Logical hierarchy reflecting site architecture+- No duplicate slugs — enforce uniqueness at generation time+- Keep URLs under 100 characters+- No query parameters for primary content URLs+- Consistent trailing slash usage (match existing site pattern)++## Internal Linking Automation++- **Hub/spoke model**: Category hub pages linking to individual programmatic pages+- **Related items**: Auto-link to 3-5 related pages based on data attributes+- **Breadcrumbs**: Generate BreadcrumbList schema from URL hierarchy+- **Cross-linking**: Link between programmatic pages sharing attributes (same category, same city, same feature)+- **Anchor text**: Use descriptive, varied anchor text — avoid exact-match keyword repetition+- Link density: 3-5 internal links per 1000 words (match seo-content guidelines)++## Thin Content Safeguards++### Quality Gates++| Metric | Threshold | Action |+|--------|-----------|--------|+| Pages without content review | 100+ | ⚠️ WARNING — require content audit before publishing |+| Pages without justification | 500+ | 🛑 HARD STOP — require explicit user approval and thin content audit |+| Unique content per page | <40% | ❌ Flag as thin content — likely penalty risk |+| Word count per page | <300 | ⚠️ Flag for review — may lack sufficient value |++### Safe Programmatic Pages (OK at scale)+✅ Integration pages (with real setup docs, API details, screenshots)+✅ Template/tool pages (with downloadable content, usage instructions)+✅ Glossary pages (200+ word definitions with examples, related terms)+✅ Product pages (unique specs, reviews, comparison data)+✅ Data-driven pages (unique statistics, charts, analysis per record)++### Penalty Risk (avoid at scale)+❌ Location pages with only city name swapped in identical text+❌ "Best [tool] for [industry]" without industry-specific value+❌ "[Competitor] alternative" without real comparison data+❌ AI-generated pages without human review and unique value-add+❌ Pages where >60% of content is shared template boilerplate++### Uniqueness Calculation+Unique content % = (words unique to this page) / (total words on page) × 100++Measure against all other pages in the programmatic set. Shared headers, footers, and navigation are excluded from the calculation. Template boilerplate text IS included.++## Canonical Strategy++- Every programmatic page must have a self-referencing canonical tag+- Parameter variations (sort, filter, pagination) canonical to the base URL+- Paginated series: canonical to page 1 or use rel=next/prev+- If programmatic pages overlap with manual pages, the manual page is canonical+- No canonical to a different domain unless intentional cross-domain setup++## Sitemap Integration++- Auto-generate sitemap entries for all programmatic pages+- Split at 50,000 URLs per sitemap file (protocol limit)+- Use sitemap index if multiple sitemap files needed+- `<lastmod>` reflects actual data update timestamp (not generation time)+- Exclude noindexed programmatic pages from sitemap+- Register sitemap in robots.txt+- Update sitemap dynamically as new records are added to data source++## Index Bloat Prevention++- **Noindex low-value pages**: Pages that don't meet quality gates+- **Pagination**: Noindex paginated results beyond page 1 (or use rel=next/prev)+- **Faceted navigation**: Noindex filtered views, canonical to base category+- **Crawl budget**: For sites with >10k programmatic pages, monitor crawl stats in Search Console+- **Thin page consolidation**: Merge records with insufficient data into aggregated pages+- **Regular audits**: Monthly review of indexed page count vs intended count++## Output++### Programmatic SEO Score: XX/100++### Assessment Summary+| Category | Status | Score |+|----------|--------|-------|+| Data Quality | ✅/⚠️/❌ | XX/100 |+| Template Uniqueness | ✅/⚠️/❌ | XX/100 |+| URL Structure | ✅/⚠️/❌ | XX/100 |+| Internal Linking | ✅/⚠️/❌ | XX/100 |+| Thin Content Risk | ✅/⚠️/❌ | XX/100 |+| Index Management | ✅/⚠️/❌ | XX/100 |++### Critical Issues (fix immediately)+### High Priority (fix within 1 week)+### Medium Priority (fix within 1 month)+### Low Priority (backlog)++### Recommendations+- Data source improvements+- Template modifications+- URL pattern adjustments+- Quality gate compliance actions