Programmatic template QA
Use when a data driven template is about to generate thousands of URLs you would then have to clean up.
Fill in before running
Replace each placeholder with your own detail. The more specific you are, the less the model invents.
- {{TEMPLATE_STRUCTURE}}
- {{SAMPLE_PAGES}}
- {{DATA_FIELDS}}
- {{URL_PATTERN}}
- {{PLANNED_VOLUME}}
Getting a better result
- Include a sparse record and a rich one in the samples, since the sparse ones are what get indexed badly.
- Set the publishing threshold before launch; pruning later costs far more than never generating the page.
- Ship the first batch small enough that you can still fix the template without a mass de-index.
Questions about this prompt
When do I run this rather than auditing the pages afterwards?
Before generation, while the template is still cheap to change. Auditing afterwards means pruning at scale, and a mass de-index of thousands of thin URLs is slower and more visible than never publishing them. Run it once samples render and before anyone points the pipeline at the full data set.
What do I need in front of me?
The template with its fixed copy and variable slots marked, rendered samples from across the data range, field fill rates, the URL pattern and the planned page count. Include a sparse record and a rich one. If the samples do not span the range the output will name the extremes it could not see.
What comes back?
A uniqueness read quoting two passages that read almost identically, a failure mode table with evidence, a publishing threshold, and a staged rollout. The threshold is the part to keep: it turns fill rates into a rule for which records earn a page, and an estimate of how many of the planned pages clear it.
What goes wrong most often?
Sampling only the well populated records, because those are the ones that look good in a demo. Empty slots, broken grammar from insertion and single record pages all live at the sparse end of the data, and those are exactly the pages that get generated in bulk and then indexed badly.