Heading

From kostja94/marketing-skills · View interactive version

Heading is an AI agent skill from the GitHub repository kostja94/marketing-skills. When the user wants to write or optimize H1-H6, fix heading hierarchy, improve content structure, rewrite an H1, or align headings with page intent. This skill owns actual heading changes; page-metadata may only check and report metadata-to-heading alignment.

How to use this skill

Skill file

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)

Initial Assessment

Project context: Read root {project}.md when present and load only the modules relevant to this task. Without Contextus, use available project material or user-provided facts and ask for missing information; do not create a parallel context system.

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 |

|-----------|-----------|

| Primary page heading | Prefer one clear H1 that identifies the page; audit accessibility and template semantics before treating an extra H1 as a ranking emergency |

| Search language | Include the primary concept naturally when useful; do not force exact-match phrasing |

| Descriptive | Clearly describe page content |

| Match intent | Serve the same page intent and promise as the title tag without requiring identical wording |

H2-H6 Hierarchy

| Principle | Guideline |

|-----------|-----------|

| Logical order | Use heading levels to express document structure; do not choose a level for visual size alone |

| One idea per heading | Each heading = one topic |

| Scannable | Headings should summarize section content |

| Keyword variation | Use related keywords in subheadings |

Clarity, Consistency and Specificity

Structure

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

Common Issues

| Issue | Fix |

|-------|-----|

| Multiple H1s | Confirm the template and accessibility semantics; prefer one clear primary H1, but do not present extra H1s as an automatic ranking failure |

| Visual styling encoded as hierarchy | Keep semantic level based on structure and style it separately |

| Vague content headings | Name the actual subject; preserve useful structural labels such as "FAQ" rather than expanding them mechanically |

| Keyword stuffing | Natural language; avoid forced keywords |

Output Format

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.