# /seo-audit — Comprehensive SEO Analysis

Run a comprehensive SEO audit on the Mawidi website or any target URL, covering technical SEO, content analysis, keyword research, and competitive comparison.

## Usage

```
/seo-audit                                # Audit the main Mawidi site
/seo-audit <url>                          # Audit specific URL
/seo-audit --competitor <url>             # Compare against competitor
/seo-audit --keywords "<keyword list>"    # Focus on specific keywords
```

## What This Command Does

### 1. Technical SEO Check
- Page load speed and Core Web Vitals
- Mobile responsiveness
- SSL certificate status
- Sitemap.xml and robots.txt validation
- Structured data / Schema.org markup
- Canonical tags and redirect chains
- Crawl errors and broken links

### 2. On-Page SEO Analysis
- Title tags: length, keyword presence, uniqueness
- Meta descriptions: length, compelling, keyword-rich
- Header hierarchy (H1-H6): structure, keyword usage
- Image alt text: presence, descriptiveness
- Internal linking: structure, anchor text diversity
- Content length and readability scores
- Keyword density and placement

### 3. Content Gap Analysis
- Compare content coverage against competitors
- Identify missing topics and keywords
- Suggest new content opportunities
- Review content freshness and update needs

### 4. Keyword Research
- Current ranking keywords (if Ahrefs/SimilarWeb connected)
- Keyword difficulty and search volume
- Long-tail opportunities
- Local SEO keywords (GCC region focus)
- Arabic keyword opportunities

### 5. Competitive Comparison
- Domain authority comparison
- Backlink profile analysis
- Content overlap and gaps
- SERP feature opportunities

### Output Format

```markdown
## SEO Audit Report — [URL]
**Date**: [Date]
**Overall Score**: [X/100]

### Critical Issues (Fix Immediately)
1. [Issue] — [Impact] — [How to fix]

### Warnings (Fix Soon)
1. [Issue] — [Impact] — [How to fix]

### Opportunities (Nice to Have)
1. [Opportunity] — [Expected impact]

### Detailed Analysis
[Sections for each audit category above]

### Action Plan
| Priority | Task | Impact | Effort |
|----------|------|--------|--------|
| P1 | [Fix] | High | Low |
| P2 | [Fix] | Medium | Medium |
| P3 | [Improvement] | Low | Low |
```

## Integration

- Works with the existing `seo-reports/` directory for historical tracking
- Complements the seo-monitor skill for ongoing monitoring
- Can use Ahrefs/SimilarWeb MCP servers if connected
- Supports bilingual analysis (English + Arabic content)
