Skip to content
Skillpedia
Social media75k · #2960

og-tags

What it does

This skill checks the social sharing tags in a page's head section and adds any that are missing. It is for site owners who want their shared links to look clear and inviting.

When to use it

  • ✓When you ask the agent to check whether your pages have the right social sharing tags.
  • ✓When links shared on social platforms show guessed titles or the wrong image.
  • ✓When you publish new pages and want them to be ready for sharing with complete tags.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/og-tags/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/og-tags/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check my pages for social sharing tags and add any that are missing?”

5 new skills a week. 1 minute to read.

How it works

The agent looks in the page head for og:title, og:description, og:image, og:url, and og:type. It fills in any missing tags with values that are not empty and use absolute HTTPS addresses for images and URLs.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Open Graph Tags

Open Graph tags control how your pages appear when shared on Facebook, LinkedIn, Slack, and other platforms—missing or incorrect tags result in unappealing link previews that reduce click-through rates.

Quick Reference

  • Include og:title, og:description, og:image, and og:url on every page
  • Use absolute URLs for og:image and og:url
  • og:image should be at least 1200×630 px for optimal display
  • og:type defaults to 'website' if omitted, but setting it explicitly is best practice

Check

Check the <head> for Open Graph meta tags: og:title, og:description, og:image, og:url, and og:type. Verify all values are non-empty and og:image/og:url use absolute HTTPS URLs.

Fix

Add the four required Open Graph meta tags to the <head>: og:title (≤95 chars), og:description (≤200 chars), og:image (absolute HTTPS URL, 1200×630), og:url (canonical absolute URL). Add og:type='website' for standard pages.

Explain

Open Graph tags control how this page is displayed when shared on social platforms like Facebook, LinkedIn, and Slack. Without them, platforms fall back to guessing the title, description, and image, often with poor results.

Code Review

Check the rendered <head> for all five core OG properties: og:title, og:description, og:image, og:url, og:type. Verify og:image and og:url values start with 'https://'. Flag any empty content attributes. Compare og:url against the canonical tag — they must match exactly.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/og-tags

FAQ

Which tags are required?

The skill lists og:title, og:description, og:image, and og:url as core tags on every page, with og:type recommended as well.

Why do the URLs need to be absolute?

Social platforms need a full address to fetch the image and page reliably.

What happens without these tags?

Platforms guess the title, description, and image, which often gives poor results.

Details

Original description by the author

Use when auditing a web page's social sharing metadata. Applies to any page users might share on social networks or messaging apps.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2960
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills