Programmatic SEO
Generate SEO-optimized pages at scale using templates and structured data. Every page must pass quality checks before generation.
Critical Rules
Before generating any page, internalize these rules:
- Every page must pass the "Unique Answer Test": would a real user get meaningfully different value from this page vs its siblings?
- Minimum 500 unique words per page (< 300 = thin content risk, Google penalty)
- 30-40% content differentiation between sibling pages (< 15% = danger zone)
- No AI detection markers: avoid em dashes, "delve", "leverage", "robust", "comprehensive", "utilize", "facilitate", "in today's fast-paced world"
- AEO-optimized lead: start every page with a direct answer in 40-60 words
- Gradual rollout: max 50-100 pages in first batch, monitor 2-4 weeks before scaling
- No orphan pages: every page must have 5-15 internal links AND be linked from existing content
Read references/pseo-quality-checklist.md for the full quality checklist.
Workflow
Step 1: Choose Page Type
Ask the user which type of pages to generate:
| Type | Risk Level | Volume | Words/Page |
|---|---|---|---|
| Glossary | Low | 30-50 | 500-800 |
| Niche Guide | Medium | 50-150 | 800-1200 |
| Comparison | Low-Medium | 30-50 | 800-1200 |
See references/page-types.md for detailed descriptions and examples.
Step 2: Prepare Data
Ask the user to provide data in one of these formats:
- JSON array of objects (preferred)
- CSV file with headers matching template fields
- Manual specification of entries
See references/data-requirements.md for required fields per page type.
Step 3: Generate Pages
For each data entry:
- Read the user's existing page template or site layout for styling patterns (nav, footer, CSS, JS, analytics). Ask the user for the path to their template or an existing page to use as reference.
- Fill template placeholders with data
- Generate unique content for each section (not just word replacement)
- Add 5-15 internal links to existing pages and other generated pages
- Include Schema.org markup (Article + type-specific schema)
- Set unique title tag (50-60 chars), meta description (150-160 chars)
- Add hreflang tags if multilingual versions planned
Step 4: Quality Check (mandatory)
Before outputting each page, verify:
- Word count >= 500 unique words
- Title tag unique and <= 60 chars
- Meta description unique and <= 160 chars
-
= 5 internal links present
- Schema.org JSON-LD present and valid
- No AI-writing markers (check against references/ai-writing-detection.md)
- Content differentiation >= 30% from nearest sibling page
- AEO lead present (40-60 word direct answer)
- OG tags present (og:title, og:description, og:image)
- Canonical tag present (self-referencing)
If any check fails: do NOT output the page. Report which checks failed and ask the user how to fix.
Step 5: Post-Generation
After generating a batch:
- Sitemap update: output the XML entries to add to the site's
sitemap.xml - Internal link suggestions: list which existing pages should link to new pages (with exact anchor text)
- Index page update: output card HTML to add to the blog/category index page
- Rollout recommendation: "Publish first N pages, monitor GSC indexation rate for 2-4 weeks. Target: >60% indexed. If <40%, pause and review quality."
- Monitoring checklist: provide GSC queries to track, target indexation rate, engagement benchmarks
Page Output Format
Output each page as:
- File path: determined by the user's site structure (ask for target directory)
- Full HTML content (matching the site's existing CSS/JS/analytics setup)
- QA report: pass/fail for each check
Site Integration
Pages must match the user's existing site patterns:
- Same CSS/JS as the rest of the site
- Same analytics tracking
- Same nav, footer, CTA sections
- Same author attribution
Ask the user to provide their site template or an existing page to use as a reference.
Examples
Example 1: Generate glossary pages
User: "Create 5 glossary pages for video marketing terms"
Actions:
1. Ask user for their existing page template path
2. Ask user for terms or suggest from references/page-types.md
3. Generate 5 pages with unique definitions, explanations, related terms
4. Run QA checks on each
5. Output pages + sitemap entries + internal link suggestions
Example 2: Generate niche guide pages
User: "Create pages for TikTok niches: fitness, cooking, pets"
Actions:
1. Ask user for their existing page template path
2. Ask user for niche-specific data (or generate with available knowledge)
3. Generate 3 pages with unique tips, hooks, strategies per niche
4. Run QA checks (especially differentiation >= 30%)
5. Output pages + sitemap + index cards
Example 3: Generate comparison pages
User: "Create TikTok vs Reels comparison pages for 3 niches"
Actions:
1. Ask user for their existing page template path
2. Generate comparison data per niche
3. Ensure each page has unique metrics, recommendations, examples
4. Run QA checks
5. Output pages + sitemap
References
- Quality checklist: references/pseo-quality-checklist.md
- Page types: references/page-types.md
- Data requirements: references/data-requirements.md
- AI writing markers: references/ai-writing-detection.md
- AEO/GEO patterns: Install the seo-audit skill for comprehensive AEO/GEO content patterns