xdto-info

Analyzes 1C XDTO package structure and renders types in 1C notation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Reading raw Package.bin or XSD schemas to understand an XDTO package is slow and error-prone: you must manually translate xs:decimal to Число, interpret lowerBound="0" as optional, and chase type references across packages. This Skill inspects 1C XDTO packages directly and presents types, properties, and entry points in 1C terms, ready for writing code that creates and fills XDTO objects.

Core Features & Use Cases

  • Package Discovery: List all XDTO packages in a configuration with type counts and namespaces, or drill into one package to see imports, entry points, object types, and value types.
  • Type Structure Rendering: Show a type's properties with 1C-notation types (Строка(6), Число(18,2)), required/list flags, enumeration values, and nested object expansion via -Depth, plus ready-to-paste ФабрикаXDTO creation snippets.
  • Impact Analysis: Use -Mode used-by to find every type, property, and package that references a given type before modifying it.
  • Use Case: You need to build an XML payment document in 1C code. Run the skill with the configuration source root and -Name ПлатежныйДокумент -Depth 2 to get the full fillable structure, then use -RequiredOnly to see only the mandatory skeleton.

Quick Start

Ask the AI to show the structure of an XDTO type from your configuration sources, for example: analyze the XDTO packages in my src folder and show the structure of the ПлатежныйДокумент type with depth 2.

Frequently Asked Questions about xdto-info

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

FAQPage Schema
How do I view the structure of a 1C XDTO package type?

Run the xdto-info script with -PackagePath pointing to your configuration sources or package directory and -Name with the type name. It prints each property with its 1C type notation, required flags, and nested objects when you add -Depth.

How to find which types reference an XDTO type before changing it?

Use the -Mode used-by option together with -Name <Тип>. The tool scans all packages in the configuration and lists every property, base type, and member type that references the given type, including cross-package references.

Does the XDTO analysis tool work on Linux or only Windows?

Both. The skill ships a PowerShell script (xdto-info.ps1) for Windows and a Python port (xdto-info.py) for Linux and macOS. The Python version requires the lxml library and mirrors the PowerShell parameter behavior.

Can I find an XDTO type when I only know its namespace and name?

Yes. Pass the configuration source root as -PackagePath with -Namespace "<URI>" and -Name <Тип>. If you know only the type name, the tool searches all packages and lists matches so you can disambiguate.

What are the limitations of XDTO package structure analysis?

The tool reads the compiled Package.bin from configuration sources, so sources must be dumped in XML format with an XDTOPackages directory. It shows structure summaries, not the raw XML schema; use a decompile tool when you need the XSD itself.