mxl-decompile

Decompile 1C Template.xml spreadsheet layouts into an editable JSON DSL.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Framework --skill mxl-decompile-alex1980alex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mxl-decompile
Source: https://github.com/Alex1980Alex/1C-Framework/tree/main/external/cc-1c-skills/.claude/skills/mxl-decompile
Command: npx skills add https://github.com/Alex1980Alex/1C-Framework --skill mxl-decompile-alex1980alex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) components.

What problem does it solve?

This Skill turns a 1C spreadsheet template into a compact, editable JSON description so you can inspect or modify an existing layout without working directly in the source XML.

Core Features & Use Cases

  • Template decompilation: Converts Template.xml into a structured DSL that preserves rows, cells, styles, merges, fonts, and column widths.
  • Layout analysis and editing: Helps you review complex 1C table document formatting, then update the JSON and regenerate the template later.
  • Practical use case: Use it when you inherit a finished 1C report layout and need a readable representation for maintenance, refactoring, or documentation.

Quick Start

Use this skill to decompile the attached Template.xml file into JSON and save the result to the output path you choose if you want a file instead of console output.

Frequently Asked Questions about mxl-decompile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a 1C spreadsheet Template.xml into an editable format?

You can decompile a 1C spreadsheet Template.xml into a structured JSON DSL to inspect and edit rows, cells, styles, merges, fonts, and column widths without touching the source XML directly.

What does decompiling a 1C MXL layout do to merged cells and row styles?

Decompiling an MXL layout preserves merged cells, named areas, row styles, and column widths by applying namespace-aware XML parsing and merge-span handling to reconstruct the original table document formatting.

Can I use this to modify inherited 1C report layouts for maintenance?

Yes, you can decompile inherited 1C report layouts into a readable JSON representation for maintenance, refactoring, or documentation, then update the JSON and regenerate the template later.

Does the decompilation process require specific XML parsing libraries?

The decompilation process requires the lxml library for namespace-aware XML parsing to accurately reconstruct fonts, borders, and merge spans from the 1C Template.xml file.

Can I save the decompiled JSON output to a file instead of the console?

Yes, you can specify an output path to save the decompiled JSON DSL directly to a file for deterministic decompilation, or print the results to the console.