meta-remove

Remove specified metadata objects from exported 1C configuration dumps.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill meta-remove-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-remove
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/meta-remove
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill meta-remove-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you delete an object from an exported 1C configuration dump (Configuration.xml plus object files) while preventing accidental breakage by checking for existing references first.

Core Features & Use Cases

  • Reference-aware removal: Detects links to the target metadata object in XML and BSL files and blocks deletion unless you explicitly force it.
  • Clean deregistration workflow: Removes the object from Configuration.xml ChildObjects and also cleans references inside Subsystems.
  • File-aware options: Supports dry-run previews, optional deregistration-only mode (KeepFiles), and forced deletion (Force) when references must be ignored.

Example use case: you need to get rid of an obsolete Catalog item (e.g., Catalog.Устаревший) from a dumped configuration after a refactor, ensuring nothing still references it.

Quick Start

Ask it to remove an object from your 1C dump by running: meta-remove <ConfigDir> -Object <Type.Name>.

Frequently Asked Questions about meta-remove

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

FAQPage Schema
How do I safely delete a metadata object from an exported 1C configuration dump?

To safely delete a metadata object from a 1C configuration dump, you remove it from Configuration.xml, clean subsystem references, and delete the corresponding object files. Reference scans across XML and BSL files block unsafe deletions unless forced.

How do I check for BSL references before removing a 1C metadata object?

Checking for BSL references before removing a 1C metadata object involves scanning XML and BSL files for existing links to the target. The process detects references and blocks deletion unless you explicitly use the Force flag to override.

Can I preview metadata removal from a 1C configuration without actually deleting files?

Yes, you can preview metadata removal from a 1C configuration without deleting files by using the DryRun flag. It simulates the removal process to show what would happen, and the KeepFiles flag offers deregistration-only mode without physical file deletion.

What 1C metadata types does safe deletion support in a configuration XML dump?

Safe deletion in a configuration XML dump supports removing various 1C metadata types including Catalog, Document, modules, reports, registers, plans, roles, and forms by deregistering them in Configuration.xml and cleaning subsystem references.

Why does 1C metadata removal fail when existing references are found in subsystems?

1C metadata removal fails when existing references are found in subsystems to prevent accidental breakage. The process scans for links in XML and BSL files and blocks deletion to ensure safe refactoring unless you explicitly apply the Force flag.

Does meta-remove require parsing Configuration.xml in MDClasses namespaces for 1C refactoring?

Yes, meta-remove requires parsing Configuration.xml in MDClasses or V8 namespaces for 1C refactoring. This parsing is essential to deregister objects from ChildObjects and accurately clean subsystem references during the metadata removal process.