1C Configuration Extension (CFE) Validation

VerifiedCaution

Validates the correct structure of 1C extensions: XML format, properties, composition, and borrowed objects. Equivalent to /cf-validate for extensions.

Sby Skills Guide Bot
DevelopmentIntermediate
3/11/2026
Claude Code
#1c#validation#configuration-extension#xml#powershell

Recommended for

Automated summary

Validates the structure of a 1C configuration extension (CFE) — XML, properties, adopted objects and sub-items — through a PowerShell script.

Strengths

  • Performs 13 targeted checks, including adopted objects (ObjectBelonging, ExtendedConfigurationObject) and form dependencies
  • Exit code 0/1 makes it easy to gate a CI pipeline
  • Accepts either an extension directory or a Configuration.xml file path
  • Useful flags: -Detailed for per-check output, -MaxErrors to cap the report, -OutFile to save results

Limitations

  • Requires Windows and PowerShell to run the bundled script
  • Structural static checks only: it does not compile or verify platform-level semantics
  • Documentation and output messages are in Russian
When to use it

Run it after creating or modifying a 1C configuration extension, before committing or shipping it.

When not to use it

For validating a base configuration (use /cf-validate instead) or on systems without PowerShell.

Security analysis

Caution
Quality score86/100

The skill is a legitimate 1C extension validator and shows no destructive, exfiltration, network, or obfuscated behavior. The main risk is that it invokes a local PowerShell script with a user-supplied path, so normal script-review and argument-quoting precautions apply.

Findings
  • •Executes an external PowerShell script via Bash; the script contents should be reviewed before use.
  • •ExtensionPath is user-controlled and passed into a PowerShell command; ensure strict quoting/validation to avoid command injection.
  • •Frontmatter grants Bash, Read, and Glob, so the skill has meaningful local execution capability.
How this analysis is made

Examples

Validate extension folder
/cfe-validate src
Detailed report to file
/cfe-validate src/Configuration.xml -Detailed -OutFile validate.log
Stop after few errors
/cfe-validate src -MaxErrors 10

name: cfe-validate description: Валидация расширения конфигурации 1С (CFE). Используй после создания или модификации расширения для проверки корректности argument-hint: <ExtensionPath> [-Detailed] [-MaxErrors 30] allowed-tools:

  • Bash
  • Read
  • Glob

/cfe-validate — валидация расширения конфигурации (CFE)

Проверяет структурную корректность расширения: XML-формат, свойства, состав, заимствованные объекты. Аналог /cf-validate, но для расширений.

Параметры

| Параметр | Обяз. | Умолч. | Описание | |---------------|:-----:|---------|-------------------------------------------------| | ExtensionPath | да | — | Путь к каталогу или Configuration.xml расширения | | Detailed | нет | — | Показывать [OK] для каждой проверки | | MaxErrors | нет | 30 | Остановиться после N ошибок | | OutFile | нет | — | Записать результат в файл |

Команда

powershell.exe -NoProfile -File .claude/skills/cfe-validate/scripts/cfe-validate.ps1 -ExtensionPath "src"
powershell.exe -NoProfile -File .claude/skills/cfe-validate/scripts/cfe-validate.ps1 -ExtensionPath "src/Configuration.xml"

Проверки (13 шагов)

| # | Проверка | Уровень | |---|----------|---------| | 1 | XML well-formedness, MetaDataObject/Configuration, version | ERROR | | 2 | InternalInfo: 7 ContainedObject, валидные ClassId | ERROR | | 3 | Extension properties: ObjectBelonging=Adopted, Name, Purpose, NamePrefix, KeepMapping | ERROR | | 4 | Enum-значения: ConfigurationExtensionCompatibilityMode, DefaultRunMode, ScriptVariant, InterfaceCompatibilityMode | ERROR | | 5 | ChildObjects: валидные типы (44), нет дубликатов, каноничный порядок | ERROR/WARN | | 6 | DefaultLanguage ссылается на Language в ChildObjects | ERROR | | 7 | Файлы языков существуют | WARN | | 8 | Каталоги объектов существуют | WARN | | 9 | Заимствованные объекты: ObjectBelonging=Adopted, ExtendedConfigurationObject UUID | ERROR/WARN | | 10 | Sub-items: Attribute, TabularSection (InternalInfo + вложенные), EnumValue, Form-ссылки | ERROR | | 11 | Заимствованные формы: метаданные, Form.xml, Module.bsl, BaseForm version | ERROR/WARN | | 12 | Зависимости форм: CommonPicture, StyleItem (с whitelist платформенных), Enum DesignTimeRef | WARN | | 13 | TypeLink: human-readable Items.* DataPath (должны быть удалены) | WARN |

Exit code: 0 = OK, 1 = есть ошибки. По умолчанию краткий вывод. -Detailed для поштучной детализации.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/1c-configuration-extension-cfe-validation-mmlj2nk6/download' --output '.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6/SKILL.md.part' && mv '.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6/SKILL.md.part' '.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6/SKILL.md' && test -s '.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/cfe-validate' && cp -R '.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6' '.claude/skills/cfe-validate'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6'

openskills read '1c-configuration-extension-cfe-validation-mmlj2nk6'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/1c-configuration-extension-cfe-validation-mmlj2nk6/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills