本文へスキップ
Skillpedia
SEO対策75k · #2864

h1

できること

このスキルは、ウェブサイトの各ページのメインの h1 の見出しを確認します。読者と検索エンジンのために、ページの話題を明確にしたいサイト運営者や編集者向けです。

使う場面

  • ✓ページにメインの見出しがないか、複数あるとき。
  • ✓メインの見出しがブランド名だけで、話題が書かれていないとき。
  • ✓見出しを自動で作るページのテンプレートを設定するとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/h1/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/h1/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“サイトの各ページに、明確なメインの見出しが一つずつあるか確認してもらえますか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは各ページの h1 タグを数え、それぞれが具体的な話題で埋まっているかを確認します。ページの内容を説明していない見出しは、書き直すことを提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Use a single descriptive H1

The H1 is the most prominent heading on a page and a strong on-page ranking signal. Google uses it to understand the page's primary topic. Missing, duplicate, or keyword-free H1 tags reduce topical clarity, hurting rankings for the page's target terms.

Quick Reference

  • Each page should have exactly one <h1> tag that describes the page's primary topic with relevant keywords
  • The H1 does not need to be identical to the <title> tag, but they should be topically consistent
  • Empty <h1> tags, multiple <h1> tags on one page, or H1s containing only the brand name are all issues to fix

Check

Parse the rendered DOM of each page. Count all <h1> elements. Flag: (1) Pages with zero <h1> tags. (2) Pages with more than one <h1> tag. (3) <h1> elements whose text content is empty or contains only whitespace. (4) <h1> elements that contain only the brand name with no page-specific topic. (5) <h1> text that does not reflect the page's primary content topic.

Fix

  1. Ensure every page template outputs exactly one <h1>.
  2. The H1 text should describe the page's specific topic, not just the site name.
  3. Include the primary target keyword naturally in the H1 — do not force it awkwardly.
  4. If the page has multiple sections with separate H1 candidates, choose one main topic and demote others to H2.
  5. Verify the H1 is visible in the rendered DOM (not hidden via CSS display:none or visibility:hidden).
  6. In Next.js/React: ensure the H1 is in the page component, not in the shared layout. Before: <h1>Acme Corp</h1> (brand only) After: <h1>Project Management Software for Enterprise Teams</h1>

Explain

Google's John Mueller has confirmed that H1 tags help Google understand page structure. While H1 is not the strongest ranking factor in isolation, it contributes to on-page topical relevance signals. Multiple H1 tags on one page dilute the primary topic signal; a missing H1 leaves a structural gap that reduces confidence in what the page is about.

Code Review

Query the DOM for all <h1> elements. Assert exactly one exists per page. Check that innerText.trim() is non-empty. Compare H1 text to the page <title> — they should share core topic keywords. Flag if H1 is inside a <header> element shared across all pages (often the site logo alt text) rather than specific to the page content.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/h1

よくある質問

h1 はページのタイトルと一致させる必要がありますか?

いいえ。h1 はタイトルタグと一致する必要はありませんが、両方が同じ話題を扱うべきだとこのスキルは説明しています。

h1 にキーワードを入れるべきですか?

無理に入れるのではなく、主要なキーワードを自然に含めることを勧めています。

ページに複数の主要な話題がある場合はどうしますか?

h1 には一つの主要な話題を選び、ほかは h2 の見出しにすることを提案しています。

詳細

作者による元の説明

Use when auditing a page's heading structure, generating H1 text for landing pages or blog posts, or reviewing a CMS template that may produce empty or missing H1 elements.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2864
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル