Recipe: choose and create the correct POM template type
Use this manual recipe when the user says “create a template” but has not distinguished archive, single, and feed.
First classify the requested template:
- archive: the page shell around an archive result loop;
- single: one full content item;
- feed: one repeated listing item.
Explain the classification and ask for confirmation if the requirement is
ambiguous. Then read the matching template schema, merge-tag catalog, and
resource guide. Generate HTML with documented tags only, validate it, show
the complete markup and a dry-run upsert, and wait for confirmation. Do not
assign the saved template unless I provide an exact assignment target.
Classification clues
Choose archive when the design includes an archive heading, term information, filters, and archive_results. Choose feed for a card repeated across a grid, carousel, search result, or archive loop. Choose single for the full view of one post, product, or custom record.
Do not combine all three responsibilities in one template. Their merge-tag catalogs differ, and a tag accepted in a feed may not exist in an archive or single context.
If the type is already known, the dedicated server prompts provide a stricter built-in workflow: create_archive_template_pom, create_single_template_pom, or create_feed_template_pom.
Related guides: template resources, POM Theme template tools, and template boundaries.