{
  "source": "sources/local/skill.txt",
  "line_count": 158,
  "entries": [
    {
      "line": 1,
      "text": "---",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 2,
      "text": "name: seo-sitemap",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 3,
      "text": "description: >",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 4,
      "text": "  Analyze existing XML sitemaps or generate new ones with industry templates.",
      "mapped_ids": [
        "workflow-sitemap-03"
      ],
      "disposition": "mapped",
      "section": "",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 5,
      "text": "  Validates format, URLs, and structure. Use when user says \"sitemap\",",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 6,
      "text": "  \"generate sitemap\", \"sitemap issues\", or \"XML sitemap\".",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 7,
      "text": "license: MIT",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 8,
      "text": "metadata:",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 9,
      "text": "  author: AgriciDaniel",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 10,
      "text": "  version: \"2.4.2\"",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 11,
      "text": "  category: seo",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 12,
      "text": "---",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 14,
      "text": "## Codex compatibility",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Codex compatibility",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 16,
      "text": "Use this skill by name or natural-language request; `/seo ...` examples are text prompt conventions, not registered Codex slash commands. Use available Codex file, shell, search, and browser tools in place of Claude tool names. Specialist agent instructions are in `<CODEX_SKILLS>/seo/agents/`; read the relevant file and pass its instructions to a Codex subagent when delegation is available, otherwise execute the steps sequentially. Never assume named Claude agents or optional MCP connections are registered. External API operations require configured credentials and user-authorized scope.",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Codex compatibility",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 19,
      "text": "# Sitemap Analysis & Generation",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "# Sitemap Analysis & Generation",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 21,
      "text": "## Mode 1: Analyze Existing Sitemap",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 23,
      "text": "Discover candidates before reporting a sitemap missing:",
      "mapped_ids": [
        "workflow-sitemap-01"
      ],
      "disposition": "mapped",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 25,
      "text": "```bash",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 26,
      "text": "\"<CODEX_SKILLS>/seo/scripts/claude-seo\" run sitemap_discovery.py <url> --json",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 27,
      "text": "```",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 29,
      "text": "The helper reads every bounded `Sitemap:` declaration in robots.txt, validates",
      "mapped_ids": [
        "workflow-sitemap-01",
        "workflow-sitemap-02",
        "tech-crawl-sitemap-validated",
        "tech-crawl-sitemap-declaration-fallback"
      ],
      "disposition": "mapped",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 30,
      "text": "cross-host targets through the shared SSRF-safe fetch layer, and still probes",
      "mapped_ids": [
        "workflow-sitemap-02",
        "workflow-sitemap-01",
        "tech-crawl-sitemap-validated",
        "tech-crawl-sitemap-declaration-fallback"
      ],
      "disposition": "mapped",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 31,
      "text": "common paths when a declared sitemap is stale or invalid. Use only entries in",
      "mapped_ids": [
        "tech-crawl-sitemap-validated",
        "workflow-sitemap-01",
        "workflow-sitemap-02",
        "tech-crawl-sitemap-declaration-fallback"
      ],
      "disposition": "mapped",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 32,
      "text": "`found`; preserve declared failures as findings instead of treating a robots.txt",
      "mapped_ids": [
        "tech-crawl-sitemap-declaration-fallback",
        "workflow-sitemap-01",
        "workflow-sitemap-02",
        "tech-crawl-sitemap-validated"
      ],
      "disposition": "mapped",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 33,
      "text": "line alone as proof that a sitemap works.",
      "mapped_ids": [
        "workflow-sitemap-01",
        "workflow-sitemap-02",
        "tech-crawl-sitemap-validated",
        "tech-crawl-sitemap-declaration-fallback"
      ],
      "disposition": "mapped",
      "section": "## Mode 1: Analyze Existing Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 35,
      "text": "### Validation Checks",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Validation Checks",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 36,
      "text": "- Valid XML format",
      "mapped_ids": [
        "sitemap-xml-structure"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 37,
      "text": "- Per-file limit: **≤50,000 URLs AND ≤50MB uncompressed** (whichever is hit first)",
      "mapped_ids": [
        "sitemap-url-count-limit",
        "sitemap-uncompressed-size",
        "sitemap-split-first-limit"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 38,
      "text": "- All URLs return HTTP 200",
      "mapped_ids": [
        "sitemap-url-success",
        "sitemap-h07"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 39,
      "text": "- `<lastmod>` accurate: must be a valid **W3C Datetime** and reflect the **last",
      "mapped_ids": [
        "sitemap-lastmod-format",
        "sitemap-lastmod-significant-change",
        "sitemap-lastmod-uniform-review"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 40,
      "text": "  significant content change** (main content, structured data, links, not",
      "mapped_ids": [
        "sitemap-lastmod-significant-change",
        "sitemap-lastmod-format",
        "sitemap-lastmod-uniform-review"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 41,
      "text": "  copyright/boilerplate edits). Google only honours `<lastmod>` when consistently",
      "mapped_ids": [
        "sitemap-lastmod-format",
        "sitemap-lastmod-significant-change",
        "sitemap-lastmod-uniform-review"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 42,
      "text": "  and verifiably accurate, so warn when values are suspiciously uniform or newer",
      "mapped_ids": [
        "sitemap-lastmod-uniform-review",
        "sitemap-lastmod-format",
        "sitemap-lastmod-significant-change"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 43,
      "text": "  than the page's real content.",
      "mapped_ids": [
        "sitemap-lastmod-format",
        "sitemap-lastmod-significant-change",
        "sitemap-lastmod-uniform-review"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 44,
      "text": "- No deprecated tags: `<priority>` and `<changefreq>` are ignored by Google",
      "mapped_ids": [
        "sitemap-priority-changefreq",
        "sitemap-h01"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 45,
      "text": "- Sitemap referenced in robots.txt",
      "mapped_ids": [
        "sitemap-discovery-submission",
        "tech-crawl-robots-missing"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 46,
      "text": "- Compare crawled pages vs sitemap; flag missing pages",
      "mapped_ids": [
        "sitemap-coverage-eligible-pages"
      ],
      "disposition": "mapped",
      "section": "### Validation Checks",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 48,
      "text": "### Quality Signals",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Quality Signals",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 49,
      "text": "- Sitemap index file if >50k URLs",
      "mapped_ids": [
        "sitemap-index-file-structure"
      ],
      "disposition": "mapped",
      "section": "### Quality Signals",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 50,
      "text": "- Split by content type (pages, posts, images, videos)",
      "mapped_ids": [
        "sitemap-organize-by-type"
      ],
      "disposition": "mapped",
      "section": "### Quality Signals",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 51,
      "text": "- No non-canonical URLs in sitemap",
      "mapped_ids": [
        "sitemap-canonical-only",
        "tech-index-url-variants"
      ],
      "disposition": "mapped",
      "section": "### Quality Signals",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 52,
      "text": "- No noindexed URLs in sitemap",
      "mapped_ids": [
        "sitemap-exclude-noindex",
        "tech-index-noindex-intent"
      ],
      "disposition": "mapped",
      "section": "### Quality Signals",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 53,
      "text": "- No redirected URLs in sitemap",
      "mapped_ids": [
        "sitemap-redirect-final-target"
      ],
      "disposition": "mapped",
      "section": "### Quality Signals",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 54,
      "text": "- HTTPS URLs only (no HTTP)",
      "mapped_ids": [
        "sitemap-https-selected-version",
        "sitemap-h03"
      ],
      "disposition": "mapped",
      "section": "### Quality Signals",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 56,
      "text": "### Common Issues",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Common Issues",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 57,
      "text": "| Issue | Severity | Fix |",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Common Issues",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 58,
      "text": "|-------|----------|-----|",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Common Issues",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 59,
      "text": "| >50k URLs in single file | Critical | Split with sitemap index |",
      "mapped_ids": [
        "sitemap-url-count-limit"
      ],
      "disposition": "mapped",
      "section": "### Common Issues",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 60,
      "text": "| >50MB uncompressed single file | Critical | Split with sitemap index |",
      "mapped_ids": [
        "sitemap-uncompressed-size"
      ],
      "disposition": "mapped",
      "section": "### Common Issues",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 61,
      "text": "| Non-200 URLs | High | Remove or fix broken URLs |",
      "mapped_ids": [
        "sitemap-url-success"
      ],
      "disposition": "mapped",
      "section": "### Common Issues",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 62,
      "text": "| Noindexed URLs included | High | Remove from sitemap |",
      "mapped_ids": [
        "sitemap-exclude-noindex"
      ],
      "disposition": "mapped",
      "section": "### Common Issues",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 63,
      "text": "| Redirected URLs included | Medium | Update to final URLs |",
      "mapped_ids": [
        "sitemap-redirect-final-target"
      ],
      "disposition": "mapped",
      "section": "### Common Issues",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 64,
      "text": "| All identical lastmod | Low | Use actual modification dates |",
      "mapped_ids": [
        "sitemap-h02"
      ],
      "disposition": "mapped",
      "section": "### Common Issues",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 65,
      "text": "| Priority/changefreq used | Info | Can remove (ignored by Google) |",
      "mapped_ids": [
        "sitemap-priority-changefreq"
      ],
      "disposition": "mapped",
      "section": "### Common Issues",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 67,
      "text": "### Extension sitemaps (image / video / news)",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 69,
      "text": "Google documents three subtypes with their own rules, validate per-subtype:",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 70,
      "text": "- **Image** (`http://www.google.com/schemas/sitemap-image/1.1`): only two valid",
      "mapped_ids": [
        "sitemap-image-namespace",
        "sitemap-image-per-url-cap",
        "sitemap-image-legacy-tags"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 71,
      "text": "  tags remain, `<image:image>` and `<image:loc>` (max **1,000** `<image:image>`",
      "mapped_ids": [
        "sitemap-image-per-url-cap",
        "sitemap-image-url-access",
        "sitemap-news-entry-cap",
        "sitemap-image-namespace",
        "sitemap-image-legacy-tags"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 72,
      "text": "  per `<url>`). `<image:caption>`/`<image:geo_location>`/`<image:title>`/",
      "mapped_ids": [
        "sitemap-image-legacy-tags",
        "sitemap-image-namespace",
        "sitemap-image-per-url-cap"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 73,
      "text": " `<image:license>` were deprecated (2022), flag as info-level removable.",
      "mapped_ids": [
        "sitemap-image-namespace",
        "sitemap-image-per-url-cap",
        "sitemap-image-legacy-tags"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 74,
      "text": "- **Video**: required `<video:video>` with `<video:thumbnail_loc>`,",
      "mapped_ids": [
        "sitemap-video-required-metadata",
        "sitemap-video-media-location",
        "sitemap-video-format-options",
        "sitemap-video-legacy-tags"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 75,
      "text": "  `<video:title>`, `<video:description>`, plus `<video:content_loc>` or",
      "mapped_ids": [
        "sitemap-video-media-location",
        "sitemap-video-required-metadata",
        "sitemap-video-format-options",
        "sitemap-video-legacy-tags"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 76,
      "text": "  `<video:player_loc>`; mRSS also supported. Flag deprecated/removed tags",
      "mapped_ids": [
        "sitemap-video-format-options",
        "sitemap-video-required-metadata",
        "sitemap-video-media-location",
        "sitemap-video-legacy-tags"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 77,
      "text": "  (`<video:category>`, `<video:gallery_loc>`, `<video:price>`, `<video:tvshow>`,",
      "mapped_ids": [
        "sitemap-video-required-metadata",
        "sitemap-video-media-location",
        "sitemap-video-format-options",
        "sitemap-video-legacy-tags"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 78,
      "text": "  player autoplay/allow_embed) as info-level removable; recheck Google docs before citing a removal date.",
      "mapped_ids": [
        "sitemap-video-legacy-tags",
        "sitemap-video-required-metadata",
        "sitemap-video-media-location",
        "sitemap-video-format-options"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 79,
      "text": "- **News**: max **1,000** `<news:news>` per file (not 50,000); include only",
      "mapped_ids": [
        "sitemap-news-entry-cap",
        "sitemap-news-freshness",
        "sitemap-news-publication-identity",
        "sitemap-news-date-title",
        "sitemap-news-discovery-not-approval"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 80,
      "text": "  articles from the **last 2 days**; required `<news:publication>`/`<news:name>`/",
      "mapped_ids": [
        "sitemap-news-freshness",
        "sitemap-news-publication-identity",
        "sitemap-news-entry-cap",
        "sitemap-news-date-title",
        "sitemap-news-discovery-not-approval"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 81,
      "text": "  `<news:language>`/`<news:publication_date>`/`<news:title>`; submit/discover through",
      "mapped_ids": [
        "sitemap-news-date-title",
        "sitemap-news-entry-cap",
        "sitemap-news-freshness",
        "sitemap-news-publication-identity",
        "sitemap-news-discovery-not-approval"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 82,
      "text": "  Search Console or robots.txt/sitemap index; use Publisher Center only for",
      "mapped_ids": [
        "sitemap-news-discovery-not-approval",
        "sitemap-news-entry-cap",
        "sitemap-news-freshness",
        "sitemap-news-publication-identity",
        "sitemap-news-date-title"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 83,
      "text": "  publication management where relevant. When the `news:` namespace is detected, override the generic",
      "mapped_ids": [
        "sitemap-h04",
        "sitemap-news-entry-cap",
        "sitemap-news-freshness",
        "sitemap-news-publication-identity",
        "sitemap-news-date-title",
        "sitemap-news-discovery-not-approval"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 84,
      "text": "  50k check with the 1,000 cap.",
      "mapped_ids": [
        "sitemap-news-entry-cap",
        "sitemap-news-freshness",
        "sitemap-news-publication-identity",
        "sitemap-news-date-title",
        "sitemap-news-discovery-not-approval"
      ],
      "disposition": "mapped",
      "section": "### Extension sitemaps (image / video / news)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 86,
      "text": "## Mode 2: Generate New Sitemap",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Mode 2: Generate New Sitemap",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 88,
      "text": "### Process",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Process",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 89,
      "text": "1. Ask for business type (or auto-detect from existing site)",
      "mapped_ids": [
        "workflow-sitemap-03",
        "workflow-sitemap-04"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 90,
      "text": "2. Load industry template from `../seo-plan/assets/` directory",
      "mapped_ids": [
        "workflow-sitemap-03",
        "workflow-sitemap-04"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 91,
      "text": "3. Interactive structure planning with user",
      "mapped_ids": [
        "workflow-sitemap-04",
        "workflow-sitemap-03"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 92,
      "text": "4. Apply quality gates:",
      "mapped_ids": [
        "sitemap-location-threshold-review"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 93,
      "text": "   - ⚠️ WARNING at 30+ location pages (require 60%+ unique content)",
      "mapped_ids": [
        "sitemap-location-threshold-review"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 94,
      "text": "   - 🛑 HARD STOP at 50+ location pages (require justification)",
      "mapped_ids": [
        "sitemap-h06",
        "sitemap-location-threshold-review"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 95,
      "text": "5. Generate valid XML output",
      "mapped_ids": [
        "sitemap-xml-structure"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 96,
      "text": "6. Split at whichever comes first: 50,000 URLs or 50MB uncompressed, with sitemap index",
      "mapped_ids": [
        "sitemap-split-first-limit",
        "sitemap-index-file-structure"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 97,
      "text": "7. Generate STRUCTURE.md documentation",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### Process",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 99,
      "text": "### Safe Programmatic Pages (OK at scale)",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Safe Programmatic Pages (OK at scale)",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 100,
      "text": "✅ Integration pages (with real setup docs)",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Safe Programmatic Pages (OK at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 101,
      "text": "✅ Template/tool pages (with downloadable content)",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Safe Programmatic Pages (OK at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 102,
      "text": "✅ Glossary pages (200+ word definitions)",
      "mapped_ids": [
        "sitemap-h05",
        "tech-index-content-not-word-gate",
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Safe Programmatic Pages (OK at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 103,
      "text": "✅ Product pages (unique specs, reviews)",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Safe Programmatic Pages (OK at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 104,
      "text": "✅ User profile pages (user-generated content)",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Safe Programmatic Pages (OK at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 106,
      "text": "### Penalty Risk (avoid at scale)",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Penalty Risk (avoid at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 107,
      "text": "❌ Location pages with only city name swapped",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Penalty Risk (avoid at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 108,
      "text": "❌ \"Best [tool] for [industry]\" without industry-specific value",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Penalty Risk (avoid at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 109,
      "text": "❌ \"[Competitor] alternative\" without real comparison data",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Penalty Risk (avoid at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 110,
      "text": "❌ AI-generated pages without human review and unique value",
      "mapped_ids": [
        "sitemap-generation-real-pages"
      ],
      "disposition": "mapped",
      "section": "### Penalty Risk (avoid at scale)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 112,
      "text": "## Sitemap Format",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Sitemap Format",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 114,
      "text": "### Standard Sitemap",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 115,
      "text": "```xml",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 116,
      "text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 117,
      "text": "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 118,
      "text": "  <url>",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 119,
      "text": "    <loc>https://example.com/page</loc>",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 120,
      "text": "    <lastmod>2026-02-07</lastmod>",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 121,
      "text": "  </url>",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 122,
      "text": "</urlset>",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 123,
      "text": "```",
      "mapped_ids": [
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Standard Sitemap",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 125,
      "text": "### Sitemap Index (for >50k URLs)",
      "mapped_ids": [
        "sitemap-index-lastmod-scope",
        "sitemap-xml-structure",
        "sitemap-lastmod-format"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 126,
      "text": "```xml",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 127,
      "text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 128,
      "text": "<sitemapindex xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 129,
      "text": "  <sitemap>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 130,
      "text": "    <loc>https://example.com/sitemap-pages.xml</loc>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 131,
      "text": "    <lastmod>2026-02-07</lastmod>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 132,
      "text": "  </sitemap>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 133,
      "text": "  <sitemap>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 134,
      "text": "    <loc>https://example.com/sitemap-posts.xml</loc>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 135,
      "text": "    <lastmod>2026-02-07</lastmod>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 136,
      "text": "  </sitemap>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 137,
      "text": "</sitemapindex>",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 138,
      "text": "```",
      "mapped_ids": [
        "sitemap-index-file-structure",
        "sitemap-index-lastmod-scope"
      ],
      "disposition": "mapped",
      "section": "### Sitemap Index (for >50k URLs)",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 140,
      "text": "## Error Handling",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Error Handling",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 142,
      "text": "- **URL unreachable**: Report the HTTP status code and suggest checking if the site is live",
      "mapped_ids": [
        "workflow-sitemap-06"
      ],
      "disposition": "mapped",
      "section": "## Error Handling",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 143,
      "text": "- **No sitemap found**: Run `sitemap_discovery.py` and report \"not found\" only",
      "mapped_ids": [
        "workflow-sitemap-09"
      ],
      "disposition": "mapped",
      "section": "## Error Handling",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 144,
      "text": "  when its `found` list is empty after declared and common candidates are checked",
      "mapped_ids": [
        "workflow-sitemap-09"
      ],
      "disposition": "mapped",
      "section": "## Error Handling",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 145,
      "text": "- **Invalid XML format**: Report specific parsing errors with line numbers",
      "mapped_ids": [
        "workflow-sitemap-07"
      ],
      "disposition": "mapped",
      "section": "## Error Handling",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 146,
      "text": "- **Rate limiting detected**: Back off and report partial results with a note about retry timing",
      "mapped_ids": [
        "workflow-sitemap-08"
      ],
      "disposition": "mapped",
      "section": "## Error Handling",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 148,
      "text": "## Output",
      "mapped_ids": [],
      "disposition": "metadata_heading_or_tool_example",
      "section": "## Output",
      "rationale": "已审阅为元数据、标题、表头、格式标记或工具调用示例，非独立SEO要求。"
    },
    {
      "line": 150,
      "text": "### For Analysis",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Analysis",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 151,
      "text": "- `VALIDATION-REPORT.md`: analysis results",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Analysis",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 152,
      "text": "- Issues list with severity",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Analysis",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 153,
      "text": "- Recommendations",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Analysis",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 155,
      "text": "### For Generation",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Generation",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 156,
      "text": "- `sitemap.xml` (or split files with index)",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Generation",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 157,
      "text": "- `STRUCTURE.md`: site architecture documentation",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Generation",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    },
    {
      "line": 158,
      "text": "- URL count and organization summary",
      "mapped_ids": [
        "workflow-sitemap-05"
      ],
      "disposition": "mapped",
      "section": "### For Generation",
      "rationale": "映射规则或流程；源行只做出处，不按行增计规则。"
    }
  ],
  "summary": {
    "nonempty_lines": 133,
    "mapped_lines": 101,
    "context_only_lines": 32,
    "unresolved_lines": [],
    "reference_scope": "模板只作为结构规划参考，不将模板中的其他SEO/schema/内容门槛扩进本批。每个未直接映射源行保留原文和所属章节。"
  }
}