mxl-expert

Must be used for all operations related to MXL layouts and 1C object templates: creating MXL from JSON (compile), extracting JSON from MXL (decompile), adding a layout to an object (template-add), and removing a layout (template-remove). Also invoke when handling print forms and layouts. Do not use for MXL analysis or validation—use inspect and validate, respectively.

Last repository push
GitHub Stars
173
Forks
22
Issues / PRs
5

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mxl-expert" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c30f6f532fdcce06ceed3605811032c06c78990460ba34de723a18ffbb6941fa. Verify the upstream source and version against https://github.com/Arman-Kudaibergenov/1c-ai-development-kit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Must be used for all operations related to MXL layouts and 1C object templates: creating MXL from JSON (compile), extracting JSON from MXL (decompile), adding a layout to an object (template-add), and removing a layout (template-remove). Also invoke when handling print forms and layouts. Do not use for MXL analysis or validation—use inspect and validate, respectively.

0 Downloads

Introduction source: third_party · Arman-Kudaibergenov · 0.0.1 Reference

SkillPi interpretation

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

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: mxl-expert
description: >
  Этот скилл MUST быть вызван для всех операций с MXL-макетами и шаблонами объектов 1С:
  создание MXL из JSON (compile), получение JSON из MXL (decompile),
  добавление макета к объекту (template-add), удаление макета (template-remove).
  SHOULD также вызывать при любой работе с печатными формами и макетами.
  Do NOT использовать для анализа MXL — используй inspect; для валидации — используй validate.
argument-hint: "<mode> [args...]  # modes: compile|decompile|template-add|template-remove"
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep

/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 объекта

Version history

  1. v1.2.0 GitHub ↗
    Original release notes

    ## What's New ### Skills Catalog (SKILLS.md) - New `SKILLS.md` in project root listing all 52 project skills + 11 global skills - Organized by category: Configuration, Metadata, Database, Extensions, Forms, EPF/ERF, MXL, DCS, Subsystems/Roles, Web/Testing, Knowledge/Planning - Quick Reference table mapping common tasks to skill combinations ### Context Guard - New `scripts/context-monitor.ps1` — PostToolUse hook that estimates token usage and warns at 70%/85% - `.claude/settings.local.json` updated with PostToolUse hook configuration ### Session Management (3 new skills) - `/session-save` — save session state to `session-notes.md` - `/session-restore` — restore session and auto-continue from saved state - `/session-retro` — quick retrospective of session outcomes - `scripts/rotate-session.ps1` — open new terminal tab with fresh Claude session - `docs/guides/session-management.md` — setup guide and workflow reference ### Notes - No RLM dependency — all session state stored locally - `session-notes.md` added to `.gitignore`

  2. v1.1.0 GitHub ↗
    Original release notes

    ## Changes - **Skill consolidation**: 14 granular skills merged into 5 expert-* skills - epf-expert (replaces 6 EPF/ERF skills) - mxl-expert (replaces 3 MXL/template skills) - role-expert (replaces role-compile) - subsystem-expert (replaces 3 subsystem/interface skills) - inspect (replaces 7 *-info skills) - validate (replaces 11 *-validate skills) - Total skill count: 80 -> 52 (leaner, less overlap) - Docs: no changes Full skill list in .claude/skills/

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供完整的 MXL 编译/反编译/模板管理四大核心功能
  • 面向 1C 开发者解决具体的布局和模板管理痛点
  • 有明确的 PowerShell 脚本实现和业务逻辑
Trigger Precision92/100

Highlights

  • 触发词描述完整,覆盖 compile/decompile/template-add/template-remove 四种模式
  • 每种模式都有详细的参数定义和使用示例
  • 边界清晰,明确区分了不应使用的场景(inspect/validate)
Structure and Standards95/100

Highlights

  • 结构清晰,四种模式各自独立且有完整的 Usage 说明
  • 包含详细的参数表格和类型映射关系
  • frontmatter 完整,包含必要的元数据信息
Execution Reliability88/100

Areas to improve

  • 文档语言混用 Reported severity: Minor

    文档中混合使用了俄语和英语,可能影响部分用户的理解

    Recommendation: 建议统一文档语言,或提供双语对照版本以提升可读性

Highlights

  • 使用标准 PowerShell 脚本,工具来源明确
  • 对不可逆操作(template-remove)有明确的风险提示
  • 脚本路径和参数传递方式清晰明确
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.