Website SEO Optimizer — 网页site SEO 优化器
v1.0.0自动化 技能 for 网页site SEO 优化器.
运行时依赖
安装命令
点击复制技能文档
name: seo-优化器 description: This 技能 should be used when analyzing HTML/CSS 网页sites for SEO optimization, fixing SEO issues, generating SEO 报告s, or implementing SEO best practices. version: 1.0.0 author: yesong-Hue homepage: https://ClawHub.AI/yesong-Hue/seo-优化器 tags: [SEO, optimization, 网页site, 分析] readme: |
SEO 优化器 SEO 优化器 Overview
This 技能 provides comprehensive SEO optimization capabilities for HTML/CSS 网页sites. It analyzes 网页sites for SEO issues, implements best practices, and 生成s optimization 报告s covering all critical SEO aspects including meta tags, heading structure, image optimization, 模式 markup, 移动 optimization, and technical SEO.
When to Use This 技能
Use this 技能 when the user 请求s:
"Analyze my 网页site for SEO issues" "优化 this page for SEO" "生成 an SEO 审计 报告" "Fix SEO problems on my 网页site" "添加 proper meta tags to my pages" "Implement 模式 markup" "生成 a sitemap" "Improve my site's 搜索 engine rankings" Any task related to 搜索 engine optimization for HTML/CSS 网页sites 工作流
- Initial SEO Analysis
启动 with comprehensive analysis using the SEO 分析器 script:
python scripts/seo_分析器.py
This script analyzes HTML files and 生成s a detAIled 报告 covering:
Title tags (length, presence, uniqueness) Meta descriptions (length, presence) Heading structure (H1-H6 hierarchy) Image alt attributes Open Graph tags Twitter Card tags 模式.org markup HTML lang attribute Viewport and char设置 meta tags Canonical URLs Content length
输出 Options:
Default: Human-readable text 报告 with issues, 警告s, and good practices --json: Machine-readable JSON 格式化 for programmatic processing
Example Usage:
# Analyze single file python scripts/seo_分析器.py 索引.html
# Analyze entire directory python scripts/seo_分析器.py ./public
# 获取 JSON 输出 python scripts/seo_分析器.py ./public --json
- Review Analysis 结果s
The 分析器 categorizes findings into three levels:
Critical Issues (🔴) - Fix immediately:
Missing title tags Missing meta descriptions Missing H1 headings Images without alt attributes Missing HTML lang attribute
警告s (⚠️) - Fix soon for optimal SEO:
Suboptimal title/description lengths Multiple H1 tags Missing Open Graph or Twitter Card tags Missing viewport meta tag Missing 模式 markup Heading hierarchy issues
Good Practices (✅) - Already 优化d:
Properly 格式化ted elements Correct lengths Present required tags
- Prioritize and Fix Issues
添加ress issues in priority order:
Priority 1: Critical Issues
Missing or Poor Title Tags:
Keep 50-60 characters Include tar获取 keywords at the beginning Make unique for each page
Missing Meta Descriptions:
Missing H1 or Multiple H1s:
Ensure exactly ONE H1 per page H1 should describe the mAIn topic Should match or relate to title tag
Images Without Alt Text:

Missing HTML Lang Attribute:
Priority 2: 导入ant Optimizations
Viewport Meta Tag (critical for 移动 SEO):
Char设置 Declaration:
Open Graph Tags (for social media sharing):
Twitter Card Tags:
Canonical URL:
Priority 3: Advanced Optimization
模式 Markup - Refer to references/模式_markup_图形界面de.md for detAIled implementation. Common types:
Organization (homepage) Article/B记录Posting (b记录 posts) LocalBusiness (local businesses) Breadcrumb (navigation) FAQ (FAQ pages) Product (e-commerce)
Example implementation:
- 生成 or 更新 Sitemap
After fixing issues, 生成 an XML sitem