freema/ai-skills/seo-optimization

Claude Code and agent skill by freema/ai-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Apply 2026 on-page SEO best practices for the PixelDen Games portal — titles, meta, OG tags, schema.org structured data, canonicals, hreflang, and brand entity differentiation. Use when adding a new route, rewriting titles/metas, adding/updating JSON-LD, debugging SERP appearance, auditing an existing page, or wiring i18n alternates. Tech stack: React Router v7 + TypeScript + i18n (en/de/es). Triggers: 'SEO', 'meta tags', 'title tag', 'schema', 'JSON-LD', 'OG', 'Open Graph', 'canonical', 'hreflang', 'rich results', 'rich snippet', 'AI search', 'GEO', 'AEO', 'brand SEO'.

Install

npx vskill@latest install freema/ai-skills/seo-optimization

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as freema/ai-skills/seo-optimization.

SEO Optimization Skill — PixelDen Games

Practical, opinionated 2026 SEO rules for this codebase. Read the Quick Checklist first; jump into a section only when you need the detail. Cite the source URLs in §13 if you have to defend a decision.


Quick checklist (apply on every new route or content rewrite)

  • [ ] <title> follows the per-page-type template (see §1) and stays ≤ 580 px / ~55 chars
  • [ ] Meta description present, 130–160 chars, leads with the benefit + action verb, includes primary keyword once
  • [ ] Open Graph: og:title, og:type, og:image (absolute URL, 1200×630), og:url (= canonical), og:site_name, og:description
  • [ ] Twitter: twitter:card=summary_large_image, twitter:title, twitter:description, twitter:image, twitter:site (and twitter:image:alt if image is content)
  • [ ] <link rel="canonical"> set to a self-referencing absolute URL that matches the rendered locale prefix
  • [ ] JSON-LD added (one or more of: WebSite, Organization, BreadcrumbList, VideoGame co-typed, BlogPosting)
  • [ ] hreflang alternates emitted for all of en, de, es, plus x-default → en
  • [ ] All <img> have alt (descriptive) or alt="" + aria-hidden="true" if purely decorative
  • [ ] Above-the-fold image is <img> with explicit width/height and fetchPriority="high" (LCP); never CSS background-image
  • [ ] No noindex accidentally left in original code (see §11.5)
  • [ ] Brand string is exactly "PixelDen Games" (with "PixelDen" as alternateName); never lowercase "pixelden games" or "pixel den"
If you can't tick something, write a one-line comment in the route file explaining why (e.g. // no og:image: blog post still needs hero asset, T-123).

§1 Title tags

Length
  • Target 580 pixels width (Google truncates by pixels, not characters). That's roughly 50–55 chars for typical Latin text, longer if the title is i-l-t-heavy, shorter if W-M-uppercase-heavy.
  • Hard cap at 60 chars as a safe rule of thumb. Anything over 60 risks the ellipsis on desktop SERPs.
  • Mobile shows ~70–80 chars but Google still indexes the full string — optimize for the desktop cutoff.
  • Source: Google title-link doc, zyppy pixel research.
Brand placement
Page typeBrand placementWhy
HomepageFront — "PixelDen Games — Free Pixel Art Browser Games"The homepage IS the brand. First-word match for brand searches.
Game detail pageBack — "Play Snake Online Free — PixelDen Games"Long-tail / non-branded queries dominate. Keyword first wins click-throughs.
Blog postBack — "{Article title} — PixelDen Games"Same logic. The keyword is the hook.
Category / /gamesBack — "Free Browser Games — PixelDen Games"Generic head term first; brand reinforces.
Player profileBack — "{nickname}'s Scores — PixelDen Games"
Separator
  • Use `—` (em dash, U+2014) or `|` (pipe) — both are visually clear and Google parses both. The repo currently uses —; stay consistent unless rewriting site-wide.
  • Avoid : (looks like a sub-heading prefix), › (rarely renders well), > (HTML-escaping risk).
Per-page-type templates
Homepage: "PixelDen Games — Free Pixel Art Browser Games"
Games index: "Free Browser Games — Play Pixel Art Games Online | PixelDen Games"
Game detail: "Play {GameTitle} Online Free — {Genre} Pixel Art Game | PixelDen Games"
Game detail (alt): "{GameTitle} — Free Browser {Genre} Game | PixelDen Games"
Blog post: "{Article title H1, ≤ 50 chars} — PixelDen Games"
Blog index: "PixelDen Blog — Free Browser Games News & Guides"
Leaderboard: "{Game} Leaderboard — Top Scores | PixelDen Games"
404: "Page Not Found — PixelDen Games"
The per-locale title comes from locales/{en,de,es}/games/{slug}.json (seoTitle field). Always provide all three.
Title-tag don'ts
  • ❌ Keyword stuffing: "Snake Game Free Play Snake Online Snake Browser Game Snake" — Google will rewrite the title and may demote.
  • ❌ Identical titles across pages — every route must be unique. Google rewrites duplicates.
  • ❌ Title that doesn't match H1 — mismatch is one of the top reasons Google rewrites your title (Google docs).
  • ❌ Generic "Home", "Games", "Page" — too vague to rank.
  • ❌ ALL CAPS — Google often lowercases or rewrites.
Title tag does
  • ✅ Primary keyword in the first 30 characters ("the hook never gets truncated").
  • ✅ One brand mention; no | BrandName | Marketing tagline | … chains.
  • ✅ Match <title>, og:title, twitter:title, and the visible <h1>. Drift → Google may rewrite (Google title-link).
  • ✅ For seasonal / time-sensitive content add the year ("Best Free Browser Games 2026").

§2 Meta descriptions

Length
  • 130–160 characters. Below 120 looks padded by SERP rewrite; above 160 truncates on desktop.
  • Google rewrites 62–70 % of meta descriptions (Search Engine Land 2025). Don't obsess — but a good description still influences the 30–40 % that survive and click-through-rate when used.
Structure (every description)
[Action verb / hook] + [primary keyword] + [unique value prop] + [CTA verb].

Examples:

✅ Play Snake online free — fast-paced pixel art classic, no download, instant browser play. Climb the leaderboard at PixelDen. (155 chars)
✅ Drop colored crystals in this addictive falling-block puzzler. Free pixel art puzzle game, no install, plays in any browser. (132 chars)
❌ PixelDen offers a variety of free games for everyone. Come check us out today and enjoy our many games on our website. (generic / no keyword / no CTA)
❌ Snake. Free. Online. Play. Pixel. Browser. Game. (keyword spam — Google will rewrite)
Reduce rewrite rate

Google rewrites descriptions when:

  • They're missing, generic, or boilerplate-identical across pages.
  • They don't match what the query intent actually needs (Google pulls a passage from the body instead).
  • They're stuffed with keywords or read like ad copy.

To keep your description: make it a clean summary of the page's main answer and ensure the first paragraph of body content echoes the same phrasing — Google often picks the body sentence over a stale meta.

i18n
  • Each locale has its own description (locales/{en,de,es}/games/{slug}.json field seoDescription).
  • Do not machine-translate the description from English then leave it. The CTA verb ("Play" → "Spielen" → "Juega") and word order matter for the click.

§3 Open Graph (og:*) tags

Required (every page)
html
<meta property="og:title" content="..."> <!-- = <title> minus the brand suffix often reads better -->
<meta property="og:type" content="website"> <!-- "article" for blog posts; "video.game" is NOT a real OG type -->
<meta property="og:image" content="https://www.pixelden.io/..."> <!-- ABSOLUTE URL; never path-relative -->
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Screenshot of Snake gameplay on PixelDen">
<meta property="og:url" content="https://www.pixelden.io/games/snake"> <!-- = <link rel="canonical"> -->
<meta property="og:site_name" content="PixelDen Games">
<meta property="og:description" content="..."> <!-- 130-160 chars, can mirror meta description -->
<meta property="og:locale" content="en_US"> <!-- de_DE, es_ES per locale -->
og:image
  • 1200 × 630 px, aspect ratio 1.91 : 1 — the universal "summary_large_image" + Facebook + LinkedIn safe size (2026 spec roundup).
  • Keep key elements (text, faces) in the center 1080 × 600 safe zone — outer 60 px gets cropped on some platforms.
  • File: JPG or PNG, < 1 MB. WebP works on most platforms but Facebook still has spotty WebP support — prefer PNG/JPG for og:image even though we use WebP elsewhere.
  • Absolute URL only. Path-relative og:image="/assets/og.png" silently fails on every scraper.
  • For game pages, use the landscape promo art if available, else fall back to the game thumbnail. Never use a square avatar — it gets letterboxed.
  • Add og:image:width + og:image:height so scrapers (LinkedIn especially) don't have to fetch the file to decide whether to crop.
Locale variants
html
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="de_DE">
<meta property="og:locale:alternate" content="es_ES">
og:type values to use
  • website — homepage, game pages, catalog pages, profile pages (anything that's not a long-form article)
  • article — blog posts (/blog/$slug)
  • Custom video.game types exist in the spec but are rarely respected by major platforms; use website for game detail pages and let VideoGame JSON-LD carry the type signal.
Don'ts
  • ❌ og:image pointing to an SVG (Facebook will refuse it; Twitter strips it).
  • ❌ og:image < 600 × 315 (no large card preview).
  • ❌ Forgetting og:url — many scrapers use it as the canonical for share dedup.

§4 Twitter / X Card tags

Minimum required
html
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="..."> <!-- ≤ 70 chars -->
<meta name="twitter:description" content="..."> <!-- ≤ 200 chars -->
<meta name="twitter:image" content="https://www.pixelden.io/..."> <!-- 1200×675 ideal -->
<meta name="twitter:image:alt" content="..."> <!-- 420 chars max -->
<meta name="twitter:site" content="@PixelDenGames">
What's different from OG
  • Twitter falls back to `og:*` for title/description/image when twitter:* is missing — but `twitter:card` itself is NOT inferred from OG. Without it, no card renders (2026 Twitter Card guide).
  • Twitter's preferred image ratio is 2 : 1 (1200 × 600 or 1200 × 675). Our 1.91 : 1 OG image still works — gets minor side-crop. If we author a Twitter-specific image, prefer 1200 × 675.
  • Twitter's official Card Validator was retired. To verify, post the URL into a Tweet draft and check the preview. Use a third-party previewer for non-destructive testing.
  • twitter:image:alt is part of Twitter's spec — include it for accessibility (screen readers on x.com use it). Max 420 chars.
twitter:site vs twitter:creator
  • twitter:site — the publisher's handle (us: @PixelDenGames). Always set on every page.
  • twitter:creator — original author of the content. Set on blog posts if the author has a public handle; omit otherwise.

§5 Structured data (Schema.org / JSON-LD)

Universal rules

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/freema/ai-skills/seo-optimization/badge)](https://verified-skill.com/skills/freema/ai-skills/seo-optimization)

Something wrong with this skill or its page? Tell us.