1c-meta-remove

Remove metadata objects from 1C configuration dumps via XML and BSL.

40|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-meta-remove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-meta-remove
Source: https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-meta-remove
Command: npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-meta-remove

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Removing metadata objects from 1C configuration dumps can be error-prone without proper checks and cleanup, leading to broken configurations.

Core Features & Use Cases

  • Deregisters objects from Configuration.xml safely, preventing broken references.
  • Cleans up related subsystem Content and deletes the object's files when allowed.
  • Supports multiple 1C object types and provides dry-run and force options for safe workflows.

Quick Start

Run the script with -ConfigDir and -Object to remove the target object from the configuration dump.

Frequently Asked Questions about 1c-meta-remove

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

FAQPage Schema
How do I safely remove metadata objects from a 1C configuration dump?

To safely remove metadata objects from a 1C configuration dump, the script scans XML and BSL files for references, deregisters the object from Configuration.xml, cleans subsystem content, and deletes files when allowed to prevent broken configurations.

What happens to 1C subsystem references when I delete a metadata object?

When deleting a 1C metadata object, the script automatically cleans up related subsystem Content entries to ensure no broken references are left behind in the configuration dump.

Can I test metadata removal in a 1C configuration without permanently deleting files?

You can test metadata removal from 1C configurations safely by running the script with the -DryRun switch, which reports intended outcomes without modifying or deleting any files.

Does the script support removing multiple 1C object types from configuration dumps?

Yes, the script supports removing multiple 1C object types by mapping each object type to its corresponding directory and scanning the configuration dump for all related XML and BSL references.

What is the best way to force delete 1C metadata files while ignoring reference checks?

To force delete 1C metadata files, you can use the -Force switch to override standard safety checks, or use -KeepFiles to deregister the object from Configuration.xml while preserving the actual files on disk.

Why do 1C configurations break when manually deleting metadata objects from dumps?

1C configurations break during manual metadata deletion because leftover references in XML and BSL files remain uncleaned, which the script prevents by scanning and deregistering objects from Configuration.xml.