Skill: SEO Audit for Concept Pages
Use this skill to perform a focused SEO audit on concept documentation pages for the 33 JavaScript Concepts project. The goal is to maximize search visibility for JavaScript developers.
When to Use
- Before publishing a new concept page
- When optimizing underperforming pages
- Periodic content audits
- After major content updates
- When targeting new keywords
Goal
Each concept page should rank for searches like:
- "what is [concept] in JavaScript"
- "how does [concept] work in JavaScript"
- "[concept] JavaScript explained"
- "[concept] JavaScript tutorial"
- "[concept] JavaScript example"
SEO Audit Methodology
Follow these five steps for a complete SEO audit.
Step 1: Identify Target Keywords
Before auditing, identify the keyword cluster for the concept.
Keyword Cluster Template
| Type |
Pattern |
Example (Closures) |
| Primary |
[concept] JavaScript |
closures JavaScript |
| What is |
what is [concept] in JavaScript |
what is a closure in JavaScript |
| How does |
how does [concept] work |
how do closures work |
| How to |
how to use/create [concept] |
how to use closures |
| Why |
why use [concept] |
why use closures JavaScript |
| Examples |
[concept] examples |
closure examples JavaScript |
| vs |
[concept] vs [related] |
closures vs scope |
| Interview |
[concept] interview questions |
closure interview questions |
Step 2: On-Page SEO Audit
Check all on-page SEO elements systematically.
Step 3: Featured Snippet Optimization
Verify content is structured to win featured snippets.
Step 4: Internal Linking Audit
Check the internal link structure.
Step 5: Generate Report
Document findings using the report template.
Keyword Clusters by Concept
Use these pre-built keyword clusters for each concept.
Audit Checklists
Title Tag Checklist (4 points)
| # |
Check |
Points |
How to Verify |
| 1 |
Length 50-60 characters |
1 |
Count characters in title frontmatter |
| 2 |
Primary keyword in first half |
1 |
Concept name appears early |
| 3 |
Ends with "in JavaScript" |
1 |
Check title ending |
| 4 |
Contains compelling hook |
1 |
Promises value/benefit to reader |
Scoring:
- 4/4: ✅ Excellent
- 3/4: ⚠️ Good, minor improvements possible
- 0-2/4: ❌ Needs significant work
Title Formula:
[Concept]: [What You'll Understand] in JavaScript
Good Examples:
| Concept |
Title (with character count) |
| Closures |
"Closures: How Functions Remember Their Scope in JavaScript" (58 chars) |
| Event Loop |
"Event Loop: How Async Code Actually Runs in JavaScript" (54 chars) |
| Promises |
"Promises: Handling Async Operations in JavaScript" (49 chars) |
| DOM |
"DOM: How Browsers Represent Web Pages in JavaScript" (51 chars) |
Bad Examples:
| Issue |
Bad Title |
Better Title |
| Too short |
"Closures" |
"Closures: How Functions Remember Their Scope in JavaScript" |
| Too long |
"Understanding JavaScript Closures and How They Work with Examples" (66 chars) |
"Closures: How Functions Remember Their Scope in JavaScript" (58 chars) |
| No hook |
"JavaScript Closures" |
"Closures: How Functions Remember Their Scope in JavaScript" |
| Missing "JavaScript" |
"Understanding Closures and Scope" |
Add "in JavaScript" at end |
Meta Description Checklist (4 points)
| # |
Check |
Points |
How to Verify |
| 1 |
Length 150-160 characters |
1 |
Count characters in description frontmatter |
| 2 |
Starts with action word |
1 |
"Learn", "Understand", "Discover" (NOT "Master") |
| 3 |
Contains primary keyword |
1 |
Concept name + "JavaScript" present |
| 4 |
Promises specific value |
1 |
Lists what reader will learn |
Description Formula:
[Action word] [what it is] in JavaScript. [Specific things they'll learn]: [topic 1], [topic 2], and [topic 3].
Good Examples:
| Concept |
Description |
| Closures |
"Learn JavaScript closures and how functions remember their scope. Covers lexical scoping, practical use cases, memory considerations, and common closure patterns." (159 chars) |
| Event Loop |
"Discover how the JavaScript event loop manages async code execution. Understand the call stack, task queue, microtasks, and why JavaScript is single-threaded but non-blocking." (176 chars - trim!) |
| DOM |
"Learn how the DOM works in JavaScript. Understand how browsers represent HTML as a tree, select and manipulate elements, traverse nodes, and optimize rendering." (162 chars) |
Bad Examples:
| Issue |
Bad Description |
Fix |
| Too short |
"Learn about closures" |
Expand to 150-160 chars with specifics |
| Starts with "Master" |
"Master JavaScript closures..." |
"Learn JavaScript closures..." |
| Too vague |
"A guide to closures" |
List specific topics covered |
| Missing keyword |
"Functions can remember things" |
Include "closures" and "JavaScript" |
Keyword Placement Checklist (5 points)
| # |
Check |
Points |
How to Verify |
| 1 |
Primary keyword in title |
1 |
Check frontmatter title |
| 2 |
Primary keyword in meta description |
1 |
Check frontmatter description |
| 3 |
Primary keyword in first 100 words |
1 |
Check opening paragraphs |
| 4 |
Keyword in at least one H2 heading |
1 |
Scan all ## headings |
| 5 |
No keyword stuffing |
1 |
Content reads naturally |
Keyword Placement Map:
┌─────────────────────────────────────────────────────────────────────────┐
│ KEYWORD PLACEMENT │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ 🔴 CRITICAL (Must have keyword) │
│ ───────────────────────────────── │
│ • title frontmatter │
│ • description frontmatter │
│ • First paragraph (within 100 words) │
│ • At least one H2 heading │
│ │
│ 🟡 RECOMMENDED (Include naturally) │
│ ────────────────────────────────── │
│ • "What you'll learn" Info box │
│ • H3 subheadings │
│ • Key Takeaways section │
│ • First sentence after major H2s │
│ │
│ ⚠️ AVOID │
│ ───────── │
│ • Same phrase >4 times per 1000 words │
│ • Forcing keywords where pronouns work better │
│ • Awkward sentence structures to fit keywords │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Content Structure Checklist (6 points)
| # |
Check |
Points |
How to Verify |
| 1 |
Opens with question hook |
1 |
First paragraph asks engaging question |
| 2 |
Code example in first 200 words |
1 |
Simple example appears early |
| 3 |
"What you'll learn" Info box |
1 |
<Info> component after opening |
| 4 |
Short paragraphs (2-4 sentences) |
1 |
Scan content for long blocks |
| 5 |
1,500+ words |
1 |
Word count check |
| 6 |
Key terms bolded on first mention |
1 |
Important terms use **bold** |
Content Structure Template:
┌─────────────────────────────────────────────────────────────────────────┐
│ IDEAL PAGE STRUCTURE │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ 1. QUESTION HOOK (First 50 words) │
│ "How does JavaScript...? Why do...?" │
│ │
│ 2. BRIEF ANSWER + CODE EXAMPLE (Words 50-200) │
│ Quick explanation + simple code demo │
│ │
│ 3. "WHAT YOU'LL LEARN" INFO BOX │
│ 5-7 bullet points │
│ │
│ 4. PREREQUISITES WARNING (if applicable) │
│ Link to required prior concepts │
│ │
│ 5. MAIN CONTENT SECTIONS (H2s) │
│ Each H2 answers a question or teaches a concept │
│ Include code examples, diagrams, tables │
│ │
│ 6. COMMON MISTAKES / GOTCHAS SECTION │
│ What trips people up │
│ │
│ 7. KEY TAKEAWAYS │
│ 8-10 numbered points summarizing everything │
│ │
│ 8. TEST YOUR KNOWLEDGE │
│ 5-6 Q&A accordions │
│ │
│ 9. RELATED CONCEPTS │
│ 4 cards linking to related topics │
│ │
│ 10. RESOURCES (Reference, Articles, Videos) │
│ MDN links, curated articles, videos │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Featured Snippet Checklist (4 points)
| # |
Check |
Points |
How to Verify |
| 1 |
"What is X" has 40-60 word definition |
1 |
Count words in first paragraph after "What is" H2 |
| 2 |
At least one H2 is phrased as question |
1 |
Check for "What is", "How does", "Why" H2s |
| 3 |
Numbered steps for "How to" content |
1 |
Uses <Steps> component or numbered list |
| 4 |
Comparison tables (if applicable) |
1 |
Tables for "X vs Y" content |
Featured Snippet Patterns:
┌─────────────────────────────────────────────────────────────────────────┐
│ FEATURED SNIPPET FORMATS │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ QUERY TYPE WINNING FORMAT YOUR CONTENT │
│ ─────────── ────────────── ──────────── │
│ │
│ "What is X" Paragraph 40-60 word definition │
│ after H2, bold keyword │
│ │
│ "How to X" Numbered list <Steps> component or │
│ 1. 2. 3. markdown │
│ │
│ "X vs Y" Table | Feature | X | Y | │
│ comparison table │
│ │
│ "Types of X" Bullet list - **Type 1** — desc │
│ - **Type 2** — desc │
│ │
│ "[X] examples" Code block ```javascript │
│ + explanation // example code │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Definition Paragraph Example (40-60 words):
## What is a Closure in JavaScript?
A **closure** is a function that retains access to variables from its outer
(enclosing) scope, even after that outer function has finished executing.
Closures are created every time a function is created in JavaScript, allowing
inner functions to "remember" and access their lexical environment.
(This is 52 words - perfect for a featured snippet)
Internal Linking Checklist (4 points)
| # |
Check |
Points |
How to Verify |
| 1 |
3-5 related concepts linked in body |
1 |
Count /concepts/ links in prose |
| 2 |
Descriptive anchor text |
1 |
No "click here", "here", "this" |
| 3 |
Prerequisites in Warning box |
1 |
<Warning> with links at start |
| 4 |
Related Concepts section has 4 cards |
1 |
<CardGroup> at end with 4 Cards |
Good Anchor Text:
| ❌ Bad |
✓ Good |
| "click here" |
"event loop concept" |
| "here" |
"JavaScript closures" |
| "this article" |
"our Promises guide" |
| "read more" |
"understanding the call stack" |
Link Placement Strategy:
<!-- In Prerequisites (Warning box) -->
<Warning>
**Prerequisite:** This guide assumes you understand [Promises](/concepts/promises)
and the [Event Loop](/concepts/event-loop). Read those first if needed.
</Warning>
<!-- In Body Content (natural context) -->
When the callback finishes, it's added to the task queue — managed by
the [event loop](/concepts/event-loop).
<!-- In Related Concepts Section -->
<CardGroup cols={2}>
<Card title="Promises" icon="handshake" href="/concepts/promises">
async/await is built on top of Promises
</Card>
</CardGroup>
Technical SEO Checklist (3 points)
| # |
Check |
Points |
How to Verify |
| 1 |
Single H1 per page |
1 |
Only one # heading (the title) |
| 2 |
URL slug contains keyword |
1 |
/concepts/closures not /concepts/topic-1 |
| 3 |
No orphan pages |
1 |
Page is linked from at least one other page |
H1 Rule:
Every page should have exactly ONE H1 (your main title). This is critical for SEO:
- The H1 tells Google what the page is about
- Multiple H1s confuse search engines about page hierarchy
- All other headings should be H2 (
##) and below
- The H1 should contain your primary keyword
# Closures in JavaScript ← This is your H1 (only one!)
## What is a Closure? ← H2 for sections
### Lexical Scope ← H3 for subsections
## How Closures Work ← Another H2
URL/Slug Best Practices:
| ✅ Good |
❌ Bad |
/concepts/closures |
/concepts/c1 |
/concepts/event-loop |
/concepts/topic-7 |
/concepts/type-coercion |
/concepts/abc123 |
/concepts/async-await |
/concepts/async_await |
Rules for slugs:
- Include primary keyword — The concept name should be in the URL
- Use hyphens, not underscores —
event-loop not event_loop
- Keep slugs short and readable — Under 50 characters
- No UUIDs, database IDs, or random strings
- Lowercase only —
/concepts/Event-Loop should be /concepts/event-loop
Orphan Page Detection:
An orphan page has no internal links pointing to it from other pages. This hurts SEO because:
- Google may not discover or crawl it frequently
- It signals the page isn't important to your site structure
- Users can't navigate to it naturally
- Link equity doesn't flow to the page
How to check for orphan pages:
- Search the codebase for links to this concept:
grep -r "/concepts/[slug]" docs/
- Verify it appears in at least one other concept's "Related Concepts" section
- Check that pages listing it as a prerequisite link back appropriately
- Ensure it's included in the navigation (
docs.json)
Fixing orphan pages:
- Add the concept to related pages' "Related Concepts" CardGroup
- Link to it naturally in body content of related concepts
- Ensure bidirectional linking (if A links to B, B should link back to A where relevant)
Scoring System
Total Points Available: 30
| Category |
Max Points |
| Title Tag |
4 |
| Meta Description |
4 |
| Keyword Placement |
5 |
| Content Structure |
6 |
| Featured Snippets |
4 |
| Internal Linking |
4 |
| Technical SEO |
3 |
| Total |
30 |
Score Interpretation
| Score |
Percentage |
Status |
Action |
| 27-30 |
90-100% |
✅ Excellent |
Ready to publish |
| 23-26 |
75-89% |
⚠️ Good |
Minor optimizations needed |
| 17-22 |
55-74% |
⚠️ Fair |
Several improvements needed |
| 0-16 |
<55% |
❌ Poor |
Significant work required |
Common SEO Issues and Fixes
Title Tag Issues
| Issue |
Current |
Fix |
| Too short (<50 chars) |
"Closures" (8) |
"Closures: How Functions Remember Their Scope in JavaScript" (58) |
| Too long (>60 chars) |
"Understanding JavaScript Closures and How They Work with Examples" (66) |
"Closures: How Functions Remember Their Scope in JavaScript" (58) |
| Missing keyword |
"Understanding Scope" |
Add concept name: "Closures: Understanding Scope in JavaScript" |
| No hook |
"JavaScript Closures" |
Add benefit: "Closures: How Functions Remember Their Scope in JavaScript" |
| Missing "JavaScript" |
"Closures Explained" |
Add at end: "Closures Explained in JavaScript" |
Meta Description Issues
| Issue |
Current |
Fix |
| Too short (<120 chars) |
"Learn about closures" (20) |
Expand with specifics to 150-160 chars |
| Too long (>160 chars) |
[Gets truncated] |
Edit ruthlessly, keep key information |
| Starts with "Master" |
"Master JavaScript closures..." |
"Learn JavaScript closures..." |
| No keyword |
"Functions that remember" |
Include "closures" and "JavaScript" |
| Too vague |
"A guide to closures" |
List specific topics: "Covers X, Y, and Z" |
Content Structure Issues
| Issue |
Fix |
| No question hook |
Start with "How does...?" or "Why...?" |
| Code example too late |
Move simple example to first 200 words |
| Missing Info box |
Add <Info> with "What you'll learn" |
| Long paragraphs |
Break into 2-4 sentence chunks |
| Under 1,500 words |
Add more depth, examples, edge cases |
| No bolded terms |
Bold key concepts on first mention |
Featured Snippet Issues
| Issue |
Fix |
| No "What is" definition |
Add 40-60 word definition paragraph |
| Definition too long |
Tighten to 40-60 words |
| No question H2s |
Add "What is X?" or "How does X work?" H2 |
| Steps not numbered |
Use <Steps> or numbered markdown |
| No comparison tables |
Add table for "X vs Y" sections |
Internal Linking Issues
| Issue |
Fix |
| No internal links |
Add 3-5 links to related concepts |
| Bad anchor text |
Replace "click here" with descriptive text |
| No prerequisites |
Add <Warning> with prerequisite links |
| Empty Related Concepts |
Add 4 Cards linking to related topics |
Technical SEO Issues
| Issue |
Fix |
| Multiple H1 tags |
Keep only one # heading (the title), use ## for all sections |
| Slug missing keyword |
Rename file to include concept name (e.g., closures.mdx) |
| Orphan page |
Add links from related concept pages' body or Related Concepts section |
| Underscore in slug |
Use hyphens: event-loop.mdx not event_loop.mdx |
| Uppercase in slug |
Use lowercase only: async-await.mdx not Async-Await.mdx |
| Slug too long |
Shorten to primary keyword: closures.mdx not understanding-javascript-closures-and-scope.mdx |
SEO Audit Report Template
Use this template to document your findings.
# SEO Audit Report: [Concept Name]
**File:** `/docs/concepts/[slug].mdx`
**Date:** YYYY-MM-DD
**Auditor:** [Name/Claude]
**Overall Score:** XX/30 (XX%)
**Status:** ✅ Excellent | ⚠️ Needs Work | ❌ Poor
---
## Score Summary
| Category | Score | Status |
|----------|-------|--------|
| Title Tag | X/4 | ✅/⚠️/❌ |
| Meta Description | X/4 | ✅/⚠️/❌ |
| Keyword Placement | X/5 | ✅/⚠️/❌ |
| Content Structure | X/6 | ✅/⚠️/❌ |
| Featured Snippets | X/4 | ✅/⚠️/❌ |
| Internal Linking | X/4 | ✅/⚠️/❌ |
| Technical SEO | X/3 | ✅/⚠️/❌ |
| **Total** | **X/30** | **STATUS** |
---
## Target Keywords
**Primary Keyword:** [e.g., "JavaScript closures"]
**Secondary Keywords:**
- [keyword 1]
- [keyword 2]
- [keyword 3]
**Search Intent:** Informational / How-to / Comparison
---
## Title Tag Analysis
**Current Title:** "[current title from frontmatter]"
**Character Count:** XX characters
**Score:** X/4
| Check | Status | Notes |
|-------|--------|-------|
| Length 50-60 chars | ✅/❌ | XX characters |
| Primary keyword in first half | ✅/❌ | [notes] |
| Ends with "in JavaScript" | ✅/❌ | [notes] |
| Contains compelling hook | ✅/❌ | [notes] |
**Issues Found:** [if any]
**Recommended Title:** "[suggested title]" (XX chars)
---
## Meta Description Analysis
**Current Description:** "[current description from frontmatter]"
**Character Count:** XX characters
**Score:** X/4
| Check | Status | Notes |
|-------|--------|-------|
| Length 150-160 chars | ✅/❌ | XX characters |
| Starts with action word | ✅/❌ | Starts with "[word]" |
| Contains primary keyword | ✅/❌ | [notes] |
| Promises specific value | ✅/❌ | [notes] |
**Issues Found:** [if any]
**Recommended Description:** "[suggested description]" (XX chars)
---
## Keyword Placement Analysis
**Score:** X/5
| Location | Present | Notes |
|----------|---------|-------|
| Title | ✅/❌ | [notes] |
| Meta description | ✅/❌ | [notes] |
| First 100 words | ✅/❌ | Found at word XX |
| H2 heading | ✅/❌ | Found in: "[H2 text]" |
| Natural reading | ✅/❌ | [no stuffing / stuffing detected] |
**Missing Keyword Placements:**
- [ ] [Location where keyword should be added]
---
## Content Structure Analysis
**Word Count:** X,XXX words
**Score:** X/6
| Check | Status | Notes |
|-------|--------|-------|
| Question hook opening | ✅/❌ | [notes] |
| Code in first 200 words | ✅/❌ | Code appears at word XX |
| "What you'll learn" box | ✅/❌ | [present/missing] |
| Short paragraphs | ✅/❌ | [notes on paragraph length] |
| 1,500+ words | ✅/❌ | X,XXX words |
| Bolded key terms | ✅/❌ | [notes] |
**Structure Issues:**
- [ ] [Issue and recommendation]
---
## Featured Snippet Analysis
**Score:** X/4
| Check | Status | Notes |
|-------|--------|-------|
| 40-60 word definition | ✅/❌ | Currently XX words |
| Question-format H2 | ✅/❌ | Found: "[H2]" / Not found |
| Numbered steps | ✅/❌ | [notes] |
| Comparison tables | ✅/❌/N/A | [notes] |
**Snippet Opportunities:**
1. **"What is [concept]" snippet:**
- Current definition: XX words
- Action: [Expand to/Trim to] 40-60 words
2. **"How to [action]" snippet:**
- Action: [Add Steps component / Already present]
---
## Internal Linking Analysis
**Score:** X/4
| Check | Status | Notes |
|-------|--------|-------|
| 3-5 internal links in body | ✅/❌ | Found X links |
| Descriptive anchor text | ✅/❌ | [notes] |
| Prerequisites in Warning | ✅/❌ | [present/missing] |
| Related Concepts section | ✅/❌ | X cards present |
**Current Internal Links:**
1. [Anchor text] → `/concepts/[slug]`
2. [Anchor text] → `/concepts/[slug]`
**Recommended Links to Add:**
- Link to [concept] in [section/context]
- Link to [concept] in [section/context]
**Bad Anchor Text Found:**
- Line XX: "click here" → change to "[descriptive text]"
---
## Technical SEO Analysis
**Score:** X/3
| Check | Status | Notes |
|-------|--------|-------|
| Single H1 per page | ✅/❌ | [Found X H1 tags] |
| URL slug contains keyword | ✅/❌ | Current: `/concepts/[slug]` |
| Not an orphan page | ✅/❌ | Linked from X other pages |
**H1 Tags Found:**
- Line XX: `# [H1 text]` ← Should be the only one
- [List any additional H1s that need to be changed to H2]
**Slug Analysis:**
- Current slug: `[slug].mdx`
- Contains keyword: ✅/❌
- Format correct: ✅/❌ (lowercase, hyphens, no special chars)
**Incoming Links Found:**
1. `/concepts/[other-concept]` → Links to this page in [section]
2. `/concepts/[other-concept]` → Links in Related Concepts
**If orphan page, add links from:**
- [Suggested concept page] in [section]
- [Suggested concept page] in Related Concepts
---
## Priority Fixes
### High Priority (Do First)
1. **[Issue]**
- Current: [what it is now]
- Recommended: [what it should be]
- Impact: [why this matters]
2. **[Issue]**
- Current: [what it is now]
- Recommended: [what it should be]
- Impact: [why this matters]
### Medium Priority
1. **[Issue]**
- Recommendation: [fix]
### Low Priority (Nice to Have)
1. **[Issue]**
- Recommendation: [fix]
---
## Competitive Analysis (Optional)
**Top-Ranking Pages for "[primary keyword]":**
1. **[Competitor 1 - URL]**
- What they do well: [observation]
- Word count: ~X,XXX
2. **[Competitor 2 - URL]**
- What they do well: [observation]
- Word count: ~X,XXX
**Our Advantages:**
- [What we do better]
**Gaps to Fill:**
- [What we're missing that competitors have]
---
## Implementation Checklist
After making fixes, verify:
- [ ] Title is 50-60 characters with keyword and hook
- [ ] Description is 150-160 characters with action word and value
- [ ] Primary keyword in title, description, first 100 words, and H2
- [ ] Opens with question hook
- [ ] Code example in first 200 words
- [ ] "What you'll learn" Info box present
- [ ] Paragraphs are 2-4 sentences
- [ ] 1,500+ words total
- [ ] Key terms bolded on first mention
- [ ] 40-60 word definition for featured snippet
- [ ] At least one question-format H2
- [ ] 3-5 internal links with descriptive anchor text
- [ ] Prerequisites in Warning box (if applicable)
- [ ] Related Concepts section has 4 cards
- [ ] Single H1 per page (title only)
- [ ] URL slug contains primary keyword
- [ ] Page linked from at least one other concept page
- [ ] All fixes implemented and verified
---
## Final Recommendation
**Ready to Publish:** ✅ Yes / ❌ No - [reason]
**Next Review Date:** [When to re-audit, e.g., "3 months" or "after major update"]
Quick Reference
Character Counts
| Element |
Ideal Length |
| Title |
50-60 characters |
| Meta Description |
150-160 characters |
| Definition paragraph |
40-60 words |
Keyword Density
- Don't exceed 3-4 mentions of exact phrase per 1,000 words
- Use variations naturally (e.g., "closures", "closure", "JavaScript closures")
Content Length
| Length |
Assessment |
| <1,000 words |
Too thin - add depth |
| 1,000-1,500 |
Minimum viable |
| 1,500-2,500 |
Good |
| 2,500-4,000 |
Excellent |
| >4,000 |
Consider splitting |
Summary
When auditing a concept page for SEO:
- Identify target keywords using the keyword cluster for that concept
- Check title tag — 50-60 chars, keyword first, hook, ends with "JavaScript"
- Check meta description — 150-160 chars, action word, keyword, specific value
- Verify keyword placement — Title, description, first 100 words, H2
- Audit content structure — Question hook, early code, Info box, short paragraphs
- Optimize for featured snippets — 40-60 word definitions, numbered steps, tables
- Check internal linking — 3-5 links, good anchors, Related Concepts section
- Generate report — Document score, issues, and prioritized fixes
Remember: SEO isn't about gaming search engines — it's about making content easy to find for developers who need it. Every optimization should also improve the reader experience.
1---2name: seo-review3description: Perform a focused SEO audit on JavaScript concept pages to maximize search4 visibility, featured snippet optimization, and ranking potential5risk: safe6source: community7license: MIT8metadata:9 source: https://skillmd.com/skills/jantoniofc/seo-review10---1112# Skill: SEO Audit for Concept Pages1314Use this skill to perform a focused SEO audit on concept documentation pages for the 33 JavaScript Concepts project. The goal is to maximize search visibility for JavaScript developers.1516## When to Use1718- Before publishing a new concept page19- When optimizing underperforming pages20- Periodic content audits21- After major content updates22- When targeting new keywords2324## Goal2526Each concept page should rank for searches like:27- "what is [concept] in JavaScript"28- "how does [concept] work in JavaScript"29- "[concept] JavaScript explained"30- "[concept] JavaScript tutorial"31- "[concept] JavaScript example"3233---3435## SEO Audit Methodology3637Follow these five steps for a complete SEO audit.3839### Step 1: Identify Target Keywords4041Before auditing, identify the keyword cluster for the concept.4243#### Keyword Cluster Template4445| Type | Pattern | Example (Closures) |46|------|---------|-------------------|47| **Primary** | [concept] JavaScript | closures JavaScript |48| **What is** | what is [concept] in JavaScript | what is a closure in JavaScript |49| **How does** | how does [concept] work | how do closures work |50| **How to** | how to use/create [concept] | how to use closures |51| **Why** | why use [concept] | why use closures JavaScript |52| **Examples** | [concept] examples | closure examples JavaScript |53| **vs** | [concept] vs [related] | closures vs scope |54| **Interview** | [concept] interview questions | closure interview questions |5556### Step 2: On-Page SEO Audit5758Check all on-page SEO elements systematically.5960### Step 3: Featured Snippet Optimization6162Verify content is structured to win featured snippets.6364### Step 4: Internal Linking Audit6566Check the internal link structure.6768### Step 5: Generate Report6970Document findings using the report template.7172---7374## Keyword Clusters by Concept7576Use these pre-built keyword clusters for each concept.7778<AccordionGroup>79 <Accordion title="Call Stack">80 | Type | Keywords |81 |------|----------|82 | Primary | JavaScript call stack, call stack JavaScript |83 | What is | what is the call stack in JavaScript |84 | How does | how does the call stack work |85 | Error | maximum call stack size exceeded, stack overflow JavaScript |86 | Visual | call stack visualization, call stack explained |87 | Interview | call stack interview questions JavaScript |88 </Accordion>8990 <Accordion title="Primitive Types">91 | Type | Keywords |92 |------|----------|93 | Primary | JavaScript primitive types, primitives in JavaScript |94 | What are | what are primitive types in JavaScript |95 | List | JavaScript data types, types in JavaScript |96 | vs | primitives vs objects JavaScript |97 | typeof | typeof JavaScript, JavaScript typeof operator |98 | Interview | JavaScript types interview questions |99 </Accordion>100101 <Accordion title="Value vs Reference Types">102 | Type | Keywords |103 |------|----------|104 | Primary | JavaScript value vs reference, pass by reference JavaScript |105 | What is | what is pass by value in JavaScript |106 | How does | how does JavaScript pass objects |107 | Comparison | value types vs reference types JavaScript |108 | Copy | how to copy objects JavaScript, deep copy JavaScript |109 </Accordion>110111 <Accordion title="Type Coercion">112 | Type | Keywords |113 |------|----------|114 | Primary | JavaScript type coercion, type conversion JavaScript |115 | What is | what is type coercion in JavaScript |116 | How does | how does type coercion work |117 | Implicit | implicit type conversion JavaScript |118 | Explicit | explicit type conversion JavaScript |119 | Interview | type coercion interview questions |120 </Accordion>121122 <Accordion title="Equality Operators">123 | Type | Keywords |124 |------|----------|125 | Primary | JavaScript equality, == vs === JavaScript |126 | What is | what is the difference between == and === |127 | Comparison | loose equality vs strict equality JavaScript |128 | Best practice | when to use == vs === |129 | Interview | JavaScript equality interview questions |130 </Accordion>131132 <Accordion title="Scope and Closures">133 | Type | Keywords |134 |------|----------|135 | Primary | JavaScript closures, JavaScript scope |136 | What is | what is a closure in JavaScript, what is scope |137 | How does | how do closures work, how does scope work |138 | Types | types of scope JavaScript, lexical scope |139 | Use cases | closure use cases, why use closures |140 | Interview | closure interview questions JavaScript |141 </Accordion>142143 <Accordion title="Event Loop">144 | Type | Keywords |145 |------|----------|146 | Primary | JavaScript event loop, event loop JavaScript |147 | What is | what is the event loop in JavaScript |148 | How does | how does the event loop work |149 | Visual | event loop visualization, event loop explained |150 | Related | call stack event loop, task queue JavaScript |151 | Interview | event loop interview questions |152 </Accordion>153154 <Accordion title="Promises">155 | Type | Keywords |156 |------|----------|157 | Primary | JavaScript Promises, Promises in JavaScript |158 | What is | what is a Promise in JavaScript |159 | How to | how to use Promises, how to chain Promises |160 | Methods | Promise.all, Promise.race, Promise.allSettled |161 | Error | Promise error handling, Promise catch |162 | vs | Promises vs callbacks, Promises vs async await |163 </Accordion>164165 <Accordion title="async/await">166 | Type | Keywords |167 |------|----------|168 | Primary | JavaScript async await, async await JavaScript |169 | What is | what is async await in JavaScript |170 | How to | how to use async await, async await tutorial |171 | Error | async await error handling, try catch async |172 | vs | async await vs Promises |173 | Interview | async await interview questions |174 </Accordion>175176 <Accordion title="this Keyword">177 | Type | Keywords |178 |------|----------|179 | Primary | JavaScript this keyword, this in JavaScript |180 | What is | what is this in JavaScript |181 | How does | how does this work in JavaScript |182 | Binding | call apply bind JavaScript, this binding |183 | Arrow | this in arrow functions |184 | Interview | this keyword interview questions |185 </Accordion>186187 <Accordion title="Prototypes">188 | Type | Keywords |189 |------|----------|190 | Primary | JavaScript prototype, prototype chain JavaScript |191 | What is | what is a prototype in JavaScript |192 | How does | how does prototype inheritance work |193 | Chain | prototype chain explained |194 | vs | prototype vs class JavaScript |195 | Interview | prototype interview questions JavaScript |196 </Accordion>197198 <Accordion title="DOM">199 | Type | Keywords |200 |------|----------|201 | Primary | JavaScript DOM, DOM manipulation JavaScript |202 | What is | what is the DOM in JavaScript |203 | How to | how to manipulate DOM JavaScript |204 | Methods | getElementById, querySelector JavaScript |205 | Events | DOM events JavaScript, event listeners |206 | Performance | DOM performance, virtual DOM vs DOM |207 </Accordion>208209 <Accordion title="Higher-Order Functions">210 | Type | Keywords |211 |------|----------|212 | Primary | JavaScript higher order functions, higher order functions |213 | What are | what are higher order functions |214 | Examples | map filter reduce JavaScript |215 | How to | how to use higher order functions |216 | Interview | higher order functions interview |217 </Accordion>218219 <Accordion title="Recursion">220 | Type | Keywords |221 |------|----------|222 | Primary | JavaScript recursion, recursion in JavaScript |223 | What is | what is recursion in JavaScript |224 | How to | how to write recursive functions |225 | Examples | recursion examples JavaScript |226 | vs | recursion vs iteration JavaScript |227 | Interview | recursion interview questions |228 </Accordion>229</AccordionGroup>230231---232233## Audit Checklists234235### Title Tag Checklist (4 points)236237| # | Check | Points | How to Verify |238|---|-------|--------|---------------|239| 1 | Length 50-60 characters | 1 | Count characters in `title` frontmatter |240| 2 | Primary keyword in first half | 1 | Concept name appears early |241| 3 | Ends with "in JavaScript" | 1 | Check title ending |242| 4 | Contains compelling hook | 1 | Promises value/benefit to reader |243244**Scoring:**245- 4/4: ✅ Excellent246- 3/4: ⚠️ Good, minor improvements possible247- 0-2/4: ❌ Needs significant work248249**Title Formula:**250```251[Concept]: [What You'll Understand] in JavaScript252```253254**Good Examples:**255| Concept | Title (with character count) |256|---------|------------------------------|257| Closures | "Closures: How Functions Remember Their Scope in JavaScript" (58 chars) |258| Event Loop | "Event Loop: How Async Code Actually Runs in JavaScript" (54 chars) |259| Promises | "Promises: Handling Async Operations in JavaScript" (49 chars) |260| DOM | "DOM: How Browsers Represent Web Pages in JavaScript" (51 chars) |261262**Bad Examples:**263| Issue | Bad Title | Better Title |264|-------|-----------|--------------|265| Too short | "Closures" | "Closures: How Functions Remember Their Scope in JavaScript" |266| Too long | "Understanding JavaScript Closures and How They Work with Examples" (66 chars) | "Closures: How Functions Remember Their Scope in JavaScript" (58 chars) |267| No hook | "JavaScript Closures" | "Closures: How Functions Remember Their Scope in JavaScript" |268| Missing "JavaScript" | "Understanding Closures and Scope" | Add "in JavaScript" at end |269270---271272### Meta Description Checklist (4 points)273274| # | Check | Points | How to Verify |275|---|-------|--------|---------------|276| 1 | Length 150-160 characters | 1 | Count characters in `description` frontmatter |277| 2 | Starts with action word | 1 | "Learn", "Understand", "Discover" (NOT "Master") |278| 3 | Contains primary keyword | 1 | Concept name + "JavaScript" present |279| 4 | Promises specific value | 1 | Lists what reader will learn |280281**Description Formula:**282```283[Action word] [what it is] in JavaScript. [Specific things they'll learn]: [topic 1], [topic 2], and [topic 3].284```285286**Good Examples:**287288| Concept | Description |289|---------|-------------|290| Closures | "Learn JavaScript closures and how functions remember their scope. Covers lexical scoping, practical use cases, memory considerations, and common closure patterns." (159 chars) |291| Event Loop | "Discover how the JavaScript event loop manages async code execution. Understand the call stack, task queue, microtasks, and why JavaScript is single-threaded but non-blocking." (176 chars - trim!) |292| DOM | "Learn how the DOM works in JavaScript. Understand how browsers represent HTML as a tree, select and manipulate elements, traverse nodes, and optimize rendering." (162 chars) |293294**Bad Examples:**295296| Issue | Bad Description | Fix |297|-------|-----------------|-----|298| Too short | "Learn about closures" | Expand to 150-160 chars with specifics |299| Starts with "Master" | "Master JavaScript closures..." | "Learn JavaScript closures..." |300| Too vague | "A guide to closures" | List specific topics covered |301| Missing keyword | "Functions can remember things" | Include "closures" and "JavaScript" |302303---304305### Keyword Placement Checklist (5 points)306307| # | Check | Points | How to Verify |308|---|-------|--------|---------------|309| 1 | Primary keyword in title | 1 | Check frontmatter `title` |310| 2 | Primary keyword in meta description | 1 | Check frontmatter `description` |311| 3 | Primary keyword in first 100 words | 1 | Check opening paragraphs |312| 4 | Keyword in at least one H2 heading | 1 | Scan all `##` headings |313| 5 | No keyword stuffing | 1 | Content reads naturally |314315**Keyword Placement Map:**316317```318┌─────────────────────────────────────────────────────────────────────────┐319│ KEYWORD PLACEMENT │320├─────────────────────────────────────────────────────────────────────────┤321│ │322│ 🔴 CRITICAL (Must have keyword) │323│ ───────────────────────────────── │324│ • title frontmatter │325│ • description frontmatter │326│ • First paragraph (within 100 words) │327│ • At least one H2 heading │328│ │329│ 🟡 RECOMMENDED (Include naturally) │330│ ────────────────────────────────── │331│ • "What you'll learn" Info box │332│ • H3 subheadings │333│ • Key Takeaways section │334│ • First sentence after major H2s │335│ │336│ ⚠️ AVOID │337│ ───────── │338│ • Same phrase >4 times per 1000 words │339│ • Forcing keywords where pronouns work better │340│ • Awkward sentence structures to fit keywords │341│ │342└─────────────────────────────────────────────────────────────────────────┘343```344345---346347### Content Structure Checklist (6 points)348349| # | Check | Points | How to Verify |350|---|-------|--------|---------------|351| 1 | Opens with question hook | 1 | First paragraph asks engaging question |352| 2 | Code example in first 200 words | 1 | Simple example appears early |353| 3 | "What you'll learn" Info box | 1 | `<Info>` component after opening |354| 4 | Short paragraphs (2-4 sentences) | 1 | Scan content for long blocks |355| 5 | 1,500+ words | 1 | Word count check |356| 6 | Key terms bolded on first mention | 1 | Important terms use `**bold**` |357358**Content Structure Template:**359360```361┌─────────────────────────────────────────────────────────────────────────┐362│ IDEAL PAGE STRUCTURE │363├─────────────────────────────────────────────────────────────────────────┤364│ │365│ 1. QUESTION HOOK (First 50 words) │366│ "How does JavaScript...? Why do...?" │367│ │368│ 2. BRIEF ANSWER + CODE EXAMPLE (Words 50-200) │369│ Quick explanation + simple code demo │370│ │371│ 3. "WHAT YOU'LL LEARN" INFO BOX │372│ 5-7 bullet points │373│ │374│ 4. PREREQUISITES WARNING (if applicable) │375│ Link to required prior concepts │376│ │377│ 5. MAIN CONTENT SECTIONS (H2s) │378│ Each H2 answers a question or teaches a concept │379│ Include code examples, diagrams, tables │380│ │381│ 6. COMMON MISTAKES / GOTCHAS SECTION │382│ What trips people up │383│ │384│ 7. KEY TAKEAWAYS │385│ 8-10 numbered points summarizing everything │386│ │387│ 8. TEST YOUR KNOWLEDGE │388│ 5-6 Q&A accordions │389│ │390│ 9. RELATED CONCEPTS │391│ 4 cards linking to related topics │392│ │393│ 10. RESOURCES (Reference, Articles, Videos) │394│ MDN links, curated articles, videos │395│ │396└─────────────────────────────────────────────────────────────────────────┘397```398399---400401### Featured Snippet Checklist (4 points)402403| # | Check | Points | How to Verify |404|---|-------|--------|---------------|405| 1 | "What is X" has 40-60 word definition | 1 | Count words in first paragraph after "What is" H2 |406| 2 | At least one H2 is phrased as question | 1 | Check for "What is", "How does", "Why" H2s |407| 3 | Numbered steps for "How to" content | 1 | Uses `<Steps>` component or numbered list |408| 4 | Comparison tables (if applicable) | 1 | Tables for "X vs Y" content |409410**Featured Snippet Patterns:**411412```413┌─────────────────────────────────────────────────────────────────────────┐414│ FEATURED SNIPPET FORMATS │415├─────────────────────────────────────────────────────────────────────────┤416│ │417│ QUERY TYPE WINNING FORMAT YOUR CONTENT │418│ ─────────── ────────────── ──────────── │419│ │420│ "What is X" Paragraph 40-60 word definition │421│ after H2, bold keyword │422│ │423│ "How to X" Numbered list <Steps> component or │424│ 1. 2. 3. markdown │425│ │426│ "X vs Y" Table | Feature | X | Y | │427│ comparison table │428│ │429│ "Types of X" Bullet list - **Type 1** — desc │430│ - **Type 2** — desc │431│ │432│ "[X] examples" Code block ```javascript │433│ + explanation // example code │434│ │435└─────────────────────────────────────────────────────────────────────────┘436```437438**Definition Paragraph Example (40-60 words):**439440```markdown441## What is a Closure in JavaScript?442443A **closure** is a function that retains access to variables from its outer 444(enclosing) scope, even after that outer function has finished executing. 445Closures are created every time a function is created in JavaScript, allowing 446inner functions to "remember" and access their lexical environment.447```448449(This is 52 words - perfect for a featured snippet)450451---452453### Internal Linking Checklist (4 points)454455| # | Check | Points | How to Verify |456|---|-------|--------|---------------|457| 1 | 3-5 related concepts linked in body | 1 | Count `/concepts/` links in prose |458| 2 | Descriptive anchor text | 1 | No "click here", "here", "this" |459| 3 | Prerequisites in Warning box | 1 | `<Warning>` with links at start |460| 4 | Related Concepts section has 4 cards | 1 | `<CardGroup>` at end with 4 Cards |461462**Good Anchor Text:**463464| ❌ Bad | ✓ Good |465|--------|--------|466| "click here" | "event loop concept" |467| "here" | "JavaScript closures" |468| "this article" | "our Promises guide" |469| "read more" | "understanding the call stack" |470471**Link Placement Strategy:**472473```markdown474<!-- In Prerequisites (Warning box) -->475<Warning>476**Prerequisite:** This guide assumes you understand [Promises](/concepts/promises) 477and the [Event Loop](/concepts/event-loop). Read those first if needed.478</Warning>479480<!-- In Body Content (natural context) -->481When the callback finishes, it's added to the task queue — managed by 482the [event loop](/concepts/event-loop).483484<!-- In Related Concepts Section -->485<CardGroup cols={2}>486 <Card title="Promises" icon="handshake" href="/concepts/promises">487 async/await is built on top of Promises488 </Card>489</CardGroup>490```491492---493494### Technical SEO Checklist (3 points)495496| # | Check | Points | How to Verify |497|---|-------|--------|---------------|498| 1 | Single H1 per page | 1 | Only one `#` heading (the title) |499| 2 | URL slug contains keyword | 1 | `/concepts/closures` not `/concepts/topic-1` |500| 3 | No orphan pages | 1 | Page is linked from at least one other page |501502**H1 Rule:**503504Every page should have exactly ONE H1 (your main title). This is critical for SEO:505- The H1 tells Google what the page is about506- Multiple H1s confuse search engines about page hierarchy507- All other headings should be H2 (`##`) and below508- The H1 should contain your primary keyword509510```markdown511# Closures in JavaScript ← This is your H1 (only one!)512513## What is a Closure? ← H2 for sections514### Lexical Scope ← H3 for subsections515## How Closures Work ← Another H2516```517518**URL/Slug Best Practices:**519520| ✅ Good | ❌ Bad |521|---------|--------|522| `/concepts/closures` | `/concepts/c1` |523| `/concepts/event-loop` | `/concepts/topic-7` |524| `/concepts/type-coercion` | `/concepts/abc123` |525| `/concepts/async-await` | `/concepts/async_await` |526527Rules for slugs:528- **Include primary keyword** — The concept name should be in the URL529- **Use hyphens, not underscores** — `event-loop` not `event_loop`530- **Keep slugs short and readable** — Under 50 characters531- **No UUIDs, database IDs, or random strings**532- **Lowercase only** — `/concepts/Event-Loop` should be `/concepts/event-loop`533534**Orphan Page Detection:**535536An orphan page has no internal links pointing to it from other pages. This hurts SEO because:537- Google may not discover or crawl it frequently538- It signals the page isn't important to your site structure539- Users can't navigate to it naturally540- Link equity doesn't flow to the page541542**How to check for orphan pages:**5431. Search the codebase for links to this concept: `grep -r "/concepts/[slug]" docs/`5442. Verify it appears in at least one other concept's "Related Concepts" section5453. Check that pages listing it as a prerequisite link back appropriately5464. Ensure it's included in the navigation (`docs.json`)547548**Fixing orphan pages:**549- Add the concept to related pages' "Related Concepts" CardGroup550- Link to it naturally in body content of related concepts551- Ensure bidirectional linking (if A links to B, B should link back to A where relevant)552553---554555## Scoring System556557### Total Points Available: 30558559| Category | Max Points |560|----------|------------|561| Title Tag | 4 |562| Meta Description | 4 |563| Keyword Placement | 5 |564| Content Structure | 6 |565| Featured Snippets | 4 |566| Internal Linking | 4 |567| Technical SEO | 3 |568| **Total** | **30** |569570### Score Interpretation571572| Score | Percentage | Status | Action |573|-------|------------|--------|--------|574| 27-30 | 90-100% | ✅ Excellent | Ready to publish |575| 23-26 | 75-89% | ⚠️ Good | Minor optimizations needed |576| 17-22 | 55-74% | ⚠️ Fair | Several improvements needed |577| 0-16 | <55% | ❌ Poor | Significant work required |578579---580581## Common SEO Issues and Fixes582583### Title Tag Issues584585| Issue | Current | Fix |586|-------|---------|-----|587| Too short (<50 chars) | "Closures" (8) | "Closures: How Functions Remember Their Scope in JavaScript" (58) |588| Too long (>60 chars) | "Understanding JavaScript Closures and How They Work with Examples" (66) | "Closures: How Functions Remember Their Scope in JavaScript" (58) |589| Missing keyword | "Understanding Scope" | Add concept name: "Closures: Understanding Scope in JavaScript" |590| No hook | "JavaScript Closures" | Add benefit: "Closures: How Functions Remember Their Scope in JavaScript" |591| Missing "JavaScript" | "Closures Explained" | Add at end: "Closures Explained in JavaScript" |592593### Meta Description Issues594595| Issue | Current | Fix |596|-------|---------|-----|597| Too short (<120 chars) | "Learn about closures" (20) | Expand with specifics to 150-160 chars |598| Too long (>160 chars) | [Gets truncated] | Edit ruthlessly, keep key information |599| Starts with "Master" | "Master JavaScript closures..." | "Learn JavaScript closures..." |600| No keyword | "Functions that remember" | Include "closures" and "JavaScript" |601| Too vague | "A guide to closures" | List specific topics: "Covers X, Y, and Z" |602603### Content Structure Issues604605| Issue | Fix |606|-------|-----|607| No question hook | Start with "How does...?" or "Why...?" |608| Code example too late | Move simple example to first 200 words |609| Missing Info box | Add `<Info>` with "What you'll learn" |610| Long paragraphs | Break into 2-4 sentence chunks |611| Under 1,500 words | Add more depth, examples, edge cases |612| No bolded terms | Bold key concepts on first mention |613614### Featured Snippet Issues615616| Issue | Fix |617|-------|-----|618| No "What is" definition | Add 40-60 word definition paragraph |619| Definition too long | Tighten to 40-60 words |620| No question H2s | Add "What is X?" or "How does X work?" H2 |621| Steps not numbered | Use `<Steps>` or numbered markdown |622| No comparison tables | Add table for "X vs Y" sections |623624### Internal Linking Issues625626| Issue | Fix |627|-------|-----|628| No internal links | Add 3-5 links to related concepts |629| Bad anchor text | Replace "click here" with descriptive text |630| No prerequisites | Add `<Warning>` with prerequisite links |631| Empty Related Concepts | Add 4 Cards linking to related topics |632633### Technical SEO Issues634635| Issue | Fix |636|-------|-----|637| Multiple H1 tags | Keep only one `#` heading (the title), use `##` for all sections |638| Slug missing keyword | Rename file to include concept name (e.g., `closures.mdx`) |639| Orphan page | Add links from related concept pages' body or Related Concepts section |640| Underscore in slug | Use hyphens: `event-loop.mdx` not `event_loop.mdx` |641| Uppercase in slug | Use lowercase only: `async-await.mdx` not `Async-Await.mdx` |642| Slug too long | Shorten to primary keyword: `closures.mdx` not `understanding-javascript-closures-and-scope.mdx` |643644---645646## SEO Audit Report Template647648Use this template to document your findings.649650```markdown651# SEO Audit Report: [Concept Name]652653**File:** `/docs/concepts/[slug].mdx`654**Date:** YYYY-MM-DD655**Auditor:** [Name/Claude]656**Overall Score:** XX/30 (XX%)657**Status:** ✅ Excellent | ⚠️ Needs Work | ❌ Poor658659---660661## Score Summary662663| Category | Score | Status |664|----------|-------|--------|665| Title Tag | X/4 | ✅/⚠️/❌ |666| Meta Description | X/4 | ✅/⚠️/❌ |667| Keyword Placement | X/5 | ✅/⚠️/❌ |668| Content Structure | X/6 | ✅/⚠️/❌ |669| Featured Snippets | X/4 | ✅/⚠️/❌ |670| Internal Linking | X/4 | ✅/⚠️/❌ |671| Technical SEO | X/3 | ✅/⚠️/❌ |672| **Total** | **X/30** | **STATUS** |673674---675676## Target Keywords677678**Primary Keyword:** [e.g., "JavaScript closures"]679**Secondary Keywords:**680- [keyword 1]681- [keyword 2]682- [keyword 3]683684**Search Intent:** Informational / How-to / Comparison685686---687688## Title Tag Analysis689690**Current Title:** "[current title from frontmatter]"691**Character Count:** XX characters692**Score:** X/4693694| Check | Status | Notes |695|-------|--------|-------|696| Length 50-60 chars | ✅/❌ | XX characters |697| Primary keyword in first half | ✅/❌ | [notes] |698| Ends with "in JavaScript" | ✅/❌ | [notes] |699| Contains compelling hook | ✅/❌ | [notes] |700701**Issues Found:** [if any]702703**Recommended Title:** "[suggested title]" (XX chars)704705---706707## Meta Description Analysis708709**Current Description:** "[current description from frontmatter]"710**Character Count:** XX characters711**Score:** X/4712713| Check | Status | Notes |714|-------|--------|-------|715| Length 150-160 chars | ✅/❌ | XX characters |716| Starts with action word | ✅/❌ | Starts with "[word]" |717| Contains primary keyword | ✅/❌ | [notes] |718| Promises specific value | ✅/❌ | [notes] |719720**Issues Found:** [if any]721722**Recommended Description:** "[suggested description]" (XX chars)723724---725726## Keyword Placement Analysis727728**Score:** X/5729730| Location | Present | Notes |731|----------|---------|-------|732| Title | ✅/❌ | [notes] |733| Meta description | ✅/❌ | [notes] |734| First 100 words | ✅/❌ | Found at word XX |735| H2 heading | ✅/❌ | Found in: "[H2 text]" |736| Natural reading | ✅/❌ | [no stuffing / stuffing detected] |737738**Missing Keyword Placements:**739- [ ] [Location where keyword should be added]740741---742743## Content Structure Analysis744745**Word Count:** X,XXX words746**Score:** X/6747748| Check | Status | Notes |749|-------|--------|-------|750| Question hook opening | ✅/❌ | [notes] |751| Code in first 200 words | ✅/❌ | Code appears at word XX |752| "What you'll learn" box | ✅/❌ | [present/missing] |753| Short paragraphs | ✅/❌ | [notes on paragraph length] |754| 1,500+ words | ✅/❌ | X,XXX words |755| Bolded key terms | ✅/❌ | [notes] |756757**Structure Issues:**758- [ ] [Issue and recommendation]759760---761762## Featured Snippet Analysis763764**Score:** X/4765766| Check | Status | Notes |767|-------|--------|-------|768| 40-60 word definition | ✅/❌ | Currently XX words |769| Question-format H2 | ✅/❌ | Found: "[H2]" / Not found |770| Numbered steps | ✅/❌ | [notes] |771| Comparison tables | ✅/❌/N/A | [notes] |772773**Snippet Opportunities:**7747751. **"What is [concept]" snippet:**776 - Current definition: XX words777 - Action: [Expand to/Trim to] 40-60 words7787792. **"How to [action]" snippet:**780 - Action: [Add Steps component / Already present]781782---783784## Internal Linking Analysis785786**Score:** X/4787788| Check | Status | Notes |789|-------|--------|-------|790| 3-5 internal links in body | ✅/❌ | Found X links |791| Descriptive anchor text | ✅/❌ | [notes] |792| Prerequisites in Warning | ✅/❌ | [present/missing] |793| Related Concepts section | ✅/❌ | X cards present |794795**Current Internal Links:**7961. [Anchor text] → `/concepts/[slug]`7972. [Anchor text] → `/concepts/[slug]`798799**Recommended Links to Add:**800- Link to [concept] in [section/context]801- Link to [concept] in [section/context]802803**Bad Anchor Text Found:**804- Line XX: "click here" → change to "[descriptive text]"805806---807808## Technical SEO Analysis809810**Score:** X/3811812| Check | Status | Notes |813|-------|--------|-------|814| Single H1 per page | ✅/❌ | [Found X H1 tags] |815| URL slug contains keyword | ✅/❌ | Current: `/concepts/[slug]` |816| Not an orphan page | ✅/❌ | Linked from X other pages |817818**H1 Tags Found:**819- Line XX: `# [H1 text]` ← Should be the only one820- [List any additional H1s that need to be changed to H2]821822**Slug Analysis:**823- Current slug: `[slug].mdx`824- Contains keyword: ✅/❌825- Format correct: ✅/❌ (lowercase, hyphens, no special chars)826827**Incoming Links Found:**8281. `/concepts/[other-concept]` → Links to this page in [section]8292. `/concepts/[other-concept]` → Links in Related Concepts830831**If orphan page, add links from:**832- [Suggested concept page] in [section]833- [Suggested concept page] in Related Concepts834835---836837## Priority Fixes838839### High Priority (Do First)8408411. **[Issue]**842 - Current: [what it is now]843 - Recommended: [what it should be]844 - Impact: [why this matters]8458462. **[Issue]**847 - Current: [what it is now]848 - Recommended: [what it should be]849 - Impact: [why this matters]850851### Medium Priority8528531. **[Issue]**854 - Recommendation: [fix]855856### Low Priority (Nice to Have)8578581. **[Issue]**859 - Recommendation: [fix]860861---862863## Competitive Analysis (Optional)864865**Top-Ranking Pages for "[primary keyword]":**8668671. **[Competitor 1 - URL]**868 - What they do well: [observation]869 - Word count: ~X,XXX8708712. **[Competitor 2 - URL]**872 - What they do well: [observation]873 - Word count: ~X,XXX874875**Our Advantages:**876- [What we do better]877878**Gaps to Fill:**879- [What we're missing that competitors have]880881---882883## Implementation Checklist884885After making fixes, verify:886887- [ ] Title is 50-60 characters with keyword and hook888- [ ] Description is 150-160 characters with action word and value889- [ ] Primary keyword in title, description, first 100 words, and H2890- [ ] Opens with question hook891- [ ] Code example in first 200 words892- [ ] "What you'll learn" Info box present893- [ ] Paragraphs are 2-4 sentences894- [ ] 1,500+ words total895- [ ] Key terms bolded on first mention896- [ ] 40-60 word definition for featured snippet897- [ ] At least one question-format H2898- [ ] 3-5 internal links with descriptive anchor text899- [ ] Prerequisites in Warning box (if applicable)900- [ ] Related Concepts section has 4 cards901- [ ] Single H1 per page (title only)902- [ ] URL slug contains primary keyword903- [ ] Page linked from at least one other concept page904- [ ] All fixes implemented and verified905906---907908## Final Recommendation909910**Ready to Publish:** ✅ Yes / ❌ No - [reason]911912**Next Review Date:** [When to re-audit, e.g., "3 months" or "after major update"]913```914915---916917## Quick Reference918919### Character Counts920921| Element | Ideal Length |922|---------|--------------|923| Title | 50-60 characters |924| Meta Description | 150-160 characters |925| Definition paragraph | 40-60 words |926927### Keyword Density928929- Don't exceed 3-4 mentions of exact phrase per 1,000 words930- Use variations naturally (e.g., "closures", "closure", "JavaScript closures")931932### Content Length933934| Length | Assessment |935|--------|------------|936| <1,000 words | Too thin - add depth |937| 1,000-1,500 | Minimum viable |938| 1,500-2,500 | Good |939| 2,500-4,000 | Excellent |940| >4,000 | Consider splitting |941942---943944## Summary945946When auditing a concept page for SEO:9479481. **Identify target keywords** using the keyword cluster for that concept9492. **Check title tag** — 50-60 chars, keyword first, hook, ends with "JavaScript"9503. **Check meta description** — 150-160 chars, action word, keyword, specific value9514. **Verify keyword placement** — Title, description, first 100 words, H29525. **Audit content structure** — Question hook, early code, Info box, short paragraphs9536. **Optimize for featured snippets** — 40-60 word definitions, numbered steps, tables9547. **Check internal linking** — 3-5 links, good anchors, Related Concepts section9558. **Generate report** — Document score, issues, and prioritized fixes956957**Remember:** SEO isn't about gaming search engines — it's about making content easy to find for developers who need it. Every optimization should also improve the reader experience.