seo-optimization
Optimize websites for search engines including on-page SEO, technical SEO, meta tags, schema markup, Core Web Vitals, and keyword optimization. Use when improving search rankings, auditing SEO, or optimizing content for Google.
When & Why to Use This Skill
This Claude skill provides a comprehensive framework for end-to-end search engine optimization, covering on-page elements, technical configurations, and structured data. It helps users improve search rankings, enhance site visibility through schema markup, and optimize Core Web Vitals for better performance and user experience.
Use Cases
- On-Page SEO: Crafting keyword-optimized title tags, meta descriptions, and hierarchical heading structures to boost organic visibility and click-through rates.
- Technical SEO & Social Metadata: Implementing canonical tags, robots directives, and Open Graph/Twitter Card metadata for consistent cross-platform presentation and indexing.
- Structured Data (Schema.org): Generating valid JSON-LD scripts for Products, Articles, FAQs, and Organizations to earn rich snippets in search results.
- Performance Optimization: Auditing and improving Core Web Vitals (LCP, FID, CLS) and image SEO to meet Google's page experience standards.
- Internal Linking & Site Architecture: Designing logical URL structures and internal linking strategies to improve crawlability and authority distribution.
| name | seo-optimization |
|---|---|
| description | Optimize websites for search engines including on-page SEO, technical SEO, meta tags, schema markup, Core Web Vitals, and keyword optimization. Use when improving search rankings, auditing SEO, or optimizing content for Google. |
SEO Optimization Skill
Instructions
When optimizing for SEO:
1. On-Page SEO
Title Tags:
- 50-60 characters max
- Primary keyword near the beginning
- Include brand name at end
- Make it compelling and clickable
<title>Primary Keyword - Secondary Keyword | Brand Name</title>
Meta Descriptions:
- 150-160 characters
- Include primary keyword
- Call-to-action
- Unique for each page
<meta name="description" content="Compelling description with keyword that encourages clicks. Learn more about X today!">
Heading Structure:
<h1>One H1 per page with primary keyword</h1>
<h2>Section headings with secondary keywords</h2>
<h3>Subsections for organization</h3>
2. Technical SEO
Essential Meta Tags:
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://example.com/page/">
Open Graph (Social Sharing):
<meta property="og:title" content="Page Title">
<meta property="og:description" content="Description">
<meta property="og:image" content="https://example.com/image.jpg">
<meta property="og:url" content="https://example.com/page/">
<meta property="og:type" content="website">
Twitter Cards:
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Page Title">
<meta name="twitter:description" content="Description">
<meta name="twitter:image" content="https://example.com/image.jpg">
3. Schema Markup (JSON-LD)
Organization:
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Company Name",
"url": "https://example.com",
"logo": "https://example.com/logo.png",
"contactPoint": {
"@type": "ContactPoint",
"telephone": "+1-xxx-xxx-xxxx",
"contactType": "customer service"
},
"sameAs": [
"https://facebook.com/company",
"https://twitter.com/company"
]
}
Product:
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"image": "https://example.com/product.jpg",
"description": "Product description",
"brand": {"@type": "Brand", "name": "Brand"},
"offers": {
"@type": "Offer",
"price": "49.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "124"
}
}
Article/Blog Post:
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article Title",
"author": {"@type": "Person", "name": "Author Name"},
"datePublished": "2025-01-15",
"dateModified": "2025-01-20",
"image": "https://example.com/article-image.jpg"
}
FAQ:
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "Question text?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer text."
}
}]
}
4. Core Web Vitals
LCP (Largest Contentful Paint) < 2.5s:
- Optimize images (WebP, lazy loading)
- Preload critical assets
- Use CDN
FID (First Input Delay) < 100ms:
- Minimize JavaScript
- Break up long tasks
- Use web workers
CLS (Cumulative Layout Shift) < 0.1:
- Set image dimensions
- Reserve space for ads/embeds
- Avoid inserting content above existing content
5. Image SEO
<img
src="image.webp"
alt="Descriptive alt text with keyword"
width="800"
height="600"
loading="lazy"
decoding="async"
>
6. URL Structure
Good:
example.com/category/product-nameexample.com/blog/how-to-do-something
Avoid:
example.com/p?id=123example.com/category/sub/sub/page
7. Internal Linking
- Use descriptive anchor text
- Link to related content
- Create topic clusters
- Maintain reasonable link depth (3 clicks max)
8. SEO Checklist
- Unique title tag with keyword
- Meta description with CTA
- One H1 with primary keyword
- Schema markup implemented
- Images optimized with alt text
- Internal links added
- Mobile-friendly
- Page speed optimized
- Canonical URL set
- XML sitemap updated