Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

seo-optimizerSEO 优化器

Agent Skill

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

总安装

294

周安装

12

GitHub Stars

23

下载量

95
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/chongdashu/cc-skills --skill seo-optimizer

简介

将网页从“不可见”转化为可被搜索引擎与社交平台索引的发现友好内容。

  • 分析代码库并实施语义化优化,包括标签结构、元数据与内容清晰度改进。
  • 核心是向机器清晰传达页面主题与受众,而非堆砌关键词追求排名。
  • 适用于单页应用、静态站点或传统网站,需结合具体项目结构定制实施方案。
  • seo-optimizer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

SEO Optimizer

Transform your web application from invisible to discoverable. This skill analyzes your codebase and implements comprehensive SEO optimizations that help search engines and social platforms understand, index, and surface your content.

Philosophy: SEO as Semantic Communication

SEO is not about gaming algorithms—it's about clearly communicating what your content IS to machines (search engines, social platforms, AI crawlers) so they can properly understand and surface it.

Before optimizing, ask:

  • What is this page actually about? (not what keywords we want to rank for)
  • Who is the intended audience and what are they searching for?
  • What unique value does this content provide?
  • How should machines categorize and understand this content?

Core Principles:

  1. Accuracy Over Optimization: Describe what IS, not what you wish would rank
  2. User Intent First: Match content to what searchers actually want
  3. Semantic Clarity: Use structured data to make meaning machine-readable
  4. Progressive Enhancement: Basic SEO for all pages, rich optimization for key pages
  5. Framework-Native: Use each framework's idioms, not generic hacks

The SEO Hierarchy (prioritize in order):

1. Content Quality      ← Foundation: Valuable, accurate, unique content
2. Technical Access     ← Can crawlers find and index your pages?
3. Semantic Structure   ← Do machines understand your content's meaning?
4. Meta Optimization    ← Are your titles/descriptions compelling?
5. Structured Data      ← JSON-LD for rich search results
6. Performance          ← Core Web Vitals affect rankings

Codebase Analysis Workflow

ALWAYS analyze before implementing. Different codebases need different approaches.

Step 1: Discover Framework and Structure

Identify the framework and routing pattern:

  • Next.js: Look for next.config.js, app/ or pages/ directory
  • Astro: Look for astro.config.mjs, src/pages/
  • React Router: Look for route configuration, react-router-dom
  • Gatsby: Look for gatsby-config.js, gatsby-node.js
  • Static HTML: Look for .html files in root or public/

Step 2: Audit Current SEO State

Check for existing implementations:

  • Meta tags in <head> (title, description, viewport)
  • Open Graph tags (og:title, og:image, etc.)
  • Twitter Card tags (twitter:card, twitter:image)
  • Structured data (<script type="application/ld+json">)
  • Sitemap (sitemap.xml or generation config)
  • Robots.txt file
  • Canonical URLs
  • Alt text on images

Step 3: Identify Page Types

Different pages need different SEO approaches:

Page TypePriorityKey Optimizations
Landing/HomeCriticalBrand keywords, comprehensive structured data
Product/ServiceHighProduct schema, reviews, pricing
Blog/ArticleHighArticle schema, author, publish date
DocumentationMediumHowTo/FAQ schema, breadcrumbs
About/ContactMediumOrganization schema, local business
Legal/PrivacyLowBasic meta only, often noindex

Step 4: Generate Implementation Plan

Based on analysis, prioritize:

  1. Quick wins: Missing meta tags, viewport, basic structure
  2. High impact: Structured data for key pages, sitemap
  3. Refinement: Performance, advanced schema, social optimization

See references/analysis-checklist.md for detailed audit procedures.


Meta Tags Implementation

Essential Meta Tags (Every Page)

<!-- Required -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{Page Title} | {Site Name}</title>
<meta name="description" content="{150-160 char description}">

<!-- Recommended -->
<link rel="canonical" href="{full canonical URL}">
<meta name="robots" content="index, follow">

Title Tag Best Practices

Format: {Primary Content} | {Brand} or {Primary Content} - {Brand}

Guidelines:

  • 50-60 characters (Google truncates at ~60)
  • Front-load important keywords
  • Unique for every page
  • Accurately describe page content
  • Include brand for recognition (usually at end)

Title Patterns by Page Type:

Homepage:     {Brand} - {Value Proposition}
Product:      {Product Name} - {Key Benefit} | {Brand}
Article:      {Article Title} | {Brand}
Category:     {Category} Products | {Brand}
Search:       Search Results for "{Query}" | {Brand}

Meta Description Best Practices

Guidelines:

  • 150-160 characters (Google may truncate at ~155)
  • Include a call to action when appropriate
  • Accurately summarize page content
  • Unique for every page
  • Include primary keyword naturally

DO NOT:

  • Stuff keywords unnaturally
  • Use the same description across pages
  • Write descriptions that don't match content
  • Start with "Welcome to..." or similar filler

Open Graph Tags (Social Sharing)

<meta property="og:type" content="website">
<meta property="og:url" content="{canonical URL}">
<meta property="og:title" content="{title}">
<meta property="og:description" content="{description}">
<meta property="og:image" content="{1200x630 image URL}">
<meta property="og:site_name" content="{Site Name}">

Twitter Card Tags

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@{handle}">
<meta name="twitter:title" content="{title}">
<meta name="twitter:description" content="{description}">
<meta name="twitter:image" content="{image URL}">

See references/meta-tags-complete.md for comprehensive tag reference.


Structured Data (JSON-LD)

Structured data enables rich search results (star ratings, prices, FAQs, etc.).

When to Use Which Schema

Content TypeSchemaRich Result
Organization infoOrganizationKnowledge panel
ProductsProductPrice, availability, reviews
Articles/BlogArticleHeadline, image, date
How-to guidesHowToStep-by-step in search
FAQsFAQPageExpandable Q&A
EventsEventDate, location, tickets
RecipesRecipeImage, time, ratings
Local businessLocalBusinessMaps, hours, contact
BreadcrumbsBreadcrumbListNavigation path

Implementation Pattern

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Company Name",
  "url": "https://example.com",
  "logo": "https://example.com/logo.png",
  "sameAs": [
    "https://twitter.com/company",
    "https://linkedin.com/company/company"
  ]
}
</script>

Multiple Schemas Per Page

Use @graph to combine schemas:

{
  "@context": "https://schema.org",
  "@graph": [
    { "@type": "Organization", ... },
    { "@type": "WebSite", ... },
    { "@type": "BreadcrumbList", ... }
  ]
}

See references/structured-data-schemas.md for complete schema examples.


Technical SEO

Sitemap Generation

XML Sitemap Requirements:

  • Include all indexable pages
  • Exclude noindex pages, redirects, error pages
  • Update <lastmod> when content changes
  • Submit to Google Search Console

Framework implementations: See references/framework-implementations.md

Robots.txt

Standard Template:

User-agent: *
Allow: /

# Block admin/private areas
Disallow: /admin/
Disallow: /api/
Disallow: /private/

# Point to sitemap
Sitemap: https://yourdomain.com/sitemap.xml

Canonical URLs

Always set canonical URLs to:

  • Prevent duplicate content issues
  • Consolidate link equity
  • Specify preferred URL version

Handle:

  • www vs non-www
  • http vs https
  • Trailing slashes
  • Query parameters

Performance (Core Web Vitals)

Core Web Vitals affect rankings. Monitor:

MetricTargetWhat It Measures
LCP< 2.5sLargest Contentful Paint (loading)
INP< 200msInteraction to Next Paint (interactivity)
CLS< 0.1Cumulative Layout Shift (visual stability)

Quick wins:

  • Optimize images (WebP, lazy loading, proper sizing)
  • Minimize JavaScript bundles
  • Use efficient fonts (display: swap)
  • Implement proper caching

Anti-Patterns to Avoid

Keyword Stuffing

<!-- BAD -->
<title>Best Shoes | Buy Shoes | Cheap Shoes | Shoes Online | Shoe Store</title>

<!-- GOOD -->
<title>Running Shoes for Marathon Training | SportShop</title>

Why bad: Search engines penalize unnatural keyword repetition. Users don't click spammy titles.

Duplicate Descriptions Using the same meta description across multiple pages. Why bad: Misses opportunity for page-specific relevance. Google may ignore and auto-generate.

Description/Content Mismatch Writing descriptions for keywords rather than actual content. Why bad: High bounce rates signal low quality. Users feel deceived.

Missing Alt Text

<!-- BAD -->
<img src="product.jpg">

<!-- GOOD -->
<img src="product.jpg" alt="Blue Nike Air Max running shoe, side view">

Why bad: Accessibility violation. Missed image search opportunity.

Blocking Crawlers Unintentionally

# Accidentally blocking everything
User-agent: *
Disallow: /

Why bad: Complete deindexing. Check robots.txt carefully.

Ignoring Mobile Not having responsive design or mobile-specific considerations. Why bad: Google uses mobile-first indexing. Most traffic is mobile.

Over-Optimization Adding structured data for content that doesn't exist. Why bad: Schema violations can result in penalties. Trust erosion.

Generic Auto-Generated Content

<!-- BAD: Template without customization -->
<meta name="description" content="Welcome to our website. We offer great products and services.">

Why bad: Provides no value. Won't rank. Won't get clicks.


Variation Guidance

IMPORTANT: SEO implementation should vary based on context.

Vary based on:

  • Industry: E-commerce needs Product schema; SaaS needs Software schema
  • Content type: Blog posts vs landing pages vs documentation
  • Audience: B2B vs B2C affects tone and keywords
  • Competition: Highly competitive niches need more sophisticated optimization
  • Framework: Use native patterns (Next.js metadata API vs manual tags)

Avoid converging on:

  • Same title format for all page types
  • Generic descriptions that could apply to any site
  • Identical structured data without page-specific content
  • One-size-fits-all sitemap configuration

Framework Quick Reference

Next.js (App Router)

// app/page.tsx
import { Metadata } from 'next'

export const metadata: Metadata = {
  title: 'Page Title | Brand',
  description: 'Page description',
  openGraph: {
    title: 'Page Title',
    description: 'Page description',
    images: ['/og-image.png'],
  },
}

Next.js (Pages Router)

// pages/index.tsx
import Head from 'next/head'

export default function Page() {
  return (
    <Head>
      <title>Page Title | Brand</title>
      <meta name="description" content="Page description" />
    </Head>
  )
}

Astro

---
// src/pages/index.astro
import Layout from '../layouts/Layout.astro';
---
<Layout
  title="Page Title | Brand"
  description="Page description"
  ogImage="/og-image.png"
/>

React (react-helmet)

import { Helmet } from 'react-helmet';

function Page() {
  return (
    <Helmet>
      <title>Page Title | Brand</title>
      <meta name="description" content="Page description" />
    </Helmet>
  );
}

See references/framework-implementations.md for complete guides.


Scripts

analyze_seo.py

Analyzes a codebase for SEO issues and opportunities:

python scripts/analyze_seo.py <path-to-project>

Output:

  • Current SEO state (what's implemented)
  • Missing elements by priority
  • Page-by-page recommendations
  • Structured data opportunities

generate_sitemap.py

Generates sitemap.xml from project routes:

python scripts/generate_sitemap.py <path-to-project> --domain https://example.com

Remember

SEO is semantic communication, not algorithm manipulation.

The best SEO:

  • Accurately describes what content IS
  • Helps machines understand meaning through structured data
  • Prioritizes user value over keyword optimization
  • Uses framework-native patterns
  • Implements progressively based on page importance

Focus on making your content findable and understandable. The rankings follow from genuine value clearly communicated.

Claude is capable of comprehensive SEO analysis and implementation. These guidelines illuminate the path—they don't fence it.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.35%
按下载量换算34

Claude

27.49%
按下载量换算26

Cursor

18.15%
按下载量换算17

Gemini CLI

9.7%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills