[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D1YSM1BFPQZ21VCDEY80QM":3,"skill-same:01M6D1YSM1BFPQZ21VCDEY80QM":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":46,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6D1YSM1BFPQZ21VCDEY80QM","frontend-seo",null,"Making public pages findable and shareable: HTML crawlers can read, titles and descriptions, canonical URLs, Open Graph and social cards, structured data from real facts, sitemaps and robots, internationalised pages, and speed as a signal. Read before building a public page or site.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Ffrontend-seo\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"frontend seo","seo","frontend","public","pages","structured","speed","social","html","read","before building","page","site","open","data","graph","structured data","2026-11-10 10:12:30",false,"---\nname: frontend-seo\ndescription: \"Making public pages findable and shareable: HTML crawlers can read, titles and descriptions, canonical URLs, Open Graph and social cards, structured data from real facts, sitemaps and robots, internationalised pages, and speed as a signal. Read before building a public page or site.\"\n---\n\n# Findable and shareable pages\n\nThe generated public site renders its content in the browser, so crawlers\nand link previews get an empty shell; every page has the same title; the\n\"not found\" page answers `200`; a fake five-star rating sits in JSON-LD;\nstaging is indexed; and the share card is blank. Search engines and\nsocial apps read HTML and trust honest signals. This is how to give them\nboth. It applies to public pages; the screens behind a sign-in need only\na title each. The whole frontend is in `frontend`.\n\n## 1. Content in the served HTML\n\n- Public pages are static or server-rendered (`frontend`, section 2): the\n  title, description, canonical, social tags, structured data, main text\n  and links are in the HTML the server sends.\n- Google renders JavaScript, but later and within a budget; link previews\n  (Slack, WhatsApp, LinkedIn, Facebook, X), many other search engines and\n  most AI crawlers do not run it at all. A client-rendered page is indexed\n  late or poorly and shares as a blank card.\n- Links are `\u003Ca href=\"\u002Fpath\">`: crawlers follow those, not click handlers,\n  `href=\"#\"` or `javascript:`.\n- Status codes tell the truth: `404` for a missing page (a \"not found\"\n  page with `200` is a soft 404), `410` for removed for good, `301` or\n  `308` for moved, `503` with `Retry-After` for maintenance. An SPA on a\n  static host answers `200` for every path: render public pages on the\n  server, or configure real 404s.\n- Check what a crawler gets: `curl -s \u003Curl>` or view-source, not the\n  DevTools element tree.\n\n## 2. Titles, descriptions, headings\n\n- `\u003Ctitle>` 50 to 60 characters, unique per page, the page's subject\n  first and the brand last: \"Invoice reminders for small agencies |\n  [Brand]\". Search engines rewrite titles that are vague or stuffed.\n- Meta description 120 to 160 characters, specific to the page: what it\n  offers and for whom. It is not a ranking factor, but it is often the\n  snippet people read before they click.\n- One `h1` saying what the page is about, then headings in order.\n- Next.js: `metadata` or `generateMetadata`, with `metadataBase` and a\n  title template in the root layout. Nuxt: `useSeoMeta`. SvelteKit:\n  `\u003Csvelte:head>`. Astro: the layout's `\u003Chead>`, fed by page props. React\n  19 hoists `\u003Ctitle>` and `\u003Cmeta>` rendered anywhere into the head.\n\n```ts\n\u002F\u002F app\u002Flayout.tsx\nexport const metadata: Metadata = {\n  metadataBase: new URL(\"https:\u002F\u002Fexample.com\"),\n  title: { default: \"[Brand]\", template: \"%s | [Brand]\" },\n};\n\n\u002F\u002F app\u002Fpricing\u002Fpage.tsx\nexport const metadata: Metadata = {\n  title: \"Pricing\",\n  description: \"[What the plans include and who each is for, 120 to 160 characters]\",\n  alternates: { canonical: \"\u002Fpricing\" },\n};\n```\n\n## 3. One URL per page\n\n- A `\u003Clink rel=\"canonical\">` on every indexable page, absolute, pointing\n  to itself in its preferred form: `https`, the chosen host (with or\n  without `www`), the chosen trailing slash, no tracking parameters.\n- The other forms redirect to it with `301` or `308` in one hop; internal\n  links point at the final URL. Next.js `redirects()` with `permanent:\n  true` sends `308`, which search engines treat like `301`.\n- A moved page keeps its redirect for at least a year, ideally for good.\n- Parameters that do not change the content (`utm_*`, `gclid`, `ref`)\n  canonicalise to the clean URL; session ids never appear in URLs.\n- Readable, stable URLs: lowercase, words joined by hyphens\n  (`\u002Fguides\u002Fsending-invoices`), no file extensions, no dates or ids unless\n  they mean something. Change a slug only with a redirect.\n\n## 4. robots.txt and noindex\n\n- `robots.txt` controls crawling, not indexing, and anyone can read it:\n  it is never a security control, and listing secret paths in it\n  advertises them.\n- A URL blocked in `robots.txt` can still be indexed from links, without\n  its content. To keep a page out of results, let it be crawled and send\n  `noindex`; a page both blocked and `noindex` is never seen saying\n  `noindex`.\n- `noindex` (`\u003Cmeta name=\"robots\" content=\"noindex\">`, or the\n  `X-Robots-Tag: noindex` header for PDFs and whole environments) on\n  staging and preview deployments (behind a password as well), internal\n  search results, carts and accounts, thank-you pages, and thin filter\n  combinations.\n- Never block CSS or JavaScript: Google needs them to render the page.\n- Whether to admit AI crawlers is the owner's call; ask. Each has a\n  user agent to name: `GPTBot`, `ClaudeBot`, `CCBot`, and `Google-Extended`\n  (a token for Gemini training, separate from Search).\n\n```text\nUser-agent: *\nDisallow: \u002Fapi\u002F\nDisallow: \u002Fsearch\n\nSitemap: https:\u002F\u002Fexample.com\u002Fsitemap.xml\n```\n\n## 5. Sitemaps\n\n- Only canonical, indexable URLs that answer `200`: nothing redirected,\n  `noindex`ed or blocked.\n- `lastmod` set to when the content really changed; search engines ignore\n  it once it proves unreliable, and Google ignores `changefreq` and\n  `priority` altogether.\n- At most 50,000 URLs or 50 MB uncompressed per file; beyond that, a\n  sitemap index.\n- Generated from the routes and content, never written by hand: Next's\n  `app\u002Fsitemap.ts`, `@astrojs\u002Fsitemap`, `@nuxtjs\u002Fsitemap`, a SvelteKit\n  `sitemap.xml\u002F+server.ts` endpoint. Listed in `robots.txt` and submitted\n  in Google Search Console and Bing Webmaster Tools.\n\n## 6. Open Graph and social cards\n\n- `og:title`, `og:description`, `og:url` (the canonical), `og:type`\n  (`website` or `article`), `og:site_name`, `og:image` as an absolute\n  `https` URL of 1200 by 630px with `og:image:alt`, and `twitter:card` set\n  to `summary_large_image`; X reads the `og:` tags for the rest.\n\n```html\n\u003Cmeta property=\"og:title\" content=\"[Page title, without the brand suffix]\">\n\u003Cmeta property=\"og:description\" content=\"[One specific sentence about this page]\">\n\u003Cmeta property=\"og:url\" content=\"https:\u002F\u002Fexample.com\u002Ffeatures\u002Freminders\">\n\u003Cmeta property=\"og:type\" content=\"website\">\n\u003Cmeta property=\"og:image\" content=\"https:\u002F\u002Fexample.com\u002Fog\u002Freminders.png\">\n\u003Cmeta property=\"og:image:width\" content=\"1200\">\n\u003Cmeta property=\"og:image:height\" content=\"630\">\n\u003Cmeta property=\"og:image:alt\" content=\"[What the image shows]\">\n\u003Cmeta name=\"twitter:card\" content=\"summary_large_image\">\n```\n\n- An image per page where it helps (articles, products, docs): Next's\n  `opengraph-image.tsx` with `ImageResponse` from `next\u002Fog`, or Satori with\n  resvg elsewhere. The page's title large, the brand small, text kept to\n  the middle (some apps crop to a square), readable when shown small; under\n  about 1 MB.\n- Platforms cache cards for days: Facebook's Sharing Debugger and\n  LinkedIn's Post Inspector fetch them again; a changed image gets a new\n  URL.\n\n## 7. Structured data from real facts\n\n- JSON-LD in a `\u003Cscript type=\"application\u002Fld+json\">`, describing only what\n  is visible on the page and true. Misleading markup can earn a manual\n  action and loses rich results.\n\n| Type | For | Needs |\n|---|---|---|\n| `Organization` | the home page | `name`, `url`, `logo`, `sameAs` (official profiles) |\n| `WebSite` | the home page | `name` (the site name shown in results), `url` |\n| `BreadcrumbList` | pages under a hierarchy | each crumb's `name`, `item`, `position` |\n| `Article`, `BlogPosting` | articles | `headline`, `datePublished`, `dateModified`, `author` (a `Person` with `name` and `url`), `image` |\n| `Product` with `Offer` | product pages | `name`, `image`, real `price`, `priceCurrency`, `availability` |\n| `LocalBusiness` (or a subtype) | a real business | `name`, `address`, `telephone`, real `openingHoursSpecification`, `geo` |\n| `FAQPage` | only when the questions and answers are on the page | each `Question` and `acceptedAnswer` |\n\n- Never: invented ratings or reviews, `aggregateRating` without real\n  reviews shown on the page, review stars for your own business (Google\n  ignores self-serving reviews for `LocalBusiness` and `Organization`), or\n  facts the business did not give you (`writing`).\n- Retired features need no markup: the sitelinks search box (2024), and\n  FAQ rich results outside well-known government and health sites (2023).\n- In a React tree, escape `\u003C` so a value cannot close the script tag\n  (`frontend-security`):\n\n```tsx\n\u003Cscript type=\"application\u002Fld+json\"\n  dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd).replace(\u002F\u003C\u002Fg, \"\\\\u003c\") }} \u002F>\n```\n\n- Validate with Google's Rich Results Test and the Schema Markup Validator\n  (validator.schema.org).\n\n## 8. Lists, filters and pagination\n\n- Paginated lists: each page has its own URL (`?page=2`) with a canonical\n  to itself, not to page 1, and plain `\u003Ca href>` links between pages.\n  Google has ignored `rel=\"next\"` and `rel=\"prev\"` since 2019.\n- Infinite scroll is backed by those paginated URLs, so crawlers can reach\n  every item (`frontend-data`).\n- Filters and facets: choose the few combinations worth a landing page\n  (`\u002Fshoes\u002Fwomen`, with its own title and text), and keep the rest out\n  with a canonical to the main list or `noindex`. On a large catalogue,\n  disallow the filter parameters in `robots.txt` instead, and then do not\n  expect their canonical or `noindex` to be read.\n- Internal links with descriptive text (\"pricing for agencies\", never\n  \"click here\"); every indexable page reachable within a few clicks, not\n  only from search or the sitemap; breadcrumbs on deep pages.\n\n## 9. Languages and regions\n\n- One URL per language (`\u002Fen\u002Fpricing`, `\u002Fid\u002Fharga`, or subdomains), never\n  a language chosen by cookie or `Accept-Language` at one URL: crawlers\n  mostly send neither. `\u003Chtml lang>` matches the page (`i18n`).\n- `hreflang` alternates on every version, listing every version including\n  itself, plus `x-default`; codes are ISO 639-1 languages with optional\n  ISO 3166-1 regions (`en-GB`, `pt-BR`; never `en-UK`), and the links are\n  reciprocal.\n\n```html\n\u003Clink rel=\"alternate\" hreflang=\"en\" href=\"https:\u002F\u002Fexample.com\u002Fen\u002Fpricing\">\n\u003Clink rel=\"alternate\" hreflang=\"id\" href=\"https:\u002F\u002Fexample.com\u002Fid\u002Fharga\">\n\u003Clink rel=\"alternate\" hreflang=\"x-default\" href=\"https:\u002F\u002Fexample.com\u002Fen\u002Fpricing\">\n```\n\n- No automatic redirect by IP or browser language: suggest the other\n  version in a banner instead.\n\n## 10. Images, speed, mobile\n\n- Images: `alt` text for people (`frontend-accessibility`), descriptive\n  file names (`kopi-susu-250ml.avif`, not `IMG_4032.avif`), `width` and\n  `height`, content images as `\u003Cimg>` rather than CSS backgrounds.\n- Core Web Vitals count as a page experience signal, small next to\n  relevance; fast pages mostly win on the people who stay\n  (`frontend-performance`).\n- Mobile-first indexing: the phone version is the one indexed, so it\n  carries the same content, links, metadata and structured data as the\n  desktop one; `\u003Cmeta name=\"viewport\" content=\"width=device-width,\n  initial-scale=1\">`.\n\n## Check it\n\n- Build, serve the production output (started and stopped in one command,\n  as `backend` section 7 shows), and read it as a crawler does:\n\n```sh\ncurl -s http:\u002F\u002Flocalhost:3000\u002Fpricing | grep -iE '\u003Ctitle>|name=\"description\"|rel=\"canonical\"|og:|ld\\+json'\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" http:\u002F\u002Flocalhost:3000\u002Fno-such-page   # 404\ncurl -sI http:\u002F\u002Flocalhost:3000\u002Fold-pricing | grep -iE \"^(HTTP|location)\"      # 301 or 308, one hop\n```\n\n- Titles and descriptions unique across the sitemap (a crawl with\n  Screaming Frog, free up to 500 URLs, or a script over `sitemap.xml`).\n- Rich Results Test for each template with structured data; the sharing\n  debuggers for a card; Search Console's URL Inspection (live test) for\n  the rendered HTML and indexing status.\n- Staging answers with `noindex`; production does not.\n- `preview`: one `h1`, images with alt text, no dead links.\n\n## Avoid\n\nPublic content rendered only in the browser; one title for every page; a\n\"not found\" page answering `200`; canonicals to page 1 from every page;\n`noindex` on a page also blocked in `robots.txt`; secrets listed in\n`robots.txt`; staging left indexable; invented ratings, reviews or facts\nin structured data; FAQ markup for questions not on the page; keyword\nstuffing, hidden text, doorway pages, or content shown only to crawlers;\nautomatic redirects by language; a sitemap full of redirects.\n","# Findable and shareable pages\n\nThe generated public site renders its content in the browser, so crawlers\nand link previews get an empty shell; every page has the same title; the\n\"not found\" page answers `200`; a fake five-star rating sits in JSON-LD;\nstaging is indexed; and the share card is blank. Search engines and\nsocial apps read HTML and trust honest signals. This is how to give them\nboth. It applies to public pages; the screens behind a sign-in need only\na title each. The whole frontend is in `frontend`.\n\n## 1. Content in the served HTML\n\n- Public pages are static or server-rendered (`frontend`, section 2): the\n  title, description, canonical, social tags, structured data, main text\n  and links are in the HTML the server sends.\n- Google renders JavaScript, but later and within a budget; link previews\n  (Slack, WhatsApp, LinkedIn, Facebook, X), many other search engines and\n  most AI crawlers do not run it at all. A client-rendered page is indexed\n  late or poorly and shares as a blank card.\n- Links are `\u003Ca href=\"\u002Fpath\">`: crawlers follow those, not click handlers,\n  `href=\"#\"` or `javascript:`.\n- Status codes tell the truth: `404` for a missing page (a \"not found\"\n  page with `200` is a soft 404), `410` for removed for good, `301` or\n  `308` for moved, `503` with `Retry-After` for maintenance. An SPA on a\n  static host answers `200` for every path: render public pages on the\n  server, or configure real 404s.\n- Check what a crawler gets: `curl -s \u003Curl>` or view-source, not the\n  DevTools element tree.\n\n## 2. Titles, descriptions, headings\n\n- `\u003Ctitle>` 50 to 60 characters, unique per page, the page's subject\n  first and the brand last: \"Invoice reminders for small agencies |\n  [Brand]\". Search engines rewrite titles that are vague or stuffed.\n- Meta description 120 to 160 characters, specific to the page: what it\n  offers and for whom. It is not a ranking factor, but it is often the\n  snippet people read before they click.\n- One `h1` saying what the page is about, then headings in order.\n- Next.js: `metadata` or `generateMetadata`, with `metadataBase` and a\n  title template in the root layout. Nuxt: `useSeoMeta`. SvelteKit:\n  `\u003Csvelte:head>`. Astro: the layout's `\u003Chead>`, fed by page props. React\n  19 hoists `\u003Ctitle>` and `\u003Cmeta>` rendered anywhere into the head.\n\n```ts\n\u002F\u002F app\u002Flayout.tsx\nexport const metadata: Metadata = {\n  metadataBase: new URL(\"https:\u002F\u002Fexample.com\"),\n  title: { default: \"[Brand]\", template: \"%s | [Brand]\" },\n};\n\n\u002F\u002F app\u002Fpricing\u002Fpage.tsx\nexport const metadata: Metadata = {\n  title: \"Pricing\",\n  description: \"[What the plans include and who each is for, 120 to 160 characters]\",\n  alternates: { canonical: \"\u002Fpricing\" },\n};\n```\n\n## 3. One URL per page\n\n- A `\u003Clink rel=\"canonical\">` on every indexable page, absolute, pointing\n  to itself in its preferred form: `https`, the chosen host (with or\n  without `www`), the chosen trailing slash, no tracking parameters.\n- The other forms redirect to it with `301` or `308` in one hop; internal\n  links point at the final URL. Next.js `redirects()` with `permanent:\n  true` sends `308`, which search engines treat like `301`.\n- A moved page keeps its redirect for at least a year, ideally for good.\n- Parameters that do not change the content (`utm_*`, `gclid`, `ref`)\n  canonicalise to the clean URL; session ids never appear in URLs.\n- Readable, stable URLs: lowercase, words joined by hyphens\n  (`\u002Fguides\u002Fsending-invoices`), no file extensions, no dates or ids unless\n  they mean something. Change a slug only with a redirect.\n\n## 4. robots.txt and noindex\n\n- `robots.txt` controls crawling, not indexing, and anyone can read it:\n  it is never a security control, and listing secret paths in it\n  advertises them.\n- A URL blocked in `robots.txt` can still be indexed from links, without\n  its content. To keep a page out of results, let it be crawled and send\n  `noindex`; a page both blocked and `noindex` is never seen saying\n  `noindex`.\n- `noindex` (`\u003Cmeta name=\"robots\" content=\"noindex\">`, or the\n  `X-Robots-Tag: noindex` header for PDFs and whole environments) on\n  staging and preview deployments (behind a password as well), internal\n  search results, carts and accounts, thank-you pages, and thin filter\n  combinations.\n- Never block CSS or JavaScript: Google needs them to render the page.\n- Whether to admit AI crawlers is the owner's call; ask. Each has a\n  user agent to name: `GPTBot`, `ClaudeBot`, `CCBot`, and `Google-Extended`\n  (a token for Gemini training, separate from Search).\n\n```text\nUser-agent: *\nDisallow: \u002Fapi\u002F\nDisallow: \u002Fsearch\n\nSitemap: https:\u002F\u002Fexample.com\u002Fsitemap.xml\n```\n\n## 5. Sitemaps\n\n- Only canonical, indexable URLs that answer `200`: nothing redirected,\n  `noindex`ed or blocked.\n- `lastmod` set to when the content really changed; search engines ignore\n  it once it proves unreliable, and Google ignores `changefreq` and\n  `priority` altogether.\n- At most 50,000 URLs or 50 MB uncompressed per file; beyond that, a\n  sitemap index.\n- Generated from the routes and content, never written by hand: Next's\n  `app\u002Fsitemap.ts`, `@astrojs\u002Fsitemap`, `@nuxtjs\u002Fsitemap`, a SvelteKit\n  `sitemap.xml\u002F+server.ts` endpoint. Listed in `robots.txt` and submitted\n  in Google Search Console and Bing Webmaster Tools.\n\n## 6. Open Graph and social cards\n\n- `og:title`, `og:description`, `og:url` (the canonical), `og:type`\n  (`website` or `article`), `og:site_name`, `og:image` as an absolute\n  `https` URL of 1200 by 630px with `og:image:alt`, and `twitter:card` set\n  to `summary_large_image`; X reads the `og:` tags for the rest.\n\n```html\n\u003Cmeta property=\"og:title\" content=\"[Page title, without the brand suffix]\">\n\u003Cmeta property=\"og:description\" content=\"[One specific sentence about this page]\">\n\u003Cmeta property=\"og:url\" content=\"https:\u002F\u002Fexample.com\u002Ffeatures\u002Freminders\">\n\u003Cmeta property=\"og:type\" content=\"website\">\n\u003Cmeta property=\"og:image\" content=\"https:\u002F\u002Fexample.com\u002Fog\u002Freminders.png\">\n\u003Cmeta property=\"og:image:width\" content=\"1200\">\n\u003Cmeta property=\"og:image:height\" content=\"630\">\n\u003Cmeta property=\"og:image:alt\" content=\"[What the image shows]\">\n\u003Cmeta name=\"twitter:card\" content=\"summary_large_image\">\n```\n\n- An image per page where it helps (articles, products, docs): Next's\n  `opengraph-image.tsx` with `ImageResponse` from `next\u002Fog`, or Satori with\n  resvg elsewhere. The page's title large, the brand small, text kept to\n  the middle (some apps crop to a square), readable when shown small; under\n  about 1 MB.\n- Platforms cache cards for days: Facebook's Sharing Debugger and\n  LinkedIn's Post Inspector fetch them again; a changed image gets a new\n  URL.\n\n## 7. Structured data from real facts\n\n- JSON-LD in a `\u003Cscript type=\"application\u002Fld+json\">`, describing only what\n  is visible on the page and true. Misleading markup can earn a manual\n  action and loses rich results.\n\n| Type | For | Needs |\n|---|---|---|\n| `Organization` | the home page | `name`, `url`, `logo`, `sameAs` (official profiles) |\n| `WebSite` | the home page | `name` (the site name shown in results), `url` |\n| `BreadcrumbList` | pages under a hierarchy | each crumb's `name`, `item`, `position` |\n| `Article`, `BlogPosting` | articles | `headline`, `datePublished`, `dateModified`, `author` (a `Person` with `name` and `url`), `image` |\n| `Product` with `Offer` | product pages | `name`, `image`, real `price`, `priceCurrency`, `availability` |\n| `LocalBusiness` (or a subtype) | a real business | `name`, `address`, `telephone`, real `openingHoursSpecification`, `geo` |\n| `FAQPage` | only when the questions and answers are on the page | each `Question` and `acceptedAnswer` |\n\n- Never: invented ratings or reviews, `aggregateRating` without real\n  reviews shown on the page, review stars for your own business (Google\n  ignores self-serving reviews for `LocalBusiness` and `Organization`), or\n  facts the business did not give you (`writing`).\n- Retired features need no markup: the sitelinks search box (2024), and\n  FAQ rich results outside well-known government and health sites (2023).\n- In a React tree, escape `\u003C` so a value cannot close the script tag\n  (`frontend-security`):\n\n```tsx\n\u003Cscript type=\"application\u002Fld+json\"\n  dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd).replace(\u002F\u003C\u002Fg, \"\\\\u003c\") }} \u002F>\n```\n\n- Validate with Google's Rich Results Test and the Schema Markup Validator\n  (validator.schema.org).\n\n## 8. Lists, filters and pagination\n\n- Paginated lists: each page has its own URL (`?page=2`) with a canonical\n  to itself, not to page 1, and plain `\u003Ca href>` links between pages.\n  Google has ignored `rel=\"next\"` and `rel=\"prev\"` since 2019.\n- Infinite scroll is backed by those paginated URLs, so crawlers can reach\n  every item (`frontend-data`).\n- Filters and facets: choose the few combinations worth a landing page\n  (`\u002Fshoes\u002Fwomen`, with its own title and text), and keep the rest out\n  with a canonical to the main list or `noindex`. On a large catalogue,\n  disallow the filter parameters in `robots.txt` instead, and then do not\n  expect their canonical or `noindex` to be read.\n- Internal links with descriptive text (\"pricing for agencies\", never\n  \"click here\"); every indexable page reachable within a few clicks, not\n  only from search or the sitemap; breadcrumbs on deep pages.\n\n## 9. Languages and regions\n\n- One URL per language (`\u002Fen\u002Fpricing`, `\u002Fid\u002Fharga`, or subdomains), never\n  a language chosen by cookie or `Accept-Language` at one URL: crawlers\n  mostly send neither. `\u003Chtml lang>` matches the page (`i18n`).\n- `hreflang` alternates on every version, listing every version including\n  itself, plus `x-default`; codes are ISO 639-1 languages with optional\n  ISO 3166-1 regions (`en-GB`, `pt-BR`; never `en-UK`), and the links are\n  reciprocal.\n\n```html\n\u003Clink rel=\"alternate\" hreflang=\"en\" href=\"https:\u002F\u002Fexample.com\u002Fen\u002Fpricing\">\n\u003Clink rel=\"alternate\" hreflang=\"id\" href=\"https:\u002F\u002Fexample.com\u002Fid\u002Fharga\">\n\u003Clink rel=\"alternate\" hreflang=\"x-default\" href=\"https:\u002F\u002Fexample.com\u002Fen\u002Fpricing\">\n```\n\n- No automatic redirect by IP or browser language: suggest the other\n  version in a banner instead.\n\n## 10. Images, speed, mobile\n\n- Images: `alt` text for people (`frontend-accessibility`), descriptive\n  file names (`kopi-susu-250ml.avif`, not `IMG_4032.avif`), `width` and\n  `height`, content images as `\u003Cimg>` rather than CSS backgrounds.\n- Core Web Vitals count as a page experience signal, small next to\n  relevance; fast pages mostly win on the people who stay\n  (`frontend-performance`).\n- Mobile-first indexing: the phone version is the one indexed, so it\n  carries the same content, links, metadata and structured data as the\n  desktop one; `\u003Cmeta name=\"viewport\" content=\"width=device-width,\n  initial-scale=1\">`.\n\n## Check it\n\n- Build, serve the production output (started and stopped in one command,\n  as `backend` section 7 shows), and read it as a crawler does:\n\n```sh\ncurl -s http:\u002F\u002Flocalhost:3000\u002Fpricing | grep -iE '\u003Ctitle>|name=\"description\"|rel=\"canonical\"|og:|ld\\+json'\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" http:\u002F\u002Flocalhost:3000\u002Fno-such-page   # 404\ncurl -sI http:\u002F\u002Flocalhost:3000\u002Fold-pricing | grep -iE \"^(HTTP|location)\"      # 301 or 308, one hop\n```\n\n- Titles and descriptions unique across the sitemap (a crawl with\n  Screaming Frog, free up to 500 URLs, or a script over `sitemap.xml`).\n- Rich Results Test for each template with structured data; the sharing\n  debuggers for a card; Search Console's URL Inspection (live test) for\n  the rendered HTML and indexing status.\n- Staging answers with `noindex`; production does not.\n- `preview`: one `h1`, images with alt text, no dead links.\n\n## Avoid\n\nPublic content rendered only in the browser; one title for every page; a\n\"not found\" page answering `200`; canonicals to page 1 from every page;\n`noindex` on a page also blocked in `robots.txt`; secrets listed in\n`robots.txt`; staging left indexable; invented ratings, reviews or facts\nin structured data; FAQ markup for questions not on the page; keyword\nstuffing, hidden text, doorway pages, or content shown only to crawlers;\nautomatic redirects by language; a sitemap full of redirects.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Ffrontend-seo",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add enowdev\u002Fenowxcli --skill frontend-seo",{"tool":56,"command":57},"bunx","bunx skills add enowdev\u002Fenowxcli --skill frontend-seo",{"tool":59,"command":60},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill frontend-seo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Ffrontend-seo\u002FSKILL.md",true,[64,70,74,78,82,86],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fdatasets.md","REFERENCE","参考文档",5468,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fbiology\u002Fpyhealth\u002Freferences\u002Fdatasets.md",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fmedical_coding.md",8476,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fbiology\u002Fpyhealth\u002Freferences\u002Fmedical_coding.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fmodels.md",13776,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fbiology\u002Fpyhealth\u002Freferences\u002Fmodels.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fpreprocessing.md",14388,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fbiology\u002Fpyhealth\u002Freferences\u002Fpreprocessing.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Ftasks.md",11404,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fbiology\u002Fpyhealth\u002Freferences\u002Ftasks.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Ftraining_evaluation.md",16982,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fbiology\u002Fpyhealth\u002Freferences\u002Ftraining_evaluation.md",[91,102,118,130,151,170],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":36},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[98,99,100,101,28],"demo skill","demo","tests","project",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":36},"01M6D2HM0GCPM0TM2HPG9HHR2R","writing","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[],[104,109,110,111,112,113,28,30,114,115,116,117],"text","emails","empty","drop","document","voice","notifications","documentation","translate",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":36},"01M6D2HG07YS49NM196Q0R3AZ8","ui","Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[],[120,125,126,127,128,30,129,28,29],"icons","components","SET","responsive","layout",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":36},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[],[120,137,138,139,140,141,142,143,144,28,29,145,30,146,147,148,125,149,150],"ui themes","switching","photos","tokens","drawing","focus","maps","Art","flash","code","Charts","content","screenshots","logo",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":36},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[],[158,120,159,126,160,161,146,162,163,164,129,140,165,166,167,28,29,30,168,169],"structure","ui structure","pricing","dashboard","Blueprint","article","anatomy","styling","primitives","list","why","how",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":36},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[],[120,177,178,179,180,23,181,182,129,101,183,184,28,185,186,187,188,189,190,191],"vue","stack","ui stack vue","forms","watch","runtime","transitions","fetch","pinia","nuxt","template","server","config","directory","testing"]