Agent skill
mxl-decompile
Декомпиляция табличного документа (MXL) в JSON-определение. Используй когда нужно получить редактируемое описание существующего макета
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/mxl-decompile
SKILL.md
/mxl-decompile — Декомпилятор макета в DSL
Принимает Template.xml табличного документа 1С и генерирует компактное JSON-определение (DSL). Обратная операция к /mxl-compile.
Использование
/mxl-decompile <TemplatePath> [OutputPath]
Параметры
| Параметр | Обязательный | Описание |
|---|---|---|
| TemplatePath | да | Путь к Template.xml |
| OutputPath | нет | Путь для JSON (если не указан — stdout) |
Команда
powershell.exe -NoProfile -File .claude/skills/mxl-decompile/scripts/mxl-decompile.ps1 -TemplatePath "<путь>/Template.xml" [-OutputPath "<путь>.json"]
Рабочий процесс
Декомпиляция существующего макета для анализа или доработки:
- Claude вызывает
/mxl-decompileдля получения JSON из Template.xml - Claude анализирует или модифицирует JSON (добавляет области, меняет стили)
- Claude вызывает
/mxl-compileдля генерации нового Template.xml - Claude вызывает
/mxl-validateдля проверки
JSON-схема DSL
Полная спецификация формата: docs/mxl-dsl-spec.md (прочитать через Read tool).
Генерация имён
Скрипт автоматически генерирует осмысленные имена:
- Шрифты:
default,bold,header,small,italic— или описательные имена по свойствам - Стили:
bordered,bordered-center,bold-right,border-topи т.д. — по комбинации свойств
Детектирование rowStyle
Если в строке есть пустые ячейки (без параметров/текста) и все они имеют одинаковый формат — этот формат распознаётся как rowStyle, а пустые ячейки исключаются из вывода.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?