form-compile

Compiles predefined JSON-formatted lists of arbitrary key-value pairs (from stdin or a specified JSON file path argument if provided at runtime by caller -- otherwise uses defaults baked into compile() method — wait, simpler</think> needed. Let's rewrite cleanly:). Actually simplifies to:

511|99|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill form-compile-nikolay-shirokov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-compile
Source: https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/form-compile
Command: npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill form-compile-nikolay-shirokov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of complex 1C managed form XML files from a concise JSON definition, saving developers significant time and reducing boilerplate code.

Core Features & Use Cases

  • JSON to Form.xml Conversion: Translates a compact JSON structure into a fully compliant 1C Form.xml file.
  • Automatic ID Generation: Assigns sequential IDs and handles namespace declarations.
  • Use Case: Quickly generate the Form.xml for a new data entry form by defining its fields, layout, and commands in a simple JSON format, then letting the Skill handle the XML intricacies.

Quick Start

Use the form-compile skill to compile the JSON definition located at 'path/to/form.json' into an XML file at 'path/to/output/form.xml'.

Frequently Asked Questions about form-compile

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

FAQPage Schema
How do I generate a 1C managed form from JSON?

To generate a 1C managed form from JSON, compile a compact JSON definition into a fully compliant Form.xml file. The process handles automatic ID generation and namespace declarations to produce the final XML structure.

Can I automate 1C Form.xml creation to avoid writing boilerplate code?

Yes, you can automate 1C Form.xml creation by translating a concise JSON structure into the required XML. This conversion eliminates manual boilerplate by handling complex element structures and UI components automatically.

What is the best way to structure JSON for 1C form generation?

The best way to structure JSON for 1C form generation is using a defined JSON DSL that specifies UI elements, attributes, commands, and event handlers. The compiler then maps this definition directly into the compliant Form.xml format.

Does form-compile handle automatic ID generation for 1C forms?

Yes, form-compile handles automatic ID generation for 1C forms by assigning sequential IDs during the JSON to XML compilation. It also manages namespace declarations required for the fully compliant XML output.

What UI elements and event handlers can I define using JSON for 1C forms?

You can define various UI elements, attributes, commands, and event handlers within your JSON definition. The compiler translates these components into complex element structures inside the final 1C Form.xml file.

Are there limitations when compiling complex 1C form XML from JSON?

When compiling complex 1C form XML from JSON, the output depends entirely on the defined JSON DSL. You must ensure your JSON accurately represents the required UI elements and event handlers to generate a fully compliant Form.xml.