What problem does it solve?
This Skill eliminates the manual, error-prone work of creating 1C subsystem XML artifacts and wiring them into the proper parent configuration, by compiling a structured JSON definition into the required filesystem structure and metadata registration.
Core Features & Use Cases
- Subsystem XML generation from JSON: Converts a JSON definition (minimum field name) into a valid 1C subsystem MetaDataObject XML file.
- Filesystem structure & child stubs: Creates the Subsystems directory, writes the subsystem XML, and optionally generates stub XML files for child subsystems.
- Parent registration (Configuration.xml or nested parent): Inserts a new Subsystem reference into the correct parent’s ChildObjects section and avoids duplicate registration.
- Character-set safe execution: Supports Base64 variants of path and JSON inputs to prevent Cyrillic marshalling issues in Windows PowerShell.
Use case example: When you need to add a new subsystem like “Продажи” with predefined Content objects (e.g., catalogs/documents) and possibly nested child subsystems, you provide the JSON definition and an output directory, and the Skill generates the XML artifacts and updates Configuration.xml so it becomes part of the build.
Quick Start
Create a new subsystem by running subsystem-compile with an inline JSON definition and an OutputDir pointing to your 1C configuration root.