semantic
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "semantic" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dc1e87931b3fe8cf8011ba67cda9ca83930783450b6eff215207e57a682459d2. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/semantic-layout-ddkv before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Semantic layout specialized skill designed to help AI agents efficiently perform tasks related to semantic layout.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Audit the page for proper use of HTML5 semantic elements and accessibility.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: Semantic布局
slug: semantic-layout
version: 1.0.0
displayName: Semantic布局
description: >
Semantic布局专用技能,帮助AI Agent高效完成相关任务。
summary: "Semantic布局专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"Semantic Layout
Audit the page for proper use of HTML5 semantic elements and accessibility.
Note: The
langattribute check is handled by the international-seo skill. Do not duplicate it here.
1. Required semantic elements
These elements must be present:
| Element | Missing = |
|---|---|
<header> |
❌ FAIL |
<main> |
❌ FAIL |
<footer> |
❌ FAIL |
<nav> |
❌ FAIL |
Report count if present: ✅ PASS "<tag> element found (N instance(s))"
2. Recommended semantic elements
These elements should be present:
| Element | Missing = |
|---|---|
<article> |
⚠️ WARN "Consider using for content structure" |
<section> |
⚠️ WARN |
<aside> |
⚠️ WARN |
<figure> |
⚠️ WARN |
3. Skip-navigation link
Check for accessibility skip links: <a href="#main-content">, <a href="#content">, or <a href="#main">
- Found → ✅ PASS
- Missing → ⚠️ WARN "Add skip-navigation link for accessibility"
4. Div-soup detection
Count <div> elements vs semantic elements (header, main, footer, nav, article, section, aside, figure):
| Condition | Status |
|---|---|
| Divs > 0 but zero semantic elements | ❌ FAIL "Restructure with semantic HTML" |
| Divs > 5× semantic element count | ⚠️ WARN "High div-to-semantic ratio" |
5. ARIA landmark roles
Check for these roles: banner, navigation, main, contentinfo, search
- Any found → ✅ PASS — list which roles are present
6. Layout suggestions
Single <main>
- 0
<main>elements → ⚠️ WARN "Wrap primary content in<main>" - Multiple
<main>→ ⚠️ WARN "Should have only one"
Headings inside semantic containers
- Count
<h2>,<h3>,<h4>that are NOT inside<section>,<article>,<aside>, or<main> - If any found → ⚠️ WARN "Wrap content blocks in
<section>or<article>"
Images without <figure>
- If > 3 images not wrapped in
<figure>→ ⚠️ WARN "Use<figure>/<figcaption>"
Date markup
- If
<time>elements found → ✅ PASS - If date patterns found in text but no
<time>elements → ⚠️ WARN "Wrap dates in<time datetime=\"...\">"
List elements
- No
<ul>or<ol>found → ⚠️ WARN "Use lists for list-type content (improves featured snippet eligibility)"
Tables without captions
- Tables missing
<caption>→ ⚠️ WARN "Add captions for accessibility"
Edge cases
- Next.js and React apps render into a root
<div id="__next">or<div id="root">— this does not count as "div-soup"; evaluate the semantic elements inside it - Server-rendered HTML may differ from client-rendered HTML — audit the initial SSR output when possible
- Components rendered inside
<template>or<slot>elements are not visible in static HTML — note this limitation - Email-style pages (e.g. unsubscribe pages) may legitimately lack
<article>,<section>, or<aside>— do not flag as WARN - If a page uses Web Components or Shadow DOM, semantic elements inside the shadow tree may not be visible — note as limitation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 HTML5 语义化布局审计能力,解决前端开发中的可访问性与 SEO 优化问题
- 面向开发者工具场景,受众明确,实用性强
Highlights
- description 明确说明为“语义布局专用技能”,触发词清晰
- 功能范围描述详细,边界明确,覆盖多种语义元素与可访问性检查
Highlights
- 文档结构清晰,分步骤列出检查项,每项有明确的状态标识
- 包含表格说明与示例,frontmatter 完整,符合规范
Highlights
- 工具逻辑基于静态 HTML 分析,参数定义清晰
- 覆盖了主要异常场景与边缘情况,具备良好可靠性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.