freema/ai-skills/seo-optimization
Claude Code and agent skill by freema/ai-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
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-optimizationSemi-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
descriptionpresent, 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(andtwitter:image:altif 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,VideoGameco-typed,BlogPosting) - [ ]
hreflangalternates emitted for all ofen,de,es, plusx-default→ en - [ ] All
<img>havealt(descriptive) oralt=""+aria-hidden="true"if purely decorative - [ ] Above-the-fold image is
<img>with explicitwidth/heightandfetchPriority="high"(LCP); never CSSbackground-image - [ ] No
noindexaccidentally 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 type | Brand placement | Why | |
|---|---|---|---|
| Homepage | Front — "PixelDen Games — Free Pixel Art Browser Games" | The homepage IS the brand. First-word match for brand searches. | |
| Game detail page | Back — "Play Snake Online Free — PixelDen Games" | Long-tail / non-branded queries dominate. Keyword first wins click-throughs. | |
| Blog post | Back — "{Article title} — PixelDen Games" | Same logic. The keyword is the hook. | |
Category / /games | Back — "Free Browser Games — PixelDen Games" | Generic head term first; brand reinforces. | |
| Player profile | Back — "{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
The per-locale title comes fromlocales/{en,de,es}/games/{slug}.json(seoTitlefield). 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)
Examples:
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}.jsonfieldseoDescription). - 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)
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:imageeven 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:heightso scrapers (LinkedIn especially) don't have to fetch the file to decide whether to crop.
Locale variants
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.gametypes exist in the spec but are rarely respected by major platforms; usewebsitefor game detail pages and letVideoGameJSON-LD carry the type signal.
Don'ts
- ❌
og:imagepointing 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
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:altis 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
- SKILL.md in the repositoryCheckingskills/seo-optimization/SKILL.md
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
[](https://verified-skill.com/skills/freema/ai-skills/seo-optimization)