on-page
Run a fast technical + on-page SEO check and ship structural fixes (SSR HTML, indexability, title, H1, direct lead, Q&A H2s, HTML table, site focus, AI citation readiness). Use when the user asks for /on-page, an on-page check, on-page SEO, or a combined technical and on-page page audit.
How do I install this agent skill?
npx skills add https://github.com/illyism/seo-skills --skill on-pageIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill audits and modifies website source code for SEO. It fetches external HTML for analysis and runs local build commands. It can modify local source code and execute build commands on the host, so review changes before committing.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 2 issues
What does this agent skill do?
On-page & technical SEO check
Audit one page, route, template, or MDX post for technical and on-page SEO, then ship the structural fixes directly.
Short rule: SSR HTML -> Title -> H1 -> Direct Lead -> Q&A H2s -> HTML <table>.
What actually moves clicks (top findings)
- Structural upgrades win; cosmetic tweaks do nothing. In controlled before/after diffs across live sites, structural edits (query-aligned H2s + real HTML
<table>+ scannable Q&A blocks) delivered+92.8%clicks (p < 0.0005), and real body expansion (+30+words) delivered+41.2%clicks (p = 0.006). Light cosmetic edits (<30words, no structure change) delivered-5.4%(zero lift). Median Googlebot recrawl is1day. - One editorial layout wins across Google AND AI search. Across Google AI Overviews, Google AI Mode, ChatGPT, and Perplexity, cited articles share the same blueprint: real HTML
<table>(58%-75%), Q&A<h2>s (68%-85%), and thorough topic depth. - Site focus multiplies authority (
Q* x siteFocusScore). Domain authority fires when the homepage and<nav>stay tightly focused on one vertical. Off-topic stubs and spider traps dilute the whole site. - Skip low-ROI busywork. Do not spam
FAQPageJSON-LD on every page (visible Q&A blocks help AI extraction without extra schema), and do not spend cycles onhreflanggymnastics (0ranking lift across EU markets; clean ccTLD or/de/,/fr/,/nl/locale paths matter instead).
1. Technical gate (fix first)
Nothing on-page counts if crawlers cannot render or index the page cleanly:
- SSR HTML: Core copy,
<h1>,<h2>s, pricing, and<table>s must render in initial server HTML (no client-only empty shell or<Suspense fallback={null}>hiding main content). - SSR
<nav>& popovers: Top navigation links (including hover/popover/mega-menu items) must render as real<a href>tags in initial SSR HTML (never click-only portals,onClickhandlers, or JS viewport checks that unmount desktop<nav>on mobile; use CSS visibility/breakpoints instead). Verify withcurl -s <url> | rg '<target-path>'. - HTTP & canonical: Returns
200, self-referencing canonical URL, no accidentalnoindex, and no multi-hop redirect chains (1-hop301max). - Bot & AI crawler access: Public pages allow
Googlebot,Bingbot(feeds ChatGPT web search),OAI-SearchBot, andPerplexityBotinrobots.txtwithout accidental WAF blocks. - Locale & mobile: Non-US pages use a ccTLD or clean locale prefix (
/de/,/fr/,/es/,/nl/) with no forced IP/language auto-redirect blocking bots. Zero horizontal overflow on 375px mobile (mobile fires2xmore AI Overviews than desktop). - Crawl hygiene:
410ornoindexthin stubs, off-topic pages, and?paramspider traps that drag down site focus.
2. On-page checklist (Title -> H1 -> Lead -> H2s -> Table)
Check every item against the primary search query:
<title>(40-55 chars): Primary query near the front + concrete modifier (year, price, count, or benefit). Unique per URL. (Chainseo-title-optimizationfor bulk title work.)<h1>(exactly one): Matches the primary query and<title>. Never put stray#H1 headings inside MDX bodies (demote body#to##).- Lead (first 80-120 words): Answer the query directly in plain language before backstory or fluff. (Chain
introfor lead patterns.) <h2>s (query-aligned & Q&A): Turn vague headings (Overview,Details,Conclusion) into real buyer questions and sub-intents (What is X?,How much does X cost?,X vs Y,How to ...). Promote core<h3>sections to<h2>.- HTML
<table>(at least one real<table>): Replace<dl>lists or card grids of specs, pricing, tiers, rules, or tool comparisons with a semantic SSR<table>(<caption>,<thead>,<th scope="col|row">, real numbers) placed in the upper half of the page. - Visible Q&A section: Add concise visible answers to 3-5 top buyer objections if the page lacks a FAQ block. Keep answers factual and grounded in verified product/source data.
- Sitewide
<nav>vs. footer: Keep core buyer-noun money pages (Products, Solutions, Features, key Tools/Templates) at click-depth 1 in<header><nav>with clean anchor text, strip off-topic ornoindexURLs from<nav>so they do not dilutesiteFocusScore/siteRadius, and park secondary/vs/*or long-tail links in the SSR<footer>without reusing identical anchor text across competing URLs. - Internal links & off-page hook: Link to related hub/comparison pages with descriptive anchors. If the page also needs backlinks, prioritize contextual dofollow placements on pages with real organic traffic (
traffic > 0) pointing straight to this URL (5.5xstronger than raw Domain DR, and the top link predictor for ChatGPT citations).
Workflow
- Inspect first: Read the target route/component/MDX file and live HTML. When Google Search Console is connected (via the
google-search-consoleskill /https://linkdr.com/mcp), calllinkdr_query_my_gscfor this URL first to see real impressions, CTR, average position, and top queries before rewriting. Do not guess whether a table or H2 already exists inside a child component. - Score Technical + On-Page: Produce a tight pass/fail scorecard (max 10 rows).
- Skip cosmetic churn: If the page already passes every structural and technical check, say so and stop. Do not make <30-word wording tweaks just to touch the file.
- Ship the real fix: Apply technical + structural upgrades (
title,h1, lead,h2s, SSR<table>, visible Q&A), never fabricate stats or prices, and avoid em dashes. - Verify: Run the repo's lint/typecheck/build gate (
bun run checkor equivalent) before returning.
Output format
Return a compact scorecard followed by the shipped diff summary:
| Check | Status | Action |
| --- | --- | --- |
| SSR HTML & indexability | PASS / FIX | ... |
| Title & single H1 | PASS / FIX | ... |
| 120w direct lead | PASS / FIX | ... |
| Query-aligned / Q&A H2s | PASS / FIX | ... |
| Semantic HTML `<table>` | PASS / FIX | ... |
| Visible Q&A & site focus | PASS / FIX | ... |
Keep notes brief. End with exact files changed and verification output.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/illyism/seo-skills/on-page">View on-page on skillZs</a>