role-compile

Compile 1C roles from JSON DSL into Role metadata and Rights XML files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Creating 1C roles from a JSON-based description to automate the metadata and rights generation, reducing manual configuration time for 1C deployments.

Core Features & Use Cases

  • Generates Roles/Имя.xml metadata and Ext/Rights.xml with object rights from JSON DSL.
  • Registers the new role in Configuration.xml by updating the ChildObjects list and associating a UUID.
  • Use case: define a role in JSON to grant Read on Catalog.Контрагенты and Posting on Document.РеализацияТоваровУслуг, then auto-export to the repository.

Quick Start

Provide a JSON definition and output the generated Role metadata and Rights files to the target directory.

Frequently Asked Questions about role-compile

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

FAQPage Schema
How do I generate 1C roles from JSON automatically?

Generate 1C roles from JSON by compiling a JSON DSL into Role metadata and Rights XML files, which automates provisioning rights and reduces manual configuration time for 1C deployments.

Can I define RLS and presets like @view or @edit in 1C role generation?

Yes, 1C role generation from JSON supports RLS configurations and presets like @view and @edit, compiling them directly into the Rights XML files for deterministic rights provisioning.

How do I register a new 1C role in Configuration.xml?

Register a new 1C role in Configuration.xml by updating the ChildObjects list and associating a UUID, which is handled automatically when the JSON DSL is compiled into role metadata.

What files are created when compiling 1C roles from a JSON DSL?

Compiling 1C roles from a JSON DSL creates Roles/Name.xml metadata files and Roles/Name/Ext/Rights.xml files containing the object rights for the defined role.

Does 1C role generation work for batch deployments requiring automated rights provisioning?

Yes, 1C role generation from JSON DSL is designed for configurations requiring automated role generation and deterministic rights provisioning across batch deployments.

What are the limitations of generating 1C roles from JSON?

Generating 1C roles from JSON DSL requires providing a valid JSON definition and a target directory for output, and is limited to generating role metadata and rights XML without modifying other configuration objects.