Skip to content

Programmatic pages with thin-content gates

Make generated pages worth indexing, and keep thin ones out of the index and the sitemap.

  • Free, no sign-up
  • 1 to 2 hours with an agent
  • By Devvrat Hans
  • Version 1.0, updated Oct 26, 2026

1Your site and stack

Optional. The prompt adapts as you type; leave a field blank and the agent works it out.

2Copy it into your agent

programmatic-pages.md62 lines, about 838 tokens

Paste into any coding agent: Claude Code, Cursor, Codex, Copilot, Windsurf or Cline.

# Programmatic pages with thin-content gates

Pages generated from data on the production site (categories, tags, locations, integrations, comparisons) can bring a lot of search traffic, or get the site judged as thin and low quality. Make sure each generated page earns its place: unique content, a minimum number of items, and thin pages kept out of the index and the sitemap.

Site: not given. Find the production URL in the project config, or ask me.

## Ground rules

1. Read before you write. Explore the parts of the codebase this job touches and tell me what is already in place.
2. Plan, then stop. Give me a numbered plan: what you will change, in which files, and why. Wait for my approval before editing anything.
3. Fix things at their source (the shared layout, the config, the generator), not with one-off patches page by page.
4. Keep the project's conventions: its framework APIs, file layout, naming and code style. Add no new dependency without asking.
5. Where something is already done well, say so and leave it alone.

## You will not

- Edit `.env` files, secrets or API keys, or print their values.
- Deploy, push, merge or publish anything.
- Delete data, or run migrations or scripts against a production database.
- Add tracking, third-party scripts or links to any site I did not ask for.
- Change copy, design or behaviour that this job does not need.
- Generate filler text to pad pages.
- Delete pages that get traffic without a redirect.

## Your stack

- Framework: Work out the framework, router and build output from the project files (package.json, lockfiles, framework config) before planning, and say which you found.
- Host: Work out where the site is hosted from the config files (vercel.json, netlify.toml, wrangler config, Dockerfile, fly.toml) and say which you found.

## Steps

### 1. Inventory the templates

List every route that generates pages from data, how many pages each produces, and how many have very few items (zero, one, two). Note pages that differ only by a word in the title.

### 2. Gate thin pages

Pick a minimum per template (for example three items) below which a page is `noindex, follow` and left out of the sitemap, while still working for visitors who reach it. Apply the same rule in the page's metadata and the sitemap generator, from one shared function.

### 3. Make each page unique

Give every indexable page content beyond the list: an intro written from the data (counts, what the items have in common), a short FAQ from real facts, and useful sorting. Never pad with filler text or spun copy.

### 4. Link and canonicalise

Link generated pages from hubs and related pages, merge near-duplicates (singular and plural tags, aliases) with redirects or canonicals, and give each its own title and description from its data.

## Done means

- [ ] Every generating template is listed with its page counts.
- [ ] Pages below the minimum are noindex and out of the sitemap, from one shared rule.
- [ ] Indexable pages have unique, data-based content beyond the list.
- [ ] Near-duplicate pages are merged, and generated pages are linked from hubs.

## Report back

When you finish, give me:

- what you changed, file by file;
- anything you skipped, and why;
- anything I must do by hand (DNS records, dashboards, accounts, deploys);
- how to check each change on the live site.

One-line version

For agents that can read a URL. It fetches this prompt with your settings applied.

Read https://abacklaunch.com/prompts/programmatic-pages.md and follow it for this project.

3Check the result

When the changes are live, run these free checks. Add your site URL above and each one opens already running on it.

This prompt will not

  • Edit .env files, secrets or API keys, or print their values.
  • Deploy, push, merge or publish anything.
  • Delete data, or run migrations or scripts against a production database.
  • Add tracking, third-party scripts or links to any site I did not ask for.
  • Change copy, design or behaviour that this job does not need.
  • Generate filler text to pad pages.
  • Delete pages that get traffic without a redirect.

It reads your code first, shows you a plan, and waits for your approval before it changes anything.

What you get

  • Every generated page template with its counts
  • One rule that keeps thin pages out of the index and the sitemap
  • Unique, data-based content on the pages that stay

How to use this prompt

  1. 1

    Describe your stack

    Add your site, framework and host. The prompt adapts; blank fields are left for the agent to work out.

  2. 2

    Paste it into your agent

    Open your project in Claude Code, Cursor, Codex, Copilot, Windsurf or Cline, and paste the prompt or the one-line version.

  3. 3

    Approve the plan

    The agent reads your code, shows you a plan with the files it will touch, and waits. Change anything you disagree with.

  4. 4

    Check the result

    When the changes are live, run the free checks below on your site to confirm each fix.

What the agent does

Pages generated from data on the production site (categories, tags, locations, integrations, comparisons) can bring a lot of search traffic, or get the site judged as thin and low quality. Make sure each generated page earns its place: unique content, a minimum number of items, and thin pages kept out of the index and the sitemap.

  1. 1. Inventory the templates

    List every route that generates pages from data, how many pages each produces, and how many have very few items (zero, one, two). Note pages that differ only by a word in the title.

  2. 2. Gate thin pages

    Pick a minimum per template (for example three items) below which a page is noindex, follow and left out of the sitemap, while still working for visitors who reach it. Apply the same rule in the page's metadata and the sitemap generator, from one shared function.

  3. 3. Make each page unique

    Give every indexable page content beyond the list: an intro written from the data (counts, what the items have in common), a short FAQ from real facts, and useful sorting. Never pad with filler text or spun copy.

  4. 4. Link and canonicalise

    Link generated pages from hubs and related pages, merge near-duplicates (singular and plural tags, aliases) with redirects or canonicals, and give each its own title and description from its data.

Done means

  • Every generating template is listed with its page counts.
  • Pages below the minimum are noindex and out of the sitemap, from one shared rule.
  • Indexable pages have unique, data-based content beyond the list.
  • Near-duplicate pages are merged, and generated pages are linked from hubs.

Questions

Why noindex instead of deleting thin pages?

Visitors may still reach them from your navigation, and they can fill up later. Noindex keeps them out of search until they are worth indexing, without breaking links.

What minimum should I use?

It depends on the page type. Three or more items is a common floor for list pages; comparison pages need enough real data on both sides.

Is programmatic SEO risky?

Only when pages are thin or near-identical. Pages with real, unique data that answers a search are fine; gates and unique content keep it that way.

Does this prompt add links to Aback Launch to my site?

No. Nothing in the prompt mentions Aback Launch or asks your agent to link to us. The only exception is an optional badge step, which stays off unless you tick it. Some prompt libraries slip their own link into your codebase by default; we think that should always be your choice.

Which coding agents does it work with?

Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and any agent that can read your project and edit files. You can copy it as a plain prompt, save it as a Claude Code skill or a Cursor rule, or add it to AGENTS.md.

Is it safe to run on my real codebase?

The prompt makes the agent read first, show a plan and wait for your approval, and it forbids touching secrets, deploying and deleting data. Still review the changes and run your tests before you deploy, as with any change.

Changelog

  • v1.0First version.

Launch your startup on Aback Launch

Get a launch page that search engines and AI assistants can read, a place in the weekly launch list, and a review by a real person. Free to join.