programmatic-seo
Use when the user asks about programmatic SEO (pSEO), generating thousands of landing pages, [service] in [city] location pages, template pages from a…
от j4flmao★ 47 звёзд на GitHub
Установить programmatic-seo в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Programmatic SEO
Purpose
Programmatic SEO builds many pages from a structured dataset and a template, each targeting a long-tail query pattern ({tool} alternatives, {currency A} to {currency B}, {job} salary in {city}). It works when every page answers a distinct query with distinct data; it fails — and can trip Google's scaled content abuse policy — when pages only swap a keyword. This skill designs the dataset, template, build and quality gates.
Agent Protocol
Trigger
"programmatic seo", "pseo", "pages at scale", "location pages", "template landing pages", "generate pages from database", "comparison pages at scale".
Input Context
- Query pattern(s) and evidence of demand (keyword tool volumes, Search Console).
- Dataset: source, row count, fields, update frequency, licensing.
- Framework/hosting (Next.js, Astro, etc.) and current site authority.
Output Artifact
Page-pattern spec, data model, template code, sitemap and linking plan, quality gate rules.
Response Format
Pattern: {template string} → est. pages: {n}
Unique value per page: {fields/data that differ meaningfully}
Index rule: {condition for index vs noindex}
Build: {SSG|ISR|on-demand} revalidate: {interval}
Sitemaps: {count, sharding}
Internal links: {hub → spoke structure}
Is the Pattern Viable?
Real search demand for the pattern (not just the head term)? no → stop
Each page has data users can't get from the parent page? no → one page with filters instead
Data is accurate, licensed and refreshable? no → fix data first
Competing results are thin aggregators you can beat? yes → good opportunity
Data Model
// One row = one page
export interface CityServicePage {
slug: string; // "plumbers-in-austin-tx"
service: string; // "Plumbers"
city: string; region: string;
providerCount: number; // unique data
medianPrice: number | null;
priceSampleSize: number;
topProviders: { name: string; rating: number; reviews: number }[];
updatedAt: string; // ISO date of data refresh
nearbySlugs: string[]; // internal links
}
export function isIndexable(p: CityServicePage): boolean {
// Quality gate: only index pages with enough unique data
return p.providerCount >= 3 && p.priceSampleSize >= 10;
}
Template (Next.js App Router)
// app/[service]/[city]/page.tsx
import type { Metadata } from 'next';
import { notFound } from 'next/navigation';
import { getPage, listTopPages } from '@/lib/pages';
import { isIndexable } from '@/lib/model';
type Params = Promise<{ service: string; city: string }>;
export const revalidate = 86400; // ISR: refresh data daily
export const dynamicParams = true; // long-tail pages render on first request, then cached
export async function generateStaticParams() {
// Prebuild only the highest-demand pages; the long tail is generated on demand
return (await listTopPages(1000)).map((p) => ({ service: p.serviceSlug, city: p.citySlug }));
}
export async function generateMetadata({ params }: { params: Params }): Promise<Metadata> {
const { service, city } = await params;
const page = await getPage(service, city);
if (!page) return {};
return {
title: `${page.service} in ${page.city}, ${page.region} — ${page.providerCount} compared`,
description: `Compare ${page.providerCount} ${page.service.toLowerCase()} in ${page.city}. Median price ${page.medianPrice ? `$${page.medianPrice}` : 'n/a'}, updated ${page.updatedAt.slice(0, 10)}.`,
alternates: { canonical: `/${service}/${city}` },
robots: isIndexable(page) ? undefined : { index: false, follow: true },
};
}
export default async function Page({ params }: { params: Params }) {
const { service, city } = await params;
const page = await getPage(service, city);
if (!page) notFound();
return (
<article>
<h1>{page.service} in {page.city}, {page.region}</h1>
<p>{page.providerCount} providers compared. Data updated {page.updatedAt.slice(0, 10)}.</p>
<table>
<thead><tr><th>Provider</th><th>Rating</th><th>Reviews</th></tr></thead>
<tbody>
{page.topProviders.map((p) => (
<tr key={p.name}><td>{p.name}</td><td>{p.rating.toFixed(1)}</td><td>{p.reviews}</td></tr>
))}
</tbody>
</table>
<nav aria-label="Nearby cities">
{page.nearbySlugs.map((s) => <a key={s} href={`/${service}/${s}`}>{s.replace(/-/g, ' ')}</a>)}
</nav>
</article>
);
}
(Pages Router equivalent: getStaticPaths with fallback: 'blocking' + getStaticProps with revalidate.)
Sitemaps at Scale
A sitemap file holds at most 50,000 URLs (and 50 MB uncompressed); use multiple sitemaps.
// app/sitemap.ts — Next.js generateSitemaps shards into /sitemap/0.xml, /sitemap/1.xml, ...
import type { MetadataRoute } from 'next';
import { countIndexablePages, listIndexablePages } from '@/lib/pages';
const PER_SITEMAP = 45000;
ex
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл programmatic-seo?
Use when the user asks about programmatic SEO (pSEO), generating thousands of landing pages, [service] in [city] location pages, template pages from a database or long-tail pages from data. Produces templates with unique value, static generation/ISR, sharded sitemaps and thin-content gates. Not for AI-written articles (use seo-ai-content-optimization).
Как установить скилл programmatic-seo?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл programmatic-seo запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…