About cf-info
cf-info is a skill for reading a 1C configuration export and producing a compact structural description. It is intended for inspecting configuration properties and object counts at varying levels of detail.
Key features
- 01Overview, brief, and full output modes
- 02Object counts by type
- 03Section drill-down and pagination
- 04Optional UTF-8 BOM file output
Use cases
- 01Reviewing a configuration's key properties
- 02Checking object counts before deeper inspection
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nikolay-shirokov/ cc-1c-skills --skill cf-infoAfter installing, type/cf-infoin Claude Code to confirm it loaded.
Bundled filesscripts/cf-info.ps1scripts/cf-info.py
Details
From the project README/cf-info — Структура конфигурации 1С
Читает Configuration.xml из выгрузки конфигурации и выводит компактное описание структуры.
Параметры и команда
| Параметр | Описание |
|---|---|
ConfigPath | Путь к Configuration.xml или каталогу выгрузки |
Mode | Режим: overview (default), brief, full |
Section | Drill-down по разделу (alias: Name). Сейчас: home-page |
Limit / Offset | Пагинация (по умолчанию 150 строк) |
OutFile | Записать результат в файл (UTF-8 BOM) |
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/cf-info.ps1" -ConfigPath "<путь>"
Три режима
| Режим | Что показывает |
|---|---|
overview (default) | Заголовок + ключевые свойства + таблица счётчиков объектов по типам |
brief | Одна строка: Имя — "Синоним" vВерсия | N объектов | совместимость |
full | Все свойства по категориям + полный список ChildObjects + DefaultRoles + мобильные функциональности |
Примеры
# Обзор пустой конфигурации
... -ConfigPath src
# Краткая сводка реальной конфигурации
... -ConfigPath src -Mode brief
# Полная информация
... -ConfigPath src -Mode full
# С пагинацией
... -ConfigPath src -Mode full -Limit 50 -Offset 100
# Drill-down: только начальная страница (раскладка форм с ролями)
... -ConfigPath src -Section home-page
Comments
Markdown supported