hencter/astro.hencte.top/seo-geo-optimize
Claude Code and agent skill by hencter/astro.hencte.top
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
SEO and GEO optimization pipeline for astro.hencte.top. Covers robots.txt, sitemap.xml, RSS feed, structured data (JSON-LD), meta tags, hreflang, canonical URLs, llms.txt, search console, and AI crawler visibility. Use when the user says "SEO", "GEO", "搜索优化", "搜索引擎", "sitemap", "结构化数据", "搜索引擎可见性", or "AI爬虫".
Install
npx vskill@latest install hencter/astro.hencte.top/seo-geo-optimizeSKILL.md
The same SKILL.md was published earlier as hencter/astro.hencte.top/seo-geo-optimize.
seo-geo-optimize — SEO+GEO 综合优化管道
astro.hencte.top 站点的搜索引擎和 AI 爬虫可见性优化。
站点 SEO 现状
| 项目 | 状态 | 备注 | |
|---|---|---|---|
| robots.txt | ❌ 缺失 | 需要创建 | |
| sitemap.xml | ❌ 缺失 | 需要 @astrojs/sitemap | |
| RSS feed | ❌ 缺失 | 需要 @astrojs/rss | |
| JSON-LD 结构化数据 | ✅ 已有 | JsonLD.astro 组件:Organization, WebSite, Article, BreadcrumbList | |
| Meta 标签 | ✅ 已有 | Meta.astro 组件:OG, Twitter Card, canonical, description, keywords | |
| llms.txt | ✅ 已有 | public/llm.txt | |
| hreflang | ❌ 未显式声明 | Astro i18n 已配置但页面未输出 hreflang | |
| @astrojs/partytown | ❌ 缺失 | GA4 脚本未优化 | |
| 规范链接 (Canonical) | ✅ 已传递 | 通过布局传入 Meta 组件 |
工作流程
Step 1: SEO 审计
使用 seo-auditor 代理完成全站 SEO 审计:
- 检查所有页面的 meta 标签完整性
- 审查结构化数据 (JSON-LD) 的正确性
- 验证 canonical URL 和 hreflang 关系
- 检查图片 alt 文本
- 分析内容关键词覆盖
Step 2: 基础设施补齐
robots.txt
创建 public/robots.txt:
sitemap.xml
- 安装
@astrojs/sitemap - 在
astro.config.mjs中添加集成 - 确保 i18n 页面正确生成 sitemap
RSS Feed
- 安装
@astrojs/rss - 创建
/rss.xml.js路由,包含博客和小说更新
Step 3: hreflang 增强
在 Meta.astro 中添加 hreflang 替换标签:
- 每个页面根据当前 locale 输出对应的 hreflang 链接
- zh-CN →
<link rel="alternate" hreflang="zh-CN" href="..."> - en-US →
<link rel="alternate" hreflang="en-US" href="..."> - x-default →
<link rel="alternate" hreflang="x-default" href="...">
Step 4: GEO 优化(AI 爬虫可见性)
- 增强
public/llm.txt:添加更详细的站点结构描述和关键页面列表 - 创建
public/llms-full.txt:包含完整的内容摘要 - robots.txt 中配置 AI 爬虫(GPTBot, CCBot, Claude-Web)的抓取策略
- 注意:小说页面已在 HTML 中设置
<meta name="robots" content="noai, noimageai">——不要覆盖此策略
Step 5: Partytown 集成(可选)
- 安装
@astrojs/partytown - 将 GA4 脚本通过 Partytown 加载,减少主线程阻塞
- 配置
forward选项保留 GA4 追踪功能
输出规范
- 审计报告写入
swarm_reports/seo/ - 文件命名:
YYYY-MM-DD_seo_audit.md - 包含:发现的问题、严重级别、修复方案、预估影响
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.dsh/skills/seo-geo-optimize/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hencter/astro.hencte.top/seo-geo-optimize)