erf-build

Build an external 1C ERF file from XML sources.

41|5|Updated May 28, 2026
One-click install
npx skills add https://github.com/msrv-tech/skills --skill erf-build-msrv-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erf-build
Source: https://github.com/msrv-tech/skills/tree/main/erf-build
Command: npx skills add https://github.com/msrv-tech/skills --skill erf-build-msrv-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill builds an external 1C ERF file from XML sources, automating the compilation process and ensuring reproducible artifacts for deployment.

Core Features & Use Cases

  • ERF construction: compile ERF from XML sources located in the src directory.
  • Output control: place the resulting ERF in the build directory by default.
  • Auto-configuration: automatically detect v8path and optionally read from .v8-project.json to determine the base DB; if no database is specified, a temporary base is created for the build and removed after.

Quick Start

Run erf-build with the report name to generate the ERF from XML sources.

Frequently Asked Questions about erf-build

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

FAQPage Schema
How do I compile an ERF file from XML sources in 1C?

To build an ERF file from XML sources in 1C, use a deterministic PowerShell-based workflow that reads XML files from the src directory and outputs the compiled ERF artifact to the build directory.

What is the process for generating a distributable 1C ERF report from XML?

Generating a distributable 1C ERF report from XML involves compiling report sources through a PowerShell script, which automatically handles base detection and produces a reproducible ERF artifact for deployment.

Do I need a pre-configured 1C database to build an ERF from XML?

No, a pre-configured 1C database is not required to build an ERF from XML. The workflow can optionally connect to a real-time database, but if none is specified, it automatically creates a temporary base and removes it after the build.

How does the build workflow find the 1C executable path and database configuration?

The build workflow finds the 1C executable path and database configuration through automatic resolution using the .v8-project.json file, ensuring the ERF compilation environment is correctly configured without manual setup.

Can I customize the source and output directories when building a 1C ERF file?

Yes, you can customize the source and output directories when building a 1C ERF file by specifying optional SrcDir and OutDir parameters, which default to src and build respectively if not explicitly provided.