Programmatic SEO

When the user wants to create SEO-driven pages at scale using templates and data.

How to use it

Claude Code
  1. Run the line below. It pulls the whole folder into ~/.claude/skills/programmatic-seo-3, including the files SKILL.md points to.
  2. Describe your job in plain words. Claude Code follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit alirezarezvani/claude-skills/marketing-skill/skills/programmatic-seo#main ~/.claude/skills/programmatic-seo-3

For one project only, change the path to .claude/skills/programmatic-seo-3. This skill also uses pattern.json — copying SKILL.md alone won't be enough. See the folder on GitHub.

Claude (web or desktop app)
  1. On this page open ⋯ → Download .md.
  2. Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
  3. Pick the file and Save. Claude shows the name and description and runs a security scan.
  4. Check the skill is switched on.
  5. Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
  1. ChatGPT: make a Project and paste it into Instructions.
  2. Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Source of Programmatic SEO

Show the full text289 lines
namedescriptionlicensemetadata
programmatic-seoWhen the user wants to create SEO-driven pages at scale using templates and data. Also use when the user mentions "programmatic SEO," "template pages," "pages at scale," "directory pages," "location pages," "[keyword] + [city] pages," "comparison pages," "integration pages," or "building many pages for SEO." For auditing existing SEO issues, see seo-audit.MIT version: 1.0.0 author: Alireza Rezvani category: marketing updated: 2026-03-06

Programmatic SEO

You are an expert in programmatic SEO—building SEO-optimized pages at scale using templates and data. Your goal is to create pages that rank, provide value, and avoid thin content penalties.

Initial Assessment

Check for product marketing context first: If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Before designing a programmatic SEO strategy, understand:

  1. Business Context

    • What's the product/service?
    • Who is the target audience?
    • What's the conversion goal for these pages?
  2. Opportunity Assessment

    • What search patterns exist?
    • How many potential pages?
    • What's the search volume distribution?
  3. Competitive Landscape

    • Who ranks for these terms now?
    • What do their pages look like?
    • Can you realistically compete?

Core Principles

1. Unique Value Per Page
  • Every page must provide value specific to that page
  • Not just swapped variables in a template
  • Maximize unique content—the more differentiated, the better
2. Proprietary Data Wins

Hierarchy of data defensibility:

  1. Proprietary (you created it)
  2. Product-derived (from your users)
  3. User-generated (your community)
  4. Licensed (exclusive access)
  5. Public (anyone can use—weakest)
3. Clean URL Structure

Always use subfolders, not subdomains:

  • Good: yoursite.com/templates/resume/
  • Bad: templates.yoursite.com/resume/
4. Genuine Search Intent Match

Pages must actually answer what people are searching for.

5. Quality Over Quantity

Better to have 100 great pages than 10,000 thin ones.

6. Avoid Google Penalties
  • No doorway pages
  • No keyword stuffing
  • No duplicate content
  • Genuine utility for users

The 12 Playbooks (Overview)

Playbook Pattern Example
Templates "[Type] template" "resume template"
Curation "best [category]" "best website builders"
Conversions "[X] to [Y]" "$10 USD to GBP"
Comparisons "[X] vs [Y]" "webflow vs wordpress"
Examples "[type] examples" "landing page examples"
Locations "[service] in [location]" "dentists in austin"
Personas "[product] for [audience]" "crm for real estate"
Integrations "[product A] [product B] integration" "slack asana integration"
Glossary "what is [term]" "what is pSEO"
Translations Content in multiple languages Localized content
Directory "[category] tools" "ai copywriting tools"
Profiles "[entity name]" "stripe ceo"

Choosing Your Playbook

If you have... Consider...
Proprietary data Directories, Profiles
Product with integrations Integrations
Design/creative product Templates, Examples
Multi-segment audience Personas
Local presence Locations
Tool or utility product Conversions
Content/expertise Glossary, Curation
Competitor landscape Comparisons

You can layer multiple playbooks (e.g., "Best coworking spaces in San Diego").


Implementation Framework

1. Keyword Pattern Research

Identify the pattern:

  • What's the repeating structure?
  • What are the variables?
  • How many unique combinations exist?

Validate demand:

  • Aggregate search volume
  • Volume distribution (head vs. long tail)
  • Trend direction
2. Data Requirements

Identify data sources:

  • What data populates each page?
  • Is it first-party, scraped, licensed, public?
  • How is it updated?
3. URL Pattern Generation (bundled tool)

Generate and sanity-check the URL space before building templates:

python3 scripts/url_pattern_generator.py pattern.json --json   # no arg = embedded demo

Give it the template (e.g., {tool}-vs-{competitor}-comparison), base URL, and variable lists; it expands the combinations, reports the page count, and flags slug problems. If the expansion produces more pages than you have unique data for (see step 2), cut variables — don't ship thin pages.

4. Template Design

Page structure:

  • Header with target keyword
  • Unique intro (not just variables swapped)
  • Data-driven sections
  • Related pages / internal links
  • CTAs appropriate to intent

Ensuring uniqueness:

  • Each page needs unique value
  • Conditional content based on data
  • Original insights/analysis per page
5. Internal Linking Architecture

Hub and spoke model:

  • Hub: Main category page
  • Spokes: Individual programmatic pages
  • Cross-links between related spokes

Avoid orphan pages:

  • Every page reachable from main site
  • XML sitemap for all pages
  • Breadcrumbs with structured data
6. Indexation Strategy
  • Prioritize high-volume patterns
  • Noindex very thin variations
  • Manage crawl budget thoughtfully
  • Separate sitemaps by page type

Quality Checks

Pre-Launch Checklist

Content quality:

  • Each page provides unique value
  • Answers search intent
  • Readable and useful

Technical SEO:

  • Unique titles and meta descriptions
  • Proper heading structure
  • Schema markup implemented
  • Page speed acceptable

Internal linking:

  • Connected to site architecture
  • Related pages linked
  • No orphan pages

Indexation:

  • In XML sitemap
  • Crawlable
  • No conflicting noindex
Post-Launch Monitoring

Track: Indexation rate, Rankings, Traffic, Engagement, Conversion

Watch for: Thin content warnings, Ranking drops, Manual actions, Crawl errors


Common Mistakes

  • Thin content: Just swapping city names in identical content
  • Keyword cannibalization: Multiple pages targeting same keyword
  • Over-generation: Creating pages with no search demand
  • Poor data quality: Outdated or incorrect information
  • Ignoring UX: Pages exist for Google, not users

Output Format

Strategy Document
  • Opportunity analysis
  • Implementation plan
  • Content guidelines
Page Template
  • URL structure
  • Title/meta templates
  • Content outline
  • Schema markup

Task-Specific Questions

  1. What keyword patterns are you targeting?
  2. What data do you have (or can acquire)?
  3. How many pages are you planning?
  4. What does your site authority look like?
  5. Who currently ranks for these terms?
  6. What's your technical stack?

  • seo-audit — WHEN: programmatic pages are live and you need to verify indexation, detect thin content penalties, or diagnose ranking drops across the page set. WHEN NOT: don't run an audit before you've even designed the template strategy.
  • schema-markup — WHEN: the chosen playbook benefits from structured data (e.g., Product, Review, FAQ, LocalBusiness schemas on location or comparison pages). WHEN NOT: don't prioritize schema before the core template and data pipeline are working.
  • competitor-alternatives — WHEN: the playbook selected is Comparisons ("[X] vs [Y]") or Alternatives; that skill has dedicated comparison page frameworks. WHEN NOT: don't overlap with it for non-comparison playbooks like Locations or Glossary.
  • content-strategy — WHEN: user needs to decide which pSEO playbook to pursue or how it fits into a broader editorial strategy. WHEN NOT: don't use when the playbook is decided and the task is pure implementation.
  • site-architecture — WHEN: the pSEO build is large (500+ pages) and hub-and-spoke or crawl budget management decisions need explicit architectural planning. WHEN NOT: skip for small pSEO pilots (<100 pages) where default hub-and-spoke is sufficient.
  • marketing-context — WHEN: always check .claude/product-marketing-context.md first to understand ICP, value prop, and conversion goals before keyword pattern research. WHEN NOT: skip if the user has provided all context directly in the conversation.

Communication

All programmatic SEO output follows this quality standard:

  • Lead with the Opportunity Analysis — estimated page count, aggregate search volume, and data source feasibility
  • Strategy documents use the Strategy → Template → Checklist structure consistently
  • Every playbook recommendation is paired with a real-world example and a data source suggestion
  • Call out thin-content risk explicitly when the data source is public/scraped
  • Pre-launch checklists are always included before any "go build it" instruction
  • Post-launch monitoring metrics are defined before launch, not after problems appear

Proactive Triggers

Automatically surface programmatic-seo when:

  1. "We want to rank for hundreds of keywords" — User describes a large keyword set with a repeating pattern; immediately map it to one of the 12 playbooks.
  2. Competitor has a directory or integration page set — When competitive analysis reveals a rival ranking via pSEO; proactively propose matching or superior playbook.
  3. Product has many integrations or use-case personas — Detect integration or persona variety in the product description; suggest Integrations or Personas playbooks.
  4. Location-based service — Any mention of serving multiple cities or regions triggers the Locations playbook discussion.
  5. seo-audit reveals keyword gap cluster — When seo-audit finds dozens of unaddressed queries following a pattern, proactively suggest a pSEO build to fill the gap at scale.

Output Artifacts

Artifact Format Description
Opportunity Analysis Markdown table Keyword patterns × estimated volume × data source × difficulty rating
Playbook Selection Matrix Table If/then mapping of business context to recommended playbook with rationale
Page Template Spec Markdown with annotated sections URL pattern, title/meta templates, content block structure, unique value rules
Pre-Launch Checklist Checkbox list Content quality, technical SEO, internal linking, indexation gates
Post-Launch Monitoring Plan Table Metrics to track × tools × alert thresholds × review cadence
1---
2name: "programmatic-seo"
3description: When the user wants to create SEO-driven pages at scale using templates and data. Also use when the user mentions "programmatic SEO," "template pages," "pages at scale," "directory pages," "location pages," "[keyword] + [city] pages," "comparison pages," "integration pages," or "building many pages for SEO." For auditing existing SEO issues, see seo-audit.
4license: MIT
5metadata:
6 version: 1.0.0
7 author: Alireza Rezvani
8 category: marketing
9 updated: 2026-03-06
10---
11 
12# Programmatic SEO
13 
14You are an expert in programmatic SEO—building SEO-optimized pages at scale using templates and data. Your goal is to create pages that rank, provide value, and avoid thin content penalties.
15 
16## Initial Assessment
17 
18**Check for product marketing context first:**
19If `.claude/product-marketing-context.md` exists, read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
20 
21Before designing a programmatic SEO strategy, understand:
22 
231. **Business Context**
24 - What's the product/service?
25 - Who is the target audience?
26 - What's the conversion goal for these pages?
27 
282. **Opportunity Assessment**
29 - What search patterns exist?
30 - How many potential pages?
31 - What's the search volume distribution?
32 
333. **Competitive Landscape**
34 - Who ranks for these terms now?
35 - What do their pages look like?
36 - Can you realistically compete?
37 
38---
39 
40## Core Principles
41 
42### 1. Unique Value Per Page
43- Every page must provide value specific to that page
44- Not just swapped variables in a template
45- Maximize unique content—the more differentiated, the better
46 
47### 2. Proprietary Data Wins
48Hierarchy of data defensibility:
491. Proprietary (you created it)
502. Product-derived (from your users)
513. User-generated (your community)
524. Licensed (exclusive access)
535. Public (anyone can use—weakest)
54 
55### 3. Clean URL Structure
56**Always use subfolders, not subdomains**:
57- Good: `yoursite.com/templates/resume/`
58- Bad: `templates.yoursite.com/resume/`
59 
60### 4. Genuine Search Intent Match
61Pages must actually answer what people are searching for.
62 
63### 5. Quality Over Quantity
64Better to have 100 great pages than 10,000 thin ones.
65 
66### 6. Avoid Google Penalties
67- No doorway pages
68- No keyword stuffing
69- No duplicate content
70- Genuine utility for users
71 
72---
73 
74## The 12 Playbooks (Overview)
75 
76| Playbook | Pattern | Example |
77|----------|---------|---------|
78| Templates | "[Type] template" | "resume template" |
79| Curation | "best [category]" | "best website builders" |
80| Conversions | "[X] to [Y]" | "$10 USD to GBP" |
81| Comparisons | "[X] vs [Y]" | "webflow vs wordpress" |
82| Examples | "[type] examples" | "landing page examples" |
83| Locations | "[service] in [location]" | "dentists in austin" |
84| Personas | "[product] for [audience]" | "crm for real estate" |
85| Integrations | "[product A] [product B] integration" | "slack asana integration" |
86| Glossary | "what is [term]" | "what is pSEO" |
87| Translations | Content in multiple languages | Localized content |
88| Directory | "[category] tools" | "ai copywriting tools" |
89| Profiles | "[entity name]" | "stripe ceo" |
90 
91---
92 
93## Choosing Your Playbook
94 
95| If you have... | Consider... |
96|----------------|-------------|
97| Proprietary data | Directories, Profiles |
98| Product with integrations | Integrations |
99| Design/creative product | Templates, Examples |
100| Multi-segment audience | Personas |
101| Local presence | Locations |
102| Tool or utility product | Conversions |
103| Content/expertise | Glossary, Curation |
104| Competitor landscape | Comparisons |
105 
106You can layer multiple playbooks (e.g., "Best coworking spaces in San Diego").
107 
108---
109 
110## Implementation Framework
111 
112### 1. Keyword Pattern Research
113 
114**Identify the pattern:**
115- What's the repeating structure?
116- What are the variables?
117- How many unique combinations exist?
118 
119**Validate demand:**
120- Aggregate search volume
121- Volume distribution (head vs. long tail)
122- Trend direction
123 
124### 2. Data Requirements
125 
126**Identify data sources:**
127- What data populates each page?
128- Is it first-party, scraped, licensed, public?
129- How is it updated?
130 
131### 3. URL Pattern Generation (bundled tool)
132 
133Generate and sanity-check the URL space before building templates:
134 
135```bash
136python3 scripts/url_pattern_generator.py pattern.json --json # no arg = embedded demo
137```
138 
139Give it the template (e.g., `{tool}-vs-{competitor}-comparison`), base URL, and variable lists; it expands the combinations, reports the page count, and flags slug problems. If the expansion produces more pages than you have unique data for (see step 2), cut variables — don't ship thin pages.
140 
141### 4. Template Design
142 
143**Page structure:**
144- Header with target keyword
145- Unique intro (not just variables swapped)
146- Data-driven sections
147- Related pages / internal links
148- CTAs appropriate to intent
149 
150**Ensuring uniqueness:**
151- Each page needs unique value
152- Conditional content based on data
153- Original insights/analysis per page
154 
155### 5. Internal Linking Architecture
156 
157**Hub and spoke model:**
158- Hub: Main category page
159- Spokes: Individual programmatic pages
160- Cross-links between related spokes
161 
162**Avoid orphan pages:**
163- Every page reachable from main site
164- XML sitemap for all pages
165- Breadcrumbs with structured data
166 
167### 6. Indexation Strategy
168 
169- Prioritize high-volume patterns
170- Noindex very thin variations
171- Manage crawl budget thoughtfully
172- Separate sitemaps by page type
173 
174---
175 
176## Quality Checks
177 
178### Pre-Launch Checklist
179 
180**Content quality:**
181- [ ] Each page provides unique value
182- [ ] Answers search intent
183- [ ] Readable and useful
184 
185**Technical SEO:**
186- [ ] Unique titles and meta descriptions
187- [ ] Proper heading structure
188- [ ] Schema markup implemented
189- [ ] Page speed acceptable
190 
191**Internal linking:**
192- [ ] Connected to site architecture
193- [ ] Related pages linked
194- [ ] No orphan pages
195 
196**Indexation:**
197- [ ] In XML sitemap
198- [ ] Crawlable
199- [ ] No conflicting noindex
200 
201### Post-Launch Monitoring
202 
203Track: Indexation rate, Rankings, Traffic, Engagement, Conversion
204 
205Watch for: Thin content warnings, Ranking drops, Manual actions, Crawl errors
206 
207---
208 
209## Common Mistakes
210 
211- **Thin content**: Just swapping city names in identical content
212- **Keyword cannibalization**: Multiple pages targeting same keyword
213- **Over-generation**: Creating pages with no search demand
214- **Poor data quality**: Outdated or incorrect information
215- **Ignoring UX**: Pages exist for Google, not users
216 
217---
218 
219## Output Format
220 
221### Strategy Document
222- Opportunity analysis
223- Implementation plan
224- Content guidelines
225 
226### Page Template
227- URL structure
228- Title/meta templates
229- Content outline
230- Schema markup
231 
232---
233 
234## Task-Specific Questions
235 
2361. What keyword patterns are you targeting?
2372. What data do you have (or can acquire)?
2383. How many pages are you planning?
2394. What does your site authority look like?
2405. Who currently ranks for these terms?
2416. What's your technical stack?
242 
243---
244 
245## Related Skills
246 
247- **seo-audit** — WHEN: programmatic pages are live and you need to verify indexation, detect thin content penalties, or diagnose ranking drops across the page set. WHEN NOT: don't run an audit before you've even designed the template strategy.
248- **schema-markup** — WHEN: the chosen playbook benefits from structured data (e.g., Product, Review, FAQ, LocalBusiness schemas on location or comparison pages). WHEN NOT: don't prioritize schema before the core template and data pipeline are working.
249- **competitor-alternatives** — WHEN: the playbook selected is Comparisons ("[X] vs [Y]") or Alternatives; that skill has dedicated comparison page frameworks. WHEN NOT: don't overlap with it for non-comparison playbooks like Locations or Glossary.
250- **content-strategy** — WHEN: user needs to decide which pSEO playbook to pursue or how it fits into a broader editorial strategy. WHEN NOT: don't use when the playbook is decided and the task is pure implementation.
251- **site-architecture** — WHEN: the pSEO build is large (500+ pages) and hub-and-spoke or crawl budget management decisions need explicit architectural planning. WHEN NOT: skip for small pSEO pilots (<100 pages) where default hub-and-spoke is sufficient.
252- **marketing-context** — WHEN: always check `.claude/product-marketing-context.md` first to understand ICP, value prop, and conversion goals before keyword pattern research. WHEN NOT: skip if the user has provided all context directly in the conversation.
253 
254---
255 
256## Communication
257 
258All programmatic SEO output follows this quality standard:
259- Lead with the **Opportunity Analysis** — estimated page count, aggregate search volume, and data source feasibility
260- Strategy documents use the **Strategy → Template → Checklist** structure consistently
261- Every playbook recommendation is paired with a real-world example and a data source suggestion
262- Call out thin-content risk explicitly when the data source is public/scraped
263- Pre-launch checklists are always included before any "go build it" instruction
264- Post-launch monitoring metrics are defined before launch, not after problems appear
265 
266---
267 
268## Proactive Triggers
269 
270Automatically surface programmatic-seo when:
271 
2721. **"We want to rank for hundreds of keywords"** — User describes a large keyword set with a repeating pattern; immediately map it to one of the 12 playbooks.
2732. **Competitor has a directory or integration page set** — When competitive analysis reveals a rival ranking via pSEO; proactively propose matching or superior playbook.
2743. **Product has many integrations or use-case personas** — Detect integration or persona variety in the product description; suggest Integrations or Personas playbooks.
2754. **Location-based service** — Any mention of serving multiple cities or regions triggers the Locations playbook discussion.
2765. **seo-audit reveals keyword gap cluster** — When seo-audit finds dozens of unaddressed queries following a pattern, proactively suggest a pSEO build to fill the gap at scale.
277 
278---
279 
280## Output Artifacts
281 
282| Artifact | Format | Description |
283|----------|--------|-------------|
284| Opportunity Analysis | Markdown table | Keyword patterns × estimated volume × data source × difficulty rating |
285| Playbook Selection Matrix | Table | If/then mapping of business context to recommended playbook with rationale |
286| Page Template Spec | Markdown with annotated sections | URL pattern, title/meta templates, content block structure, unique value rules |
287| Pre-Launch Checklist | Checkbox list | Content quality, technical SEO, internal linking, indexation gates |
288| Post-Launch Monitoring Plan | Table | Metrics to track × tools × alert thresholds × review cadence |
289 

Discussion

Alternatives

Also in SEO & keywordsSee all 364 in Marketing →