Agent skill

Form Decompile

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

Декомпиляция управляемой формы 1С (Form.xml) в JSON-черновик в формате form-compile.

MITAuto-check: notes

Install Form Decompile

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

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

GitHub CLI
$ gh skill install Nikolay-Shirokov/cc-1c-skills form-decompile --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/form-decompile .claude/skills/form-decompile && 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
form-decompile
GitHub stars
680
Token cost
~553 tokens
SKILL.md length
188 words
Files
3 (incl. scripts)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Декомпиляция управляемой формы 1С (Form.xml) в JSON-черновик в формате form-compile.

  • Works in 4 steps: /form-decompile -OutputPath draft.json —… → Поправить JSON под задачу. → /form-compile -JsonPath draft.json… → …
  • SKILL.md covers Когда использовать, Когда не использовать, Параметры and Что получаешь, plus 1 more section
  • Runs PowerShell and Python scripts from its folder

What it does

Form Decompile is an agent skill from Nikolay-Shirokov/cc-1c-skills. Декомпиляция управляемой формы 1С (Form.xml) в JSON-черновик в формате form-compile. Используй для scaffold новой формы по образцу или структурного рефакторинга. Не для точечных правок

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/form-decompile.py`).

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

Example prompts

  • “/form-decompile”

Requirements

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

Workflow steps

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

  1. /form-decompile -OutputPath draft.json — получить черновик.
  2. Поправить JSON под задачу.
  3. /form-compile -JsonPath draft.json -OutputPath new/Form.xml — собрать обратно.
  4. /form-validate + /form-info — проверить результат.

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
    • Write
    • 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

    No URLs in SKILL.md.

    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

Form Decompile loads about 553 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 188 words of instructions outside code blocks.

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

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, Write, 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). 188 words, ~553 tokens.

Download SKILL.mdSave it as .claude/skills/form-decompile/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
form-decompile
description
Декомпиляция управляемой формы 1С (Form.xml) в JSON-черновик в формате form-compile. Используй для scaffold новой формы по образцу или структурного рефакторинга. Не для точечных правок
allowed-tools
Bash, Read, Write, Glob
argument-hint
<FormPath> [-OutputPath <out.json>]
disable-model-invocation
true

/form-decompile — JSON-черновик из Form.xml управляемой формы

Читает Form.xml и эмитит компактный JSON в формате form-compile. Результат — черновик, а не обратимое представление: см. раздел «Что получаешь».

Когда использовать

  • Scaffold новой формы по образцу — взять существующую форму, получить JSON, поправить и скомпилировать в новую.
  • Структурный рефакторинг — перебрать дерево элементов, реквизиты, команды.

Когда не использовать

  • Точечные правки готовой формы (добавить элемент, реквизит, команду; переставить элемент, перенести в другую группу, поменять заголовок или видимость, удалить) → /form-edit. Цикл «декомпиляция → правка JSON → компиляция» переписывает форму целиком, может терять непокрытые конструкции и даёт большой diff. /form-edit правит адресно.

Параметры

ПараметрОписание
FormPathПуть к Form.xml (обязательный)
OutputPathПуть к выходному JSON. Если не задан — JSON в stdout
powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/form-decompile.ps1" -FormPath "<Form.xml>" -OutputPath "<out.json>"

Что получаешь

JSON-черновик в формате /form-compile — не полное обратимое представление: раундтрип xml → json → xml не гарантируется, часть конструкций DSL не покрывает и теряет молча.

Критичные конструкции (ConditionalAppearance со scope, design-time диаграммы/планировщики на реквизите, неизвестный тип элемента, не-Form root) → скрипт падает с ненулевым кодом и сообщением в stderr; для правок такой формы — /form-edit.

Workflow

  1. /form-decompile <Form.xml> -OutputPath draft.json — получить черновик.
  2. Поправить JSON под задачу.
  3. /form-compile -JsonPath draft.json -OutputPath new/Form.xml — собрать обратно.
  4. /form-validate + /form-info — проверить результат.

© 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 2 other files (scripts) in .claude/skills/form-decompile of Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md
  • scripts/form-decompile.ps1
  • scripts/form-decompile.py

Open the folder on GitHubat commit 1fa205b

Compare with similar skills

Form Decompile 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.

Form Decompile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Form Decompile this skillNikolay-Shirokov/cc-1c-skills680—~553Automated safety check: NotesMIT
Form Fillingasgeirtj/system_prompts_leaks69k—~400Automated safety check: PassCC0-1.0
Form Validationthedaviddias/Front-End-Checklist74k—~633Automated safety check: PassMIT
Formstrycompai/comp2k—~1kAutomated safety check: PassAGPL-3.0
Form Httpsthedaviddias/Front-End-Checklist74k—~552Automated safety check: PassMIT
Form Captchathedaviddias/Front-End-Checklist74k—~601Automated safety check: PassMIT

Similar skills

  • Form Filling

    asgeirtj/system_prompts_leaks

    Fill out online forms (Google Forms, Typeform and similar) or PDF, Word and DocuSign forms; prepare a reviewable draft and get approval before submitting or sending.

    69k GitHub stars~400 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Form Validation

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Validate forms accessibly.

    74k GitHub stars~633 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Forms

    trycompai/comp

    A skill your agent uses when building forms - covers React Hook Form, Zod validation, and form patterns

    2k GitHub stars~1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Form Https

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing HTML forms, fetch/XHR calls, and form action attributes to ensure data is submitted exclusively over HTTPS.

    74k GitHub stars~552 tokensUpdated 3 days ago
    Auto-check passed
  • Form Captcha

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing public HTML forms (no authentication required to reach them) for bot and abuse protection mechanisms.

    74k GitHub stars~601 tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Form Labels

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Associate labels with form controls.

    74k GitHub stars~565 tokensUpdated 3 days ago
    Frontend & DesignAuto-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 4 days ago
    Auto-check: notes
  • Form Compile

    Nikolay-Shirokov/cc-1c-skills

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

    680 GitHub stars~4.5k tokensUpdated 4 days ago
    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 4 days ago
    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~717 tokens
    Auto-check: notes

Questions about Form Decompile

What does Form Decompile do?

Декомпиляция управляемой формы 1С (Form.xml) в JSON-черновик в формате form-compile. Form Decompile is an agent skill from Nikolay-Shirokov/cc-1c-skills.xml) в JSON-черновик в формате form-compile.

How do I install Form Decompile in Claude Code?

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

How do I install Form Decompile in Codex?

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

Can I use Form Decompile 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 form-decompile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/form-decompile, .gemini/skills/form-decompile, .github/skills/form-decompile and .opencode/skills/form-decompile in your project.

What does Form Decompile need to run?

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

Does Form Decompile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Form Decompile 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 Form Decompile use?

Form Decompile 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 Form Decompile use?

About 553 tokens (SKILL.md is roughly 2.2k 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 Form Decompile?

Skills that share tags, products or a category with Form Decompile: Form Filling (asgeirtj/system_prompts_leaks, 69k stars), Form Validation (thedaviddias/Front-End-Checklist, 74k stars), Forms (trycompai/comp, 2k stars) and Form Https (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 Form Decompile?

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.