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.4---56# SEO Optimizer78## Overview910Perform comprehensive SEO analysis and optimization covering keyword placement, readability metrics, technical elements, and content quality to improve search engine rankings and user experience.1112## When to Use1314- Optimizing blog posts or articles for search rankings15- Conducting content audits16- Improving existing content performance17- Planning new content with SEO in mind18- Analyzing competitor content strategies19- Preparing content for publication2021## Core Analysis Areas2223### 1. Target Keywords Analysis2425- Identify primary and secondary keywords26- Check placement in title, H1, first 100 words, subheadings27- Calculate keyword density (target: 1-2%)28- Identify LSI keywords and semantic variations29- Flag keyword stuffing issues3031### 2. Content Structure3233- Verify heading hierarchy (H1 → H2 → H3)34- Check keyword usage in headings35- Evaluate paragraph length (target: <150 words)36- Assess overall scannability37- Review content organization3839### 3. Readability Metrics4041```javascript42// Readability scoring example43const readabilityMetrics = {44 fleschScore: 65, // Target: 60-7045 gradeLevel: 8, // Target: 7-946 avgSentenceLength: 18, // Target: <20 words47 passiveVoice: 5, // Target: <10%48 transitionWords: 30 // Target: >30%49};50```5152**Key Metrics:**53- Flesch Reading Ease score (60-70 ideal)54- Grade level estimation55- Average sentence length (<20 words)56- Passive voice percentage (minimize)57- Transition word usage5859### 4. Technical SEO Elements6061| Element | Recommendation |62|---------|----------------|63| Meta Title | 50-60 characters with primary keyword |64| Meta Description | 150-160 characters, compelling with keyword |65| URL Slug | Short, keyword-rich, hyphen-separated |66| Image Alt Text | Descriptive with natural keyword usage |67| Internal Links | Link to related content with keyword anchors |68| External Links | Quality outbound links to authoritative sources |6970### 5. Content Quality Assessment7172- Word count adequacy (1500+ for competitive topics)73- Content depth and topic coverage74- Unique value proposition75- E-A-T signals (Expertise, Authority, Trustworthiness)76- Content freshness (current examples, recent data)77- Clear answer to user intent7879### 6. Provide Actionable Recommendations8081Organize findings into prioritized action items based on impact and implementation effort.8283## Priority Levels8485### Critical (Fix Immediately) 🚨86- Missing or poor meta description87- No keyword in title or H188- Broken internal links89- Keyword density too high (stuffing) or too low9091### High Priority ⚠️92- Poor readability score93- Weak heading structure94- Missing alt text on images95- Content too thin for topic9697### Medium Priority 📋98- Could add related keywords99- Featured snippet opportunities100- Additional internal linking101- Schema markup opportunities102103## Analysis Report Structure104105```markdown106# SEO Analysis Report107108## Overall Score: X/100109110### Quick Wins 🚀1111. [Specific action with exact change]1122. [Specific action with exact change]113114## Keyword Analysis115- Primary keyword density116- Placement verification117- LSI keyword coverage118119## Readability Metrics120- Flesch Reading Ease: XX/100121- Grade Level: X122- Sentence length assessment123124## Technical SEO125- Meta tags analysis126- URL optimization127- Image optimization128129## Content Gaps130- Missing subtopics131- Coverage recommendations132- Topic expansion opportunities133134## Competitor Insights135- Top ranking pages analysis136- Word count comparison137- Unique angles they cover138- Our competitive advantage139140## Implementation Checklist141- [ ] Action item 1142- [ ] Action item 2143144## Estimated Impact145- **Time to Implement**: X hours146- **Expected Improvement**: [Moderate/Significant] ranking boost147- **Priority**: [High/Medium/Low]148- **Timeframe**: [Weeks until results]149```150151## Best Practices152153- **User experience first**: Prioritize readability and value over keyword density154- **Write for humans**: Optimize for search engines second155- **Be specific**: Provide exact changes, not vague suggestions156- **Consider intent**: Match content to search intent (informational, commercial, transactional)157- **E-A-T signals**: Include author credentials, sources, and expertise indicators158- **Featured snippets**: Format content for definition boxes, lists, tables159- **Schema markup**: Suggest structured data (FAQ, How-To, Review) where relevant160161## Example Analysis Flow1621631. **Identify keywords** → Extract from user input or content1642. **Check placement** → Verify in title, H1, first 100 words1653. **Calculate density** → Ensure 1-2% keyword density1664. **Assess readability** → Calculate Flesch score and sentence length1675. **Review structure** → Check heading hierarchy and paragraph length1686. **Analyze technical** → Validate meta tags, URLs, alt text1697. **Find gaps** → Identify missing topics and internal links1708. **Prioritize fixes** → Sort by impact (critical > high > medium)1719. **Generate checklist** → Create actionable implementation steps172173## Output Guidelines174175- Provide **specific recommendations** with exact text changes176- Show **before/after examples** for clarity177- Include **keyword variations** naturally in suggestions178- Estimate **time to implement** and **expected impact**179- Format for **easy scanning** with headings and lists180- Add **context** explaining why changes matter181182## Additional Resources183184See [references/analysis-framework.md](references/analysis-framework.md) for:185- Detailed analysis instructions for each area186- Technical specifications and formulas187- Competitor analysis guidelines188- E-A-T evaluation criteria189190See [references/output-templates.md](references/output-templates.md) for:191- Complete SEO report template192- Implementation checklist format193- Example workflow with sample content194- Featured snippet optimization templates195196## Core Philosophy197198> "SEO is about creating valuable, well-optimized content that serves user intent better than competitors."199200Focus on genuine value creation, not manipulation tactics. Quality content that helps users naturally attracts engagement signals that improve rankings.