Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

seo-meta-tagsSEO meta tags 搜索

Agent Skill

seo-meta-tags 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

238

周安装

10

GitHub Stars

12

下载量

83
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:seo-meta-tags(SEO meta tags 搜索)
来源仓库:https://github.com/jeremy0x/meta-tag-boilerplate
仓库路径:skills/seo-meta-tags
安装命令:
npx skills add https://github.com/jeremy0x/meta-tag-boilerplate --skill seo-meta-tags
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jeremy0x/meta-tag-boilerplate --skill seo-meta-tags

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果。

  • 适用于 meta tags 相关研究、SEO 策略制定、信息收集和线索筛选等场景。
  • 通过关键词、任务场景或来源线索快速定位候选结果,可结合来源仓库继续核验具体用法。
  • 安装命令:npx skills add https://github.com/jeremy0x/meta-tag-boilerplate --skill seo-meta-tags。
  • 建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

SKILL.md

SEO Meta Tags

Boilerplate and component library for production-ready metadata across three framework targets.

Decision Tree

Determine the correct framework path first:

  1. Static HTML site or any-backend project — Read references/html.md
  2. Next.js 13+ App Router — Read references/nextjs.md
  3. Vite + React — Read references/vite.md, React section
  4. Vite + Vue 3 — Read references/vite.md, Vue section
  5. Multiple frameworks at once — Read all relevant reference files

Then determine action type:

  • Creating metadata from scratch? — Read matching reference → copy boilerplate → replace placeholders.
  • Updating existing metadata? — Load file → keep structure → change requested values → verify parity across tag families.
  • Auditing / reviewing metadata? — Run through Quality Gate below → report issues.
  • Migrating between frameworks? — Read source reference → read target reference → map fields.

Framework Selection

FrameworkWhen to useReference
HTMLStatic sites, any backend, SSGsreferences/html.md
Next.jsNext.js 13+ App Router projectsreferences/nextjs.md
ViteVite + React or Vite + Vue appsreferences/vite.md

Read only the reference file that matches the user's target framework.

Metadata Families

Every framework target must keep parity across these families. When modifying one family, verify the others remain consistent.

1. Essential / Primary

TagConstraint
<title> / titleUnder 60 characters
description150-160 characters
keywords5-10 terms max, comma-separated
authorFull name
robotsindex, follow by default; include max-image-preview:large, max-snippet:-1, max-video-preview:-1
canonicalAbsolute URL, must match deployment URL
viewportwidth=device-width, initial-scale=1.0

2. Open Graph (og:*)

PropertyNotes
og:typewebsite for home/landing; article for blog posts; product for e-commerce
og:urlAbsolute URL
og:titleCan differ from <title> for social context
og:descriptionCan differ from meta description
og:imageAbsolute URL, 1200x630px, JPG or PNG, under 1 MB
og:image:width / og:image:height1200 / 630
og:image:altRequired when image is present
og:site_nameBrand name
og:localee.g. en_US

For article type also include: article:published_time, article:modified_time, article:author, article:tag.

3. Twitter Cards (twitter:*)

PropertyNotes
twitter:cardsummary_large_image (default) or summary
twitter:siteOrganization handle with @ prefix
twitter:creatorAuthor handle with @ prefix
twitter:titleUnder 70 characters
twitter:descriptionUnder 200 characters
twitter:imageSame spec as OG image
twitter:image:altRequired when image is present

4. Theme Color

Provide three values:

  • Default: <meta name="theme-color" content="..."> or single value
  • Light: media="(prefers-color-scheme: light)"
  • Dark: media="(prefers-color-scheme: dark)"

Next.js uses the themeColor array in the Metadata object.

5. Icons and Manifest

AssetSizeFormat
favicon.ico32x32 or multi-sizeICO
icon-16x16.png16x16PNG
icon-32x32.png32x32PNG
apple-touch-icon.png180x180PNG
site.webmanifestn/aJSON

Generate with favicon.io or RealFaviconGenerator.

6. Structured Data (JSON-LD)

Emit a <script type="application/ld+json"> block (HTML/Vite) or use a separate Script component in Next.js. Required keys:

{
	"@context": "https://schema.org",
	"@type": "WebSite",
	"name": "",
	"description": "",
	"url": "",
	"image": { "@type": "ImageObject", "url": "", "width": 1200, "height": 630 },
	"author": { "@type": "Person", "name": "" },
	"publisher": {
		"@type": "Organization",
		"name": "",
		"logo": { "@type": "ImageObject", "url": "" }
	}
}

Common @type values: WebSite, Article, Organization, Product, FAQPage, BreadcrumbList.

7. Internationalization (hreflang)

<link rel="alternate" hreflang="en" href="https://example.com/en/" />
<link rel="alternate" hreflang="es" href="https://example.com/es/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />

Next.js equivalent: alternates.languages in the Metadata object.

8. Performance Hints

Include when external resources are used:

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="dns-prefetch" href="https://www.google-analytics.com" />

Placeholder Tokens

All boilerplate files use {{PLACEHOLDER_NAME}} tokens. Common tokens:

TokenPurpose
{{PAGE_TITLE}}Page <title>
{{PAGE_DESCRIPTION}}Meta description
{{PAGE_URL}}Page URL (absolute)
{{CANONICAL_URL}}Canonical URL
{{KEYWORDS}}Comma-separated keywords
{{AUTHOR_NAME}}Content author
{{SITE_NAME}}Brand / site name
{{THEME_COLOR}} / {{THEME_COLOR_LIGHT}} / {{THEME_COLOR_DARK}}Hex color codes
{{OG_TITLE}} / {{OG_DESCRIPTION}} / {{OG_IMAGE_URL}} / {{OG_IMAGE_ALT}}Open Graph
{{TWITTER_TITLE}} / {{TWITTER_DESCRIPTION}} / {{TWITTER_IMAGE_URL}} / {{TWITTER_IMAGE_ALT}}Twitter
{{TWITTER_HANDLE}} / {{TWITTER_CREATOR_HANDLE}}Twitter handles
{{SCHEMA_TYPE}} / {{SCHEMA_IMAGE_URL}}JSON-LD
{{PUBLISHER_NAME}} / {{PUBLISHER_LOGO_URL}}Publisher org
{{FAVICON_32x32_URL}} / {{FAVICON_16x16_URL}} / {{APPLE_TOUCH_ICON_URL}}Icons
{{AUTHOR_URL}}Author website URL (Next.js)
{{CREATOR_NAME}}Content creator name (Next.js)
{{CATEGORY}}Site category (Next.js)
{{GOOGLE_VERIFICATION_CODE}} / {{YANDEX_VERIFICATION_CODE}} / {{FACEBOOK_VERIFICATION_CODE}}Search engine verification codes (Next.js)
{{EN_URL}} / {{ES_URL}}Language-specific alternate URLs (Next.js)
{{ALTERNATE_EN_URL}} / {{ALTERNATE_DEFAULT_URL}}hreflang alternate URLs (HTML/Vite)

When implementing for a user, replace every {{...}} token. Never leave placeholders in production output.

Quality Gate

Run these checks before considering any metadata task complete:

  1. No placeholders — grep for {{ in all modified files; count must be zero.
  2. Absolute URLs — canonical, OG url, OG image, Twitter image, JSON-LD url/image must start with https://.
  3. Image alt text — every og:image / twitter:image must have a corresponding alt field.
  4. No duplicate tags — no two conflicting <title>, description, or canonical tags in the same scope.
  5. Title length — verify under 60 characters.
  6. Description length — verify 150-160 characters.
  7. JSON-LD validity — valid JSON with required @context and @type keys.
  8. OG/Twitter parity — if OG title is set, Twitter title should also be set (and vice versa).
  9. Canonical consistency — canonical URL matches the actual page URL or intended redirect target.
  10. Theme color — includes both light and dark media variants.
  11. hreflang — includes x-default when language alternates exist.
  12. Robots — allows indexing unless user explicitly requests noindex.

Image Specifications

Use caseDimensionsRatioFormatMax size
OG / Twitter1200x6301.91:1JPG or PNG1 MB
Favicon 3232x321:1PNGn/a
Favicon 1616x161:1PNGn/a
Apple Touch180x1801:1PNGn/a

Testing Tools

Recommend to users after deployment:

Common Mistakes

MistakeImpactFix
Relative URLs in og:image or twitter:imageSocial platforms can't fetch the imageAlways use absolute URLs starting with https://
Missing <HelmetProvider> in Vite ReactAll <SEO> tags silently fail to renderWrap app root in <HelmetProvider> in main.tsx
Missing createHead() in Vite VueuseHead() throws at runtimeCall app.use(createHead()) in main.ts
Committing verification codes to public reposExposes site ownership tokensUse environment variables for verification values
Duplicate <title> or description tagsCrawlers pick an unpredictable oneUse only one source of truth per scope (layout vs. page)
og:image set without og:image:altAccessibility failure, some validators warnAlways pair image with alt text
Using generateMetadata for static pagesUnnecessary async overhead on every requestUse static export const metadata when values are known at build time
Leaving {{...}} placeholder tokensBroken display on social platforms, poor SEOGrep for {{ before shipping
JSON-LD with trailing commas or commentsInvalid JSON, structured data ignoredValidate JSON before finishing
twitter:card set to summary when image is 1200x630Image gets cropped to tiny squareUse summary_large_image for landscape images

Migration Paths

FromToNotes
react-helmetVite React (SEO.tsx)Replace with react-helmet-async; wrap root in <HelmetProvider>
vue-metaVite Vue (SEO.vue)Replace metaInfo with @unhead/vue useHead() composable
next-seoNext.js (metadata.ts)Remove <NextSeo>; use exported metadata or generateMetadata
Pages Router <Head>App RouterReplace import Head with export const metadata

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.62%
按下载量换算30

Claude

29.65%
按下载量换算25

Cursor

19.69%
按下载量换算16

Gemini CLI

9.37%
按下载量换算8

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills