‹ 首页

30x-seo-sitemap

@norahe0304-art · 收录于 1 周前

Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure. Use when user says "sitemap", "generate sitemap", "sitemap issues", or "XML sitemap".

适合你,如果你需要管理网站 SEO 或排查站点地图问题

/ 下载安装
30x-seo-sitemap.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add norahe0304-art/30x-seo/30x-seo-sitemap
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- norahe0304-art/30x-seo/30x-seo-sitemap
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify norahe0304-art/30x-seo/30x-seo-sitemap
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
41GitHub stars
~718上下文体积 · 单文件
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · MIT · bb60a06

Sitemap Analysis & Generation

Mode 1: Analyze Existing Sitemap
Validation Checks
  • Valid XML format
  • URL count <50,000 per file (protocol limit)
  • All URLs return HTTP 200
  • <lastmod> dates are accurate (not all identical)
  • No deprecated tags: <priority> and <changefreq> are ignored by Google
  • Sitemap referenced in robots.txt
  • Compare crawled pages vs sitemap — flag missing pages
Quality Signals
  • Sitemap index file if >50k URLs
  • Split by content type (pages, posts, images, videos)
  • No non-canonical URLs in sitemap
  • No noindexed URLs in sitemap
  • No redirected URLs in sitemap
  • HTTPS URLs only (no HTTP)
Common Issues

| Issue | Severity | Fix | |-------|----------|-----| | >50k URLs in single file | Critical | Split with sitemap index | | Non-200 URLs | High | Remove or fix broken URLs | | Noindexed URLs included | High | Remove from sitemap | | Redirected URLs included | Medium | Update to final URLs | | All identical lastmod | Low | Use actual modification dates | | Priority/changefreq used | Info | Can remove (ignored by Google) |

Mode 2: Generate New Sitemap
Process
  1. Ask for business type (or auto-detect from existing site)
  2. Load industry template from assets/ directory
  3. Interactive structure planning with user
  4. Apply quality gates:
  5. ⚠️ WARNING at 30+ location pages (require 60%+ unique content)
  6. 🛑 HARD STOP at 50+ location pages (require justification)
  7. Generate valid XML output
  8. Split at 50k URLs with sitemap index
  9. Generate STRUCTURE.md documentation
Safe Programmatic Pages (OK at scale)

✅ Integration pages (with real setup docs) ✅ Template/tool pages (with downloadable content) ✅ Glossary pages (200+ word definitions) ✅ Product pages (unique specs, reviews) ✅ User profile pages (user-generated content)

Penalty Risk (avoid at scale)

❌ Location pages with only city name swapped ❌ "Best [tool] for [industry]" without industry-specific value ❌ "[Competitor] alternative" without real comparison data ❌ AI-generated pages without human review and unique value

Sitemap Format
Standard Sitemap
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/page</loc>
    <lastmod>2026-02-07</lastmod>
  </url>
</urlset>
Sitemap Index (for >50k URLs)
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://example.com/sitemap-pages.xml</loc>
    <lastmod>2026-02-07</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-posts.xml</loc>
    <lastmod>2026-02-07</lastmod>
  </sitemap>
</sitemapindex>
Output
For Analysis
  • VALIDATION-REPORT.md — analysis results
  • Issues list with severity
  • Recommendations
For Generation
  • sitemap.xml (or split files with index)
  • STRUCTURE.md — site architecture documentation
  • URL count and organization summary

[PROTOCOL]: Update this header on changes, then check CLAUDE.md

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。