Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

semantic-html-and-seosemantic HTML AND SEO 搜索

Agent Skill

semantic-html-and-seo 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

689

周安装

29

GitHub Stars

6

下载量

241
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:semantic-html-and-seo(semantic HTML AND SEO 搜索)
来源仓库:https://github.com/dembrandt/dembrandt-skills
仓库路径:skills/semantic-html-and-seo
安装命令:
npx skills add https://github.com/dembrandt/dembrandt-skills --skill semantic-html-and-seo
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dembrandt/dembrandt-skills --skill semantic-html-and-seo

简介

用于查找、检索和筛选相关信息,支持根据关键词快速定位候选结果。

  • 适合在需要任务场景或来源线索进行信息筛选时使用。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加。
  • 注意权限范围和维护状态,确认是否会触发联网、命令执行或文件读写。

SKILL.md

Semantic HTML and SEO

Good HTML is not just markup — it is the contract between your content, search engines, assistive technologies, and the browser. Semantic HTML, correct metadata, and progressive enhancement make UI resilient, findable, and accessible by default.


Semantic HTML5

Use the element that describes the content's meaning, not just its appearance.

Document structure

<header>       <!-- site header, logo, primary nav -->
<nav>          <!-- navigation links -->
<main>         <!-- primary page content, one per page -->
<article>      <!-- self-contained content: blog post, product card, news item -->
<section>      <!-- thematic grouping with a heading -->
<aside>        <!-- tangentially related content: sidebar, callout -->
<footer>       <!-- site footer, secondary links, copyright -->

Headings

One <h1> per page — the primary topic. Headings form an outline: do not skip levels (h1h3 without h2).

<h1>Product name</h1>
  <h2>Features</h2>
    <h3>Feature detail</h3>
  <h2>Pricing</h2>

Interactive elements

<button>   <!-- clickable action, submits or triggers JS -->
<a href>   <!-- navigation to a URL -->
<input>    <!-- user data entry -->
<select>   <!-- option selection -->
<details> / <summary>  <!-- native disclosure/accordion -->

Never use <div> or <span> as interactive elements without full ARIA annotation — and even then, prefer the native element.


Images and Alt Text

Every <img> needs an alt attribute. What goes in it depends on context.

Image typeAlt text
Informative (product photo, chart)Describe content: alt="Red leather sofa, three-seater"
Functional (icon button, logo link)Describe function: alt="Go to homepage"
DecorativeEmpty: alt="" — screen readers skip it
Complex (chart, diagram)Short alt + longer description nearby or in <figcaption>
<!-- Informative -->
<img src="sofa.jpg" alt="Red leather sofa, three-seater">

<!-- Decorative -->
<img src="divider.svg" alt="">

<!-- With caption -->
<figure>
  <img src="chart.png" alt="Bar chart showing revenue growth Q1–Q4 2025">
  <figcaption>Revenue grew 42% year-on-year in Q4 2025.</figcaption>
</figure>

SEO Fundamentals

Title and description

<title>Product Name — Short descriptor | Brand</title>
<meta name="description" content="One or two sentences. What this page is, who it is for, what they will find.">
  • Title: 50–60 characters. Most important keyword first.
  • Description: 120–160 characters. Shown in search results — write for the human, not the algorithm.

Canonical URL

<link rel="canonical" href="https://example.com/the-definitive-url">

Prevents duplicate content penalties when the same page is accessible via multiple URLs.

Open Graph (social sharing)

<meta property="og:title" content="Page title">
<meta property="og:description" content="Page description">
<meta property="og:image" content="https://example.com/og-image.jpg">
<meta property="og:url" content="https://example.com/page">
<meta property="og:type" content="website">

<!-- Twitter/X -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Page title">
<meta name="twitter:image" content="https://example.com/og-image.jpg">

OG image: 1200×630px. Appears when the URL is shared on Slack, LinkedIn, Twitter, iMessage.

Structured Data (JSON-LD)

Machine-readable content enables rich search results.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Product Name",
  "description": "Product description",
  "image": "https://example.com/product.jpg",
  "offers": {
    "@type": "Offer",
    "price": "49.00",
    "priceCurrency": "EUR"
  }
}
</script>

Common types: Product, Article, BreadcrumbList, FAQPage, Organization, SiteLinksSearchBox.


Progressive Enhancement

Build in layers. The core content and function must work without JavaScript. Enhance with CSS. Enhance further with JS.

Layer 1: HTML — content is readable, links work, forms submit
Layer 2: CSS  — layout, typography, visual design
Layer 3: JS   — interactivity, animations, dynamic content

In practice:

  • Forms must submit via native <form action> without JS — JS can intercept and enhance with fetch
  • Navigation links must be real <a href> — JS can add transitions
  • Content must be in the HTML — JS can enhance with lazy-load or personalisation
  • Images must have src — JS can add lazy loading via loading="lazy" (now native)

SPA Considerations

Single-page applications break browser defaults that SEO and accessibility depend on. Fix them explicitly.

Server-side rendering or static generation

Client-rendered HTML is not reliably indexed by search engines. Use SSR (Next.js, Nuxt, SvelteKit) or static generation for any content that needs to be found.

Title and meta updates

Update document.title and meta tags on every route change. Use the framework's <Head> component or equivalent.

Focus management

On route change, move focus to the new page's <h1> or <main> — screen readers do not detect SPA navigation automatically.

// After route change
document.querySelector('h1')?.focus();

Scroll restoration

Restore scroll position to top on navigation, or to the saved position on back navigation. Browser default scroll restoration is disabled in SPAs.

History API

Use pushState / replaceState so back/forward navigation and bookmarking work correctly.


Device Capabilities and User Context

Design and code should adapt to what the device and user can actually do.

Input method detection

@media (hover: hover) {
  /* hover states — mouse or trackpad */
  .btn:hover { background: var(--color-primary-hover); }
}

@media (hover: none) {
  /* touch device — no hover, larger targets */
  .btn { min-height: 44px; }
}

Pointer precision

@media (pointer: coarse) {
  /* fat-finger touch — increase target sizes */
  .interactive { min-height: 44px; min-width: 44px; }
}

@media (pointer: fine) {
  /* mouse — precise, can use smaller targets */
}

Network conditions

<!-- Lazy load images below the fold -->
<img src="product.jpg" loading="lazy" alt="...">

<!-- Serve modern formats with fallback -->
<picture>
  <source srcset="image.avif" type="image/avif">
  <source srcset="image.webp" type="image/webp">
  <img src="image.jpg" alt="...">
</picture>

User preferences

@media (prefers-reduced-motion: reduce) { /* disable animations */ }
@media (prefers-color-scheme: dark)     { /* dark mode tokens */ }
@media (prefers-contrast: more)         { /* increase contrast */ }
@media (forced-colors: active)          { /* Windows high contrast mode */ }

Review Checklist

  • One <h1> per page, headings form a logical outline
  • Semantic elements used: <main>, <nav>, <header>, <footer>, <article>, <section>
  • Every <img> has a meaningful alt or alt="" for decorative images
  • <title> is unique per page, 50–60 characters, keyword-first
  • <meta name="description"> present and 120–160 characters
  • Open Graph tags present on all shareable pages
  • <link rel="canonical"> on pages accessible via multiple URLs
  • Structured data (JSON-LD) on product, article, and FAQ pages
  • Forms work without JavaScript
  • SPA updates document.title and meta tags on route change
  • SPA moves focus on route change
  • Hover states scoped to @media (hover: hover)
  • Touch targets ≥ 44px on @media (pointer: coarse)
  • Images use loading="lazy" below the fold
  • prefers-reduced-motion respected

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.14%
按下载量换算92

Claude

29.35%
按下载量换算71

Cursor

19.25%
按下载量换算46

Gemini CLI

10.23%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills