Agent Skillskostja94/marketing-skills › heading-structure

heading-structure

GitHub

用于优化网页标题层级结构(H1-H6),确保符合SEO规范。通过检查页面类型、目标关键词及内容大纲,提供H1单页唯一性、逻辑层级关系及关键词布局的最佳实践建议,修复多级跳跃或重复H1等常见问题。

skills/seo/on-page/heading/SKILL.md kostja94/marketing-skills

Trigger Scenarios

用户提到优化标题结构或层级 用户提及H1/H2/H3标签调整 用户询问内容结构或heading SEO问题

Install

npx skills add kostja94/marketing-skills --skill heading-structure -g -y
More Options

Non-standard path

npx skills add https://github.com/kostja94/marketing-skills/tree/main/skills/seo/on-page/heading -g -y

Use without installing

npx skills use kostja94/marketing-skills@heading-structure

指定 Agent (Claude Code)

npx skills add kostja94/marketing-skills --skill heading-structure -a claude-code -g -y

安装 repo 全部 skill

npx skills add kostja94/marketing-skills --all -g -y

预览 repo 内 skill

npx skills add kostja94/marketing-skills --list

SKILL.md

Frontmatter
{
    "name": "heading-structure",
    "metadata": {
        "version": "1.0.1"
    },
    "description": "When the user wants to optimize heading structure (H1-H6), fix heading hierarchy, or improve content structure. Also use when the user mentions \"H1,\" \"heading,\" \"heading hierarchy,\" \"content structure,\" \"H2,\" \"H3,\" \"heading tags,\" \"heading SEO,\" \"multiple H1,\" or \"heading structure.\" For SEO workflow, use seo-strategy."
}

SEO On-Page: Heading Structure

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.

Scope (On-Page 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

Initial Assessment

Check for project context first: If .claude/project-context.md or .cursor/project-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

Best Practices

H1

Principle Guideline
One per page Single H1 per page
Primary keyword Include target keyword naturally
Descriptive Clearly describe page content
Match intent Align with title tag and user intent

H2-H6 Hierarchy

Principle Guideline
Logical order H1 -> H2 -> H3; don't skip levels
One idea per heading Each heading = one topic
Scannable Headings should summarize section content
Keyword variation Use related keywords in subheadings

Structure

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

Common Issues

Issue Fix
Multiple H1s Use single H1; use H2 for other sections
Skipped levels Use H2 after H1, H3 after H2
Generic headings Make descriptive; avoid "Introduction," "Conclusion"
Keyword stuffing Natural language; avoid forced keywords

Output Format

  • H1 recommendation (with keyword)
  • H2-H6 outline for content
  • Hierarchy check
  • References: Google headings

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

Version History

  • 70987ba Current 2026-07-06 00:09

Same Skill Collection

skills/analytics/seo/seo-monitoring/SKILL.md
skills/analytics/sources/ai-traffic/SKILL.md
skills/analytics/sources/traffic/SKILL.md
skills/analytics/tracking/SKILL.md
skills/channels/community/community-forum/SKILL.md
skills/channels/community/product-hunt-launch/SKILL.md
skills/channels/distribution/distribution-channels/SKILL.md
skills/channels/owned/email-marketing/SKILL.md
skills/channels/owned/employee-generated-content/SKILL.md
skills/channels/partnerships/affiliate-marketing/SKILL.md
skills/channels/partnerships/creator-program/SKILL.md
skills/channels/partnerships/education-program/SKILL.md
skills/channels/partnerships/influencer-marketing/SKILL.md
skills/channels/partnerships/public-relations/SKILL.md
skills/channels/partnerships/referral-program/SKILL.md
skills/components/branding/favicon/SKILL.md
skills/components/branding/hero/SKILL.md
skills/components/branding/logo/SKILL.md
skills/components/content/tab-accordion/SKILL.md
skills/components/conversion/cta/SKILL.md
skills/components/conversion/newsletter-signup/SKILL.md
skills/components/conversion/popup/SKILL.md
skills/components/conversion/testimonials/SKILL.md
skills/components/conversion/trust-badges/SKILL.md
skills/components/layout/card/SKILL.md
skills/components/layout/carousel/SKILL.md
skills/components/layout/grid/SKILL.md
skills/components/layout/list/SKILL.md
skills/components/layout/masonry/SKILL.md
skills/components/navigation/breadcrumb/SKILL.md
skills/components/navigation/footer/SKILL.md
skills/components/navigation/navigation-menu/SKILL.md
skills/components/navigation/sidebar/SKILL.md
skills/components/navigation/toc/SKILL.md
skills/components/utility/social-share/SKILL.md
skills/components/utility/top-banner/SKILL.md
skills/components/utility/url-slug/SKILL.md
skills/content/copywriting/SKILL.md
skills/content/podcast/SKILL.md
skills/content/translation/SKILL.md
skills/content/video/SKILL.md
skills/content/visual-content/SKILL.md
skills/pages/brand/about/SKILL.md
skills/pages/brand/contact/SKILL.md
skills/pages/brand/home/SKILL.md
skills/pages/content/api/SKILL.md
skills/pages/content/article/SKILL.md
skills/pages/content/blog/SKILL.md
skills/pages/content/docs/SKILL.md
skills/pages/content/faq/SKILL.md

Metadata

Files
0
Version
70987ba
Hash
d41eb498
Indexed
2026-07-06 00:09

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-22 08:24
浙ICP备14020137号-1