role-compile — community role-compile, cc-1c-skills, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

Об этом навыке

Идеально подходит для агентов разработки 1C:Enterprise, которым требуется автоматическая генерация ролей из JSON-определений. Создание роли 1С из описания прав. Используй когда нужно создать новую роль с набором прав на объекты

Nikolay-Shirokov Nikolay-Shirokov
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
36
Canonical Locale
ru
Detected Body Locale
ru

Идеально подходит для агентов разработки 1C:Enterprise, которым требуется автоматическая генерация ролей из JSON-определений. Создание роли 1С из описания прав. Используй когда нужно создать новую роль с набором прав на объекты

Зачем использовать этот навык

Наделяет агентов возможностью генерировать роли 1C:Enterprise из JSON DSL, создавая файлы Roles/Имя.xml и Roles/Имя/Ext/Rights.xml с автоматическими UUID, используя скрипты PowerShell для бесшовной интеграции.

Подходит лучше всего

Идеально подходит для агентов разработки 1C:Enterprise, которым требуется автоматическая генерация ролей из JSON-определений.

Реализуемые кейсы использования for role-compile

Автоматизировать создание ролей для разработчиков 1C:Enterprise
Генерировать файлы Roles/Имя.xml и Roles/Имя/Ext/Rights.xml из JSON-определений
Упростить настройку 1C:Enterprise с автоматической генерацией UUID

! Безопасность и ограничения

  • Требуется среда выполнения PowerShell
  • Специфичный для 1C:Enterprise
  • Требуется файл определения JSON

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is role-compile?

Идеально подходит для агентов разработки 1C:Enterprise, которым требуется автоматическая генерация ролей из JSON-определений. Создание роли 1С из описания прав. Используй когда нужно создать новую роль с набором прав на объекты

How do I install role-compile?

Run the command: npx killer-skills add Nikolay-Shirokov/cc-1c-skills/role-compile. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for role-compile?

Key use cases include: Автоматизировать создание ролей для разработчиков 1C:Enterprise, Генерировать файлы Roles/Имя.xml и Roles/Имя/Ext/Rights.xml из JSON-определений, Упростить настройку 1C:Enterprise с автоматической генерацией UUID.

Which IDEs are compatible with role-compile?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for role-compile?

Требуется среда выполнения PowerShell. Специфичный для 1C:Enterprise. Требуется файл определения JSON.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Nikolay-Shirokov/cc-1c-skills/role-compile. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use role-compile immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

role-compile

Install role-compile, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

/role-compile — генерация роли 1С из JSON DSL

Принимает JSON-определение роли → генерирует Roles/Имя.xml (метаданные) и Roles/Имя/Ext/Rights.xml (права). UUID автоматически.

Параметры и команда

ПараметрОписание
JsonPathПуть к JSON-определению роли
RolesDirКаталог Roles/ в исходниках конфигурации
powershell
1powershell.exe -NoProfile -File .claude/skills/role-compile/scripts/role-compile.ps1 -JsonPath "<json>" -OutputDir "<RolesDir>"

<Role>ИмяРоли</Role> автоматически добавляется в <ChildObjects> файла Configuration.xml (ожидается в parent от RolesDir).

JSON DSL

Структура

json
1{ "name": "ИмяРоли", "synonym": "Отображаемое имя", "objects": [...], "templates": [...] }

Необязательные: comment (""), setForNewObjects (false), setForAttributesByDefault (true), independentRightsOfChildObjects (false).

Shorthand-строки и объектная форма

json
1"objects": [ 2 "Catalog.Номенклатура: @view", 3 "Document.Реализация: @edit", 4 "DataProcessor.Загрузка: @view", 5 "InformationRegister.Цены: Read, Update", 6 { "name": "Document.Продажа", "preset": "view", "rights": {"Delete": false}, "rls": {"Read": "#Шаблон(\"\")"} } 7]
  • Shorthand: "Тип.Имя: @пресет" или "Тип.Имя: Право1, Право2"
  • Объектная форма: preset + rights (переопределения) + rls (ограничения)

Пресеты

ПресетДействие
@viewПросмотр — Read, View (+InputByString для справочников/документов; Use+View для обработок/отчётов)
@editПолное редактирование — CRUD + Interactive* + Posting (документы)

@ обязателен в shorthand. В объектной форме — "preset": "view" без @.

Для сервисов (WebService, HTTPService, IntegrationService) пресеты не определены — используй явные права: "WebService.Имя: Use".

Русские синонимы

Поддерживаются русские типы (Справочник→Catalog, Документ→Document) и права (Чтение→Read, Просмотр→View). Смешивание допустимо: "Справочник.Контрагенты: Чтение, View".

Шаблоны RLS

json
1"templates": [{"name": "ДляОбъекта(Мод)", "condition": "ГДЕ Организация = &ТекОрг"}]

Ссылка в rls: "#ДляОбъекта(\"\")". Символ & автоматически экранируется в XML.

Примеры

Простая роль

json
1{ 2 "name": "ЧтениеНоменклатуры", "synonym": "Чтение номенклатуры", 3 "objects": ["Catalog.Номенклатура: @view", "Catalog.Контрагенты: @view", "DataProcessor.Загрузка: @view"] 4}

Роль с RLS

json
1{ 2 "name": "ЧтениеДокументовПоОрганизации", 3 "synonym": "Чтение документов (ограничение по организации)", 4 "objects": [ 5 "Catalog.Организации: @view", 6 {"name": "Document.РеализацияТоваровУслуг", "preset": "view", "rls": {"Read": "#ДляОбъекта(\"\")"}} 7 ], 8 "templates": [{"name": "ДляОбъекта(Модификатор)", "condition": "ГДЕ Организация = &ТекущаяОрганизация"}] 9}

Подробные таблицы пресетов, русских синонимов и дополнительные примеры — в dsl-reference.md.

Верификация

/role-validate <RightsPath> [MetadataPath]  — проверка корректности XML, прав, RLS
/role-info <RightsPath>                     — визуальная сводка структуры

Связанные навыки

Looking for an alternative to role-compile or another community skill for your workflow? Explore these related open-source skills.

Показать все

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Создание настраиваемых плагинов виджетов для системы ленты новостей prompts.chat

flags

Logo of vercel
vercel

Фреймворк React

138.4k
0
Браузер

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Разработчик