Agent skill

Xdto Compile

by Nikolay-Shirokov in Nikolay-Shirokov/cc-1c-skills

Создание пакета XDTO 1С из XML-схемы (XSD). An agent skill from Nikolay-Shirokov/cc-1c-skills.

MITAuto-check: notes

Install Xdto Compile

skills CLI
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill xdto-compile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nikolay-Shirokov/cc-1c-skills xdto-compile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/xdto-compile .claude/skills/xdto-compile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xdto-compile
GitHub stars
680
Token cost
~1.2k tokens
SKILL.md length
392 words
Files
4 (incl. scripts)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Создание пакета XDTO 1С из XML-схемы (XSD). An agent skill from Nikolay-Shirokov/cc-1c-skills.

  • Works in 4 steps: Получить XSD от контрагента (или… → /xdto-compile -XsdPath <файл> -OutputDir… → /xdto-validate… → …
  • SKILL.md covers Параметры, Читай предупреждения, Посмотреть, что получилось and Зависимости между пакетами, plus 2 more sections
  • Runs PowerShell and Python scripts from its folder; reaches v8.1c.ru

What it does

Xdto Compile is an agent skill from Nikolay-Shirokov/cc-1c-skills. Создание пакета XDTO 1С из XML-схемы (XSD). Используй когда нужно добавить в конфигурацию пакет XDTO — под обмен, интеграцию, веб-сервис или внешний XML-формат

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/xdto-compile.py` and `xsd-reference.md`).

The repository describes itself as: Набор навыков для AI(ИИ)-агентов (Claude Code, Cursor, Codex и др.), помогающий охватить полный цикл разработки на платформе 1С:Предприятие 8.3. Даёт модели абстракции над… The licence is MIT.

Example prompts

  • “/xdto-compile”

Requirements

  • Python 3
  • PowerShell
  • Pre-approved tools (allowed-tools): Bash, Read, Glob

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Получить XSD от контрагента (или выгрузить схему существующего пакета: /xdto-decompile)
  2. /xdto-compile -XsdPath <файл> -OutputDir <каталог-исходников> — прочитать предупреждения
  3. /xdto-validate <каталог-исходников>/XDTOPackages/<Имя> — убедиться, что типы разрешились
  4. /db-load-xml + /db-update

What it can do on your machine

Read from SKILL.md and the folder at commit 1fa205b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (PowerShell and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • v8.1c.ru

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xdto Compile loads about 1.2k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 392 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Nikolay-Shirokov/cc-1c-skills at commit 1fa205b, republished under its MIT licence (© Nikolay-Shirokov). 392 words, ~1,210 tokens.

Download SKILL.mdSave it as .claude/skills/xdto-compile/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
xdto-compile
description
Создание пакета XDTO 1С из XML-схемы (XSD). Используй когда нужно добавить в конфигурацию пакет XDTO — под обмен, интеграцию, веб-сервис или внешний XML-формат
allowed-tools
Bash, Read, Glob
argument-hint
-XsdPath <файл.xsd>|-Xsd <схема> -OutputDir <каталог-исходников> [-Name <имя>] [-Synonym <синоним>] [-Comment <текст>] [-Force]

/xdto-compile — Создание пакета XDTO из XML-схемы

Собирает пакет XDTO по XML-схеме: XDTOPackages/<Имя>.xml, XDTOPackages/<Имя>/Ext/Package.bin и регистрацию в Configuration.xml.

Вход — обычная XML-схема, писать её нужно так же, как для любого другого инструмента.

Параметры

ПараметрОбязательныйОписание
XsdPathодин из двухПуть к файлу XML-схемы. Псевдоним — -Path
Xsdодин из двухСхема строкой, вместо -XsdPath
OutputDirдаКаталог исходников конфигурации или расширения — там, где лежит Configuration.xml
NameнетИмя объекта метаданных. По умолчанию — из xs:appinfo, иначе имя файла XSD, санированное под идентификатор 1С
SynonymнетСиноним (строка). По умолчанию — из xs:appinfo, иначе имя пакета. Для нескольких языков задавай синоним в схеме, блоком xs:appinfo
CommentнетКомментарий. По умолчанию — из xs:appinfo
ForceнетПерезаписать существующий пакет. Без него навык откажется затирать уже собранный пакет
powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/xdto-compile.ps1" -XsdPath "<схема.xsd>" -OutputDir "<каталог-исходников>"

Примеры:

powershell
... -XsdPath bank.xsd -OutputDir src -Name ОбменСБанком -Synonym "Обмен с банком"
... -XsdPath fss.xsd  -OutputDir src -Force

Читай предупреждения

XSD выразительнее модели XDTO. Всё, что не переносится один в один, навык переносит приближённо и пишет об этом:

Предупреждения (2) — конструкции XSD без точного соответствия в модели XDTO:
  ! Документ : вложенная xs:choice уплощена в последовательность — выбор одного из вариантов не сохранён
  ! Документ : кратность на вложенной частице (<xs:sequence minOccurs/maxOccurs>) не выражается в модели XDTO

Такое сообщение означает, что пакет собран, но схема упрощена. Если упрощение недопустимо — меняй схему (например, разноси варианты xs:choice по разным типам), а не игнорируй.

Что переносится приближённо: вложенные xs:sequence/xs:choice (уплощаются в плоский список свойств), xs:all (становится последовательностью), кратность на частице, substitutionGroup, xs:key/keyref/unique, xs:redefine.

xs:group и xs:attributeGroup раскрываются по ссылке — их содержимое попадает в тип. xs:include игнорируется: зависимости в XDTO разрешаются только по namespace, поэтому включаемую схему нужно собрать отдельным пакетом и заменить include на import.

Посмотреть, что получилось

Модель пакета лежит в Ext/Package.bin. Несмотря на расширение, это текстовый XML, но читать его напрямую обычно незачем: состав собранного пакета показывает /xdto-info, а полную схему — /xdto-decompile.

Show full SKILL.md (147 more words)Show less

Зависимости между пакетами

<xs:import namespace="…"/> разрешается по namespace среди пакетов конфигурации или расширения. Если пакета с таким пространством имён нет, платформа при загрузке молча подменит тип на xs:anyType — без ошибки. Собирай сначала зависимости, потом зависящий пакет, и проверяй результат через /xdto-validate.

Какие пакеты уже собраны, видно в ChildObjects файла Configuration.xml.

Что XSD выразить не может

Две вещи модель XDTO умеет, а XML Schema — нет: nillable у атрибута и qualified у отдельного свойства. Они пишутся атрибутами из пространства имён модели:

xml
<xs:attribute name="Представление" type="xs:string"
              xmlns:xdto="http://v8.1c.ru/8.1/xdto" xdto:nillable="true"/>

Схема остаётся валидной — валидаторы такие атрибуты игнорируют. Полный список и таблица соответствий XSD ↔ XDTO — в xsd-reference.md.

Свойства объекта метаданных можно задать прямо в схеме:

xml
<xs:annotation>
    <xs:appinfo>
        <xdto:package xmlns:xdto="http://v8.1c.ru/8.1/xdto">
            <xdto:name>ОбменСБанком</xdto:name>
            <xdto:synonym lang="ru">Обмен с банком</xdto:synonym>
        </xdto:package>
    </xs:appinfo>
</xs:annotation>

Типичный workflow

  1. Получить XSD от контрагента (или выгрузить схему существующего пакета: /xdto-decompile)
  2. /xdto-compile -XsdPath <файл> -OutputDir <каталог-исходников> — прочитать предупреждения
  3. /xdto-validate <каталог-исходников>/XDTOPackages/<Имя> — убедиться, что типы разрешились
  4. /db-load-xml + /db-update

Правка существующего пакета: точечно — /xdto-edit; переработать схему целиком — /xdto-decompile → правка XSD → /xdto-compile -Force.

© Nikolay-Shirokov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in .claude/skills/xdto-compile of Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md
  • scripts/xdto-compile.ps1
  • scripts/xdto-compile.py
  • xsd-reference.md

Open the folder on GitHubat commit 1fa205b

Compare with similar skills

Xdto Compile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Xdto Compile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xdto Compile this skillNikolay-Shirokov/cc-1c-skills680—~1.2kAutomated safety check: NotesMIT
Ectd XML Compileraipoch/medical-research-skills1.9k—~2.7kAutomated safety check: PassMIT
Compile Knowledgesickn33/agentic-awesome-skills47k1 repos~2.3kAutomated safety check: PassMIT
Compileratopile/atopile4k—~1kAutomated safety check: PassMIT
HTML XML Lang Mismatchthedaviddias/Front-End-Checklist74k—~799Automated safety check: PassMIT
Add Compiler Diagnostic Fixdotnet/roslynator3.5k—~1kAutomated safety check: PassCustom licence

Similar skills

  • Ectd XML Compiler

    aipoch/medical-research-skills

    Automatically convert uploaded drug application documents (Word/PDF) into XML skeleton structure compliant with eCTD 4.0/3.2.2 specifications.

    1.9k GitHub stars~2.7k tokensUpdated 24 days ago
    Documents & OfficeAuto-check passed
  • Compile Knowledge

    sickn33/agentic-awesome-skills

    Compile durable, non-obvious findings into an interlinked markdown knowledge store — atomic files, [[wiki-links]], a maintained index — so an agent gets smarter across sessions instead of relearning…

    47k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Compiler

    atopile/atopile

    How the atopile compiler builds and links TypeGraphs from .ato (ANTLR front-end → AST → TypeGraph → Linker → DeferredExecutor), plus the key invariants and test entrypoints.

    4k GitHub stars~1k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • HTML XML Lang Mismatch

    thedaviddias/Front-End-Checklist

    A skill your agent uses when applies to XHTML documents and polyglot HTML documents that must parse correctly as both HTML5 and XML.

    74k GitHub stars~799 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Official

    A skill your agent uses when adding a Roslynator code fix for C compiler error CS or RCF, editing Diagnostics.xml or CodeFixes.xml, or when compiler-diagnostic-fixes-testing.md shows…

    3.5k GitHub stars~1k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Odoo XML Views Builder

    sickn33/agentic-awesome-skills

    Expert at building Odoo XML views: Form, List, Kanban, Search, Calendar, and Graph.

    47k GitHub starsUsed in 2 repos~1k tokens
    Productivity & AutomationAuto-check passed

More from Nikolay-Shirokov/cc-1c-skills

All 81 skills in this repo
  • DB Repo

    Nikolay-Shirokov/cc-1c-skills

    Работа с хранилищем конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub stars~2.4k tokensUpdated today
    Auto-check: notes
  • Form Compile

    Nikolay-Shirokov/cc-1c-skills

    Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта.

    680 GitHub stars~4.5k tokensUpdated today
    Auto-check: notes
  • Cf Edit

    Nikolay-Shirokov/cc-1c-skills

    Точечное редактирование конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~706 tokens
    Auto-check: notes
  • Form Edit

    Nikolay-Shirokov/cc-1c-skills

    Правка существующей управляемой формы 1С — элементы, реквизиты, команды и свойства самой формы.

    680 GitHub stars~2.9k tokensUpdated today
    Auto-check: notes
  • Cf Init

    Nikolay-Shirokov/cc-1c-skills

    Создать пустую конфигурацию 1С (scaffold XML-исходников). An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~603 tokens
    Auto-check: notes
  • Cfe Init

    Nikolay-Shirokov/cc-1c-skills

    Создать расширение конфигурации 1С (CFE) — scaffold XML-исходников.

    680 GitHub starsUsed in 1 repo~711 tokens
    Auto-check: notes

Questions about Xdto Compile

What does Xdto Compile do?

Создание пакета XDTO 1С из XML-схемы (XSD). An agent skill from Nikolay-Shirokov/cc-1c-skills. Xdto Compile is an agent skill from Nikolay-Shirokov/cc-1c-skills. Создание пакета XDTO 1С из XML-схемы (XSD).

How do I install Xdto Compile in Claude Code?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill xdto-compile -a claude-code`. Or copy the skill folder (.claude/skills/xdto-compile in Nikolay-Shirokov/cc-1c-skills) into .claude/skills/xdto-compile in your project. Claude Code loads it when a task matches its description.

How do I install Xdto Compile in Codex?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill xdto-compile -a codex`. Or copy the skill folder (.claude/skills/xdto-compile in Nikolay-Shirokov/cc-1c-skills) into .agents/skills/xdto-compile in your project. Codex loads it when a task matches its description.

Can I use Xdto Compile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill xdto-compile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xdto-compile, .gemini/skills/xdto-compile, .github/skills/xdto-compile and .opencode/skills/xdto-compile in your project.

What does Xdto Compile need to run?

Going by SKILL.md and its folder, Xdto Compile needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Glob.

Does Xdto Compile access the network?

SKILL.md names 1 domain. In commands or code: v8.1c.ru; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Xdto Compile safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Xdto Compile use?

Xdto Compile is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xdto Compile use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xdto Compile?

Skills that share tags, products or a category with Xdto Compile: Ectd XML Compiler (aipoch/medical-research-skills, 1.9k stars), Compile Knowledge (sickn33/agentic-awesome-skills, 47k stars), Compiler (atopile/atopile, 4k stars) and HTML XML Lang Mismatch (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xdto Compile?

Nikolay-Shirokov (a GitHub user) maintains it in Nikolay-Shirokov/cc-1c-skills, which has 680 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nikolay-Shirokov/cc-1c-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.