On-page SEO fundamentals an agent can apply while generating HTML pages: title tags, meta descriptions, heading hierarchy, semantic markup, canonical URLs, sitemaps, Open Graph tags, and what NOT to do (keyword stuffing, cloaking, bought links). Triggers on: make this page SEO-friendly, SEO checklist, optimize page for search, title tag, meta description, Open Graph, sitemap.
./install.sh seo-basicsname: "seo_basics" description: "On-page SEO fundamentals an agent can apply while generating HTML pages: title tags, meta descriptions, heading hierarchy, semantic markup, canonical URLs, sitemaps, Open Graph tags, and what NOT to do (keyword stuffing, cloaking, bought links). Triggers on: make this page SEO-friendly, SEO checklist, optimize page for search, title tag, meta description, Open Graph, sitemap." metadata: { "includeInPrompt": true }
Give an agent the on-page fundamentals to bake into every HTML page it generates: the tags, structure, and metadata that make a page legible to search crawlers, plus the anti-patterns that actively hurt. Scoped to what the agent controls — its own pages. Nothing here promises rankings or traffic: those are decided by search engines, not by this checklist.
<head>. Aim for under ~60 characters with the page's core topic early — titles get truncated in results, and front-loading keeps the topic visible. Every page gets a unique title; duplicate titles across pages waste the strongest on-page signal you own.<h1> per page, then nest downward. The <h1> states the page's topic (it may match the title but needn't repeat it verbatim). Use <h2> for sections, <h3> for subsections; don't skip levels (<h1> straight to <h3>). No heading may be used purely for styling — headings are structure, not font sizes.<main>, <article>, <header>, <nav>, <footer> where they fit. Give every informative <img> a real alt description (decorative images get alt=""). Keep the primary content in the HTML itself — anything a crawler can only reach via heavy client-side rendering may be seen late or incompletely.http/https variants) should declare its preferred address: <link rel="canonical" href="https://example.com/page/">. When the page is canonical, point it at itself. This is a hint, not a command — search engines may still choose a different canonical — but it resolves most duplicate-content cases.html
<head>
<meta charset="utf-8">
<title>WidgetCo — Stainless Bottle Capper (2026)</title>
<meta name="description" content="Cap glass bottles by hand with the WidgetCo Stainless Bottle Capper. Rust-proof, one-hand operation, ships free.">
<link rel="canonical" href="https://widgetco.example/bottle-capper/">
<meta property="og:title" content="WidgetCo — Stainless Bottle Capper (2026)">
<meta property="og:description" content="Rust-proof, one-hand bottle capper. Ships free.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://widgetco.example/bottle-capper/">
<meta property="og:image" content="https://widgetco.example/img/bottle-capper-1200.jpg">
<meta name="twitter:card" content="summary_large_image">
</head>
sitemap.xml at the site root listing every canonical page URL with its last-modified date is enough; reference it from robots.txt (Sitemap: https://example.com/sitemap.xml). It helps crawlers discover pages — it does not make them rank.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://widgetco.example/bottle-capper/</loc>
<lastmod>2026-09-20</lastmod>
</url>
</urlset>
After applying this skill, a generated page should contain:
<head> with a unique <title> (~60 chars or fewer, topic front-loaded), one unique meta[name="description"] (~140–160 chars), and a self-referencing rel="canonical".<h1>; <h2>/<h3> nested without skipped levels; no heading used for styling alone.<main>, <header>, <nav>, <footer> as applicable) and meaningful alt text on informative images.og:title, og:description, og:url, og:image) plus a Twitter card tag, so shares render correctly.sitemap.xml listing canonical URLs and a robots.txt that references it (do not block real pages in robots.txt by accident — Disallow: / applies to the whole site).<link rel="canonical"> is a strong suggestion to the crawler, not an enforcement mechanism. Don't build flows that assume the engine will obey it.publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e
No ratings yet — be the first to rate it.