h1
ما الذي تفعله
تتحقق هذه المهارة من العنوان الرئيسي H1 في كل صفحة من مواقع الويب. وهي موجهة إلى أصحاب المواقع والمحررين الذين يريدون موضوعات واضحة للصفحات للقراء ومحركات البحث.
متى تستخدمها
- ✓عندما لا تحتوي الصفحة على عنوان رئيسي أو تحتوي أكثر من واحد.
- ✓عندما لا يكون عنوانك الرئيسي سوى اسم العلامة التجارية دون موضوع.
- ✓عندما تضبط قالبًا ينشئ عناوين الصفحات تلقائيًا.
رابط المهارة
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/h1/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك التحقق من أن لكل صفحة في موقعي عنوانًا رئيسيًا واحدًا وواضحًا؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يعد الوكيل وسوم 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
- Ensure every page template outputs exactly one
<h1>. - The H1 text should describe the page's specific topic, not just the site name.
- Include the primary target keyword naturally in the H1 — do not force it awkwardly.
- If the page has multiple sections with separate H1 candidates, choose one main topic and demote others to H2.
- Verify the H1 is visible in the rendered DOM (not hidden via CSS
display:noneorvisibility:hidden). - 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 عنوان الصفحة title؟
لا. تقول المهارة إن H1 لا يحتاج إلى مطابقة وسم title، لكن يجب أن يغطي الاثنان الموضوع نفسه.
هل يجب أن يتضمن 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.
الشعبية
- نجوم GitHub
- 75k
- الترتيب
- #2864
- الترخيص
- MIT
- آخر تحديث
- 31/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
frontendchecklist
75kيفحص شيفرة الواجهة الأمامية والصفحات الحية مقابل أكثر من 380 قاعدة للوصول وسرعة الأداء وتحسين محركات البحث والأمان، بأداة سطر أوامر.
frontend-checklist-global
75kيدقق مشروع الواجهة الأمامية وفق كل قواعد Front-End Checklist البالغ عددها 386، ويقدم إصلاحًا محددًا لكل مشكلة وجدت.
404-page
75kيتأكد من أن صفحة الصفحات غير الموجودة تقدم روابط مفيدة وتُرجع رمز حالة 404 حقيقيًا، لمساعدة الزوار التائهين على إيجاد طريقهم.
about-page
75kيراجع ما إذا كان لموقعك صفحة «من نحن» واضحة تشرح من يديره، لبناء الثقة لدى الزوار ومحركات البحث.
مهارات مشابهة
competitive-platform-analysis
280kيساعدك على فهم منافسيك. يحدد الشركات المنافسة ويصنّفها ويصفيها قبل أي تحليل أعمق.
competitive-report-structure
280kينشئ تقارير شاملة عن المنافسين. يجمع المعلومات ليوضح الصورة العامة للسوق والتوصيات، ويساعد على توحيد رؤية الفريق.
lead-intelligence
280kيساعد وكيلك على إيجاد الأشخاص المهمين والتواصل معهم. يحلل العملاء المحتملين، ويقترح أساليب الوصول إليهم، ويدير التواصل عبر البريد ووسائل التواصل الاجتماعي.