agentleFS
anymasoftanymasoft/1c-ai/.claude/skills/role-expert/SKILL.md

role-expert

Skill0 starsChanged 4 months agoMITView on GitHub

Этот скилл MUST быть вызван когда нужно создать новую роль 1С с набором прав на объекты. SHOULD также вызывать при настройке разграничения доступа для новой функциональности. Do NOT использовать для анализа роли — используй inspect; для валидации — validate; для изменения существующей роли — meta-edit.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

/role-expert — Создание роли 1С из JSON DSL

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

Usage

/role-expert <JsonPath> <RolesDir>
ПараметрОписание
JsonPathПуть к JSON-определению роли
RolesDirКаталог Roles/ в исходниках конфигурации

Команда

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

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

DSL-формат

Описание JSON DSL для определения роли: .claude/skills/role-expert/dsl-reference.md

Смежные операции

ЗадачаСкилл
Анализ прав роли/inspect (режим role-info)
Валидация роли/validate (режим role)
Изменение свойств объекта/meta-edit

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.