build-release
CommandBuild release artifacts from committed sources — .cf for the main configuration and .cfe per extension, with optional version…
Check a 1C XML configuration dump for duplicate UUIDs, and optionally regenerate them
> /plugin marketplace add comol/ai_rules_1c> /plugin install 1c-rules@1c-rules
description: Check a 1C XML configuration dump for duplicate UUIDs, and optionally regenerate them argumentHint: "[path] [--fix] [--include-intra]"
Detects objects that claim the same identity. The full description of the tool — carriers, cross-file vs intra-file duplicates, and the `-Fix` safety rules — is owned by **`content/skills/1c-metadata-manage/docs/uuid-check.md`**. Read it before running a repair.
`$ARGUMENTS` may contain, in any order:
1. **Resolve the path.** Use the path from `$ARGUMENTS` when given. Otherwise locate the configuration sources in the current project (typically `src/`); if there is more than one candidate root, ask the user which one — scanning two copies of the same configuration reports every UUID as a duplicate.
2. **Run the check.**
powershell.exe -NoProfile -File skills/1c-metadata-manage/tools/1c-uuid-check/scripts/uuid-check.ps1 -ConfigPath "<path>" [-IncludeIntra]
(In the `1c-rules` source repository, prefix the script path with `content/` — `SKILL.md → Path conventions`.)
3. **Report the result.**
4. **Repair only on request.** Do **not** pass `-Fix` unless the user asked for it in this task (`--fix` in `$ARGUMENTS`, or an explicit confirmation).
Before repairing, state the risk in one line: `-Fix` keeps the *first* occurrence and regenerates the rest, which is positional rather than semantic. If the dump has already been loaded into an infobase, regenerating a `uuid` makes the platform treat the object as new on the next load and orphans its data — in that case have the user decide which occurrence keeps the identity.
powershell.exe -NoProfile -File skills/1c-metadata-manage/tools/1c-uuid-check/scripts/uuid-check.ps1 -ConfigPath "<path>" [-IncludeIntra] -Fix
5. **Confirm.** After a repair, re-run without `-Fix` and report the clean result. Then validate the affected objects (`meta-validate` / `cf-validate` — `content/skills/1c-metadata-manage/docs/meta-manage.md`, `content/skills/1c-metadata-manage/docs/cf-manage.md`) before the dump is loaded.
Do not hand-edit UUIDs in the XML to resolve duplicates — that is a metadata mutation and belongs to the `1c-metadata-manage` skill (`AGENTS.md → Skills and Subagents`).
Build release artifacts from committed sources — .cf for the main configuration and .cfe per extension, with optional version…
Toggle the caveman communication style — set CAVEMAN (on|auto|off) in .dev.env for the whole project; on|off|auto persist,…
Check availability of 1C MCP servers and install/start the missing ones
Read-only check for available updates of the 1C MCP server images and of the 1c-rules ruleset, without pulling or installing…
Load the configuration into the test infobase from .dev.env and check the result in the 1C interface — QA MCP first, the web…
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.