social-metadata-hardening
Fix 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.
npx skills add sickn33/agentic-awesome-skills --skill social-metadata-hardening --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Social Metadata Hardening Skill Fix social sharing so every important URL unfurls as a rich card across all platforms. --- ## When to Use - Use when shared links show missing, stale, cropped, or incorrect previews on social and chat platforms. - Use when auditing Open Graph, Twitter/X card, image URL, alt text, or `metadataBase` coverage in a web app. - Use before launch when every public page needs predictable rich previews across LinkedIn, X, Facebook, WhatsApp, Slack, Discord, and Telegram. --- ## Why Previews Break | Problem | Root Cause | |---------|-----------| | No preview at all | Missing og:title, og:description, or og:image | | Broken image | Relative URL (must be absolute) | | Wrong image size | Image not 1200×630px (OG standard) | | Plain text card | Twitter card type missing or set to `summary` | | Stale preview | Platform caching old metadata | | Metadata missing on crawl | Tags added by client-side JS (crawlers don't run JS) | --- ## The Gold Standard Metadata Block Every shareable page needs ALL of these in static HTML: ```js // Next.js App Router — lib/socialMetadata.js export function buildSocialMetadata({ title, description, path, // '/blog/my-post' image, // '
- When to Use
- Why Previews Break
- The Gold Standard Metadata Block
- Applying the Helper
- Static page
- Dynamic page (blog post, tool page)
- Homepage (app/layout.js or app/page.js)
- OG Image Checklist
- Platform-Specific Notes
- Facebook / Meta
- X / Twitter
- WhatsApp / Telegram
- Slack / Discord
Verify your OG image is reachable and correct size curl -sI https://www.yourdomain.com/images/og/home.jpg | grep -i "content-type\|content-length\|status" curl -s https://www.yourdomain.com/blog/my-post | grep -i "og:\|twitter:"
What does the social-metadata-hardening skill do?
Fix 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.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill social-metadata-hardening --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.