Command Palette

Search for a command to run...

Назад к скиллам
скилл № 54133

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от 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить programmatic-seo с