heading-structure

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

SEO On-Page: Heading Structure

SEO 站内优化:标题结构

Guides heading (H1-H6) optimization for SEO and content structure.
When invoking: On first use, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
指导针对 SEO 和内容结构的标题(H1-H6)优化工作。
调用规则首次使用时如果适用,可先用1-2句话介绍本技能涵盖的范围及其作用,再提供核心输出。后续调用或用户要求跳过介绍时,直接输出核心内容即可。

Scope (On-Page SEO)

适用范围(站内SEO)

  • H1 tag: One per page; clear headline; matches content; primary keyword near start
  • Header tags (H1-H6): Logical hierarchy; keyword in headers; one idea per heading
  • H1 标签:每个页面仅设置1个;标题清晰明确;与页面内容匹配;主关键词尽量放在开头
  • 标题标签(H1-H6):层级逻辑清晰;标题中包含关键词;每个标题对应一个核心观点

Initial Assessment

初步评估

Check for product marketing context first: If
.claude/product-marketing-context.md
or
.cursor/product-marketing-context.md
exists, read it for target keywords.
Identify:
  1. Page type: Homepage, article, product, etc.
  2. Primary keyword: Target search query
  3. Content outline: Main sections and subsections
优先检查产品营销上下文:如果
.claude/product-marketing-context.md
.cursor/product-marketing-context.md
存在,读取文件获取目标关键词。
识别以下信息:
  1. 页面类型:首页、文章页、产品页等
  2. 主关键词:目标搜索查询词
  3. 内容大纲:主要章节和子章节

Best Practices

最佳实践

H1

H1

PrincipleGuideline
One per pageSingle H1 per page
Primary keywordInclude target keyword naturally
DescriptiveClearly describe page content
Match intentAlign with title tag and user intent
原则指引
每页唯一每个页面仅设置1个 H1
包含主关键词自然融入目标关键词
描述性强清晰说明页面内容
匹配搜索意图与 title 标签及用户搜索意图保持一致

H2-H6 Hierarchy

H2-H6 层级

PrincipleGuideline
Logical orderH1 -> H2 -> H3; don't skip levels
One idea per headingEach heading = one topic
ScannableHeadings should summarize section content
Keyword variationUse related keywords in subheadings
原则指引
逻辑顺序遵循 H1 -> H2 -> H3 的顺序,不要跳级
每个标题对应一个观点每个标题仅覆盖一个主题
易扫描标题应能概括对应章节的内容
关键词变体在子标题中使用相关的关键词变体

Structure

结构示例

H1 (page title)
-> H2 (section 1)
   -> H3 (subsection)
   -> H3
-> H2 (section 2)
   -> H3
-> H2 (section 3)
H1 (page title)
-> H2 (section 1)
   -> H3 (subsection)
   -> H3
-> H2 (section 2)
   -> H3
-> H2 (section 3)

Common Issues

常见问题

IssueFix
Multiple H1sUse single H1; use H2 for other sections
Skipped levelsUse H2 after H1, H3 after H2
Generic headingsMake descriptive; avoid "Introduction," "Conclusion"
Keyword stuffingNatural language; avoid forced keywords
问题修复方案
多个 H1仅保留一个 H1,其他同级标题改用 H2
层级跳级H1 之后使用 H2,H2 之后使用 H3,不要跳级
标题过于笼统提高描述性,避免使用「介绍」「结论」这类通用标题
关键词堆砌使用自然语言,不要强行塞入关键词

Output Format

输出格式

  • H1 recommendation (with keyword)
  • H2-H6 outline for content
  • Hierarchy check
  • References: Google headings
  • H1 优化建议(包含关键词)
  • H2-H6 内容大纲
  • 层级 检查结果
  • 参考资料Google 标题规范

Related Skills

相关技能

  • featured-snippet: H2/H3 for snippet extraction; semantic HTML for list/table snippets
  • page-metadata: Hreflang, meta robots; metadata complements heading structure
  • content-optimization: H2 keyword placement, quantity, tables, lists; complements heading structure
  • article-page-generator: Article page H1-H3 structure, intro/body/conclusion
  • title-tag: H1 should align with title tag
  • schema-markup: Article schema uses headline (often H1)
  • content-strategy: Content outline informs headings
  • featured-snippet:使用 H2/H3 便于片段提取,使用语义化 HTML 便于生成列表/表格类精选片段
  • page-metadata:Hreflang、meta robots 等元数据是对标题结构的补充
  • content-optimization:H2 关键词布局、数量、表格、列表等是对标题结构的补充
  • article-page-generator:文章页 H1-H3 结构、引言/正文/结论
  • title-tag:H1 应与 title 标签保持一致
  • schema-markup:文章 schema 使用的标题(headline)通常对应 H1
  • content-strategy:内容大纲是标题设置的依据