Back to Skills

content-optimizer

majiayu000
Updated Today
1 views
58
9
58
View on GitHub
Designwordaidesign

About

The content-optimizer skill validates and improves on-page SEO by analyzing keyword density, meta tags, heading structure, and readability. Developers can use it to optimize existing content or validate new content against SEO requirements. It provides specific metrics and warnings for key elements like keyword placement and title tag length.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/content-optimizer

Copy and paste this command in Claude Code to install this skill

Documentation

Content Optimizer

When to Use

  • Optimizing existing content for better rankings
  • Validating new content against SEO requirements
  • Checking keyword density and placement
  • Improving readability scores
  • Creating meta tags

Keyword Density

Target: 1-2% for primary keyword

Calculation:

Density = (Keyword Count / Total Words) x 100

Placement Priorities:

  1. Title/H1 (required)
  2. First 100 words (required)
  3. At least one H2 (recommended)
  4. Conclusion (recommended)
  5. Distributed in body (natural)

Warning Signs:

  • 3% = Keyword stuffing risk

  • <0.5% = Under-optimized
  • Exact match every paragraph = Unnatural

Meta Tag Optimization

Title Tag

  • Length: 50-60 characters
  • Keyword: Near the beginning
  • Format: {Keyword} - {Benefit} | {Brand}
  • Unique per page

Meta Description

  • Length: 150-160 characters
  • Keyword: Include naturally
  • CTA: End with action verb
  • Unique per page

URL Slug

  • Short: 3-5 words
  • Keyword: Include primary
  • Readable: Use hyphens
  • Lowercase only

Heading Structure

Valid Hierarchy:

H1: Page Title (exactly 1)
+-- H2: Main Section
|   +-- H3: Subsection
|   +-- H3: Subsection
+-- H2: Main Section
|   +-- H3: Subsection
+-- H2: Conclusion

Common Errors:

  • Multiple H1 tags
  • Skipping levels (H1 -> H3)
  • Using headings for styling only
  • No keyword in H1

Readability Optimization

Flesch Reading Ease Target: 60-70

ScoreLevelAudience
90-100Very Easy5th grade
80-89Easy6th grade
70-79Fairly Easy7th grade
60-69Standard8th-9th grade
50-59Fairly Difficult10th-12th grade
30-49DifficultCollege
0-29Very DifficultCollege graduate

Improvement Techniques:

  • Shorten sentences (<20 words avg)
  • Shorten paragraphs (2-3 sentences)
  • Replace jargon with plain language
  • Use active voice
  • Add subheadings every 200-300 words
  • Use bullet points for lists

Optimization Checklist

Use this checklist when optimizing content:

  • Primary keyword in title/H1
  • Primary keyword in first 100 words
  • Keyword density 1-2%
  • Meta title 50-60 characters
  • Meta description 150-160 characters with CTA
  • Heading hierarchy valid (H1 -> H2 -> H3)
  • At least 3 internal links
  • At least 1 external authoritative link
  • Flesch score 60-70
  • No paragraphs > 3 sentences
  • Subheadings every 200-300 words

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/content-optimizer

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

creating-opencode-plugins

Meta

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

View skill

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill