Компиляция табличного документа (MXL) из JSON-определения. An agent skill from Nikolay-Shirokov/cc-1c-skills.

MITAuto-check: notes

Install Mxl Compile

skills CLI
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill mxl-compile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nikolay-Shirokov/cc-1c-skills mxl-compile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mxl-compile .claude/skills/mxl-compile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mxl-compile
GitHub stars
671
Token cost
~2.4k tokens
SKILL.md length
727 words
Files
10 (incl. scripts)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Компиляция табличного документа (MXL) из JSON-определения. An agent skill from Nikolay-Shirokov/cc-1c-skills.

  • Works in 4 steps: Написать JSON-определение (Write tool) →… → Вызвать /mxl-compile для генерации… → Вызвать /mxl-validate для проверки… → …
  • SKILL.md covers Использование, Параметры, Команда and Рабочий процесс, plus 5 more sections
  • Runs PowerShell and Python scripts from its folder

What it does

Mxl Compile is an agent skill from Nikolay-Shirokov/cc-1c-skills. Компиляция табличного документа (MXL) из JSON-определения. Используй когда нужно создать макет печатной формы

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts (for example `reference/drawings.md`, `reference/groups.md` and `reference/input-cells.md`).

The repository describes itself as: Набор навыков для AI(ИИ)-агентов (Claude Code, Cursor, Codex и др.), помогающий охватить полный цикл разработки на платформе 1С:Предприятие 8.3. Даёт модели абстракции над… The licence is MIT.

Example prompts

  • “/mxl-compile”

Requirements

  • Python 3
  • PowerShell
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Glob

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Написать JSON-определение (Write tool) → файл .json
  2. Вызвать /mxl-compile для генерации Template.xml
  3. Вызвать /mxl-validate для проверки корректности
  4. Вызвать /mxl-info для верификации структуры

What it can do on your machine

Read from SKILL.md and the folder at commit 1fa205b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (PowerShell and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mxl Compile loads about 2.4k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 727 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Nikolay-Shirokov/cc-1c-skills at commit 1fa205b, republished under its MIT licence (© Nikolay-Shirokov). 727 words, ~2,377 tokens.

Download SKILL.mdSave it as .claude/skills/mxl-compile/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
mxl-compile
description
Компиляция табличного документа (MXL) из JSON-определения. Используй когда нужно создать макет печатной формы
allowed-tools
Bash, Read, Write, Glob
argument-hint
<JsonPath> <OutputPath>

/mxl-compile — Компилятор макета из DSL

Принимает компактное JSON-определение макета (области, параметры, стили) → генерирует Template.xml табличного документа 1С: палитры, индексы, объединения, namespace.

Использование

/mxl-compile <JsonPath> <OutputPath>

Параметры

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

Команда

powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/mxl-compile.ps1" -JsonPath "<путь>.json" -OutputPath "<путь>/Template.xml"

Рабочий процесс

  1. Написать JSON-определение (Write tool) → файл .json
  2. Вызвать /mxl-compile для генерации Template.xml
  3. Вызвать /mxl-validate для проверки корректности
  4. Вызвать /mxl-info для верификации структуры

Если макет создаётся по изображению (скриншот, скан печатной формы) — сначала вызвать /img-grid для наложения сетки, по ней определить границы колонок и пропорции, затем использовать "Nx" ширины + "page" для автоматического расчёта размеров.

Что читать под задачу

Ниже — всё, что нужно для типового макета. Остальное лежит по файлу на задачу, читать нужно только свой:

ЗадачаКлючиФайл
Свойство стиля вне частых: отступ, защита, узор, маска, поведение при выводе—reference/style-properties.md
Область, не описываемая диапазоном строк; свои ширины колонок у части документаnamedAreas, columnSets, columnSetreference/layout.md
Колонтитулы, ориентация, поля, масштабheader, footer, printSettingsreference/print.md
Картинка, фигура или надпись поверх сетки; картинка в ячейкеpictures, drawings, pictureParameterreference/drawings.md
Ячейки для ввода данных пользователемvalueType, controlType, valuereference/input-cells.md
Сворачиваемые группы строк или колонокrowGroups, columnGroupsreference/groups.md
Всплывающая подсказка у ячейкиnotereference/notes.md

Пример

json
{
  "columns": 5,
  "columnWidths": { "1": 5, "2": 40, "3-5": 12 },
  "fonts": { "жирный": { "face": "Arial", "size": 10, "bold": true } },
  "styles": {
    "шапка":  { "font": "жирный", "horizontalAlignment": "Center", "textPlacement": "Wrap", "border": "Solid" },
    "клетка": { "border": "Solid" },
    "число":  { "border": "Solid", "horizontalAlignment": "Right", "format": "ЧЦ=15; ЧДЦ=2" },
    "итог":   { "font": "жирный", "horizontalAlignment": "Right", "topBorder": "Solid" }
  },
  "areas": [
    { "name": "Заголовок", "rows": [
      { "height": 20, "cells": [{ "col": 1, "span": 5, "style": "шапка", "param": "ЗаголовокОтчёта" }] },
      {}
    ]},
    { "name": "ШапкаТаблицы", "rows": [
      { "rowStyle": "шапка", "cells": ["№", "Номенклатура", "Количество", "Цена", "Сумма"] }
    ]},
    { "name": "Строка", "rows": [
      { "rowStyle": "клетка", "cells": [
        { "col": 1, "param": "НомерСтроки" },
        { "col": 2, "param": "Товар", "detail": "Номенклатура" },
        { "col": 3, "style": "число", "param": "Количество" },
        { "col": 4, "style": "число", "param": "Цена" },
        { "col": 5, "style": "число", "param": "Сумма" }
      ]}
    ]},
    { "name": "Итого", "rows": [
      { "rowStyle": "итог", "cells": [null, null, null, "Итого:", "{Всего}"] }
    ]}
  ]
}

Шапка таблицы и итог записаны позиционно — позиция берётся из порядка, col не нужен; строка таблицы записана ячейками с col, потому что у них разные стили и расшифровка.

Структура DSL

{ columns, page, defaultWidth, columnWidths, columnStyles, textLanguages,
  fonts:  { имя: { face, size, bold, italic, underline, strikeout } | { ref } },
  styles: { имя: { font, horizontalAlignment, verticalAlignment, textPlacement,
                   border, leftBorder, topBorder, rightBorder, bottomBorder,
                   borderColor, backColor, textColor, format } },
  areas: [{ name, columnSet, rows: [
    { height, hidden, rowStyle, empty, cells: [
      { col, span, rowspan, style, param, detail, text, template, note,
        valueType, controlType, value, pictureParameter } ] } ] }],
  namedAreas, columnSets, rowGroups, columnGroups, header, footer, printSettings,
  pictures, drawings
}

Верхний уровень: columns обязателен, остальное по необходимости.

КлючОписание
columnsКоличество колонок раскладки по умолчанию
pageФормат страницы: "A4-landscape" (780), "A4-portrait" (540) или число. Сам вычисляет defaultWidth из суммы пропорций "Nx"
defaultWidthШирина колонок по умолчанию (10)
columnWidthsШирины: ключи 1-based ("1", "3-14", "5,7,9"), значение — число или "2x" (доля от defaultWidth)
columnStylesСтиль на колонку целиком: те же ключи диапазонов, значение — имя стиля
textLanguagesЯзыки, на которые разворачивается текст, заданный строкой (по умолчанию ["ru"])
areasОбласти — диапазоны подряд идущих строк, в порядке документа

Области, строки, ячейки

Область (areas[]) — диапазон подряд идущих строк: name (необязательно; с именем область доступна как Макет.ПолучитьОбласть("Имя")) и rows. Область без имени — просто кусок сетки.

Строка (rows[]): height, hidden, rowStyle, cells. Пустая строка — {}, а { "empty": 3 } заменяет три подряд. height и hidden — свойства самой строки, у ячейки таких нет.

Ячейка (cells[]):

КлючОписание
colПозиция колонки, 1-based
span / rowspanОбъединение вправо / вниз
styleИмя стиля; перекрывает rowStyle для этой ячейки
paramПараметр заполнения — Область.Параметры.Имя = …
textСтатический текст: строка или объект «язык → текст»
templateТекст со вставками [Параметр]
detailПараметр расшифровки; ставится и без param

Содержимое задаётся ровно одним ключом из param / text / template; ячейка без них — пустая (нужна, например, ради рамки). Пустая строка "text": "" — это тоже текст, а не отсутствие текста.

Show full SKILL.md (301 more words)Show less
Короткая форма: список ячеек позиционно

Позиция берётся из порядка, col не нужен:

ЭлементЗначение
"текст"Статический текст
{ "ru": "…", "en": "…" }Тот же текст на нескольких языках
"{Имя}"Параметр заполнения
">"Продолжение ячейки слева — увеличивает её span
`""`
nullПропуск колонки
{ … }Обычная ячейка без col — когда нужны style, detail, template
json
"rows": [
  ["Вид", "Остаток", ">", "Итог"],
  ["|",   "начало",  "конец", "|"],
  ["{Вид}", "{Нач}", "{Кон}", "{Итог}"]
]

Здесь «Вид» и «Итог» объединены по вертикали, «Остаток» — по горизонтали на две колонки.

Позиционный список — это форма записи ЯЧЕЕК, а не строки. Если у строки нет своих свойств, он и есть строка (как в примере выше). Если нужны height, hidden или rowStyle — тот же список кладётся в cells:

json
{ "rowStyle": "итог", "cells": [null, null, null, "Итого:", "{Всего}"] }
rowStyle — оформление строки

Стиль ложится на ВСЮ ширину строки: колонки без явных ячеек получают его тоже — так выходят сплошные рамки в табличной части. Он же становится оформлением самой строки. Ячейки с rowspan из предыдущих строк при этом пропускаются.

Оформление

Ячейка, строка и колонка ссылаются на один и тот же именованный стиль: ячейка — ключом style, строка — rowStyle, колонка — через columnStyles.

Шрифт (fonts.<имя>): face (Arial), size (10), bold, italic, underline, strikeout. Либо ссылка вместо описания: { "ref": "style:TextFont" }, { "ref": "sys:DefaultGUIFont" }. Шрифт "default" берётся, когда стиль не указал свой.

Частые ключи стиля — имя ключа совпадает с именем свойства в выгрузке, значения перечислений регистр не различают:

КлючЗначение
fontИмя из fonts
horizontalAlignmentLeft, Center, Right, Justify, Auto
verticalAlignmentTop, Center, Bottom
textPlacementДлинный текст: Wrap (перенос), Cut (обрезать), Block, Auto
borderРамка со всех сторон
leftBorder, topBorder, rightBorder, bottomBorderОтдельная сторона
borderColorЦвет рамки
backColor, textColorЦвет фона и текста
formatФормат данных 1С: "ЧЦ=15; ЧДЦ=2", "ДФ=dd.MM.yyyy"

Рамка: "Solid" (ширина 1) либо { "style": "Solid", "width": 2 }. Стили линии: None, Solid, Dotted, Dashed, DashDotted, DashDottedDotted, ThinDashed, LargeDashed, ThickDashed, Double. Стороны можно задавать по отдельности всегда: совпавшие четыре компилятор свернёт сам.

Цвет — нотация платформы: #RRGGBB, style:ИмяСтиля (элемент стиля конфигурации), web:Имя, win:Имя. Несуществующее имя платформа отвергнет при загрузке.

json
"styles": {
  "шапка":  { "font": "жирный", "horizontalAlignment": "Center", "backColor": "#EBEBEB" },
  "рамка":  { "border": { "style": "Solid", "width": 2 } },
  "снизу":  { "bottomBorder": "Dotted" }
}

© Nikolay-Shirokov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts) in .claude/skills/mxl-compile of Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md
  • reference/drawings.md
  • reference/groups.md
  • reference/input-cells.md
  • reference/layout.md
  • reference/notes.md
  • reference/print.md
  • reference/style-properties.md
  • scripts/mxl-compile.ps1
  • scripts/mxl-compile.py

Open the folder on GitHubat commit 1fa205b

Compare with similar skills

Mxl Compile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mxl Compile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mxl Compile this skillNikolay-Shirokov/cc-1c-skills671—~2.4kAutomated safety check: NotesMIT
Mxl CompileIngvarConsulting/unica215—~939Automated safety check: NotesCustom licence
Compile Knowledgesickn33/agentic-awesome-skills47k1 repos~2.3kAutomated safety check: PassMIT
Compileratopile/atopile4k—~1kAutomated safety check: PassMIT
Paddle Design CompilerPaddlePaddle/Paddle24k—~3.6kAutomated safety check: PassApache-2.0
Compileccplugins/awesome-claude-code-plugins970—~1.3kAutomated safety check: NotesApache-2.0

Similar skills

  • Mxl Compile

    IngvarConsulting/unica

    Создание макета табличного документа (MXL) и его областей операциями unica.apply.

    215 GitHub stars~939 tokensUpdated today
    Auto-check: notes
  • Compile Knowledge

    sickn33/agentic-awesome-skills

    Compile durable, non-obvious findings into an interlinked markdown knowledge store — atomic files, [[wiki-links]], a maintained index — so an agent gets smarter across sessions instead of relearning…

    47k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Compiler

    atopile/atopile

    How the atopile compiler builds and links TypeGraphs from .ato (ANTLR front-end → AST → TypeGraph → Linker → DeferredExecutor), plus the key invariants and test entrypoints.

    4k GitHub stars~1k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Paddle Design Compiler

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle 3.0 compiler full pipeline: SOT (Symbolic Opcode Translator) for bytecode-level dy2st graph capture, PIR (Paddle IR) for SSA-based intermediate…

    24k GitHub stars~3.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Compile

    ccplugins/awesome-claude-code-plugins

    Compile an Anthropic-style skill — a directory with a SKILL.md and optional references/ — into a deterministic, runnable workflow via the rote CLI.

    970 GitHub stars~1.3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Compile Latex

    brycewang-stanford/Auto-Empirical-Research-Skills

    Compile a LaTeX manuscript with pdflatex (3 passes + bibtex).

    4.5k GitHub stars~361 tokensUpdated 3 days ago
    Documents & OfficeAuto-check: notes

More from Nikolay-Shirokov/cc-1c-skills

All 81 skills in this repo
  • DB Repo

    Nikolay-Shirokov/cc-1c-skills

    Работа с хранилищем конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    671 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check: notes
  • Form Compile

    Nikolay-Shirokov/cc-1c-skills

    Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта.

    671 GitHub stars~4.5k tokensUpdated 3 days ago
    Auto-check: notes
  • Cf Edit

    Nikolay-Shirokov/cc-1c-skills

    Точечное редактирование конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    671 GitHub starsUsed in 1 repo~706 tokens
    Auto-check: notes
  • Form Edit

    Nikolay-Shirokov/cc-1c-skills

    Правка существующей управляемой формы 1С — элементы, реквизиты, команды и свойства самой формы.

    671 GitHub stars~2.9k tokensUpdated 3 days ago
    Auto-check: notes
  • Cf Init

    Nikolay-Shirokov/cc-1c-skills

    Создать пустую конфигурацию 1С (scaffold XML-исходников). An agent skill from Nikolay-Shirokov/cc-1c-skills.

    671 GitHub starsUsed in 1 repo~603 tokens
    Auto-check: notes
  • Cfe Init

    Nikolay-Shirokov/cc-1c-skills

    Создать расширение конфигурации 1С (CFE) — scaffold XML-исходников.

    671 GitHub starsUsed in 1 repo~717 tokens
    Auto-check: notes

Questions about Mxl Compile

What does Mxl Compile do?

Компиляция табличного документа (MXL) из JSON-определения. An agent skill from Nikolay-Shirokov/cc-1c-skills. Mxl Compile is an agent skill from Nikolay-Shirokov/cc-1c-skills. Компиляция табличного документа (MXL) из JSON-определения.

How do I install Mxl Compile in Claude Code?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill mxl-compile -a claude-code`. Or copy the skill folder (.claude/skills/mxl-compile in Nikolay-Shirokov/cc-1c-skills) into .claude/skills/mxl-compile in your project. Claude Code loads it when a task matches its description.

How do I install Mxl Compile in Codex?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill mxl-compile -a codex`. Or copy the skill folder (.claude/skills/mxl-compile in Nikolay-Shirokov/cc-1c-skills) into .agents/skills/mxl-compile in your project. Codex loads it when a task matches its description.

Can I use Mxl Compile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill mxl-compile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mxl-compile, .gemini/skills/mxl-compile, .github/skills/mxl-compile and .opencode/skills/mxl-compile in your project.

What does Mxl Compile need to run?

Going by SKILL.md and its folder, Mxl Compile needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob.

Does Mxl Compile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mxl Compile safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mxl Compile use?

Mxl Compile is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mxl Compile use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mxl Compile?

Skills that share tags, products or a category with Mxl Compile: Mxl Compile (IngvarConsulting/unica, 215 stars), Compile Knowledge (sickn33/agentic-awesome-skills, 47k stars), Compiler (atopile/atopile, 4k stars) and Paddle Design Compiler (PaddlePaddle/Paddle, 24k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mxl Compile?

Nikolay-Shirokov (a GitHub user) maintains it in Nikolay-Shirokov/cc-1c-skills, which has 671 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nikolay-Shirokov/cc-1c-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.