Skip to content
Back to skills

Public Pages

ASecurity

For public pages: SEO (meta tags, canonical URL, Open Graph, JSON-LD, robots.txt, sitemap, hreflang), real status codes, stable URLs and redirects, Googlebot's 2 MB limit, noindex for staging and preview, consent for cookies and tracking, legal pages, account deletion, a support channel, WCAG 2.2 AA, and Core Web Vitals. Load when building public pages, tracking, or consent flows.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentjavascriptgojavaperformance

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add the-up/ai --skill public-pages --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Public Pages?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Public Pages
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/the-up-public-pages/badge)](https://www.skillsdirectory.com/skills/the-up-public-pages)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: public-pages
description: "For public pages: SEO (meta tags, canonical URL, Open Graph, JSON-LD, robots.txt, sitemap, hreflang), real status codes, stable URLs and redirects, Googlebot's 2 MB limit, noindex for staging and preview, consent for cookies and tracking, legal pages, account deletion, a support channel, WCAG 2.2 AA, and Core Web Vitals. Load when building public pages, tracking, or consent flows."
---

# Public Pages

- If the project has public pages, cover: a unique `title` and meta description, a canonical URL, Open Graph and X (Twitter) card tags, structured data (JSON-LD), `robots.txt`, `sitemap.xml`, and `hreflang` if the site is multilingual.
- Render these tags and the main content on the server; keep them accessible without JavaScript.
- Return real status codes: a 404 for content that doesn't exist and a permanent redirect for a URL that moved, not a "not found" page with a 200.
- Keep URLs, redirects, and aliases stable once people and crawlers use them. Clean up malformed incoming URLs, such as trailing punctuation, parameters glued onto a query, or characters that chat apps add around a link, with rules that have tests.
- Keep each page within what search engines read: Googlebot reads only the first 2 MB of an HTML file, counted uncompressed, so trim what repeats on long pages and leave out of the crawler's document what only matters once the page's JavaScript runs.
- Make staging and preview environments `noindex`.
- Don't run non-essential cookies, scripts, or client-side or server-side tracking events without the user's consent. Rejecting must be as easy as accepting; save the choice and let the user change it later. Use Consent Mode for Google tags and App Tracking Transparency for tracking on iOS.
- Make the required legal pages accessible (privacy policy, KVKK privacy notice, cookie policy, terms of use, and the terms of sale and returns for e-commerce). Don't write legal text yourself; ask the user for the approved text.
- In products where users create accounts, provide a way to delete the account and its data (required by KVKK/GDPR, the App Store, and Google Play).
- In user-facing products, provide a support channel (contact, help page); on error screens, show a request ID that the support team can find in the logs.
- Target WCAG 2.2 AA for accessibility and Core Web Vitals for performance, as the [Web Performance](../web-performance/SKILL.md) rules describe.
- Add meta, Open Graph, cookie consent, and accessibility checks to the e2e tests; verify that no tracking request is sent before consent is given.

Sources: [Googlebot](https://developers.google.com/search/docs/crawling-indexing/googlebot), Google Search Central; [Rebuilding the global town square from scratch](https://blog.x.com/en/engineering/rebuilding-the-global-town-square-from-scratch), X Engineering, 2026-11-04.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.