agentleFS
YepAPIYepAPI/skills/skills/social-media/SKILL.md

social-media

Skill8 starsChanged 8 months agoMITView on GitHub

Open Graph meta tags, Twitter cards, share buttons, social embed widgets, and social API patterns.

  • Reads credentials

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Social Media

Rules

  • Open Graph tags on every page: og:title, og:description, og:image (1200x630px), og:url, og:type
  • Twitter Card tags: twitter:card (summary_large_image), twitter:title, twitter:description, twitter:image
  • Canonical URL in og:url — always absolute, never relative
  • OG image: 1200x630px, <1MB, include text overlay for context — generate dynamically with @vercel/og or Satori
  • Share buttons: native Web Share API first (navigator.share), fallback to intent URLs (https://twitter.com/intent/tweet?url=)
  • Social preview testing: use YepAPI POST /v1/web-scraping/scrape to fetch and validate how a URL renders its meta tags
  • Embed widgets: lazy-load third-party embeds (Twitter, YouTube, Instagram) — use intersection observer, never block initial render
  • Structured data: add article schema for blog posts, product schema for products — enhances rich snippets in social previews

Meta Tag Template

<meta property="og:title" content="{title}" />
<meta property="og:description" content="{description}" />
<meta property="og:image" content="{absoluteImageUrl}" />
<meta property="og:url" content="{canonicalUrl}" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{title}" />
<meta name="twitter:description" content="{description}" />
<meta name="twitter:image" content="{absoluteImageUrl}" />

Avoid

  • Relative URLs in OG tags — social crawlers need absolute URLs
  • Missing OG image — posts without images get 2-3x less engagement
  • Blocking social crawlers in robots.txt — allow Twitterbot, facebookexternalhit
  • Loading social embeds eagerly — they add 500KB+ per embed

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.