agentleFS
thisisAhsanIqbalthisisAhsanIqbal/nextjs-seo-audit/skills/meta-data-optimization/SKILL.md

meta-data-optimization

Skill7 starsChanged 10 months agoMITView on GitHub

Validates title tags, meta descriptions, Open Graph tags, and Twitter Cards. Use when auditing or fixing meta data for search engine and social media optimisation. For canonical URLs and robots directives, see the technical-seo skill.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check for these required OG tags:

    line 57
  2. Distinctive:

    All present → ✅ PASS "All required Open Graph tags present"

    line 67
  3. Distinctive:

    All missing → ❌ FAIL "No Open Graph tags found — social sharing will use defaults"

    line 68
  4. Very specific:

    If og:image exists, check for og:image:width and og:image:height:

    line 72
  5. Distinctive:

    Check for these required tags:

    line 78
  6. Distinctive:

    All missing → ⚠️ WARN "No Twitter Card tags found"

    line 87
  7. Very specific:

    If OG tags exist but <title> / <meta description> are missing, flag both — OG tags do not substitute for standard meta tags

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Meta Data Optimization

Audit title, description, Open Graph, and Twitter Card meta tags.

Note: Canonical URLs, robots directives, and indexability checks are handled by the technical-seo skill. Do not duplicate those checks here.

1. Title tag

CheckRuleStatus
Missing <title>Critical for SEO❌ FAIL
Title < 30 charactersToo short⚠️ WARN
Title > 60 charactersMay be truncated in SERPs⚠️ WARN
Title 30–60 charactersOptimal length✅ PASS
Title is ALL CAPS (and > 5 chars)Perceived as spammy⚠️ WARN

Title quality checks

  • Keyword at start (position 0): ✅ PASS "Best placement"
  • Keyword near start (position ≤ 20): ✅ PASS
  • Keyword late (position > 20): ⚠️ WARN "Place keyword earlier"
  • Separator present (|, -, –, —, :): ✅ PASS "Good brand + keyword pattern"
  • Power words (best, guide, ultimate, how to, tips, review, top, free, new, proven): ✅ PASS "May improve CTR"
  • Contains number: ✅ PASS "Numbers in titles can boost CTR"

2. Meta description

CheckRuleStatus
Missing <meta name="description">Needs one for SERP snippets❌ FAIL
Description < 120 charactersToo short⚠️ WARN
Description > 160 charactersMay be truncated⚠️ WARN
Description 120–160 charactersOptimal✅ PASS

3. Character encoding

CheckStatus
<meta charset="utf-8"> or <meta http-equiv="Content-Type"> present✅ PASS
Neither present⚠️ WARN "Add charset meta tag"

4. Open Graph tags

Check for these required OG tags:

TagMissing =
og:title⚠️ WARN
og:description⚠️ WARN
og:image⚠️ WARN
og:url⚠️ WARN
og:type⚠️ WARN
  • All present → ✅ PASS "All required Open Graph tags present"
  • All missing → ❌ FAIL "No Open Graph tags found — social sharing will use defaults"

OG image dimensions

If og:image exists, check for og:image:width and og:image:height:

  • Both present → ✅ PASS
  • Missing → ⚠️ WARN "Missing og:image:width / og:image:height"

5. Twitter Card tags

Check for these required tags:

TagMissing =
twitter:card⚠️ WARN
twitter:title⚠️ WARN
twitter:description⚠️ WARN
  • All present → ✅ PASS
  • All missing → ⚠️ WARN "No Twitter Card tags found"

Note: Twitter tags can be in either <meta name="twitter:*"> or <meta property="twitter:*"> format.

Edge cases

  • Next.js generates <title> and meta tags via the metadata export or generateMetadata() — audit the rendered HTML, not the source code
  • Some sites use <meta property="title"> instead of <title> — flag as ⚠️ WARN "Use standard <title> tag"
  • Duplicate <title> tags in the document → ❌ FAIL "Only one <title> allowed"
  • If OG tags exist but <title> / <meta description> are missing, flag both — OG tags do not substitute for standard meta tags
  • Twitter falls back to OG tags when twitter:* tags are absent — note this but still recommend explicit Twitter tags for full control

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.