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

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use newsletter, documentation and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • anshul-garg27Skill

    newsletter

    Create engaging email newsletters with subject lines, sections, and CTAs for Substack, Beehiiv, ConvertKit, or plain email

    Also in 3 projects that use this

  • AnthropicSkill

    documentation

    Write and maintain technical documentation. Trigger with "write docs for", "document this", "create a README", "write a runbook", "onboarding guide", or when the user needs help with any form of technical writing — API docs, architecture docs, or operational runbooks.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    humanizer

    Tone enforcement patterns for external-facing community responses

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 4 projects that use this

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.