role-compile

Community

Generate 1C roles from JSON DSL

AuthorNikolay-Shirokov
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of 1C roles, translating a human-readable JSON description into the necessary XML metadata and rights files, eliminating manual configuration and potential errors.

Core Features & Use Cases

  • JSON to XML Conversion: Converts a defined JSON structure into Roles/Имя.xml (metadata) and Roles/Имя/Ext/Rights.xml (permissions).
  • UUID Generation: Automatically assigns unique identifiers to new roles.
  • Configuration Integration: Optionally registers the new role in Configuration.xml.
  • Use Case: A developer needs to define a new user role with specific permissions for accessing certain documents and registers. Instead of manually creating XML files, they provide a JSON DSL, and this Skill generates all required files and updates the configuration.

Quick Start

Use the role-compile skill to generate a 1C role from the JSON file '~/roles/my_new_role.json' and output it to the '~/1c_project/src/Roles' directory.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: role-compile
Download link: https://github.com/Nikolay-Shirokov/cc-1c-skills/archive/main.zip#role-compile

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.