role-compile

Generates Rocket.Chat role XML files and access-rights definitions from a simple text format.

413|90|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/comol/cursor_rules_1c --skill role-compile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-compile
Source: https://github.com/comol/cursor_rules_1c/tree/main/.cursor/source/role-compile
Command: npx skills add https://github.com/comol/cursor_rules_1c --skill role-compile

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool automates the creation of 1C role metadata and the Rights.xml structure from a plain rights description, reducing manual XML coding and errors.

Core Features & Use Cases

  • Generate Roles/ИмяРоли.xml metadata and Ext/Rights.xml mappings based on a concise rights outline.
  • Integrate with existing configuration workflows so a role can be added to Configuration.xml and linked to Ext Rights.
  • Useful during role design for 1C configurations, access control expansion, and onboarding.

Quick Start

Run the role-compile command with a RoleName and RolesDir to generate the Role metadata and Rights.xml templates.

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 role metadata from a rights description?

To generate 1C role metadata from a rights description, this tool processes your input to automatically create Roles/ИмяРоли.xml and Ext/Rights.xml structures, eliminating manual XML coding and reducing configuration errors.

What is the best way to create Ext/Rights.xml for a 1C configuration?

The best way to create Ext/Rights.xml for a 1C configuration is using an automated role compiler that maps a concise rights outline directly into the required XML structure, ensuring deterministic and error-free access control definitions.

Can I integrate generated 1C role metadata into an existing Configuration.xml?

Yes, you can integrate generated 1C role metadata into an existing workflow by adding the newly created role to Configuration.xml and linking it to the generated Ext/Rights.xml mappings during your configuration deployment process.

Do I need to manually code XML when designing 1C access control roles?

You do not need to manually code XML when designing 1C access control roles, as the role-compile process uses templates and frontmatter-driven metadata to produce deterministic XML outputs directly from a plain rights description.

How do I start generating 1C role files using a command line tool?

To start generating 1C role files, execute the role-compile command by providing a specific RoleName and a target RolesDir to instantly output the corresponding Role metadata and Rights.xml templates for your configuration.