meta-add

Creates and configures 1C:Enterprise metadata objects through atomic typed MCP operations.

1|2|Updated Jul 19, 2026
One-click install
npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill meta-add-ingvarconsulting
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: meta-add
Source: https://github.com/IngvarConsulting/unica-marketplace/tree/main/plugins/unica/skills/meta-add
Command: npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill meta-add-ingvarconsulting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating new metadata objects in 1C:Enterprise configurations normally requires manual XML editing and multi-step setup. This Skill creates a metadata object and optionally configures it in a single atomic typed operation via the Unica MCP server, with preview-before-apply semantics. ## Core Features & Use Cases - Atomic object creation: Create a metadata object of a supported kind (Catalog, EventSubscription, etc.) in a named source set with one unica.meta.add call. - Inline configuration: Pass typed operations (setProperties, add attributes, editRelations) so the object is fully configured in the same transaction as its creation. - Event subscription wiring: Define typed event sources via editRelations with relation: "source" and set Event and Handler properties in the same call. - Dry-run preview: Calls default to preview mode returning semantic effects; changes are only applied when dryRun: false is explicitly passed. - Use Case: Create a new catalog with a required UUID attribute, or create an event subscription on Catalog.Номенклатура for BeforeWrite with a handler in a common module, all validated before publication. ## Quick Start Ask the assistant to create a new 1C metadata object, for example: create a catalog named НовыйСправочник in the main source set with a required UUID attribute, previewing the change first.

Frequently Asked Questions about meta-add

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

FAQPage Schema
How do I create a 1C metadata object programmatically?▼

Call the unica.meta.add MCP tool with the source set name, object kind, name, and optional typed operations. The call previews changes by default and only applies them when dryRun is set to false.

How to create an event subscription with a typed source in 1C?▼

Use unica.meta.add with kind EventSubscription and an editRelations operation with relation "source", mode "replace", and typed targets like Catalog.Номенклатура. Set Event and Handler via setProperties in the same call.

What is the sourceSet parameter in unica.meta.add?▼

sourceSet is the name of a source set defined in v8project.yaml, not a fixed constant. Retrieve available source sets with unica.project.map; "main" in examples is only an illustration.

Does unica.meta.add modify existing metadata objects?▼

No, unica.meta.add only creates new objects, optionally configuring them at creation time. For changes to existing objects, use unica.meta.edit instead.

Why was my event subscription creation rejected before publishing?▼

Creation is rejected when the resulting Source is empty, uses primitives or references, names an unknown event, or the handler signature is incompatible. Handlers must be export procedures like (Source, Cancel) in a server common module.