SEO Optimizer
Overview
Perform comprehensive SEO analysis and optimization covering keyword placement, readability metrics, technical elements, and content quality to improve search engine rankings and user experience.
When to Use
- Optimizing blog posts or articles for search rankings
- Conducting content audits
- Improving existing content performance
- Planning new content with SEO in mind
- Analyzing competitor content strategies
- Preparing content for publication
Core Analysis Areas
1. Target Keywords Analysis
- Identify primary and secondary keywords
- Check placement in title, H1, first 100 words, subheadings
- Calculate keyword density (target: 1-2%)
- Identify LSI keywords and semantic variations
- Flag keyword stuffing issues
2. Content Structure
- Verify heading hierarchy (H1 → H2 → H3)
- Check keyword usage in headings
- Evaluate paragraph length (target: <150 words)
- Assess overall scannability
- Review content organization
3. Readability Metrics
// Readability scoring example
const readabilityMetrics = {
fleschScore: 65, // Target: 60-70
gradeLevel: 8, // Target: 7-9
avgSentenceLength: 18, // Target: <20 words
passiveVoice: 5, // Target: <10%
transitionWords: 30 // Target: >30%
};
Key Metrics:
- Flesch Reading Ease score (60-70 ideal)
- Grade level estimation
- Average sentence length (<20 words)
- Passive voice percentage (minimize)
- Transition word usage
4. Technical SEO Elements
| Element |
Recommendation |
| Meta Title |
50-60 characters with primary keyword |
| Meta Description |
150-160 characters, compelling with keyword |
| URL Slug |
Short, keyword-rich, hyphen-separated |
| Image Alt Text |
Descriptive with natural keyword usage |
| Internal Links |
Link to related content with keyword anchors |
| External Links |
Quality outbound links to authoritative sources |
5. Content Quality Assessment
- Word count adequacy (1500+ for competitive topics)
- Content depth and topic coverage
- Unique value proposition
- E-A-T signals (Expertise, Authority, Trustworthiness)
- Content freshness (current examples, recent data)
- Clear answer to user intent
6. Provide Actionable Recommendations
Organize findings into prioritized action items based on impact and implementation effort.
Priority Levels
Critical (Fix Immediately) 🚨
- Missing or poor meta description
- No keyword in title or H1
- Broken internal links
- Keyword density too high (stuffing) or too low
High Priority ⚠️
- Poor readability score
- Weak heading structure
- Missing alt text on images
- Content too thin for topic
Medium Priority 📋
- Could add related keywords
- Featured snippet opportunities
- Additional internal linking
- Schema markup opportunities
Analysis Report Structure
# SEO Analysis Report
## Overall Score: X/100
### Quick Wins 🚀
1. [Specific action with exact change]
2. [Specific action with exact change]
## Keyword Analysis
- Primary keyword density
- Placement verification
- LSI keyword coverage
## Readability Metrics
- Flesch Reading Ease: XX/100
- Grade Level: X
- Sentence length assessment
## Technical SEO
- Meta tags analysis
- URL optimization
- Image optimization
## Content Gaps
- Missing subtopics
- Coverage recommendations
- Topic expansion opportunities
## Competitor Insights
- Top ranking pages analysis
- Word count comparison
- Unique angles they cover
- Our competitive advantage
## Implementation Checklist
- [ ] Action item 1
- [ ] Action item 2
## Estimated Impact
- **Time to Implement**: X hours
- **Expected Improvement**: [Moderate/Significant] ranking boost
- **Priority**: [High/Medium/Low]
- **Timeframe**: [Weeks until results]
Best Practices
- User experience first: Prioritize readability and value over keyword density
- Write for humans: Optimize for search engines second
- Be specific: Provide exact changes, not vague suggestions
- Consider intent: Match content to search intent (informational, commercial, transactional)
- E-A-T signals: Include author credentials, sources, and expertise indicators
- Featured snippets: Format content for definition boxes, lists, tables
- Schema markup: Suggest structured data (FAQ, How-To, Review) where relevant
Example Analysis Flow
- Identify keywords → Extract from user input or content
- Check placement → Verify in title, H1, first 100 words
- Calculate density → Ensure 1-2% keyword density
- Assess readability → Calculate Flesch score and sentence length
- Review structure → Check heading hierarchy and paragraph length
- Analyze technical → Validate meta tags, URLs, alt text
- Find gaps → Identify missing topics and internal links
- Prioritize fixes → Sort by impact (critical > high > medium)
- Generate checklist → Create actionable implementation steps
Output Guidelines
- Provide specific recommendations with exact text changes
- Show before/after examples for clarity
- Include keyword variations naturally in suggestions
- Estimate time to implement and expected impact
- Format for easy scanning with headings and lists
- Add context explaining why changes matter
Additional Resources
See references/analysis-framework.md for:
- Detailed analysis instructions for each area
- Technical specifications and formulas
- Competitor analysis guidelines
- E-A-T evaluation criteria
See references/output-templates.md for:
- Complete SEO report template
- Implementation checklist format
- Example workflow with sample content
- Featured snippet optimization templates
Core Philosophy
"SEO is about creating valuable, well-optimized content that serves user intent better than competitors."
Focus on genuine value creation, not manipulation tactics. Quality content that helps users naturally attracts engagement signals that improve rankings.
1---2name: seo-optimizer3description: SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.4license: MIT5---67# SEO Optimizer89## Overview1011Perform comprehensive SEO analysis and optimization covering keyword placement, readability metrics, technical elements, and content quality to improve search engine rankings and user experience.1213## When to Use1415- Optimizing blog posts or articles for search rankings16- Conducting content audits17- Improving existing content performance18- Planning new content with SEO in mind19- Analyzing competitor content strategies20- Preparing content for publication2122## Core Analysis Areas2324### 1. Target Keywords Analysis2526- Identify primary and secondary keywords27- Check placement in title, H1, first 100 words, subheadings28- Calculate keyword density (target: 1-2%)29- Identify LSI keywords and semantic variations30- Flag keyword stuffing issues3132### 2. Content Structure3334- Verify heading hierarchy (H1 → H2 → H3)35- Check keyword usage in headings36- Evaluate paragraph length (target: <150 words)37- Assess overall scannability38- Review content organization3940### 3. Readability Metrics4142```javascript43// Readability scoring example44const readabilityMetrics = {45 fleschScore: 65, // Target: 60-7046 gradeLevel: 8, // Target: 7-947 avgSentenceLength: 18, // Target: <20 words48 passiveVoice: 5, // Target: <10%49 transitionWords: 30 // Target: >30%50};51```5253**Key Metrics:**54- Flesch Reading Ease score (60-70 ideal)55- Grade level estimation56- Average sentence length (<20 words)57- Passive voice percentage (minimize)58- Transition word usage5960### 4. Technical SEO Elements6162| Element | Recommendation |63|---------|----------------|64| Meta Title | 50-60 characters with primary keyword |65| Meta Description | 150-160 characters, compelling with keyword |66| URL Slug | Short, keyword-rich, hyphen-separated |67| Image Alt Text | Descriptive with natural keyword usage |68| Internal Links | Link to related content with keyword anchors |69| External Links | Quality outbound links to authoritative sources |7071### 5. Content Quality Assessment7273- Word count adequacy (1500+ for competitive topics)74- Content depth and topic coverage75- Unique value proposition76- E-A-T signals (Expertise, Authority, Trustworthiness)77- Content freshness (current examples, recent data)78- Clear answer to user intent7980### 6. Provide Actionable Recommendations8182Organize findings into prioritized action items based on impact and implementation effort.8384## Priority Levels8586### Critical (Fix Immediately) 🚨87- Missing or poor meta description88- No keyword in title or H189- Broken internal links90- Keyword density too high (stuffing) or too low9192### High Priority ⚠️93- Poor readability score94- Weak heading structure95- Missing alt text on images96- Content too thin for topic9798### Medium Priority 📋99- Could add related keywords100- Featured snippet opportunities101- Additional internal linking102- Schema markup opportunities103104## Analysis Report Structure105106```markdown107# SEO Analysis Report108109## Overall Score: X/100110111### Quick Wins 🚀1121. [Specific action with exact change]1132. [Specific action with exact change]114115## Keyword Analysis116- Primary keyword density117- Placement verification118- LSI keyword coverage119120## Readability Metrics121- Flesch Reading Ease: XX/100122- Grade Level: X123- Sentence length assessment124125## Technical SEO126- Meta tags analysis127- URL optimization128- Image optimization129130## Content Gaps131- Missing subtopics132- Coverage recommendations133- Topic expansion opportunities134135## Competitor Insights136- Top ranking pages analysis137- Word count comparison138- Unique angles they cover139- Our competitive advantage140141## Implementation Checklist142- [ ] Action item 1143- [ ] Action item 2144145## Estimated Impact146- **Time to Implement**: X hours147- **Expected Improvement**: [Moderate/Significant] ranking boost148- **Priority**: [High/Medium/Low]149- **Timeframe**: [Weeks until results]150```151152## Best Practices153154- **User experience first**: Prioritize readability and value over keyword density155- **Write for humans**: Optimize for search engines second156- **Be specific**: Provide exact changes, not vague suggestions157- **Consider intent**: Match content to search intent (informational, commercial, transactional)158- **E-A-T signals**: Include author credentials, sources, and expertise indicators159- **Featured snippets**: Format content for definition boxes, lists, tables160- **Schema markup**: Suggest structured data (FAQ, How-To, Review) where relevant161162## Example Analysis Flow1631641. **Identify keywords** → Extract from user input or content1652. **Check placement** → Verify in title, H1, first 100 words1663. **Calculate density** → Ensure 1-2% keyword density1674. **Assess readability** → Calculate Flesch score and sentence length1685. **Review structure** → Check heading hierarchy and paragraph length1696. **Analyze technical** → Validate meta tags, URLs, alt text1707. **Find gaps** → Identify missing topics and internal links1718. **Prioritize fixes** → Sort by impact (critical > high > medium)1729. **Generate checklist** → Create actionable implementation steps173174## Output Guidelines175176- Provide **specific recommendations** with exact text changes177- Show **before/after examples** for clarity178- Include **keyword variations** naturally in suggestions179- Estimate **time to implement** and **expected impact**180- Format for **easy scanning** with headings and lists181- Add **context** explaining why changes matter182183## Additional Resources184185See [references/analysis-framework.md](references/analysis-framework.md) for:186- Detailed analysis instructions for each area187- Technical specifications and formulas188- Competitor analysis guidelines189- E-A-T evaluation criteria190191See [references/output-templates.md](references/output-templates.md) for:192- Complete SEO report template193- Implementation checklist format194- Example workflow with sample content195- Featured snippet optimization templates196197## Core Philosophy198199> "SEO is about creating valuable, well-optimized content that serves user intent better than competitors."200201Focus on genuine value creation, not manipulation tactics. Quality content that helps users naturally attracts engagement signals that improve rankings.