/croftweaver:website-testimonialsfrom Croftweaver
Encodes customer/attendee testimonials as schema.org Review JSON-LD and renders a "What people say" UI from a single typed data file. Use when adding quotes, social proof, ratings, or star reviews to a site.
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.
Turn real quotes into (1) a UI section and (2) valid Review structured data,
both from one typed data file so the visible card and the JSON-LD can never
drift. This skill owns the testimonial pattern; it hands generic schema work
(Product, FAQ, Breadcrumb, Article…) to schema-markup.
Organization / LocalBusiness. It treats them as self-serving and may
ignore — or, for a fabricated AggregateRating, penalise — them. So the value
here is truthful semantic markup + GEO (LLMs / AI answer engines citing
your social proof), not blue-link stars. Set expectations honestly (Rule 12).itemReviewed is the specific thing the person reviewed — the Event
(talk/workshop), Product, Service, Course — not a blanket org rating.
This keeps the markup accurate and is what review-snippet-eligible types want.Review nodes only by default. No AggregateRating unless the
reviewed item is a genuinely rich-results-eligible type (e.g. Product) AND
the rating reflects all real ratings. Few hand-picked 5-stars + an aggregate
reads as spam.lang on the element AND inLanguage on the
Review so screen readers + parsers get it right.ratingValue is what the person actually gave.Testimonials come from wherever real feedback lives: post-purchase emails, post-event surveys, support tickets, sales calls, or review sites (G2, Trustpilot, app stores). Most sources are private to you, with no public feed or API to pull from, so the workflow is manual curation — which is also better editorially, since you pick the strongest, on-message quotes:
src/data/testimonials.ts (set lang; map itemName/itemUrl
to the specific item reviewed — the product, service, or event). No sync script
is possible for most sources — don't build one.Example (event sites): Luma keeps ratings organizer-private in Manage Event → Insights, exportable only as CSV; its per-response "share card" is a one-off image, not a live source — so you transcribe by hand. Expect the same of most platforms.
A person left feedback for one purpose, not blanket permission to be quoted by name on your marketing site. Treat consent as a publish gate, applied per person:
TESTIMONIALS array carries those two; the third stays out.// NOTE: comment (the verbatim text also survives in git history), so
re-adding on approval is a one-line edit.Caveat: a static preview is usually not auto-noindexed, and a Worker's Preview
link or a *.pages.dev URL can be opened by anyone who has it — so a named, unconsented quote sitting on a
preview is still exposure. Keep previews unlinked and short-lived (or add a
branch-only noindex);
the real guarantee is keeping it off production until consent lands.
src/data/testimonials.ts exports the typed list and the schema builder, so
a page imports both and nothing is duplicated:
import { SITE } from '../config';
export interface Testimonial {
author: string; // name or handle, verbatim
org?: string; // affiliation, shown after the name
rating: number; // 1–5, as actually given
quote: string; // verbatim
lang: string; // BCP-47 tag, e.g. 'en' / 'de' → `lang` attr + inLanguage
itemName: string; // the thing reviewed → itemReviewed.name
itemUrl: string; // canonical URL of that item (absolute)
itemType?: string; // schema.org type of the reviewed thing; default 'Event'
}
// Only consent-approved entries ship here; withhold the rest with a // NOTE.
export const TESTIMONIALS: Testimonial[] = [ /* … */ ];
// Individual Review nodes — no self-serving AggregateRating.
export function reviewSchemas(): Record<string, unknown>[] {
return TESTIMONIALS.map((t) => ({
'@context': 'https://schema.org',
'@type': 'Review',
author: { '@type': 'Person', name: t.author },
reviewRating: { '@type': 'Rating', ratingValue: t.rating, bestRating: 5, worstRating: 1 },
reviewBody: t.quote,
inLanguage: t.lang,
itemReviewed: { '@type': t.itemType ?? 'Event', name: t.itemName, url: t.itemUrl },
}));
}
Base's schemas prop; the Base layout
already serialises each entry to <script type="application/ld+json">:
---
import { TESTIMONIALS, reviewSchemas } from '../data/testimonials';
---
<Base titleExact="…" description="…" schemas={reviewSchemas()}>
(Do NOT hand-write JSON-LD in the page — go through schemas so it stays in
sync with the data file and Base's other schema nodes.)TESTIMONIALS array. Stars are decorative
(aria-label="Rated 5 out of 5", the glyphs themselves hidden from the name);
foreign-language quotes get lang={t.lang} so AT pronounces them correctly.--dark-card, --text, --text-muted,
--primary-light); a gold star (#F5A623) clears AA on the dark card.npm test green — a11y.spec.ts (star contrast + lang attrs), tone, seo.Review has author, reviewRating (with
bestRating/worstRating), reviewBody, inLanguage, and an itemReviewed
with a real name + absolute url.reviewBody (same source — verify one).AggregateRating unless justified per the rules above.// NOTE:), and anything pending consent shipped to preview only.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub karero/croftweaver --plugin croftweaver40 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".
Other plugins' skills for the same job