form-decompile

Decompile managed 1C Form.xml files into compact JSON drafts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill converts managed 1C Form.xml files into compact JSON drafts so you can inspect, scaffold, and structurally refactor forms without manually traversing the XML tree.

Core Features & Use Cases

  • Form decompilation: Reads a managed form and emits a JSON draft in the form-compile format.
  • Structure-first refactoring: Helps reorganize element trees, attributes, requisites, and commands for larger form changes.
  • Safer workflow for new forms: Useful when you want to clone an existing form as a starting point and adapt it into a new one.
  • Validation-aware behavior: Detects unsupported or risky constructs and falls back or stops instead of silently corrupting the result.

Quick Start

Use this skill to decompile a managed 1C Form.xml file into a JSON draft that you can review and adapt before compiling it back into a new form.

Frequently Asked Questions about form-decompile

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

FAQPage Schema
How do I convert a 1C Form.xml file into JSON for editing?

To convert a 1C Form.xml file into JSON, you decompile the managed form into a compact JSON draft. This allows you to inspect and structurally refactor element trees, requisites, and commands without traversing the raw XML.

Can I use JSON drafts to scaffold and clone 1C managed forms?

Yes, you can use JSON drafts to scaffold and clone 1C managed forms. Decompiling an existing form into a JSON draft provides a safer workflow for adapting it into a new form by reorganizing element trees and attributes before compiling it back.

What happens when decompiling unsupported 1C form constructs?

When decompiling unsupported 1C form constructs, the decompilation process uses validation-aware behavior to detect risky constructs. It falls back or stops instead of silently corrupting the resulting JSON draft.

Does 1C form decompilation handle grouping and list settings?

Yes, 1C form decompilation handles grouping and list settings. It targets common layout and appearance scenarios across managed 1C forms, extracting element trees, requisites, commands, and list settings into a structured JSON format.

What is the best way to structurally refactor 1C managed forms?

The best way to structurally refactor 1C managed forms is by decompiling the Form.xml into a compact JSON draft. This structure-first approach lets you reorganize element trees, attributes, and commands efficiently for larger form changes.