Cfe Patch Method
IngvarConsulting/unica
Генерация перехватчика процедуры в расширении 1С (CFE). An agent skill from IngvarConsulting/unica.
Генерация и актуализация перехватчика метода в расширении 1С (CFE).
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Nikolay-Shirokov/cc-1c-skills cfe-patch-method --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cfe-patch-method .claude/skills/cfe-patch-method && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cfe-patch-method" agent skill from https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/cfe-patch-method into .claude/skills/cfe-patch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cfe-patch-method", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/cfe-patch-methodType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Nikolay-Shirokov/cc-1c-skills cfe-patch-method --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/cfe-patch-method .agents/skills/cfe-patch-method && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cfe-patch-method" agent skill from https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/cfe-patch-method into .agents/skills/cfe-patch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cfe-patch-method", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Nikolay-Shirokov/cc-1c-skills cfe-patch-method --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/cfe-patch-method .cursor/skills/cfe-patch-method && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cfe-patch-method" agent skill from https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/cfe-patch-method into .cursor/skills/cfe-patch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cfe-patch-method", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Nikolay-Shirokov/cc-1c-skills.git --path .claude/skills/cfe-patch-method--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Nikolay-Shirokov/cc-1c-skills cfe-patch-method --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/cfe-patch-method .gemini/skills/cfe-patch-method && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cfe-patch-method" agent skill from https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/cfe-patch-method into .gemini/skills/cfe-patch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cfe-patch-method", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Nikolay-Shirokov/cc-1c-skills cfe-patch-methodInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/cfe-patch-method .github/skills/cfe-patch-method && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cfe-patch-method" agent skill from https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/cfe-patch-method into .github/skills/cfe-patch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cfe-patch-method", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Nikolay-Shirokov/cc-1c-skills cfe-patch-method --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/cfe-patch-method .opencode/skills/cfe-patch-method && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cfe-patch-method" agent skill from https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/cfe-patch-method into .opencode/skills/cfe-patch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cfe-patch-method", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cfe-patch-methodГенерация и актуализация перехватчика метода в расширении 1С (CFE).
Cfe Patch Method is an agent skill from Nikolay-Shirokov/cc-1c-skills. Генерация и актуализация перехватчика метода в расширении 1С (CFE). Используй когда нужно перехватить метод заимствованного объекта — вставить код до, после, вместо оригинала, изменить его тело (ИзменениеИКонтроль) — или актуализировать перехватчик после изменения оригинала
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/cfe-patch-method.py`).
The repository describes itself as: Набор навыков для AI(ИИ)-агентов (Claude Code, Cursor, Codex и др.), помогающий охватить полный цикл разработки на платформе 1С:Предприятие 8.3. Даёт модели абстракции над… The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1fa205b. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadGlobFrom allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (PowerShell and Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cfe Patch Method loads about 2.1k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 610 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, GlobAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from Nikolay-Shirokov/cc-1c-skills at commit 1fa205b, republished under its MIT licence (© Nikolay-Shirokov). 610 words, ~2,084 tokens.
.claude/skills/cfe-patch-method/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Читает оригинал метода из конфигурации-источника и генерирует .bsl-перехватчик заимствованного объекта: с правильной директивой контекста, полной сигнатурой, обрамляющими инструкциями препроцессора и областями. Для ИзменениеИКонтроль копирует всё тело оригинала. Создаёт файл модуля, дописывает в существующий или актуализирует уже заимствованный метод.
Объект должен быть заимствован в расширение (/cfe-borrow). Нужен доступ к исходникам базовой конфигурации (-ConfigPath) — оттуда читается оригинал метода. NamePrefix берётся из Configuration.xml расширения.
Если пользователь не указал -ConfigPath — попробуй определить автоматически:
.v8-project.json из корня проектаdefault — алгоритм из /db-list)configSrc — используй как -ConfigPathconfigSrc нет — спроси у пользователя| Параметр | Описание | По умолчанию |
|---|---|---|
ExtensionPath | Путь к расширению (обязат.) | — |
ConfigPath | Путь к конфигурации-источнику | обязат., кроме случая, когда ModulePath — путь к файлу |
ModulePath | Логическое имя (Тип.Имя.Модуль) или путь к файлу модуля .bsl | обязат. для генерации |
MethodName | Имя перехватываемого метода | обязат. для генерации |
InterceptorType | Before / After / Instead / ModificationAndControl | обязат. для генерации |
Check | Проверить контролируемые методы на дрейф (только отчёт) | — |
Actualize | Актуализировать дрейфнувшие контролируемые методы | — |
| ModulePath | Файл |
|---|---|
Catalog.X.ObjectModule | Catalogs/X/Ext/ObjectModule.bsl |
Catalog.X.ManagerModule | Catalogs/X/Ext/ManagerModule.bsl |
Catalog.X.Form.Y | Catalogs/X/Forms/Y/Ext/Form/Module.bsl |
CommonModule.X | CommonModules/X/Ext/Module.bsl |
CommonForm.X | CommonForms/X/Ext/Form/Module.bsl |
Document.X.ObjectModule | Documents/X/Ext/ObjectModule.bsl |
Document.X.Form.Y | Documents/X/Forms/Y/Ext/Form/Module.bsl |
Аналогично для Report, DataProcessor, InformationRegister и других типов.
Вместо логического имени в ModulePath можно передать путь к файлу модуля-источника .bsl — тогда -ConfigPath указывать не нужно (оригинал читается прямо из этого файла). Путь модуля расширения определяется от типовой папки в пути автоматически.
| InterceptorType | Декоратор | Назначение | Применим к |
|---|---|---|---|
Before | &Перед | Код до вызова оригинального метода | процедуры |
After | &После | Код после вызова оригинального метода | процедуры |
Instead | &Вместо | Замена метода; в теле — скаффолд ПродолжитьВызов(...) | процедуры и функции |
ModificationAndControl | &ИзменениеИКонтроль | Копия тела оригинала для правки маркерами #Вставка/#Удаление | процедуры и функции |
#Вставка / #Удаление (для ModificationAndControl)&ИзменениеИКонтроль вставляет в перехватчик копию тела оригинала. Дальше отредактируй тело под свою доработку, помечая каждое изменение — платформа так отличает твою правку от неизменного оригинала:
#Вставка … #КонецВставки.#Удаление … #КонецУдаления, но сами строки оставь между маркерами (платформа сверяет их с оригиналом).#Удаление старое #КонецУдаления сразу за ним #Вставка новое #КонецВставки.Пример:
&ИзменениеИКонтроль("ПриЗаписи")
Процедура Расш_ПриЗаписи(Отказ)
СуммаДокумента = РассчитатьСумму();
#Вставка
// доработка: округляем
СуммаДокумента = Окр(СуммаДокумента, 2);
#КонецВставки
#Удаление
Записать();
#КонецУдаления
#Вставка
ЗаписатьСПроверкой(Отказ);
#КонецВставки
КонецПроцедурыПравила:
|…).Х = Х + 1 ≠ Х=Х+1); свободны только отступ и пустые строки. Если оригинал в конфигурации-источнике изменится, unmarked-контекст разойдётся → метод потребует актуализации (см. ниже; проверить пачкой — -Check).#Вставка/#Удаление; чужой оригинал не трогай.После изменения оригинала в конфигурации-источнике перехватчик &ИзменениеИКонтроль может рассинхронизироваться — unmarked-контекст разойдётся с новым оригиналом. Платформа при загрузке об этом молчит, поэтому актуализируй сам:
-Check: отчёт по всем контролируемым методам расширения, ничего не пишет (exit 1, если есть дрейф или конфликт).-Actualize: переносит правки (#Вставка/#Удаление) на новый оригинал по всему расширению. Сузить область: -ModulePath — один модуль, + -MethodName — один метод. Для одного метода то же делает повторный вызов с -InterceptorType ModificationAndControl.Статусы в выводе:
[АКТУАЛЕН] — оригинал не менялся, правок нет;[АКТУАЛИЗИРОВАН] — тело обновлено по новому оригиналу, правки сохранены (в выводе — сводка);[АКТУАЛИЗИРОВАН-ЧАСТИЧНО] — часть правок не удалось разместить (якорь изменился в новом оригинале). Они помечены // [РЕСИНК-КОНФЛИКТ] в модуле и не потеряны; путь к merge-воркспейсу — в выводе (начни с index.md, дальше по каждому конфликту его conflict.md, размести блоки вручную в .bsl расширения);[ПЕРЕНЕСЕНО В ОСНОВНУЮ] — правка уже есть в новом оригинале (вставленный код внесён вендором) или удаляемый блок уже вырезан. Правка неактуальна — убирается из тела, дублировать/конфликтовать не нужно. Если так со всеми правками метода — перехватчик можно удалить. -Check этим не роняет exit.Повторный вызов Before/After/Instead для уже перехваченного метода дубль не создаёт ([ПРОПУЩЕН]).
-Check смотрит исходники. Вердикт платформы — уже после загрузки в базу: /db-cfe-admin check.
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/cfe-patch-method.ps1" -ExtensionPath src\cfe\extname -ConfigPath src\cf -ModulePath "Catalog.Контрагенты.ObjectModule" -MethodName "ПриЗаписи" -InterceptorType Before# Код перед записью
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -ModulePath "Catalog.Контрагенты.ObjectModule" -MethodName "ПриЗаписи" -InterceptorType Before
# Перехват После на форме
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -ModulePath "Document.Заказ.Form.ФормаДокумента" -MethodName "ПослеЗаписиНаСервере" -InterceptorType After
# Замена функции (ПродолжитьВызов)
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -ModulePath "CommonModule.ОбщийМодуль" -MethodName "ПолучитьДанные" -InterceptorType Instead
# ИзменениеИКонтроль — копия тела для правки маркерами
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -ModulePath "Document.РеализацияТоваров.ObjectModule" -MethodName "ОбработкаПроведения" -InterceptorType ModificationAndControl
# ModulePath как путь к файлу модуля-источника (без -ConfigPath)
... -ExtensionPath src\cfe\extname -ModulePath "src\cf\CommonModules\ОбщийМодуль\Ext\Module.bsl" -MethodName "ПолучитьДанные" -InterceptorType Instead
# Проверить все контролируемые методы расширения на дрейф
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Check
# Актуализировать дрейфнувшие контролируемые методы пачкой
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Actualize/cfe-validate <ExtensionPath> -ConfigPath <ConfigPath>© Nikolay-Shirokov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts) in .claude/skills/cfe-patch-method of Nikolay-Shirokov/cc-1c-skills.
Open the folder on GitHubat commit 1fa205b
Cfe Patch Method next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cfe Patch Method this skillNikolay-Shirokov/cc-1c-skills | 668 | — | ~2.1k | Automated safety check: Notes | MIT | |
| Cfe Patch MethodIngvarConsulting/unica | 215 | — | ~575 | Automated safety check: Notes | Custom licence | |
| Cfe Patch MethodArman-Kudaibergenov/1c-ai-development-kit | 166 | — | ~794 | Automated safety check: Notes | AGPL-3.0 | |
| Santa Methodaffaan-m/ECC | 275k | 3 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Santa Methodaffaan-m/ECC | 275k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Santa Methodaffaan-m/ECC | 275k | — | ~1.9k | Automated safety check: Pass | MIT |
IngvarConsulting/unica
Генерация перехватчика процедуры в расширении 1С (CFE). An agent skill from IngvarConsulting/unica.
Arman-Kudaibergenov/1c-ai-development-kit
Этот скилл MUST быть вызван когда нужно перехватить метод заимствованного объекта в расширении: вставить код до, после или вместо оригинального.
affaan-m/ECC
Multi-agent adversarial verification: two independent reviewers with the same rubric must both pass before output ships, with a fix-and-re-review convergence loop and human escalation cap.
affaan-m/ECC
収束ループを持つマルチエージェント敵対的検証。2つの独立したレビューエージェントが両方合格して初めて出力を出荷できます。
affaan-m/ECC
具有收敛循环的多智能体对抗验证。两个独立的审查代理必须都通过,输出才能发送。
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing scripts, client components, bundles, or runtime behavior related to Use modern array and object methods.
Nikolay-Shirokov/cc-1c-skills
Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта.
Nikolay-Shirokov/cc-1c-skills
Создать пустую конфигурацию 1С (scaffold XML-исходников). An agent skill from Nikolay-Shirokov/cc-1c-skills.
Nikolay-Shirokov/cc-1c-skills
Создание роли 1С из описания прав. An agent skill from Nikolay-Shirokov/cc-1c-skills.
Nikolay-Shirokov/cc-1c-skills
Работа с хранилищем конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.
Nikolay-Shirokov/cc-1c-skills
Правка существующей управляемой формы 1С — элементы, реквизиты, команды и свойства самой формы.
Nikolay-Shirokov/cc-1c-skills
Точечное редактирование конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.
Генерация и актуализация перехватчика метода в расширении 1С (CFE). Cfe Patch Method is an agent skill from Nikolay-Shirokov/cc-1c-skills. Генерация и актуализация перехватчика метода в расширении 1С (CFE).
Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a claude-code`. Or copy the skill folder (.claude/skills/cfe-patch-method in Nikolay-Shirokov/cc-1c-skills) into .claude/skills/cfe-patch-method in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a codex`. Or copy the skill folder (.claude/skills/cfe-patch-method in Nikolay-Shirokov/cc-1c-skills) into .agents/skills/cfe-patch-method in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-patch-method -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cfe-patch-method, .gemini/skills/cfe-patch-method, .github/skills/cfe-patch-method and .opencode/skills/cfe-patch-method in your project.
Going by SKILL.md and its folder, Cfe Patch Method needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Glob.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Cfe Patch Method is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cfe Patch Method: Cfe Patch Method (IngvarConsulting/unica, 215 stars), Cfe Patch Method (Arman-Kudaibergenov/1c-ai-development-kit, 166 stars), Santa Method (affaan-m/ECC, 275k stars) and Santa Method (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Nikolay-Shirokov (a GitHub user) maintains it in Nikolay-Shirokov/cc-1c-skills, which has 668 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 5, 2026.
Source: Nikolay-Shirokov/cc-1c-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.