seo-mastery
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSEO Mastery Agent Skills
SEO精通Agent技能
Comprehensive SEO optimization skill based on Google's official documentation. Provides integrated support for technical SEO, content optimization, structured data, Core Web Vitals, and site audits.
基于谷歌官方文档的全面SEO优化技能,为技术SEO、内容优化、结构化数据、Core Web Vitals以及网站审核提供一体化支持。
When to Use This Skill
何时使用此技能
Technical SEO
技术SEO
- Debugging crawl and indexing issues
- Configuring robots.txt / sitemap.xml
- Implementing canonical URLs / hreflang
- JavaScript SEO optimization
- Mobile-first optimization
- Server-side rendering (SSR) setup
- 调试抓取与索引问题
- 配置robots.txt / sitemap.xml
- 实现规范网址(canonical URLs)/ hreflang标签
- JavaScript SEO优化
- 移动优先优化
- 服务器端渲染(SSR)设置
Content SEO
内容SEO
- Meta tag optimization (title, description)
- Heading structure design (H1-H6)
- E-E-A-T (Experience, Expertise, Authoritativeness, Trustworthiness) strategies
- Search intent-aligned content design
- Internal linking strategy
- 元标签优化(标题、描述)
- 标题结构设计(H1-H6)
- E-E-A-T(经验、专业度、权威性、可信度)策略
- 符合搜索意图的内容设计
- 内部链接策略
Structured Data
结构化数据
- JSON-LD schema.org implementation
- Rich results support (FAQ, How-to, Article, Product, etc.)
- VideoObject, BroadcastEvent implementation
- BreadcrumbList configuration
- LocalBusiness / Organization setup
- JSON-LD schema.org实施
- 富结果支持(FAQ、操作指南、文章、产品等)
- VideoObject、BroadcastEvent实现
- BreadcrumbList配置
- LocalBusiness / Organization设置
Core Web Vitals
Core Web Vitals
- LCP (Largest Contentful Paint) optimization
- INP (Interaction to Next Paint) improvement
- CLS (Cumulative Layout Shift) fixes
- Performance monitoring and improvement
- LCP(最大内容绘制)优化
- INP(交互到下一次绘制)提升
- CLS(累积布局偏移)修复
- 性能监控与改进
Site Audit
网站审核
- Comprehensive SEO audit workflow
- Automated checklist generation
- Issue prioritization
- Improvement report creation
- 全面SEO审核工作流
- 自动化检查清单生成
- 问题优先级排序
- 改进报告创建
Quick Start
快速开始
Basic Usage
基础用法
undefinedundefinedRequest meta tag optimization
请求元标签优化
"Optimize the meta tags for this page"
"Optimize the meta tags for this page"
Generate structured data
生成结构化数据
"Add Article structured data to this blog post"
"Add Article structured data to this blog post"
Run site audit
运行网站审核
"Perform an SEO audit on this site"
"Perform an SEO audit on this site"
Improve Core Web Vitals
提升Core Web Vitals
"How can I improve LCP?"
---"How can I improve LCP?"
---Technical SEO Checklist
技术SEO检查清单
Crawl Optimization
抓取优化
- robots.txt is properly configured
- XML sitemap exists and is submitted to Search Console
- Important pages are not set to noindex
- Crawl budget is not wasted
- No 404/5xx errors
- robots.txt配置正确
- XML站点地图存在并已提交至Search Console
- 重要页面未设置为noindex
- 抓取预算未被浪费
- 无404/5xx错误
Index Optimization
索引优化
- Canonical URLs are correctly set
- Duplicate content is properly handled
- hreflang (for multilingual sites) is correct
- Mobile and desktop versions have the same content
- 规范网址设置正确
- 重复内容已妥善处理
- hreflang(多语言站点)设置正确
- 移动端与桌面端内容一致
Rendering Optimization
渲染优化
- JavaScript is properly rendered
- Critical content is included in HTML
- Lazy loading is properly implemented
- JavaScript渲染正常
- 关键内容已包含在HTML中
- 懒加载已正确实现
Structured Data Templates
结构化数据模板
Article
文章(Article)
json
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article title (max 110 characters recommended)",
"description": "Article description",
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"datePublished": "2025-01-01T08:00:00+00:00",
"dateModified": "2025-01-15T10:30:00+00:00",
"author": {
"@type": "Person",
"name": "Author Name",
"url": "https://example.com/author/profile"
},
"publisher": {
"@type": "Organization",
"name": "Site Name",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
}
}json
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article title (max 110 characters recommended)",
"description": "Article description",
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"datePublished": "2025-01-01T08:00:00+00:00",
"dateModified": "2025-01-15T10:30:00+00:00",
"author": {
"@type": "Person",
"name": "Author Name",
"url": "https://example.com/author/profile"
},
"publisher": {
"@type": "Organization",
"name": "Site Name",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
}
}FAQ
FAQ
json
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Question 1 text",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer 1 text"
}
},
{
"@type": "Question",
"name": "Question 2 text",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer 2 text"
}
}
]
}json
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Question 1 text",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer 1 text"
}
},
{
"@type": "Question",
"name": "Question 2 text",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer 2 text"
}
}
]
}BreadcrumbList
面包屑导航(BreadcrumbList)
json
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://example.com/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Category",
"item": "https://example.com/category/"
},
{
"@type": "ListItem",
"position": 3,
"name": "Current Page"
}
]
}json
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://example.com/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Category",
"item": "https://example.com/category/"
},
{
"@type": "ListItem",
"position": 3,
"name": "Current Page"
}
]
}Product
产品(Product)
json
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"image": "https://example.com/product.jpg",
"description": "Product description",
"brand": {
"@type": "Brand",
"name": "Brand Name"
},
"offers": {
"@type": "Offer",
"url": "https://example.com/product",
"priceCurrency": "USD",
"price": "99.00",
"availability": "https://schema.org/InStock",
"seller": {
"@type": "Organization",
"name": "Seller Name"
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "128"
}
}json
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"image": "https://example.com/product.jpg",
"description": "Product description",
"brand": {
"@type": "Brand",
"name": "Brand Name"
},
"offers": {
"@type": "Offer",
"url": "https://example.com/product",
"priceCurrency": "USD",
"price": "99.00",
"availability": "https://schema.org/InStock",
"seller": {
"@type": "Organization",
"name": "Seller Name"
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "128"
}
}LocalBusiness
本地商家(LocalBusiness)
json
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Business Name",
"image": "https://example.com/store.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Street",
"addressLocality": "New York",
"addressRegion": "NY",
"postalCode": "10001",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.7128,
"longitude": -74.0060
},
"telephone": "+1-212-555-1234",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:00",
"closes": "18:00"
}
],
"priceRange": "$$"
}json
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Business Name",
"image": "https://example.com/store.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Street",
"addressLocality": "New York",
"addressRegion": "NY",
"postalCode": "10001",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.7128,
"longitude": -74.0060
},
"telephone": "+1-212-555-1234",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:00",
"closes": "18:00"
}
],
"priceRange": "$$"
}VideoObject
视频对象(VideoObject)
json
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Video Title",
"description": "Video description",
"thumbnailUrl": [
"https://example.com/thumb-1x1.jpg",
"https://example.com/thumb-4x3.jpg",
"https://example.com/thumb-16x9.jpg"
],
"uploadDate": "2025-01-01T08:00:00+00:00",
"duration": "PT5M30S",
"contentUrl": "https://example.com/video.mp4",
"embedUrl": "https://example.com/embed/video123",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": { "@type": "WatchAction" },
"userInteractionCount": 12345
},
"hasPart": [
{
"@type": "Clip",
"name": "Introduction",
"startOffset": 0,
"endOffset": 30,
"url": "https://example.com/video?t=0"
},
{
"@type": "Clip",
"name": "Main Content",
"startOffset": 30,
"endOffset": 300,
"url": "https://example.com/video?t=30"
}
]
}json
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Video Title",
"description": "Video description",
"thumbnailUrl": [
"https://example.com/thumb-1x1.jpg",
"https://example.com/thumb-4x3.jpg",
"https://example.com/thumb-16x9.jpg"
],
"uploadDate": "2025-01-01T08:00:00+00:00",
"duration": "PT5M30S",
"contentUrl": "https://example.com/video.mp4",
"embedUrl": "https://example.com/embed/video123",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": { "@type": "WatchAction" },
"userInteractionCount": 12345
},
"hasPart": [
{
"@type": "Clip",
"name": "Introduction",
"startOffset": 0,
"endOffset": 30,
"url": "https://example.com/video?t=0"
},
{
"@type": "Clip",
"name": "Main Content",
"startOffset": 30,
"endOffset": 300,
"url": "https://example.com/video?t=30"
}
]
}Core Web Vitals Optimization Guide
Core Web Vitals优化指南
LCP (Largest Contentful Paint) - Target: Under 2.5 seconds
LCP(最大内容绘制)- 目标:2.5秒以内
Common Causes and Solutions:
| Cause | Solution |
|---|---|
| Slow server response | CDN implementation, cache optimization, server upgrades |
| Render-blocking resources | Defer CSS/JS loading, inline Critical CSS |
| Slow image loading | Use WebP/AVIF, specify proper sizes, preload settings |
| Client-side rendering | Implement SSR/SSG, pre-render critical content |
Example: Image Preloading
html
<link rel="preload" as="image" href="hero-image.webp" fetchpriority="high">常见原因与解决方案:
| 原因 | 解决方案 |
|---|---|
| 服务器响应缓慢 | 实施CDN、缓存优化、服务器升级 |
| 阻塞渲染的资源 | 延迟CSS/JS加载、内联关键CSS |
| 图片加载缓慢 | 使用WebP/AVIF格式、指定合适尺寸、预加载设置 |
| 客户端渲染 | 实现SSR/SSG、预渲染关键内容 |
示例:图片预加载
html
<link rel="preload" as="image" href="hero-image.webp" fetchpriority="high">INP (Interaction to Next Paint) - Target: Under 200ms
INP(交互到下一次绘制)- 目标:200毫秒以内
Common Causes and Solutions:
| Cause | Solution |
|---|---|
| Heavy JavaScript | Code splitting, remove unnecessary JS, defer execution |
| Long tasks | Split tasks (yield to main thread) |
| Large DOM size | Reduce DOM elements, implement virtual scrolling |
| Third-party scripts | Lazy load, review necessity |
Example: Splitting Long Tasks
javascript
async function processLargeArray(items) {
for (const item of items) {
processItem(item);
// Yield to main thread
await new Promise(resolve => setTimeout(resolve, 0));
}
}常见原因与解决方案:
| 原因 | 解决方案 |
|---|---|
| 繁重的JavaScript | 代码分割、移除不必要JS、延迟执行 |
| 长任务 | 拆分任务(让渡主线程) |
| DOM尺寸过大 | 减少DOM元素、实现虚拟滚动 |
| 第三方脚本 | 懒加载、评估必要性 |
示例:拆分长任务
javascript
async function processLargeArray(items) {
for (const item of items) {
processItem(item);
// 让渡主线程
await new Promise(resolve => setTimeout(resolve, 0));
}
}CLS (Cumulative Layout Shift) - Target: Under 0.1
CLS(累积布局偏移)- 目标:0.1以内
Common Causes and Solutions:
| Cause | Solution |
|---|---|
| Images/videos without dimensions | Specify width/height attributes, use aspect-ratio CSS |
| Dynamically inserted content | Reserve space in advance, use skeleton UI |
| Web fonts (FOUT/FOIT) | font-display: swap, preload fonts |
| Ads/embeds | Pre-position fixed-size containers |
Example: Image Aspect Ratio
html
<img src="image.jpg" width="800" height="600" alt="Description"
style="aspect-ratio: 4/3; width: 100%; height: auto;">常见原因与解决方案:
| 原因 | 解决方案 |
|---|---|
| 图片/视频未指定尺寸 | 指定width/height属性、使用aspect-ratio CSS |
| 动态插入内容 | 提前预留空间、使用骨架屏UI |
| Web字体(FOUT/FOIT) | 使用font-display: swap、预加载字体 |
| 广告/嵌入内容 | 预先设置固定尺寸容器 |
示例:图片宽高比设置
html
<img src="image.jpg" width="800" height="600" alt="Description"
style="aspect-ratio: 4/3; width: 100%; height: auto;">E-E-A-T Optimization Checklist
E-E-A-T优化检查清单
Experience
经验(Experience)
- Provide content based on first-hand experience
- Include actual product usage reviews/photos
- Present case studies and examples
- 基于第一手经验提供内容
- 包含实际产品使用评测/照片
- 展示案例研究与示例
Expertise
专业度(Expertise)
- Author information page exists
- Author credentials/background are stated
- Content focuses on specialized field
- Provide accurate and up-to-date information
- 存在作者信息页面
- 标注作者资质/背景
- 内容聚焦于专业领域
- 提供准确且最新的信息
Authoritativeness
权威性(Authoritativeness)
- Backlinks from trusted external sites
- Citations from industry bodies/experts
- Brand mentions earned
- Expert review/supervision
- 来自可信外部站点的反向链接
- 引用行业机构/专家内容
- 获得品牌提及
- 专家审核/监督
Trustworthiness
可信度(Trustworthiness)
- HTTPS enabled
- Privacy policy exists
- Contact information is clear
- Company information/location is stated
- User reviews/ratings are displayed
- Sources are cited
- 启用HTTPS
- 存在隐私政策
- 联系信息清晰明确
- 标注公司信息/地址
- 展示用户评价/评分
- 引用信息来源
Site Audit Workflow
网站审核工作流
Phase 1: Crawl Diagnosis
阶段1:抓取诊断
bash
undefinedbash
undefinedCheck robots.txt
检查robots.txt
curl -s https://example.com/robots.txt
curl -s https://example.com/robots.txt
Check sitemap
检查站点地图
curl -s https://example.com/sitemap.xml | head -50
curl -s https://example.com/sitemap.xml | head -50
Index status (site: search)
索引状态(site:搜索)
Search "site:example.com" on Google
在谷歌搜索"site:example.com"
**Check Items:**
1. Are important pages blocked by robots.txt?
2. Does sitemap.xml exist and include main pages?
3. Does index count match expectations?
**检查项:**
1. 重要页面是否被robots.txt拦截?
2. sitemap.xml是否存在并包含主要页面?
3. 索引数量是否符合预期?Phase 2: Page-Level Diagnosis
阶段2:页面级诊断
HTML Head Elements:
bash
undefinedHTML头部元素:
bash
undefinedExtract meta information
提取元信息
curl -s https://example.com/ | grep -E '<title>|<meta name="description"|<link rel="canonical"'
**Check Items:**
1. Title tag (under 60 characters, includes keywords)
2. Meta description (under 160 characters)
3. Canonical URL
4. OGP / Twitter Card tags
5. Structured data presencecurl -s https://example.com/ | grep -E '<title>|<meta name="description"|<link rel="canonical"'
**检查项:**
1. 标题标签(60字符以内,包含关键词)
2. 元描述(160字符以内)
3. 规范网址
4. OGP / Twitter Card标签
5. 结构化数据存在性Phase 3: Performance Diagnosis
阶段3:性能诊断
Lighthouse CLI:
bash
npx lighthouse https://example.com --output=json --output-path=./report.jsonCheck Items:
- Core Web Vitals scores
- Accessibility score
- SEO score
- Performance improvement suggestions
Lighthouse CLI:
bash
npx lighthouse https://example.com --output=json --output-path=./report.json检查项:
- Core Web Vitals评分
- 可访问性评分
- SEO评分
- 性能改进建议
Phase 4: Competitive Analysis
阶段4:竞品分析
- Content volume/structure of top-ranking sites
- Backlink profiles
- Structured data usage
- Page speed comparison
- 排名靠前站点的内容量/结构
- 反向链接概况
- 结构化数据使用情况
- 页面速度对比
Phase 5: Improvement Priority Matrix
阶段5:改进优先级矩阵
| Priority | Impact | Difficulty | Examples |
|---|---|---|---|
| Critical | High | Low | Remove noindex, fix 404s |
| High | High | Medium | Add structured data, optimize meta tags |
| Medium | Medium | Medium | Core Web Vitals improvements |
| Low | Low | High | Major site structure changes |
| 优先级 | 影响 | 难度 | 示例 |
|---|---|---|---|
| 关键 | 高 | 低 | 移除noindex设置、修复404错误 |
| 高 | 高 | 中 | 添加结构化数据、优化元标签 |
| 中 | 中 | 中 | Core Web Vitals改进 |
| 低 | 低 | 高 | 网站结构重大变更 |
Related Reference Files
相关参考文件
This skill includes the following detailed documents:
| File | Content | Use Case |
|---|---|---|
| technical-seo.md | robots.txt, sitemap, canonical, hreflang, etc. | Technical SEO configuration |
| content-seo.md | Meta tags, heading structure, content design | Content optimization |
| structured-data.md | All structured data type details | Rich results implementation |
| core-web-vitals.md | Detailed LCP/INP/CLS optimization | Performance improvement |
| audit-workflow.md | Audit procedures, tools, report formats | Site audit execution |
此技能包含以下详细文档:
| 文件 | 内容 | 使用场景 |
|---|---|---|
| technical-seo.md | robots.txt、站点地图、规范网址、hreflang等 | 技术SEO配置 |
| content-seo.md | 元标签、标题结构、内容设计 | 内容优化 |
| structured-data.md | 所有结构化数据类型细节 | 富结果实施 |
| core-web-vitals.md | LCP/INP/CLS详细优化方案 | 性能改进 |
| audit-workflow.md | 审核流程、工具、报告格式 | 网站审核执行 |
Recommended Tools
推荐工具
Google Official
谷歌官方工具
- Google Search Console - Index status & search performance
- PageSpeed Insights - Core Web Vitals measurement
- Rich Results Test - Structured data validation
- Mobile-Friendly Test - Mobile compatibility check
- Google Search Console - 索引状态与搜索表现
- PageSpeed Insights - Core Web Vitals测量
- Rich Results Test - 结构化数据验证
- Mobile-Friendly Test - 移动端兼容性检查
CLI/Development Tools
CLI/开发工具
- Lighthouse CLI - Performance auditing
- Screaming Frog - Large-scale site crawling
- ahrefs / SEMrush - Competitive & backlink analysis
- Lighthouse CLI - 性能审核
- Screaming Frog - 大规模网站抓取
- ahrefs / SEMrush - 竞品与反向链接分析
Common Mistakes and Solutions
常见错误与解决方案
1. Keyword Stuffing
1. 关键词堆砌
- Avoid: "SEO SEO SEO optimization SEO tools SEO company"
- Better: Use keywords naturally in context
- 避免:"SEO SEO SEO优化SEO工具SEO公司"
- 优化:在语境中自然使用关键词
2. Duplicate Content
2. 重复内容
- Avoid: www vs non-www, http vs https as separate URLs
- Better: Canonical settings, 301 redirects
- 避免:www与非www、http与https作为独立网址
- 优化:设置规范网址、301重定向
3. Slow Image Loading
3. 图片加载缓慢
- Avoid: Large PNG/JPG files used as-is
- Better: WebP conversion, proper sizing, lazy loading
- 避免:直接使用大尺寸PNG/JPG文件
- 优化:转换为WebP格式、设置合适尺寸、懒加载
4. Structured Data Errors
4. 结构化数据错误
- Avoid: Missing required fields, invalid formats
- Better: Pre-validate with Rich Results Test
- 避免:缺失必填字段、格式无效
- 优化:使用Rich Results Test预先验证
5. Not Mobile-Friendly
5. 非移动端友好
- Avoid: Desktop-only, no touch support
- Better: Responsive design, adequate tap targets
- 避免:仅支持桌面端、无触摸支持
- 优化:响应式设计、足够的点击目标尺寸
Official Resources
官方资源
Changelog
更新日志
- v1.0.0 (2025-01) - Initial release
- Created based on Google's official SEO guides
- Comprehensive technical SEO, content SEO, structured data coverage
- Core Web Vitals (2024 INP-compliant version)
- E-E-A-T optimization checklist added
- Site audit workflow added
- v1.0.0 (2025-01) - 初始版本
- 基于谷歌官方SEO指南创建
- 全面覆盖技术SEO、内容SEO、结构化数据
- 兼容2024版INP的Core Web Vitals
- 添加E-E-A-T优化检查清单
- 添加网站审核工作流