template-add

Add a template to a 1C metadata object by generating XML and content files.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill template-add-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-add
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/template-add
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill template-add-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates adding a new template to a 1C object by generating the required metadata files and updating the root XML so the template becomes available in the configuration.

Core Features & Use Cases

  • Creates template metadata: Generates Templates/<TemplateName>.xml with correct UUID and TemplateType.
  • Generates template content by type: Writes a starter payload for HTML, Text, SpreadsheetDocument (MXL), BinaryData, or DataCompositionSchema.
  • Updates the parent object: Appends the new Template entry into the <ChildObjects> section of the root object XML.
  • Optionally updates MainDataCompositionSchema: For ExternalReport/Report, can set MainDataCompositionSchema when adding DataCompositionSchema templates.

Quick Start

Ask the skill to add a spreadsheet (MXL) template by running: template-add <ObjectName> <TemplateName> SpreadsheetDocument.

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 metadata object?

To add a 1C template, generate the required Templates/<TemplateName>.xml metadata file, create the corresponding Ext/Template content file, and append the new entry into the parent object's ChildObjects XML section.

What template types are supported for 1C development automation?

Supported 1C template types include HTML, Text, SpreadsheetDocument (MXL), BinaryData, and DataCompositionSchema, each generating a specific starter payload within the template content files.

How do I scaffold a DataCompositionSchema for a 1C report?

Scaffolding a DataCompositionSchema for a 1C report creates the template files and optionally sets the MainDataCompositionSchema property in the root ExternalReport or Report XML metadata.

What is the best way to register a spreadsheet template in 1C configuration?

Registering a spreadsheet template requires creating the MXL content file under Templates/<TemplateName>/Ext/ and updating the root object XML to include the new template in its ChildObjects section.

Can I use this scaffolding for both catalogs and documents in 1C?

Yes, template scaffolding applies to various 1C metadata objects, including catalogs, documents, reports, and forms, by generating the correct folder structures and XML metadata.

Why is my new 1C template not showing up in the configuration?

A new 1C template may not appear if the root object's ChildObjects XML section was not updated or the required Templates/<TemplateName>.xml metadata file was not generated correctly.