role

Generate 1C role XML metadata and rights files from JSON DSL.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill helps automate the creation of 1C roles with defined rights from a JSON DSL, streamlining access control configuration.

Core Features & Use Cases

  • Generates XML metadata for new roles (Role.xml) and Rights (Ext/Rights.xml) from JSON DSL.
  • Registers the new role in Configuration.xml to expose it in 1C environments.
  • Supports Russian-to-English name translation and preset rights mapping per object type.

Quick Start

Provide a JSON role definition and run scripts/role-compile.ps1 to generate the role artifacts.

Frequently Asked Questions about role

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

FAQPage Schema
How do I generate 1C role XML metadata from a JSON definition?

To generate 1C role XML metadata from a JSON definition, provide your JSON DSL input and run the role-compile.ps1 script. The Skill outputs Role.xml and Ext/Rights.xml files while automatically registering the new role in Configuration.xml.

Can I define 1C object rights using a JSON DSL instead of manual configuration?

Yes, you can define 1C object rights using a JSON DSL instead of manual configuration. This Skill translates your JSON definitions into XML metadata, expanding preset rights per object type to streamline access control setup.

How does Russian-to-English name translation work for 1C role creation?

Russian-to-English name translation for 1C role creation works by automatically processing the input JSON DSL within the compilation script. It maps the provided Russian role names to English equivalents required for valid XML metadata generation.

What is the best way to register a new role in Configuration.xml for 1C?

The best way to register a new role in Configuration.xml for 1C is to use an automated JSON DSL compilation script. It validates your input, generates the necessary rights files, and handles the Configuration.xml integration automatically.

Does 1C role generation from JSON support preset rights expansion for different object types?

Yes, 1C role generation from JSON supports preset rights expansion for different object types. The Skill applies preset rights mapping based on the specific object types defined within your JSON DSL input.

What are the limitations of using JSON DSL for 1C rights management?

A limitation of using JSON DSL for 1C rights management is the dependency on the role-compile.ps1 script for execution. Additionally, the generated XML metadata relies entirely on the accuracy of your JSON input validation and preset rights mapping.