Server prompt: create a POM archive template
Request create_archive_template_pom with prompts/get. It has no arguments.
The returned instruction requires the client to:
- call
pom_get_template_schemaforarchive; - call
pom_get_available_mergetagsfor the archive context; - read
pom://theme/templates/archivewhen detailed examples are needed; - generate HTML with documented merge tags only;
- use
%%...%%for complex literal attribute values; - validate the markup and repair every error;
- save with
pom_theme_upsert_html_templateonly after validation.
Add the archive’s purpose, audience, target post type or taxonomy, desired sections, and visual constraints in a separate client message. The server prompt intentionally does not guess those business requirements.
The archive shell should normally contain one {{archive_results}} insertion. The item card belongs in a feed template, so avoid duplicating product or post card markup around the loop.
Before the save, ask the client to show the full HTML, validator response, final template key, and dry-run result. Assignment is a separate consequential write and should name the exact target.
Related guides: archive template resource, archive merge tags, and upsert template tool.