form-remove

Remove a form from a 1C object and update its root XML metadata.

41|5|Updated May 28, 2026
One-click install
npx skills add https://github.com/msrv-tech/skills --skill form-remove-msrv-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-remove
Source: https://github.com/msrv-tech/skills/tree/main/form-remove
Command: npx skills add https://github.com/msrv-tech/skills --skill form-remove-msrv-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Удаление формы из объекта 1С (обработка, отчёт, справочник, документ и др.). Это ускоряет чистку метаданных и уменьшает риск ошибок.

Core Features & Use Cases

  • Удаление формы из объекта 1С и удаление каталога формы.
  • Обновление корневого XML: удаление Form из ChildObjects и очистка DefaultForm.
  • Поддержка SrcDir через параметр SrcDir.

Quick Start

Run the form-remove tool with the ObjectName and FormName to delete a specified form from a 1C object.

Frequently Asked Questions about form-remove

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

FAQPage Schema
How do I remove a form from a 1C object using XML sources?

To remove a form from a 1C object, the tool deletes the form directory under src/ObjectName/Forms and updates the root object XML by clearing ChildObjects and DefaultForm references.

What happens to DefaultForm references when I delete a form from 1C metadata?

When deleting a form from 1C metadata, the tool automatically updates the root object XML by clearing the DefaultForm references and removing the specific Form entry from ChildObjects.

Can I automate 1C form removal for multiple objects without manual XML editing?

Yes, you can automate 1C form removal by running the tool with ObjectName and FormName parameters, which validates existence and handles directory deletion and XML metadata updates automatically.

Does form removal require lxml to process 1C XML sources?

Yes, form removal requires the lxml dependency to parse and manipulate the 1C XML sources when updating ChildObjects and DefaultForm references during the form deletion process.

What is the best way to clean up 1C metadata by deleting unused forms?

The best way to clean up 1C metadata is using an automated form removal tool that validates object and form existence, deletes the form directory, and updates root XML references cleanly.

Why does 1C form removal fail if the object or form does not exist in src?

1C form removal fails because the tool validates the existence of both the object and the form in the src directory before attempting to delete the form directory and update metadata.