template-add

Adds a new template to a 1C object's metadata and content via scripts.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/mmmmmm786mngb-jpg/WIM_DEV --skill template-add
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-add
Source: https://github.com/mmmmmm786mngb-jpg/WIM_DEV/tree/main/.cursor/skills/template-add
Command: npx skills add https://github.com/mmmmmm786mngb-jpg/WIM_DEV --skill template-add

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) components.

What problem does it solve?

Добавлять пустой макет к объекту 1С для быстрого старта разработки макетов, без ручного редактирования файлов.

Core Features & Use Cases

  • Создает метаданные макета и размещает их в Templates объекта
  • Генерирует содержимое макета под разные типы (HTML, Text, SpreadsheetDocument, BinaryData, DataCompositionSchema)
  • Применимо к объектам Reports, DataProcessors, Documents, Catalogs и т. д. с целью быстрого расширения макетов

Quick Start

Запустите скрипт в .cursor/skills/template-add/scripts, указав ObjectName, TemplateName и TemplateType, чтобы создать макет.

Frequently Asked Questions about template-add

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

FAQPage Schema
How do I add a new template to a 1C object without manual file editing?

You can add a new template to a 1C object by running provided scripts that automatically generate metadata XML and content under the Templates directory, then register it in the object's metadata.

What 1C object types support adding a new template layout?

Adding a new template layout is supported across multiple 1C object types, including Reports, DataProcessors, Documents, and Catalogs, enabling you to define additional layouts for these namespaces.

How do I generate metadata XML for different 1C template types?

To generate metadata XML for 1C template types like HTML, Text, SpreadsheetDocument, BinaryData, or DataCompositionSchema, execute the PowerShell or Python scripts with your specified ObjectName, TemplateName, and TemplateType.

Can I use Python to create a DataCompositionSchema template in 1C?

Yes, you can use the provided Python scripts to create a DataCompositionSchema template in 1C, which will also update the MainDataCompositionSchema during the generation process.

Does adding a 1C template require manually updating the object's metadata files?

No, adding a 1C template does not require manually updating files because the automation scripts handle creating the Ext content and registering the new template directly within the object's metadata.

What dependencies are needed to run scripts for creating 1C templates?

You need the lxml library installed as a dependency to run the scripts that automate the creation of 1C object templates and generate their associated metadata XML files.