<< All versions
Skill v1.0.1
currentAutomated scan100/100ingvarconsulting/unica/role-validate
+3 new
──Details
PublishedAugust 11, 2026 at 07:19 AM
Content Hashsha256:943c24d2c9221e82...
Git SHA9d2cfeb3a576
Bump Typepatch
──Files
Files (1 file, 2.1 KB)
SKILL.md2.1 KBactive
SKILL.md · 47 lines · 2.1 KB
version: "1.0.1" name: role-validate description: Валидация роли 1С. Используй после создания или модификации роли для проверки корректности argument-hint: <RightsPath> [-Detailed] [-MaxErrors 30] allowed-tools:
- Bash
- Read
/role-validate — валидация роли 1С
MCP routing
- Preferred path: use MCP
unicatoolunica.role.validate;unicaowns XML/JSON DSL work and refreshes related workspace caches after mutations. - Do not call internal MCP/CLI adapters directly. They are hidden behind
unicaand synchronized by the orchestrator. - Execution path: call MCP
unicatoolunica.role.validate; skill-local operation scripts are not part of the workflow. - For mutating operations, pass
dryRun: falseonly when the user explicitly requested the change; otherwise keep the default dry run.
Проверяет корректность Rights.xml роли: формат XML, namespace, глобальные флаги, типы объектов, имена прав, RLS-ограничения, шаблоны. Опционально проверяет метаданные роли (UUID, имя, синоним).
Параметры
| Параметр | Обяз. | Умолч. | Описание | |
|---|---|---|---|---|
| RightsPath | да | — | Путь к роли (директория или Rights.xml) | |
| Detailed | нет | — | Подробный вывод (все проверки, включая успешные) | |
| MaxErrors | нет | 30 | Макс. ошибок до остановки (по умолчанию 30) |
MCP вызов
json
{"jsonrpc": "2.0","method": "tools/call","params": {"name": "unica.role.validate","arguments": {"cwd": "<workspace>","RightsPath": "src/Roles/ЧтениеНоменклатуры","Detailed": true,"MaxErrors": 30}}}