已验证的 AgentReady.md 证书
签发于 sig: 41003a0249b72358 验证 →

已分析URL

https://www.generaloptica.es/es/

测量于3小时前

分析另一个URL

AI-Ready评分

不合格

/ 100

Token节省量

HTML Token 12.059
Markdown Token 70
节省 99%

评分详情

可访问性 31/100
AI可发现性 35/100
结构化数据 10/100
语义化HTML 40/100
内容效率 65/100

新兴协议

已检测到 0/6

AI代理查找的well-known端点。检测到意味着代理可以自动发现并连接到您的服务。

  • OAuth Protected Resource RFC 9728
    /.well-known/oauth-protected-resource
  • OAuth Discovery RFC 8414
    /.well-known/oauth-authorization-server
  • MCP Server Card SEP-1649 draft
    /.well-known/mcp/server-card.json
  • A2A Agent Card A2A v1.0
    /.well-known/agent-card.json
  • API Catalog RFC 9727
    /.well-known/api-catalog
  • Agent Skills index Discovery RFC v0.2.0 draft
    /.well-known/agent-skills/index.json

分数不会自己保持不变。 监控功能尚未上线——加入名单,上线时通知你。

您已加入名单!服务上线时我们会通知您。

我们测到的 Content requires JavaScript rendering

您的页面需要JavaScript来渲染内容。大多数AI代理不执行JavaScript,因此看到的是空白页面。

如何实施

使用服务器端渲染(SSR)或静态站点生成(SSG),确保初始HTML响应中内容可用。

粘贴到编码智能体中让它完成修复

我们测到的 Main content starts at 82% of HTML

主要内容出现在HTML文档的后部。AI代理可能对较早出现的内容赋予更高权重。

如何实施

重构HTML,使<main>或<article>内容出现在侧边栏和补充内容之前。

粘贴到编码智能体中让它完成修复

我们测到的 No JSON-LD / Schema.org found

未找到Schema.org结构化数据。JSON-LD帮助AI代理从页面中提取基于事实的结构化信息。

如何实施

添加包含Schema.org标记的<script type="application/ld+json">块。使用适当的类型:博客文章用Article,产品页面用Product,公司页面用Organization。

粘贴到编码智能体中让它完成修复

我们测到的 No Markdown for Agents support detected

您的网站不支持Markdown for Agents。此Cloudflare标准允许AI代理以markdown格式请求内容,减少约80%的令牌使用。

如何实施

实现以下一项或多项:(1) 使用markdown内容响应Accept: text/markdown。(2) 提供.md URL(例如/page.md)。(3) 添加<link rel="alternate" type="text/markdown">标签。(4) 添加Link HTTP标头用于markdown发现。

粘贴到编码智能体中让它完成修复

我们测到的 0/3 OG tags present

Open Graph标签缺失或不完整。OG标签帮助AI代理(和社交平台)理解页面的标题、描述和图片。

如何实施

在页面<head>中添加og:title、og:description和og:image meta标签。

粘贴到编码智能体中让它完成修复

我们测到的 No meta description

未找到meta描述。此标签为AI代理和搜索引擎提供页面的简洁摘要。

如何实施

添加包含150-160字符页面内容描述的<meta name="description" content="...">标签。

粘贴到编码智能体中让它完成修复

我们测到的 Missing <article> and <main> elements

您的页面未使用<article>或<main>元素。这些语义容器帮助AI代理识别主要内容区域,忽略导航、侧边栏和页脚。

如何实施

在页面主要内容周围添加<main>元素,并对博客文章或产品描述等独立内容块使用<article>。

粘贴到编码智能体中让它完成修复

我们测到的 No sitemap found

未找到站点地图。站点地图帮助AI代理发现网站上的所有页面。

如何实施

创建列出所有公开页面的/sitemap.xml。大多数CMS平台可以自动生成。

粘贴到编码智能体中让它完成修复

我们测到的 No canonical URL

未找到规范URL。它帮助AI代理识别页面的首选版本并避免重复内容。

如何实施

添加指向页面规范URL的<link rel="canonical" href="...">标签。

粘贴到编码智能体中让它完成修复

我们测到的 0 semantic elements, 20 divs (ratio: 0%)

您的页面大量依赖<div>元素。<section>、<nav>、<header>、<footer>和<aside>等语义元素为AI代理提供有意义的结构。

如何实施

将通用<div>容器替换为适当的语义元素。对主题分组使用<section>,导航使用<nav>,页面/区块的头部和底部使用<header>/<footer>。

粘贴到编码智能体中让它完成修复
Markdown Token: 70
![Ícono para www.generaloptica.es](https://www.generaloptica.es/favicon.ico)

## www.generaloptica.es

## Verificación de seguridad en curso

Este sitio web utiliza un servicio de seguridad para protegerse contra bots maliciosos. Esta página se muestra mientras el sitio web verifica que tú no eres un bot.
Un momento…

![Ícono para www.generaloptica.es](https://www.generaloptica.es/favicon.ico)# www.generaloptica.es

## Verificación de seguridad en curso

Este sitio web utiliza un servicio de seguridad para protegerse contra bots maliciosos. Esta página se muestra mientras el sitio web verifica que tú no eres un bot.

## Verificación correcta. Esperando a que www.generaloptica.es responda

Ray ID: `a301ba35df610775`

Rendimiento y seguridad de [Cloudflare](https://www.cloudflare.com/?utm_source=challenge&utm_campaign=j)[Privacidad](https://www.cloudflare.com/es-es/privacypolicy/)

将此文件上传到服务器的/es.md,以便AI代理可以访问页面的干净版本。您也可以配置Accept: text/markdown内容协商以自动提供。

为此单页生成的llms.txt

下载llms.txt
# generaloptica.es

## Main
- [Un momento…](https://www.generaloptica.es/es/)

完整llms.txt需要全域分析(即将推出)

将此文件上传到域名根目录的https://www.generaloptica.es/llms.txt。ChatGPT、Claude和Perplexity等AI代理会检查此文件以了解您的网站结构。

可访问性

无需JavaScript即可获取内容 (20/100)

Content requires JavaScript rendering

内容在HTML中位置靠前 (0/100)

Main content starts at 82% of HTML

合理的页面大小 (100/100)

Page size: 26KB

AI可发现性

robots.txt允许AI机器人 (100/100)

No robots.txt — AI bots allowed by default

Markdown for Agents支持 (0/100)
&#10007; Accept: text/markdown &#10007; .md URL &#10007; <link> tag &#10007; Link header
有sitemap.xml (0/100)

No sitemap found

有robots.txt文件 (0/100)

No robots.txt found

有llms.txt文件 (0/100)

No llms.txt found

有Content-Signal(robots.txt或HTTP标头) (0/100)
&#10003; robots.txt &#10003; HTTP header &#10007; Policy

结构化数据

有Schema.org / JSON-LD (0/100)

No JSON-LD / Schema.org found

有Open Graph标签 (0/100)

0/3 OG tags present

有meta描述 (0/100)

No meta description

有规范URL (0/100)

No canonical URL

有lang属性 (100/100)

lang="en-US"

语义化HTML

正确的标题层级 (100/100)

Clean heading hierarchy

使用article或main元素 (0/100)

Missing <article> and <main> elements

使用语义化HTML元素 (0/100)

0 semantic elements, 20 divs (ratio: 0%)

有意义的图片alt属性 (0/100)

0/1 images with meaningful alt text

较低的div嵌套深度 (100/100)

Avg div depth: 2.6, max: 5

内容效率

良好的Token减少比率 (100/100)

99% token reduction (HTML→Markdown)

良好的内容与噪声比 (0/100)

Content ratio: 0.8% (218 content chars / 26987 HTML bytes)

合理的页面重量 (100/100)

HTML size: 26KB

最少的内联样式 (50/100)

2/47 elements with inline styles (4.3%)

{
  "url": "https://www.generaloptica.es/es/",
  "timestamp": 1787567908525,
  "fetch": {
    "mode": "rendered",
    "timeMs": 2231,
    "htmlSizeBytes": 26987,
    "supportsMarkdown": false,
    "markdownAgents": {
      "contentNegotiation": false,
      "mdUrl": {
        "found": false,
        "url": null
      },
      "linkTag": {
        "found": false,
        "url": null
      },
      "linkHeader": {
        "found": false,
        "url": null
      },
      "responseHeaders": {
        "contentSignal": null,
        "xMarkdownTokens": null,
        "vary": null
      },
      "frontmatter": {
        "present": false,
        "fields": [],
        "level": "none"
      },
      "level": "none"
    },
    "statusCode": 200
  },
  "extraction": {
    "title": "Un momento…",
    "excerpt": "",
    "byline": null,
    "siteName": null,
    "lang": "en-US",
    "contentLength": 218,
    "metadata": {
      "description": null,
      "ogTitle": null,
      "ogDescription": null,
      "ogImage": null,
      "ogType": null,
      "canonical": null,
      "lang": "en-US",
      "schemas": [],
      "robotsMeta": "noindex,nofollow",
      "author": null,
      "generator": null,
      "markdownAlternateHref": null
    }
  },
  "markdown": "![Ícono para www.generaloptica.es](https://www.generaloptica.es/favicon.ico)\n\n## www.generaloptica.es\n\n## Verificación de seguridad en curso\n\nEste sitio web utiliza un servicio de seguridad para protegerse contra bots maliciosos. Esta página se muestra mientras el sitio web verifica que tú no eres un bot.\n",
  "fullPageMarkdown": "Un momento…\n\n![Ícono para www.generaloptica.es](https://www.generaloptica.es/favicon.ico)# www.generaloptica.es\n\n## Verificación de seguridad en curso\n\nEste sitio web utiliza un servicio de seguridad para protegerse contra bots maliciosos. Esta página se muestra mientras el sitio web verifica que tú no eres un bot.\n\n## Verificación correcta. Esperando a que www.generaloptica.es responda\n\nRay ID: `a301ba35df610775`\n\nRendimiento y seguridad de [Cloudflare](https://www.cloudflare.com/?utm_source=challenge&utm_campaign=j)[Privacidad](https://www.cloudflare.com/es-es/privacypolicy/)\n",
  "markdownStats": {
    "images": 1,
    "links": 0,
    "tables": 0,
    "codeBlocks": 0,
    "headings": 2
  },
  "tokens": {
    "htmlTokens": 12059,
    "markdownTokens": 70,
    "reduction": 11989,
    "reductionPercent": 99
  },
  "score": {
    "score": 33,
    "grade": "F",
    "rubricVersion": 2,
    "dimensions": {
      "accessibility": {
        "score": 31,
        "weight": 30,
        "grade": "F",
        "checks": {
          "content_without_js": {
            "score": 20,
            "weight": 55,
            "evidence": "proven",
            "details": "Content requires JavaScript rendering"
          },
          "fast_content_position": {
            "score": 0,
            "weight": 25,
            "evidence": "plausible",
            "details": "Main content starts at 82% of HTML"
          },
          "reasonable_page_size": {
            "score": 100,
            "weight": 20,
            "evidence": "plausible",
            "details": "Page size: 26KB"
          }
        }
      },
      "aiDiscoverability": {
        "score": 35,
        "weight": 25,
        "grade": "F",
        "checks": {
          "robots_allows_ai_bots": {
            "score": 100,
            "weight": 35,
            "evidence": "proven",
            "details": "No robots.txt — AI bots allowed by default"
          },
          "supports_markdown_negotiation": {
            "score": 0,
            "weight": 20,
            "evidence": "plausible",
            "details": "No Markdown for Agents support detected"
          },
          "has_sitemap": {
            "score": 0,
            "weight": 15,
            "evidence": "plausible",
            "details": "No sitemap found"
          },
          "has_robots_txt": {
            "score": 0,
            "weight": 10,
            "evidence": "plausible",
            "details": "No robots.txt found"
          },
          "has_llms_txt": {
            "score": 0,
            "weight": 10,
            "evidence": "speculative",
            "details": "No llms.txt found"
          },
          "has_content_signals": {
            "score": 0,
            "weight": 10,
            "evidence": "speculative",
            "details": "No Content-Signal found (robots.txt or HTTP headers)"
          }
        }
      },
      "structuredData": {
        "score": 10,
        "weight": 20,
        "grade": "F",
        "checks": {
          "has_schema_org": {
            "score": 0,
            "weight": 35,
            "evidence": "proven",
            "details": "No JSON-LD / Schema.org found"
          },
          "has_open_graph": {
            "score": 0,
            "weight": 20,
            "evidence": "plausible",
            "details": "0/3 OG tags present"
          },
          "has_meta_description": {
            "score": 0,
            "weight": 20,
            "evidence": "plausible",
            "details": "No meta description"
          },
          "has_canonical_url": {
            "score": 0,
            "weight": 15,
            "evidence": "plausible",
            "details": "No canonical URL"
          },
          "has_lang_attribute": {
            "score": 100,
            "weight": 10,
            "evidence": "plausible",
            "details": "lang=\"en-US\""
          }
        }
      },
      "semanticHtml": {
        "score": 40,
        "weight": 15,
        "grade": "D",
        "checks": {
          "proper_heading_hierarchy": {
            "score": 100,
            "weight": 30,
            "evidence": "plausible",
            "details": "Clean heading hierarchy"
          },
          "uses_article_or_main": {
            "score": 0,
            "weight": 25,
            "evidence": "plausible",
            "details": "Missing <article> and <main> elements"
          },
          "semantic_elements": {
            "score": 0,
            "weight": 20,
            "evidence": "plausible",
            "details": "0 semantic elements, 20 divs (ratio: 0%)"
          },
          "meaningful_alt_texts": {
            "score": 0,
            "weight": 15,
            "evidence": "plausible",
            "details": "0/1 images with meaningful alt text"
          },
          "low_div_nesting": {
            "score": 100,
            "weight": 10,
            "evidence": "speculative",
            "details": "Avg div depth: 2.6, max: 5"
          }
        }
      },
      "contentEfficiency": {
        "score": 65,
        "weight": 10,
        "grade": "C",
        "checks": {
          "token_reduction_ratio": {
            "score": 100,
            "weight": 40,
            "evidence": "speculative",
            "details": "99% token reduction (HTML→Markdown)"
          },
          "content_to_noise_ratio": {
            "score": 0,
            "weight": 30,
            "evidence": "speculative",
            "details": "Content ratio: 0.8% (218 content chars / 26987 HTML bytes)"
          },
          "reasonable_page_weight": {
            "score": 100,
            "weight": 20,
            "evidence": "speculative",
            "details": "HTML size: 26KB"
          },
          "minimal_inline_styles": {
            "score": 50,
            "weight": 10,
            "evidence": "speculative",
            "details": "2/47 elements with inline styles (4.3%)"
          }
        }
      }
    }
  },
  "recommendations": [
    {
      "id": "provide_content_without_js",
      "priority": "critical",
      "category": "accessibility",
      "titleKey": "rec.provide_content_without_js.title",
      "descriptionKey": "rec.provide_content_without_js.description",
      "howToKey": "rec.provide_content_without_js.howto",
      "effort": "significant",
      "estimatedImpact": 13.2,
      "maxImpact": 16.5,
      "evidence": "proven",
      "checkScore": 20,
      "checkDetails": "Content requires JavaScript rendering"
    },
    {
      "id": "move_content_earlier",
      "priority": "critical",
      "category": "accessibility",
      "titleKey": "rec.move_content_earlier.title",
      "descriptionKey": "rec.move_content_earlier.description",
      "howToKey": "rec.move_content_earlier.howto",
      "effort": "moderate",
      "estimatedImpact": 7.5,
      "maxImpact": 7.5,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "Main content starts at 82% of HTML"
    },
    {
      "id": "add_schema_org",
      "priority": "critical",
      "category": "structuredData",
      "titleKey": "rec.add_schema_org.title",
      "descriptionKey": "rec.add_schema_org.description",
      "howToKey": "rec.add_schema_org.howto",
      "effort": "moderate",
      "estimatedImpact": 7,
      "maxImpact": 7,
      "evidence": "proven",
      "checkScore": 0,
      "checkDetails": "No JSON-LD / Schema.org found"
    },
    {
      "id": "add_markdown_negotiation",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_markdown_negotiation.title",
      "descriptionKey": "rec.add_markdown_negotiation.description",
      "howToKey": "rec.add_markdown_negotiation.howto",
      "effort": "significant",
      "estimatedImpact": 5,
      "maxImpact": 5,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "No Markdown for Agents support detected"
    },
    {
      "id": "add_open_graph",
      "priority": "high",
      "category": "structuredData",
      "titleKey": "rec.add_open_graph.title",
      "descriptionKey": "rec.add_open_graph.description",
      "howToKey": "rec.add_open_graph.howto",
      "effort": "quick-win",
      "estimatedImpact": 4,
      "maxImpact": 4,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "0/3 OG tags present"
    },
    {
      "id": "add_meta_description",
      "priority": "high",
      "category": "structuredData",
      "titleKey": "rec.add_meta_description.title",
      "descriptionKey": "rec.add_meta_description.description",
      "howToKey": "rec.add_meta_description.howto",
      "effort": "quick-win",
      "estimatedImpact": 4,
      "maxImpact": 4,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "No meta description"
    },
    {
      "id": "add_article_main",
      "priority": "high",
      "category": "semanticHtml",
      "titleKey": "rec.add_article_main.title",
      "descriptionKey": "rec.add_article_main.description",
      "howToKey": "rec.add_article_main.howto",
      "effort": "quick-win",
      "estimatedImpact": 3.8,
      "maxImpact": 3.8,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "Missing <article> and <main> elements"
    },
    {
      "id": "add_sitemap",
      "priority": "high",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_sitemap.title",
      "descriptionKey": "rec.add_sitemap.description",
      "howToKey": "rec.add_sitemap.howto",
      "effort": "quick-win",
      "estimatedImpact": 3.8,
      "maxImpact": 3.8,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "No sitemap found"
    },
    {
      "id": "add_canonical_url",
      "priority": "high",
      "category": "structuredData",
      "titleKey": "rec.add_canonical_url.title",
      "descriptionKey": "rec.add_canonical_url.description",
      "howToKey": "rec.add_canonical_url.howto",
      "effort": "quick-win",
      "estimatedImpact": 3,
      "maxImpact": 3,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "No canonical URL"
    },
    {
      "id": "add_semantic_elements",
      "priority": "high",
      "category": "semanticHtml",
      "titleKey": "rec.add_semantic_elements.title",
      "descriptionKey": "rec.add_semantic_elements.description",
      "howToKey": "rec.add_semantic_elements.howto",
      "effort": "moderate",
      "estimatedImpact": 3,
      "maxImpact": 3,
      "evidence": "plausible",
      "checkScore": 0,
      "checkDetails": "0 semantic elements, 20 divs (ratio: 0%)"
    }
  ],
  "llmsTxtPreview": "# generaloptica.es\n\n## Main\n- [Un momento…](https://www.generaloptica.es/es/)\n\n",
  "llmsTxtExisting": null,
  "emergingProtocols": {
    "oauthProtectedResource": {
      "exists": false,
      "url": "https://www.generaloptica.es/.well-known/oauth-protected-resource"
    },
    "oauthDiscovery": {
      "exists": false,
      "url": "https://www.generaloptica.es/.well-known/oauth-authorization-server"
    },
    "mcpServerCard": {
      "exists": false,
      "url": "https://www.generaloptica.es/.well-known/mcp/server-card.json",
      "draft": true
    },
    "a2aAgentCard": {
      "exists": false,
      "url": "https://www.generaloptica.es/.well-known/agent-card.json"
    },
    "apiCatalog": {
      "exists": false,
      "url": "https://www.generaloptica.es/.well-known/api-catalog"
    },
    "agentSkills": {
      "exists": false,
      "url": "https://www.generaloptica.es/.well-known/agent-skills/index.json",
      "draft": true
    },
    "count": 0,
    "total": 6
  },
  "botAccess": {
    "probed": true,
    "bot": "OAI-SearchBot",
    "controlStatus": 403,
    "botStatus": 403,
    "discriminates": false,
    "refusedAsBot": false,
    "edge": "Cloudflare",
    "verifiable": false,
    "detail": "This origin answers OAI-SearchBot exactly as it answers any other client (403). No edge-level filtering of AI crawlers observed."
  },
  "snippets": [
    {
      "id": "add_open_graph",
      "title": "Add missing Open Graph tags",
      "description": "Open Graph tags control how your page looks when shared on social media and how AI platforms preview your URL in answers.",
      "language": "html",
      "code": "<meta property=\"og:title\" content=\"Un momento…\">\n<meta property=\"og:description\" content=\"Page description.\">\n<meta property=\"og:image\" content=\"https://yoursite.com/og-image.jpg\">\n<meta property=\"og:url\" content=\"https://www.generaloptica.es/es/\">\n<meta property=\"og:type\" content=\"website\">",
      "filename": "<head>",
      "stacks": [
        {
          "id": "html",
          "label": "HTML <head>",
          "language": "html",
          "filename": "<head>",
          "code": "<meta property=\"og:title\" content=\"Un momento…\">\n<meta property=\"og:description\" content=\"Page description.\">\n<meta property=\"og:image\" content=\"https://yoursite.com/og-image.jpg\">\n<meta property=\"og:url\" content=\"https://www.generaloptica.es/es/\">\n<meta property=\"og:type\" content=\"website\">"
        },
        {
          "id": "wordpress",
          "label": "WordPress",
          "language": "php",
          "filename": "functions.php",
          "code": "<?php\n// Quick Open Graph tags without a plugin (skip if Yoast / Rank Math is active)\nadd_action('wp_head', function () {\n    if (!is_singular()) return;\n    $post = get_queried_object();\n    $title = get_the_title($post);\n    $desc  = get_the_excerpt($post) ?: wp_trim_words(strip_tags($post->post_content), 30);\n    $image = get_the_post_thumbnail_url($post, 'large') ?: 'https://yoursite.com/og-image.jpg';\n    $url   = get_permalink($post);\n    printf('<meta property=\"og:title\" content=\"%s\">' . \"\\n\", esc_attr($title));\n    printf('<meta property=\"og:description\" content=\"%s\">' . \"\\n\", esc_attr($desc));\n    printf('<meta property=\"og:image\" content=\"%s\">' . \"\\n\", esc_url($image));\n    printf('<meta property=\"og:url\" content=\"%s\">' . \"\\n\", esc_url($url));\n    echo '<meta property=\"og:type\" content=\"article\">' . \"\\n\";\n}, 5);"
        },
        {
          "id": "nextjs",
          "label": "Next.js",
          "language": "typescript",
          "filename": "app/page.tsx",
          "code": "// Next.js App Router — Metadata API\nimport type { Metadata } from 'next';\n\nexport const metadata: Metadata = {\n  title: \"Un momento…\",\n  description: \"Page description.\",\n  openGraph: {\n    title: \"Un momento…\",\n    description: \"Page description.\",\n    url: \"https://www.generaloptica.es/es/\",\n    images: [\"https://yoursite.com/og-image.jpg\"],\n    type: 'website',\n  },\n};"
        }
      ]
    },
    {
      "id": "add_meta_description",
      "title": "Add meta description",
      "description": "A good meta description (50-160 characters) helps AI agents understand your page quickly.",
      "language": "html",
      "code": "<meta name=\"description\" content=\"Un momento…\">",
      "filename": "<head>"
    },
    {
      "id": "add_canonical_url",
      "title": "Add canonical URL",
      "description": "The canonical URL tells AI agents which version of the page is the \"official\" one, avoiding duplicate content issues.",
      "language": "html",
      "code": "<link rel=\"canonical\" href=\"https://www.generaloptica.es/es/\">",
      "filename": "<head>"
    },
    {
      "id": "add_schema_org",
      "title": "Add Schema.org JSON-LD",
      "description": "Structured data helps AI agents understand the type, author, and purpose of your content.",
      "language": "html",
      "code": "<script type=\"application/ld+json\">\n{\n  \"@context\": \"https://schema.org\",\n  \"@type\": \"WebPage\",\n  \"name\": \"Un momento…\",\n  \"description\": \"Page description.\",\n  \"url\": \"https://www.generaloptica.es/es/\",\n  \"inLanguage\": \"en-US\"\n}\n</script>",
      "filename": "<head>"
    },
    {
      "id": "add_sitemap",
      "title": "Create /sitemap.xml",
      "description": "A sitemap helps AI agents discover all your pages. Most CMS platforms generate one automatically.",
      "language": "xml",
      "code": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url>\n    <loc>https://www.generaloptica.es/es/</loc>\n    <lastmod>2026-08-24</lastmod>\n  </url>\n</urlset>",
      "filename": "/sitemap.xml"
    },
    {
      "id": "add_article_main",
      "title": "Wrap content in <main> and <article>",
      "description": "Semantic HTML landmarks help AI agents identify the main content of your page.",
      "language": "html",
      "code": "<main>\n  <article>\n    <h1>Your Page Title</h1>\n    <p>Your content here...</p>\n  </article>\n</main>",
      "filename": "<body>"
    },
    {
      "id": "add_markdown_negotiation",
      "title": "Support Markdown for Agents",
      "description": "Let AI agents request a clean Markdown version of any page via content negotiation, .md alternate URLs, link tags or Link headers.",
      "language": "html",
      "code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">",
      "filename": "<head>",
      "stacks": [
        {
          "id": "html",
          "label": "HTML <head>",
          "language": "html",
          "filename": "<head>",
          "code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
        },
        {
          "id": "express",
          "label": "Express",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Mechanisms 1 + 4: content negotiation + Link header\napp.get('/page', (req, res) => {\n  res.setHeader('Vary', 'Accept');\n  res.setHeader('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n  if ((req.headers.accept || '').includes('text/markdown')) {\n    res.type('text/markdown; charset=utf-8');\n    return res.send(renderMarkdown('page'));\n  }\n  res.render('page');\n});"
        },
        {
          "id": "fastify",
          "label": "Fastify",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Mechanisms 1 + 4: content negotiation + Link header\nfastify.get('/page', async (req, reply) => {\n  reply.header('Vary', 'Accept');\n  reply.header('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n  if ((req.headers.accept || '').includes('text/markdown')) {\n    return reply.type('text/markdown; charset=utf-8').send(renderMarkdown('page'));\n  }\n  return reply.view('/page.ejs');\n});"
        },
        {
          "id": "nextjs",
          "label": "Next.js",
          "language": "typescript",
          "filename": "app/page/route.ts",
          "code": "// Next.js App Router — Route Handler returning Markdown\nimport { NextRequest } from 'next/server';\nimport { renderMarkdown } from '@/lib/md';\nexport async function GET(req: NextRequest) {\n  const accept = req.headers.get('accept') || '';\n  if (accept.includes('text/markdown')) {\n    return new Response(await renderMarkdown('page'), {\n      headers: {\n        'Content-Type': 'text/markdown; charset=utf-8',\n        'Vary': 'Accept',\n      },\n    });\n  }\n  // Fall through to the page component\n  return new Response(null, { status: 404 });\n}"
        },
        {
          "id": "wordpress",
          "label": "WordPress",
          "language": "php",
          "filename": "functions.php",
          "code": "<?php\n// Mechanism 1: respond to Accept: text/markdown on the same URL\nadd_action('template_redirect', function () {\n    if (!is_singular()) return;\n    $accept = $_SERVER['HTTP_ACCEPT'] ?? '';\n    if (strpos($accept, 'text/markdown') === false) return;\n    header('Content-Type: text/markdown; charset=utf-8');\n    header('Vary: Accept');\n    $post = get_queried_object();\n    echo \"# \" . get_the_title($post) . \"\\n\\n\";\n    echo wp_strip_all_tags(apply_filters('the_content', $post->post_content));\n    exit;\n});"
        },
        {
          "id": "static",
          "label": "Hugo / Jekyll / Astro",
          "language": "txt",
          "filename": "static/page.md",
          "code": "# Mechanism 2: serve .md alongside .html\n# Hugo: place page.md in /static/ — built unchanged\n# Jekyll: drop page.md in /assets/ — copied as-is\n# Astro: src/pages/page.md.ts that exports a GET returning markdown\n\n# Then advertise with mechanism 3 in <head>:\n#   <link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
        }
      ]
    }
  ]
}

使用我们的API以编程方式获取此内容(即将推出)

此JSON供内部使用 — 与Markdown和llms.txt文件不同,它不适合上传到您的网站。将其保存为基准值以跟踪评分变化,与开发团队共享,或集成到CI/CD流水线中。

想听听第二种意见?

Cloudflare 也提供免费扫描工具,但它问的是另一个问题。他们评分的是你的站点为智能体调用而发布的东西:MCP server card、Agent Skills、API 目录、DNS 记录。我们评分的是智能体能否访问、读取并理解你的内容。一个站点可能在其中一项表现很好、另一项很差,所以看到两个不同的分数很正常:它们是两个不同问题的答案,都值得了解。

用 Cloudflare 扫描 www.generaloptica.es

嵌入您的徽章

将此徽章添加到您的网站。当您的 AI 就绪评分发生变化时,它会自动更新。

AgentReady.md score for www.generaloptica.es
Script 推荐
<script src="https://agentready.md/badge.js" data-id="864f0774-ab2d-4ddf-a1fd-b48c0dc32db7" data-domain="www.generaloptica.es"></script>
Markdown
[![AgentReady.md score for www.generaloptica.es](https://agentready.md/badge/www.generaloptica.es.svg)](https://agentready.md/zh/r/864f0774-ab2d-4ddf-a1fd-b48c0dc32db7)

即将推出:全域分析

爬取您的整个域名,生成llms.txt,并随时间监控您的AI就绪度评分。加入等候名单以获取通知。

您已加入名单!服务上线时我们会通知您。