SuperAPI AI Directory

role-expert

General & other

View repository

Updated 10-15 17:18

About this skill

/role-expert — Creating a 1C role from JSON DSL

Takes a JSON role definition → generates Roles/Имя.xml (metadata) and Roles/Имя/Ext/Rights.xml (rights). UUID automatically.

Usage

/role-expert <JsonPath> <RolesDir>
Parameter Description
JsonPath Path to the JSON role definition
RolesDir Directory Roles/ in the configuration sources

Command

powershell.exe -NoProfile -File .claude/skills/role-expert/scripts/role-compile.ps1 -JsonPath "<json>" -OutputDir "<RolesDir>"

<Role>ИмяРоли</Role> is automatically added to <ChildObjects> of the file Configuration.xml (expected in parent from RolesDir).

DSL format

Description of the JSON DSL for defining a role: .claude/skills/role-expert/dsl-reference.md

Related operations

Task Skill
Role rights analysis /inspect (role-info mode)
Role validation /validate (role mode)
Changing object properties /meta-edit