mcpField
S
seo-technical-audit

seo-technical-audit

github.com/schwepps营销与增长1779 次安装40 周前更新
代码仓库

关于 seo-technical-audit

Technical SEO Audit Framework 是一项为网站负责人和 SEO 从业者提供技术审查流程的技能。内容涵盖抓取、性能、网站架构、移动端、安全、结构化数据和 AI 爬虫设置,并提供报告格式与评分指南。

主要功能

  1. 01审查抓取与索引情况
  2. 02评估 Core Web Vitals
  3. 03检查网站架构与移动端适配
  4. 04检查 HTTPS 和安全响应头
  5. 05验证结构化数据
  6. 06审查 AI 爬虫配置

适用场景

  1. 01开展完整的技术 SEO 审计
  2. 02诊断抓取或索引问题
  3. 03评估 Core Web Vitals 和移动端适配
  4. 04编写带评分的审计报告

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/schwepps/skills --skill seo-technical-audit

安装后在 Claude Code 中输入/seo-technical-audit确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

references/
checklist.md
schema-patterns.md
tool-commands.md

详细介绍

技术 SEO 审计框架

符合 2025 年最佳实践的全面技术 SEO 分析专业方法。

何时使用此技能

  • 全面技术 SEO 审计
  • 诊断抓取/编入索引问题
  • 核心 Web 指标分析
  • 网站架构审查
  • Schema 标记验证
  • 移动优先就绪情况评估
  • AI 爬虫配置审计

审计工作流

按优先级顺序执行——抓取问题会阻碍所有后续优化。

阶段 1:可抓取性与编入索引(关键)
1. robots.txt Analysis
   □ Accessible at /robots.txt
   □ No global Disallow: /
   □ CSS/JS not blocked
   □ Sitemap reference present

2. XML Sitemap Validation
   □ Only canonical, 200-status URLs
   □ No noindex pages included
   □ Submitted to GSC

3. Indexation Status (GSC)
   □ Check indexed vs excluded pages
   □ Identify "Crawled - not indexed"
   □ Find soft 404s
   □ Verify canonical consistency

4. Meta Robots
   □ Key pages: index,follow
   □ No accidental noindex
   □ Canonical self-references
阶段 2:核心 Web 指标(2025 年标准)

达标阈值:

指标良好需要改进较差
LCP≤2.5s2.5-4.0s>4.0s
INP≤200ms200-500ms>500ms
CLS≤0.100.10-0.25>0.25

数据来源(按优先级排序):

  1. Google Search Console(现场数据)
  2. CrUX Dashboard(现场数据)
  3. PageSpeed Insights(实验室数据 + 现场数据)

常见修复方法:

  • LCP:优化图片、预加载关键资源、缩短服务器响应时间
  • INP:拆分长任务、优化 JavaScript、使用 Web Worker
  • CLS:为图片/嵌入内容设置尺寸,避免在现有内容上方插入内容
阶段 3:网站架构
Optimal Structure:
□ Max 3 clicks from homepage to any page
□ Flat hierarchy (avoid deep nesting)
□ Logical URL structure: /category/subcategory/page
□ Breadcrumb navigation implemented
□ Internal linking strategy documented

URL Best Practices:
□ Descriptive, keyword-relevant
□ Lowercase, hyphens (not underscores)
□ Under 60 characters
□ No parameters when possible
阶段 4:移动优先就绪情况
□ Mobile-friendly test passes
□ Responsive design (no horizontal scroll)
□ Touch targets ≥48px
□ Font size ≥16px base
□ No intrusive interstitials
□ Same content on mobile and desktop
阶段 5:安全与 HTTPS
□ HTTPS with valid certificate
□ HTTP → HTTPS redirects (301)
□ No mixed content warnings
□ HSTS header implemented
□ Security headers present (CSP, X-Frame-Options)
阶段 6:结构化数据

优先处理的 Schema 类型:

  1. Organization/LocalBusiness
  2. BreadcrumbList
  3. Article/BlogPosting(包含作者)
  4. Product(适用于电子商务)
  5. FAQPage(提升 AI 可见度)
  6. HowTo(适用于教程)

验证:

  • Google Rich Results Test
  • Schema.org validator
  • 不仅检查错误,也要检查警告
阶段 7:AI 爬虫配置

适用于 AI 搜索的 2025 年 robots.txt:

# Allow AI search crawlers
User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: ClaudeBot
Allow: /

# Optional: Block AI training (not search)
User-agent: GPTBot
Disallow: /

User-agent: Google-Extended
Disallow: /

输出格式

使用以下结构生成报告:

# Technical SEO Audit Report

**Site:** [URL]
**Date:** [Date]
**Overall Score:** X/100

## Executive Summary
[2-3 sentence overview]

## Scores by Category

| Category | Score | Status |
|----------|-------|--------|
| Crawlability & Indexation | X/20 | [Good/Needs Work/Critical] |
| Core Web Vitals | X/20 | [Good/Needs Work/Critical] |
| Site Architecture | X/15 | [Good/Needs Work/Critical] |
| Mobile Readiness | X/15 | [Good/Needs Work/Critical] |
| Security & HTTPS | X/10 | [Good/Needs Work/Critical] |
| Structured Data | X/10 | [Good/Needs Work/Critical] |
| AI Crawler Readiness | X/10 | [Good/Needs Work/Critical] |

## Priority Issues (Fix First)
1. **[Issue]** - [Impact] - [Fix]
2. **[Issue]** - [Impact] - [Fix]
3. **[Issue]** - [Impact] - [Fix]

## Detailed Findings
[Category-by-category analysis]

## Action Plan

**Immediate (This Week):**
- [ ] Critical fix 1
- [ ] Critical fix 2

**Short-term (This Month):**
- [ ] High priority 1
- [ ] High priority 2

**Ongoing:**
- [ ] Monitoring task 1
- [ ] Regular audit 2

评分指南

  • 90-100: 优秀——仅需少量优化
  • 70-89: 良好——需要进行一些改进
  • 50-69: 需要改进——存在较大差距
  • 低于 50: 严重——需要进行重大整改

快速审计(5 项检查)

快速评估时:

  1. 编入索引——关键页面是否已编入索引?(GSC)
  2. 速度——核心 Web 指标是否达标?(LCP <2.5s)
  3. 移动设备——是否通过移动设备友好性测试?
  4. 安全——是否使用带有效证书的 HTTPS?
  5. 可抓取性——robots.txt 是否未屏蔽内容?

工具参考

# Check robots.txt
curl -s https://example.com/robots.txt

# Check response headers
curl -I https://example.com

# Fetch and validate sitemap
curl -s https://example.com/sitemap.xml | head -50

# Check mobile-friendliness (requires API key)
# Use Google's Mobile-Friendly Test: https://search.google.com/test/mobile-friendly

其他资源

如需详细清单和 Schema 模式,请提出以下请求:

  • “向我展示完整的可抓取性检查清单”
  • “给我 JSON-LD Schema 示例”
  • “列出所有核心 Web 指标优化技巧”

评论

支持 Markdown