From FORSVN
Validates and fixes Open Graph / Twitter share cards by running the metaprev CLI against a URL. Catches missing og:image, relative URLs, wrong dimensions, oversized files, and weak titles, then applies fixes and re-verifies.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forsvn:preview-og [url or localhost dev server][url or localhost dev server]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Runs the **metaprev** CLI against a URL (local dev server or deployed), reads how the link renders on Facebook / X / LinkedIn / Discord-Slack, fixes what's broken in the codebase, then re-verifies. Routing: [`routing.yaml`](routing.yaml) · why / when-not / install / pushback: [`references/playbook.md`](references/playbook.md) [PLAYBOOK].
references/_shared/artifact-contract-template.mdreferences/_shared/before-starting-check.mdreferences/_shared/execution-policy.mdreferences/_shared/mode-resolver.mdreferences/anti-patterns.mdreferences/examples/walkthrough.mdreferences/fixes.mdreferences/format-conventions.mdreferences/playbook.mdrouting.yamlRuns the metaprev CLI against a URL (local dev server or deployed), reads how the link renders on Facebook / X / LinkedIn / Discord-Slack, fixes what's broken in the codebase, then re-verifies. Routing: routing.yaml · why / when-not / install / pushback: references/playbook.md [PLAYBOOK].
Core question: When someone pastes this link into a chat or feed, does the card render — right image, right size, right title — or is it broken or blank?
references/playbook.md § Install.metaprev issues <url> --json exits 0 — zero errors (advisory warns allowed)og:image is an absolute URL returning HTTP 200 with an image content-typeog:image:width/og:image:height match the real file's dimensions
Auto-fail: a 4th fix cycle — stop at 3 and report DONE_WITH_CONCERNS.og:image must be an absolute URL. A relative /og.png resolves to nothing when a crawler fetches it standalone — the #1 silent break. Always emit a full https://….title is short / description is short are advisory SEO heuristics, not breaks — a canonical brand or product title is intentional. Surface them; never pad copy to hit a char count. § Pushback in the playbook.Per references/_shared/before-starting-check.md [PROCEDURE]. Resolve the target: a localhost dev server (any framework / port) or a deployed URL. If none is derivable from the request or repo, ask once (Cold Start). Mode resolution per references/_shared/mode-resolver.md [PROCEDURE]; --fast runs one diagnose→fix→verify pass without the artifact write.
Session execution profile (single-vs-multi): inherit per references/_shared/execution-policy.md.
Needed dimensions — resolve from the repo / running dev server first, ask once (bundled) only for what's missing:
og:image must resolve against (Gate 3). → technicalbunx @hungv47/metaprev issues <url> --json for structured issues (exit 1 = at least one error). For a visual pass, bunx @hungv47/metaprev <url> -o docs/forsvn/artifacts/marketing/preview-og-<date>.html --no-open.references/fixes.md [PROCEDURE] (Next / Astro / SvelteKit / Vite / plain HTML — absolute URL, dimensions, missing tags, content-type).issues returns clean or only advisory warns remain (max 3 fix cycles, then DONE_WITH_CONCERNS).Output: docs/forsvn/artifacts/marketing/preview-og-<YYYY-MM-DD>-<slug>.md. Frontmatter + sections (Target / Issues found / Fixes applied / Verification / Remaining advisory): references/format-conventions.md [PROCEDURE]. Skills emit Markdown only; the .html metaprev preview is a transient review surface, not the artifact.
references/anti-patterns.md [ANTI-PATTERN] — top hits: padding title / description to silence advisory warns; declaring og:image:width/height that don't match the real file (Slack / Discord mis-crop); shipping a relative og:image; calling it done without the verify re-run.
produce-asset), or a platform cache must clear before it shows.Relative og:image on a Next.js site → fix metadataBase → re-verify clean: references/examples/walkthrough.md [EXAMPLE].
references/playbook.md [PLAYBOOK]references/fixes.md [PROCEDURE]references/format-conventions.md [PROCEDURE]references/anti-patterns.md [ANTI-PATTERN]references/examples/walkthrough.md [EXAMPLE]references/_shared/{before-starting-check, mode-resolver}.mdnpx claudepluginhub hungv47/meta-skills --plugin forsvnFixes social sharing previews so URLs render as rich cards on Facebook, LinkedIn, X/Twitter, WhatsApp, Telegram, and more. Covers OG tags, Twitter cards, absolute image URLs, and debugging stale previews.
Adds Open Graph (OGP) and Twitter Card meta tags for social media link previews. Provides tag reference, image sizing guidelines, and required/optional tag documentation.
Generates Open Graph social media preview images by creating a screenshot-optimized page that matches the project's design system, captures it at 1200x630 with Playwright, and configures meta tags.