Index of every page on this site: llms.txt
All skills
Run it yourself

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

Use this Skill: https://skilld.dev/gh/arman-kudaibergenov/1c-ai-development-kit/role-expert

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈133 tokens for metadata: the name and description. ≈328 when used: this file. ≈3.2k more on demand in 1 file.

Description uses 4.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈317 characters, or 4.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

/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

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning23d3 checks · Risk SAFE
  • Gen Agent Trust Hub23d

    The skill is a developer utility for generating 1C platform role definitions from a JSON DSL. It uses a PowerShell script to automate the creation of XML metadata and rights files, and to register new roles in the project configuration. No security risks or malicious patterns were identified.

  • Socket23d

    1 alert: gptAnomaly

  • Snyk23d

    Risk: LOW · No issues

Signed by skilld at 92d389e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago
What it can do
Runs commands Reads files Edits files
argument-hint
<JsonPath> <RolesDir>
All 4 allowed tools
BashReadWriteGlob

README badge

README badge for arman-kudaibergenov/1c-ai-development-kit/role-expert