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.
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for target keywords.
Identify:
PrincipleGuidelineOne per pageSingle H1 per pagePrimary keywordInclude target keyword naturallyDescriptiveClearly describe page contentMatch intentAlign with title tag and user intent
PrincipleGuidelineLogical orderH1 -> H2 -> H3; don't skip levelsOne idea per headingEach heading = one topicScannableHeadings should summarize section contentKeyword variationUse related keywords in subheadings
text
H1 (page title)
-> H2 (section 1)
-> H3 (subsection)
-> H3
-> H2 (section 2)
-> H3
-> H2 (section 3)
IssueFixMultiple H1sUse single H1; use H2 for other sectionsSkipped levelsUse H2 after H1, H3 after H2Generic headingsMake descriptive; avoid "Introduction," "Conclusion"Keyword stuffingNatural language; avoid forced keywords