Inicio - Documentación - POM AI - 23 MCP - Prompt recipes - Server prompt: create a POM single template

Server prompt: create a POM single template

create_single_template_pom is available from prompts/get and takes no arguments.

It instructs the client to discover the single template schema and merge tags, read the detailed single guide when needed, generate only supported HTML, validate it, and save only after all errors are fixed.

Describe the target content before the client writes markup:

The template is for one course. Show title, featured image, level and duration
when present, main content, and previous/next navigation. Provide useful empty
states and translated labels. Do not assume field names; inspect the model.

Single templates support conditional blocks around metadata. Require balanced if/else//if tags and exact stored field keys. Use the single-context content merge tag rather than a similarly named feed tag.

Ask to review the full template, validator result, target template key, and dry-run. Saving the template does not assign it. Confirm the exact post type or other assignment target separately and test one populated record plus one record missing optional fields.

Related guides: single template resource, single merge tags, and template validation.