1c-erf-init

Generate a 1C external report scaffold with XML metadata and ObjectModule.bsl.

40|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-erf-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-erf-init
Source: https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-erf-init
Command: npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-erf-init

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates scaffolding for a new 1C external report by generating the XML metadata and the ObjectModule.bsl, removing repetitive setup tasks.

Core Features & Use Cases

  • Minimal scaffold: creates the root XML (<Name>.xml) and the Ext/ObjectModule.bsl with a basic template.
  • Synonym and SrcDir customization: supports optional Synonym and a custom source directory.
  • SKD support: when --WithSKD is used, generates a basic Data Composition Schema template and link to MainDataCompositionSchema.
  • Deterministic identifiers: assigns fixed ClassId and unique UUIDs for consistent re-creatability.

Quick Start

Run the erf-init script to scaffold a new external report with a given Name and optional Synonym and SKD support.

Frequently Asked Questions about 1c-erf-init

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

FAQPage Schema
How do I scaffold a new 1C external report with XML metadata and an ObjectModule.bsl?

To scaffold a 1C external report, run the initialization script to generate the root XML metadata file and a basic ObjectModule.bsl template. This removes repetitive setup by producing UTF-8 with BOM encoded files and deterministic identifiers in your specified source directory.

Can I generate a Data Composition Schema template when scaffolding a 1C external report?

Yes, you can generate a Data Composition Schema template for a 1C external report by specifying the --WithSKD flag. This creates a basic SKD layout and links it to the MainDataCompositionSchema within your external report structure.

What customization options are available when creating an external report scaffold?

When creating an external report scaffold, you can pass an optional Synonym for alternative naming, override the SrcDir for a custom source directory, and enable --WithSKD. The generator assigns fixed ClassId and unique UUIDs for consistent re-creatability.

Does the 1C external report scaffolding process support custom source directories?

Yes, the 1C external report scaffolding process supports custom source directories through the SrcDir override option. This allows you to output the generated UTF-8 with BOM encoded XML and BSL files directly into your preferred project path.

Why does the external report generator use deterministic IDs and fixed ClassId values?

The external report generator uses deterministic IDs and fixed ClassId values to ensure consistent re-creatability of the report structure. This means generating the same report scaffold multiple times yields identical metadata and identifiers.

What file encoding is used for generated 1C external report XML and BSL files?

Generated 1C external report XML and BSL files are produced using UTF-8 with BOM encoding. This encoding standard ensures compatibility with the 1C platform when reading the ObjectModule.bsl and metadata files.