lisbeth718/pseo-skills/pseo-scale
Claude Code and agent skill by lisbeth718/pseo-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Architect programmatic SEO systems for 10K-100K+ pages with database-backed data layers, data sufficiency gating, incremental validation, crawl budget management, content enrichment pipelines, and edge delivery. Use when scaling beyond 10K pages, when builds are OOMing, when Google is not indexing all pages, or when the current in-memory architecture has hit its limits.
Install
npx vskill@latest install lisbeth718/pseo-skills/pseo-scaleSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as lisbeth718/pseo-skills/pseo-scale.
pSEO Scale Architecture
Scope parameter
| Value | Sections | |
|---|---|---|
database | 1 | |
gating | 2 | |
enrichment | 3 | |
validation | 4 | |
crawl | 5 | |
monitoring | 6 | |
cdn | 7, 8 | |
all | everything |
Architect pSEO systems that work at 10K-100K+ pages. The patterns in the other pseo-* skills are correct at 1K-10K. Beyond 10K, in-memory data layers, full-corpus validation, and single-deploy rollouts break down. This skill provides the architecture changes needed at scale.
Scale Tiers
| Tier | Pages | Data Layer | Validation | Rollout | Sitemap | |
|---|---|---|---|---|---|---|
| Tiny | < 100 | JSON/files, in-memory | Full pairwise | Single deploy | Single file | |
| Small | 100-1K | JSON/files, in-memory | Full pairwise | 1-4 weeks in batches of 50-200 | Single file | |
| Medium | 1K-10K | Files or DB, two-tier memory | Fingerprint-based | 4-8 weeks in batches | Index + children | |
| Large | 10K-50K | Database required | Incremental + sampling | Category-by-category | Index + chunked | |
| Very Large | 50K-100K+ | Database + cache layer | Delta-only + periodic full | ISR + sitemap waves | Index + streaming |
Rollout pacing in this table is an operational heuristic shared with pseo-performance, not a Google rule.
This skill focuses on the Large and Very Large tiers. If the project is under 10K pages, the standard pseo-* skills are sufficient.
1. Database-Backed Data Layer
At 10K+ pages, JSON files and in-memory arrays stop working. The data layer must move to a database with proper indexing.
Why In-Memory Breaks
At 50K+, even holding all PageIndex records in memory is borderline. At 100K, getAllSlugs() returning an array of 100K objects takes ~100MB and seconds to deserialize. You need cursor-based iteration.
Database Requirements
Minimum schema:
Categories table:
Redirects table:
Data Layer API at Scale
The pseo-data API contract changes at scale:
Connection Pooling
At build time with parallel page generation, you need connection pooling:
ORM alternative: If using Prisma or Drizzle, configure connection pool limits in the ORM config. Default pool sizes are often too high for build processes.
See references/database-patterns.md for full patterns by database type.
See references/vercel-optimization.md for Vercel-specific build cost and ISR optimization strategies.
2. Data Sufficiency Gating
At 100K pages, many combinations will produce thin content. Gate page generation BEFORE build time - don't create pages that will fail quality checks.
Sufficiency Score
Compute a score per potential page based on available data:
Gating Thresholds
| Score | Action | |
|---|---|---|
| 80-100 | Generate page - sufficient data | |
| 60-79 | Generate page with enrichment flag - mark for content pipeline | |
| 40-59 | Hold - do not generate until data is enriched | |
| 0-39 | Reject - insufficient data, do not generate |
Store the score in the database (data_sufficiency_score column) so you can:
- Query how many pages are gated vs. ready
- Track enrichment progress over time
- Re-score after data enrichment
- Gate at build time:
WHERE data_sufficiency_score >= 60 AND status = 'published'
Combination Gating
For combination pages (service × city, product × use-case), both dimensions must have sufficient data:
This is the most important scale pattern. 500 services × 200 cities = 100K combinations, but maybe only 15K have enough data for a quality page. Generate only the 15K.
3. Content Enrichment Pipeline
At 100K pages, you can't manually write intros and descriptions. You need an automated enrichment pipeline with quality controls.
Pipeline Architecture
Enrichment Sources (non-LLM)
Before reaching for LLM generation, exhaust structured data enrichment:
- Template composition from multiple fields: Combine 3+ data fields into prose. Not
"Best {service} in {city}"but structured sentences using attributes, stats, and category context. - Aggregation: Roll up child data into parent summaries (category stats, comparison tables, top-N lists)
- Cross-referencing: Enrich records by joining data sources (product + reviews, service + location demographics, listing + category averages)
- Comparison data: Auto-generate comparison sections from sibling records in the same category
LLM-Assisted Enrichment
If structured enrichment is insufficient, LLM-assisted generation is acceptable under strict conditions:
- Never generate the entire page content - LLM fills gaps in an otherwise data-driven page
- Always ground in real data - the LLM prompt includes the record's actual attributes, stats, and context
- Human review sampling - review 5-10% of LLM-generated content per batch before publishing
- Store the generation metadata - track which fields were LLM-generated vs. sourced from data
- Apply quality guard after enrichment - run pseo-quality-guard on enriched content before publishing
- Regenerate periodically - stale LLM content should be refreshed when underlying data changes
Google's position (2026): Using generative AI is not a violation by itself, but generating many pages "without adding value for users" may violate the scaled content abuse policy, "no matter how it's created". Google asks you to manually fact-check and review all AI-generated content, including titles, meta descriptions, structured data and alt text. The Quality Rater Guidelines (Sep 2025, sections 4.6.5 and 4.6.6) rate pages Lowest when main content is auto or AI generated with little effort, originality or added value.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pseo-scale/SKILL.md
Popularity
- Installs
- 1
- Repository stars
- 42
- Repository forks
- 7
- 7-day trend score
- 21
Installs come from the vskill CLI. Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Apr 2026, 7 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lisbeth718/pseo-skills/pseo-scale)