/croftweaver:website-seo-geofrom Croftweaver
Enforces on-page SEO metadata limits (title 50-60 chars, meta description 140-160) and consistency rules for og:title, og:description, twitter cards, canonical URLs, JSON-LD schema, and llms.txt. Use when building or reviewing page head metadata.
Ships in Croftweaver. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The metadata contract every page must satisfy. This skill owns the exact
limits and consistency rules; it hands depth off to the existing global skills:
ai-seo (AI answer-engine / GEO strategy), schema-markup (rich JSON-LD),
seo-audit (technical SEO / crawl / Core Web Vitals — see also website-qa).
| Tag | Ideal | Hard cap | Why |
|---|---|---|---|
<title> | 50–60 chars | ~60 | Google truncates ~580–600px; >60 risks a cut, >70 almost always cut |
<meta description> | 140–160 chars | ~160 | Truncates ~920px; >160 cut; <120 wastes space / keyword room |
og:title / og:description | = <title> / = description | — | Test fails on any divergence |
twitter:title / twitter:description | inherit OG (same strings) | — | twitter:card = summary_large_image |
The test counts characters (em-dash, en-dash, curly apostrophe each = 1 char but
render wider — stay clear of the cap). <meta name="description"> is separate
from og:description; one does not replace the other — ship both, in sync.
The limits above are pixel-render caps, not word counts — they don't change per
language, and the numbers in the table stay exactly as specified. But German
compound nouns (Suchmaschinenoptimierung, Barrierefreiheit,
Barrierefreiheitsprüfung) pack far more meaning per character into a single
unbroken word than English does, so the same 50–60 / 140–160 char cap holds
noticeably less content once translated. Write for it deliberately:
Front-load the key term. German syntax tends to push the important noun toward the end of a compound or clause; if you translate an English title 1:1 the keyword can land past where truncation cuts. Put the primary keyword/term first, then qualify it, rather than burying it in a trailing compound.
When one natural compound blows the budget, don't force it — restructure.
If Barrierefreiheitsprüfung (24 chars alone) doesn't leave room for
anything else, reach for a shorter near-synonym or split brand/category from
descriptor with a colon or dash: Website-Builder: barrierefrei & SEO-optimiert reads better and fits, where one giant compound noun forces
an awkward truncation or abbreviation.
Budget for ~10–15% fewer effective words of meaning than an English title/description of the same character count. Plan the German copy's content around that from the start — don't write the English version, translate it, and then trim words until the character count fits; that's how you end up with a mangled abbreviation instead of a deliberate, readable title.
Target the LOWER half of the title range (~50–55 chars) for German. Google truncates by pixel width (~580px), not characters — German capitalizes every noun, and capitals plus umlauts render wide, so a passing 60-char German title can still be cut in the SERP. The 60-char cap is a ceiling, not a safe harbor.
This is a writing tactic, not a test change: seo.spec.ts enforces the same
character counts regardless of language, and it should — the fix here is how you
write within that budget, not the budget itself.
(title, description) drives <title>, OG, Twitter,
canonical and the WebPage schema — wired once in the new-website skill's
templates/astro/src/layouts/Base.astro, so pages only pass title/description
and the tags can never drift..html), absolute, and equals og:url and the
page's sitemap.xml <loc>./about, not /about/ (home stays /).
The starter sets trailingSlash: 'never' + build.format: 'file'; write internal links
without a trailing slash. navigation.spec.ts flags any /about/ link (404/redirect hop)
and seo.spec.ts pins canonical == SITE.url + path, so the whole site stays consistent.<h1> per page (its text MAY differ from the keyword-tuned title)./ueber-uns,
not /über-uns) — machine-serialized URLs (canonical, sitemap) percent-encode
non-ASCII while hand-written strings (PAGES, llms.txt, authored links) stay
raw, a mismatch factory (site-architecture has the full rule).<html lang> (de → de_DE; regioned tags → base+region;
one shared ogLocaleFor() in src/config.ts, emitted by Base.astro, asserted
by seo.spec.ts whenever a value derives — mapped bases and all regioned
tags) — a German page silently carrying og:locale en_US is exactly the
drift this row exists to stop.WebSite + Organization (once, site-wide) and a WebPage node.schema-markup: BreadcrumbList on nested pages,
FAQPage on FAQs, Article/TechArticle with author @id + dates on posts,
Service/Product as relevant. Author/Organization @ids and sameAs feed
EEAT (see website-content-guide); keep sameAs URLs that actually resolve.FAQPage describes the Q&A to machines, not a Google rich result. Google stopped
showing FAQ rich results on 7 May 2026 and removed their documentation on 15 June
2026 (Google, removal); no site gets one now. Don't promise one.VideoObject.uploadDate,
Event.startDate/endDate, Offer.validFrom, Article dates etc. must be full
ISO-8601 with an offset (2026-03-11T00:00:00+00:00, not a bare 2026-03-11).
Google's video parser rejects a date-only uploadDate as "missing a timezone" /
"invalid datetime value" — a GSC error that only surfaces weeks after launch./llms.txt (template in the starters): a curated, accurate index of key
pages + facts, for AI tools and people that read it. Ship it because it is cheap:
no crawler page of OpenAI, Perplexity or Anthropic says it reads the file, and Google
says Google Search doesn't use it but keeping one for other services is fine
(Google). Write it in the site's primary content
language (German site → German descriptions; multilingual site → each
entry's description in that page's language) — same precedent as the
privacy page: an answer engine quoting your English blurb to a German
searcher is the wrong-language failure again. Keep it in sync with the site — route
coverage is enforced both ways in the new-website starter suite:
tests/llms-coverage.spec.ts fails if any PAGES route is missing from it,
or if a same-site entry goes stale (page removed/renamed). Add the page's
- [Title](URL): description line in the same commit as the page;
deliberately-hidden pages (paid-ad landers) go in its LLMS_EXEMPT with a
reason. On a site that predates the guard, copy the spec in from the starter
before relying on it.ai-seo — do not duplicate it here.A PDF has no <title> — Google and Bing print its embedded doc-title as
the search-result title. Authoring tools ship a placeholder
("PowerPoint-Präsentation", "Microsoft Word - report.docx") or a working-filename
slug, which Bing flags as "page title too short" (seen in production on a real
site built with this kit, 2026-06-19). So any PDF you put in public/ needs a
descriptive doc-title set before it ships:
Talk Title — Speaker | Brand. ≥15 chars, never the authoring placeholder./Title and the XMP
dc:title. Fixing only one leaves the stale title visible. Use the helper:
python3 scripts/set_pdf_title.py public/<file>.pdf "Descriptive Title | Brand" --author "Author"
(needs pip install pypdf; local authoring tool only — the test below is dep-free.)seo.spec.ts: the PDF guard scans public/**/*.pdf and fails the
build on a placeholder, a title under 15 chars, or no doc-title at all. No-op for
sites that host no PDFs.npm test green — specifically seo.spec.ts: every title/description within
limits, og/twitter/canonical in sync, JSON-LD parses, a sitemap exists, and every
hosted PDF carries a descriptive doc-title (not an authoring placeholder).
seo.spec.ts proves the metadata is well-formed; it cannot tell you it is good.
Once it is green, do a one-page judgment read — this is a model call (Rule 5: use the
model only where code can't answer):
@type and real relationships, not
merely valid JSON (a valid-but-wrong @type still passes the test).llms.txt is accurate vs the live site — facts and wording current, no
drift (route coverage is the mechanical half, pinned by
tests/llms-coverage.spec.ts; this read is about the wording half).sameAs / author URLs actually load and corroborate.Intent and semantics only. Structural correctness is the test's job; cross-file
route/URL/config/SEO consistency is the website-review (Double-Knuth) skill's job.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
40 skills in this plugin
/ai-seoWhen the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup./astro-i18n-setupTurn a new-website scaffold into a turnkey multi-language site: Astro i18n routing (clean default locale + prefixed others), self-referencing hreflang + x-default in the Base layout, i18n sitemap alternates, a language switcher, and the test-harness changes that keep the green-from-commit-1 gate honest across locales. Run at scaffold time when new-website Q4 = "two+ languages at launch", OR later to add a second language to a single-locale site whose default stays unprefixed (phased rollout). Trigger phrases: "multi-language site", "add i18n", "DE+EN site", "internationalization", "hreflang setup", "two languages at launch".
/business-listings-setupPost-launch: claim Google Business Profile, Bing Places, and category directories, then verify the `sameAs` profiles already in schema actually resolve. The action skill for E-E-A-T's Authoritativeness component (owned by `website-content-guide`): other pages linking to or citing you are one signal search and AI answer engines read as authority. Human-in-the-loop, same shape as `search-console-setup` — the agent drafts every value, the owner clicks. Trigger phrases: "claim my Google Business Profile", "Google Maps listing", "Bing Places", "business listings", "improve E-E-A-T", "authoritativeness is thin", "sameAs profiles".
/copywritingWhen the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever someone is working on website text that needs to persuade or convert./customer-researchWhen the user wants to conduct, analyze, or synthesize customer research. Use when the user mentions "customer research," "ICP research," "talk to customers," "analyze transcripts," "customer interviews," "survey analysis," "support ticket analysis," "voice of customer," "VOC," "build personas," "customer personas," "jobs to be done," "JTBD," "what do customers say," "what are customers struggling with," "Reddit mining," "G2 reviews," "review mining," "digital watering holes," "community research," "forum research," "competitor reviews," "customer sentiment," or "find out why customers churn/convert/buy." Use for both analyzing existing research assets AND gathering new research from online sources. For writing copy informed by research, see copywriting./double-knuthGeneric two-pass "Double-Knuth" review for ANY repo or file set: Pass 1 = correctness/bugs on the change (delegates to /code-review when a git diff exists, agent-based otherwise), Pass 2 = completeness + cross-file/doc consistency — the defect class a diff reviewer structurally cannot see (stale counts/enumerations, docs contradicting changed behavior, dead paths, orphaned files, contract drift). Read-only: returns a ranked BUG/RISK/NIT list with file:line + concrete fixes. Specialized versions take precedence: websites → website-review; this skill covers everything else (skill suites, scripts, tools, configs). Trigger phrases: "double knuth this", "double knuth the code", "double knuth the repo", "two-pass review", "consistency review", "did the docs drift", "review the whole repo, not just the diff".
npx claudepluginhub karero/croftweaver --plugin croftweaverOther plugins' skills for the same job