epf-add-template

Create and register 1C external processing templates with metadata and XML updates.

413|90|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/comol/cursor_rules_1c --skill epf-add-template
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epf-add-template
Source: https://github.com/comol/cursor_rules_1c/tree/main/.cursor/source/epf-add-template
Command: npx skills add https://github.com/comol/cursor_rules_1c --skill epf-add-template

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates the creation and registration of 1C external processing templates by generating metadata and template content.

Core Features & Use Cases

  • Create template metadata in Templates/<TemplateName>.xml with a unique UUID and proper Synonym.
  • Generate the template content under Templates/<TemplateName>/Ext/Template.<ext> based on the selected type (HTML, Text, SpreadsheetDocument, BinaryData).
  • Update the root Processor XML to include the new Template in the ChildObjects list.
  • Validate the existence of the root processor and prevent overwriting existing templates.

Quick Start

Run /epf-add-template <ProcessorName> <TemplateName> <TemplateType> to create and register the template.

Frequently Asked Questions about epf-add-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add an external template to a 1C processor?

To add a 1C external template, you need to generate template metadata and content, then update the root processor XML. This automation creates the required files under the Templates directory and registers the new template in the ChildObjects list.

What types of 1C external processing templates can I create?

You can create HTML, Text, SpreadsheetDocument, and BinaryData templates. The process generates the appropriate template content file extension based on the TemplateType you specify during metadata creation.

How do I register a new template in the 1C root processor XML?

Registering a new template involves updating the root processor XML to include the template in the ChildObjects list. This ensures the 1C external processing processor correctly links and recognizes the newly generated template metadata.

Can I overwrite an existing 1C external processing template?

No, you cannot overwrite existing 1C external processing templates. The process validates the root file and explicitly prevents overwriting any template that already exists, ensuring your current metadata remains safe.

What inputs are required to generate 1C external template metadata?

Generating 1C external template metadata requires ProcessorName, TemplateName, and TemplateType. You can also optionally provide a Synonym for the template and a SrcDir to specify the source directory path.

Why does my 1C external template creation fail during validation?

1C external template creation fails if the root processor file does not exist or if a template with the same name already exists. The process validates the root file and prevents overwriting existing templates to avoid data loss.