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

Этот скилл MUST быть вызван для всех операций с MXL-макетами и шаблонами объектов 1С: создание MXL из JSON (compile), получение JSON из MXL (decompile), добавление макета к объекту (template-add), удаление макета (template-remove). SHOULD также вызывать при любой работе с печатными формами и макетами. Do NOT использовать для анализа MXL — используй inspect; для валидации — используй validate.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈159 tokens for metadata: the name and description. ≈1.4k when used: this file.

Description uses 5.1% 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 ≈408 characters, or 5.1%.

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.

/mxl-expert — MXL-макеты и шаблоны 1С

Единый скилл для всех операций с MXL-макетами и шаблонами. Выбери нужный режим:

Режим Что делает
compile Создать MXL из JSON DSL-определения
decompile Получить JSON DSL из существующего MXL
template-add Добавить макет к объекту (обработка, справочник, документ)
template-remove Удалить макет из объекта

Режим: compile — создание MXL из JSON

Принимает компактное JSON-определение макета и генерирует корректный Template.xml для табличного документа 1С.

Usage

/mxl-expert compile <JsonPath> <OutputPath>
Параметр Обязательный Описание
JsonPath да Путь к JSON-определению макета
OutputPath да Путь для генерации Template.xml

Команда

powershell.exe -NoProfile -File .claude/skills/mxl-expert/scripts/mxl-compile.ps1 -JsonPath "<JsonPath>" -OutputPath "<OutputPath>"

Claude описывает что нужно (области, параметры, стили), скрипт обеспечивает корректность XML (палитры, индексы, объединения, namespace).


Режим: decompile — получение JSON из MXL

Принимает Template.xml и генерирует компактное JSON DSL-определение. Обратная операция к compile.

Usage

/mxl-expert decompile <TemplatePath> [OutputPath]
Параметр Обязательный Описание
TemplatePath да Путь к Template.xml
OutputPath нет Путь для JSON (если не указан — stdout)

Команда

powershell.exe -NoProfile -File .claude/skills/mxl-expert/scripts/mxl-decompile.ps1 -TemplatePath "<TemplatePath>" [-OutputPath "<OutputPath>"]

Режим: template-add — добавление макета к объекту

Создаёт макет указанного типа и регистрирует его в корневом XML объекта.

Usage

/mxl-expert template-add <ObjectName> <TemplateName> <TemplateType> [Synonym] [SrcDir]
Параметр Обязательный По умолчанию Описание
ObjectName да — Имя объекта
TemplateName да — Имя макета
TemplateType да — Тип: HTML, Text, SpreadsheetDocument, BinaryData, DataCompositionSchema
Synonym нет = TemplateName Синоним макета
SrcDir нет src Каталог исходников
--SetMainSKD нет — Установить MainDataCompositionSchema

Команда

powershell.exe -NoProfile -File .claude/skills/mxl-expert/scripts/add-template.ps1 -ObjectName "<ObjectName>" -TemplateName "<TemplateName>" -TemplateType "<TemplateType>" [-Synonym "<Synonym>"] [-SrcDir "<SrcDir>"] [-SetMainSKD]

Маппинг типов

Пользователь пишет TemplateType Расширение Содержимое
HTML HTMLDocument .html Пустой HTML
Text, текст TextDocument .txt Пустой файл
SpreadsheetDocument, MXL, табличный документ SpreadsheetDocument .xml Минимальный spreadsheet
BinaryData, бинарные данные BinaryData .bin Пустой файл
DataCompositionSchema, СКД DataCompositionSchema .xml Пустая СКД

Режим: template-remove — удаление макета

Удаляет макет и убирает его регистрацию из корневого XML объекта.

Usage

/mxl-expert template-remove <ObjectName> <TemplateName> [SrcDir]
Параметр Обязательный По умолчанию Описание
ObjectName да — Имя объекта
TemplateName да — Имя макета для удаления
SrcDir нет src Каталог исходников

Команда

powershell.exe -NoProfile -File .claude/skills/mxl-expert/scripts/remove-template.ps1 -ObjectName "<ObjectName>" -TemplateName "<TemplateName>" [-SrcDir "<SrcDir>"]

Операция необратима. Скрипт:

  1. Удаляет XML файл макета и каталог с содержимым
  2. Убирает <Template> из ChildObjects корневого XML объекта

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 provides a set of PowerShell scripts for managing 1C:Enterprise MXL layouts and templates. It allows compiling JSON definitions into XML layouts, decompiling XML into JSON, and adding or removing templates from 1C objects. While functional, it has an attack surface for indirect prompt injection due to its processing of external XML and JSON data alongside its file system manipulation capabilities.

  • 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
<mode> [args...] # modes: compile|decompile|template-add|template-remove
All 6 allowed tools
BashReadWriteEditGlobGrep

README badge

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