role-dsl

Generate and modify 1C roles with JSON DSL and command-line tools.

87|15|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill role-dsl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-dsl
Source: https://github.com/SteelMorgan/1c-agent-based-dev-framework/tree/main/framework/skills/tool-usage/xml-generation/role-dsl
Command: npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill role-dsl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation and modification of 1C roles, specifically managing access rights to metadata objects, thereby streamlining the development and security configuration process for 1C applications.

Core Features & Use Cases

  • Role Compilation: Generates Rights.xml files from a JSON DSL for new roles, defining access to various metadata objects like Catalogs, Documents, and Reports.
  • Rights Management: Allows for adding specific object access or modifying existing rights within Rights.xml using command-line tools.
  • Use Case: A developer needs to create a new role for a "Sales Manager" that requires read access to "Catalog.Products" and read/write access to "Document.SalesOrders". This Skill can generate the initial Rights.xml from a JSON definition and then allow for granular adjustments.

Quick Start

Compile a new 1C role using the provided JSON DSL file 'new_role.json' into the 'output_roles' directory.

Frequently Asked Questions about role-dsl

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

FAQPage Schema
How do I generate 1C roles with specific metadata access permissions?

Generate 1C roles with metadata access by compiling a JSON DSL file into a Rights.xml file using command-line tools, defining access to objects like Catalogs and Documents for 1C environments.

Can I modify existing Rights.xml files to add incremental access rights?

Yes, you can modify existing 1C roles by adding specific object access or adjusting rights incrementally within the Rights.xml file using the provided command-line interface.

Does this role generation tool support both Designer and EDT formats?

Yes, role compilation supports both 1C Designer and EDT formats, allowing you to generate and manage Rights.xml files for your specific 1C development environment.

What is the best way to define read and write access for 1C metadata objects?

The best way to define read and write access for 1C metadata objects is by creating a JSON DSL definition that specifies permissions for objects like Catalog.Products and Document.SalesOrders, then compiling it into Rights.xml.

Do I need a JSON DSL file to create new 1C roles?

Yes, you need a JSON DSL file as input to compile new 1C roles. This file defines the metadata access permissions and serves as the source for generating the Rights.xml output.