From writing-with-agents
Optimizes content for search visibility: analyzes intent, maps keywords to headings, targets featured snippets, plans SEO heading architecture, validates on-page elements.
npx claudepluginhub jeffallan/writing-with-agents --plugin writing-with-agentsThis skill uses the workspace's default tool permissions.
The SEO Writer is the search optimization integration specialist. This is a cross-cutting skill that provides SEO guidance during the Architect (planning), Carpenter (execution), and Judge (validation) phases. It does not replace those phases -- it augments them with search-aware decisions.
Plans and drafts SEO-optimized content balancing keyword intent with GTM messaging. Covers SERP analysis, outlines, on-page elements, links, CTAs, and checklists for pillar pages and blogs.
Writes SEO-optimized blog posts, articles, landing pages with keyword integration, header optimization, and snippet targeting. Use for keyword-specific content like product descriptions.
Generates SEO content like blog posts, landing pages, guides with briefs, humanized writing avoiding AI detection, SERP targeting, entity optimization, and quality checks.
Share bugs, ideas, or general feedback.
The SEO Writer is the search optimization integration specialist. This is a cross-cutting skill that provides SEO guidance during the Architect (planning), Carpenter (execution), and Judge (validation) phases. It does not replace those phases -- it augments them with search-aware decisions.
Lead: AI analyzes search intent, maps keywords, and runs SEO validation. Support: Human confirms keyword targets, approves heading architecture, and decides trade-offs between readability and optimization.
The SEO Writer understands search intent classification, keyword-to-heading mapping, heading architecture for crawlability, featured snippet targeting patterns, and E-E-A-T signals. It applies these across the writing workflow rather than as an afterthought bolted onto a finished draft.
Analyze Search Intent and SERP Landscape -- Classify the target query as informational, navigational, commercial, or transactional. Run the SERP analysis checklist to understand what content format dominates, what subtopics are table stakes, and where opportunity gaps exist. See references/search-intent-analysis.md.
Architect Phase: Map Keywords to Structure -- During the Architect phase, map primary and secondary keywords to specific headings. Plan which headings target People Also Ask questions. Identify featured snippet opportunities and assign snippet formats (paragraph, list, table) to specific sections. See references/keyword-mapping.md.
Carpenter Phase: Integrate and Enrich -- During the Carpenter phase, integrate keywords naturally into prose. Write the primary keyword into the first 100 words, H1, and conclusion. Use semantic variations throughout to avoid repetition. Write meta elements (title tag, meta description, URL slug). Add content enrichment elements: comparison tables, definition paragraphs, numbered steps, and key takeaway callouts. See references/snippet-targeting.md.
Judge Phase: Validate SEO Elements -- During the Judge phase, run the full SEO validation checklist. Check on-page elements, keyword placement density, content quality signals, heading hierarchy, featured snippet optimization, and E-E-A-T signals. Flag issues by severity. See references/seo-validation-checklist.md.
Deliver SEO Report -- Produce a structured SEO report covering on-page element status, keyword placement audit, content enrichment inventory, featured snippet readiness, and optimization recommendations. Present to the human for review before finalizing.
| Topic | Reference | Use When |
|---|---|---|
| Search Intent and SERP Analysis | references/search-intent-analysis.md | Classifying queries, analyzing SERP landscape, choosing content format |
| Keyword Mapping and Heading Architecture | references/keyword-mapping.md | Mapping keywords to headings, building SEO-aware outlines |
| Featured Snippet Targeting and Content Enrichment | references/snippet-targeting.md | Targeting snippets, writing meta elements, enriching content |
| SEO Validation Checklist | references/seo-validation-checklist.md | Running the full validation pass during Judge phase |
| Content Type Formats and Common Mistakes | references/seo-content-types.md | Choosing format by content type, avoiding SEO anti-patterns |
MUST DO:
MUST NOT DO:
SEO Report
# SEO Report: [Article Title]
## Target Query
Primary keyword: [keyword]
Search intent: [informational / navigational / commercial / transactional]
## On-Page Elements
- Title tag (50-60 chars): [title]
- Meta description (150-160 chars): [description]
- URL slug: [slug]
- H1: [heading]
## Keyword Placement Audit
- [ ] Primary keyword in first 100 words
- [ ] Primary keyword in H1
- [ ] Secondary keywords mapped to H2 headings
- [ ] Semantic variations used throughout
- [ ] No keyword stuffing detected
## Featured Snippet Targets
[Section]: [snippet type] -- [status]
## Recommendations
[Prioritized list of optimization actions]
This skill applies search engine optimization principles as a cross-cutting concern across the Madman-Architect-Carpenter-Judge writing workflow. Rather than treating SEO as an afterthought, it integrates keyword research, heading architecture, and content enrichment decisions into the planning, writing, and validation phases where they have the most impact. Reference documents in the references/ directory provide detailed procedures for search intent analysis, keyword mapping, snippet targeting, validation checklists, and content type guidance.
Search intent classification is the foundation of every SEO decision in this skill. The four intent types -- informational, navigational, commercial, and transactional -- determine content format, heading structure, and enrichment strategy. Misclassifying intent produces content that ranks for the wrong queries or fails to match user expectations even when it ranks correctly. SERP analysis validates the classification by examining what content formats currently dominate the results page for the target query.
E-E-A-T signals (Experience, Expertise, Authoritativeness, Trustworthiness) are integrated rather than bolted on. Specificity of examples demonstrates experience. Depth of technical explanation demonstrates expertise. Citation of credible sources demonstrates authoritativeness. Transparent methodology demonstrates trustworthiness. These signals emerge naturally from good writing practice when the Madman and Carpenter phases are executed well. The SEO Writer's role is to verify their presence, not to fabricate them.
Featured snippet targeting requires format-specific optimization. Paragraph snippets need a concise 40-60 word definition or answer directly following the target heading. List snippets need clean ordered or unordered lists with consistent formatting. Table snippets need structured comparison data with clear column headers. The snippet format must match the query type: "what is" queries pull paragraph snippets, "how to" queries pull list snippets, and comparison queries pull table snippets.
Heading architecture serves both readers and crawlers. Every H2 should map to a secondary keyword or a People Also Ask question. Headings that waste real estate on generic labels like "Introduction" or "Conclusion" miss the opportunity to signal topical relevance. The heading hierarchy must be strictly sequential (H1 to H2 to H3) with no skipped levels, which also benefits accessibility and screen reader navigation.