Этот скилл MUST быть вызван когда нужно перехватить метод заимствованного объекта в расширении: вставить код до, после или вместо оригинального.

AGPL-3.0Auto-check: notesAgent Workflows

Install Cfe Patch Method

skills CLI
$ npx skills add Arman-Kudaibergenov/1c-ai-development-kit --skill cfe-patch-method -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Arman-Kudaibergenov/1c-ai-development-kit cfe-patch-method --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Arman-Kudaibergenov/1c-ai-development-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cfe-patch-method .claude/skills/cfe-patch-method && rm -rf skills-src

Use ~/.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/

Facts

Skill name
cfe-patch-method
GitHub stars
166
Token cost
~794 tokens
SKILL.md length
129 words
Files
2 (incl. scripts)
Skills in repo
50
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Этот скилл MUST быть вызван когда нужно перехватить метод заимствованного объекта в расширении: вставить код до, после или вместо оригинального.

  • Agent Workflows work in your project
  • SKILL.md covers Предусловие, Параметры, Формат ModulePath and Типы перехвата, plus 3 more sections
  • Runs PowerShell scripts from its folder

What it does

Cfe Patch Method is an agent skill from Arman-Kudaibergenov/1c-ai-development-kit. Этот скилл MUST быть вызван когда нужно перехватить метод заимствованного объекта в расширении: вставить код до, после или вместо оригинального. SHOULD также вызывать после cfe-borrow когда требуется изменение метода. Do NOT использовать для заимствования объектов — используй cfe-borrow; для создания расширения — используй cfe-init.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts.

It sits in Agent Workflows. The repository describes itself as: Comprehensive AI agents, skills and rules toolkit for 1C:Enterprise development in Cursor IDE. The licence is AGPL-3.0.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/cfe-patch-method”

Requirements

  • PowerShell
  • Pre-approved tools (allowed-tools): Bash, Read, Glob

What it can do on your machine

Read from SKILL.md and the folder at commit 92d389e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (PowerShell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cfe Patch Method loads about 794 tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~794

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Glob

Automated 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.

SKILL.md

The full file from Arman-Kudaibergenov/1c-ai-development-kit at commit 92d389e, republished under its AGPL-3.0 licence (© Arman-Kudaibergenov). 129 words, ~794 tokens.

Download SKILL.mdSave it as .claude/skills/cfe-patch-method/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
cfe-patch-method
description
Этот скилл MUST быть вызван когда нужно перехватить метод заимствованного объекта в расширении: вставить код до, после или вместо оригинального. SHOULD также вызывать после cfe-borrow когда требуется изменение метода. Do NOT использовать для заимствования объектов — используй cfe-borrow; для создания расширения — используй cfe-init.
allowed-tools
Bash, Read, Glob
argument-hint
-ExtensionPath <path> -ModulePath "Catalog.X.ObjectModule" -MethodName "ПриЗаписи" -InterceptorType Before

/cfe-patch-method — Генерация перехватчика метода

Генерирует .bsl файл с декоратором перехвата для заимствованного объекта расширения. Создаёт файл или дописывает в существующий.

Предусловие

Объект должен быть заимствован в расширение (/cfe-borrow). Скрипт читает NamePrefix из Configuration.xml расширения для формирования имени процедуры.

Параметры

ПараметрОписаниеПо умолчанию
ExtensionPathПуть к расширению (обязат.)—
ModulePathПуть к модулю (обязат.)—
MethodNameИмя перехватываемого метода (обязат.)—
InterceptorTypeBefore / After / ModificationAndControl (обязат.)—
ContextДиректива контекстаНаСервере
IsFunctionМетод — функция (добавит Возврат)false

Формат ModulePath

ModulePathФайл
Catalog.X.ObjectModuleCatalogs/X/Ext/ObjectModule.bsl
Catalog.X.ManagerModuleCatalogs/X/Ext/ManagerModule.bsl
Catalog.X.Form.YCatalogs/X/Forms/Y/Ext/Form/Module.bsl
CommonModule.XCommonModules/X/Ext/Module.bsl
Document.X.ObjectModuleDocuments/X/Ext/ObjectModule.bsl
Document.X.Form.YDocuments/X/Forms/Y/Ext/Form/Module.bsl

Аналогично для Report, DataProcessor, InformationRegister и других типов.

Типы перехвата

InterceptorTypeДекораторНазначение
Before&ПередКод до вызова оригинального метода
After&ПослеКод после вызова оригинального метода
ModificationAndControl&ИзменениеИКонтрольКопия тела метода с маркерами #Вставка/#Удаление

Команда

powershell
powershell.exe -NoProfile -File .claude/skills/cfe-patch-method/scripts/cfe-patch-method.ps1 -ExtensionPath src -ModulePath "Catalog.Контрагенты.ObjectModule" -MethodName "ПриЗаписи" -InterceptorType Before

Примеры

powershell
# Перехват &Перед на сервере
... -ExtensionPath src -ModulePath "Catalog.Контрагенты.ObjectModule" -MethodName "ПриЗаписи" -InterceptorType Before

# Перехват &После на клиенте
... -ExtensionPath src -ModulePath "Document.Заказ.Form.ФормаДокумента" -MethodName "ПослеЗаписиНаСервере" -InterceptorType After -Context "НаКлиенте"

# ИзменениеИКонтроль для функции
... -ExtensionPath src -ModulePath "CommonModule.ОбщийМодуль" -MethodName "ПолучитьДанные" -InterceptorType ModificationAndControl -IsFunction

Генерируемый код (Before)

bsl
&НаСервере
&Перед("ПриЗаписи")
Процедура Расш1_ПриЗаписи()
	// TODO: код перед вызовом оригинального метода
КонецПроцедуры

© Arman-Kudaibergenov, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in .claude/skills/cfe-patch-method of Arman-Kudaibergenov/1c-ai-development-kit.

  • SKILL.md
  • scripts/cfe-patch-method.ps1

Open the folder on GitHubat commit 92d389e

Compare with similar skills

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.

Cfe Patch Method compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cfe Patch Method this skillArman-Kudaibergenov/1c-ai-development-kit166—~794Automated safety check: NotesAGPL-3.0
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from Arman-Kudaibergenov/1c-ai-development-kit

All 50 skills in this repo
  • 1c Web Session

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван для управления 1С:Предприятие в веб-клиенте через Playwright MCP: запуск/перезапуск/завершение сеанса, навигация, создание и редактирование справочников и документов.

    166 GitHub stars~2.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • Inspect

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных…

    166 GitHub stars~3.4k tokensUpdated 4 mo ago
    Auto-check: notes
  • 1c Project Init

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда пользователь говорит "инициализируем проект", "init project", просит настроить 1С-проект.

    166 GitHub stars~4.2k tokensUpdated 4 mo ago
    Auto-check: notes
  • Cf Edit

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда нужно изменить свойства конфигурации, добавить или удалить объект из состава ChildObjects, настроить роли по умолчанию.

    166 GitHub stars~582 tokensUpdated 4 mo ago
    Auto-check: notes
  • Cfe Diff

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда нужно проанализировать состав расширения (CFE): заимствованные объекты, перехватчики, проверить перенесены ли вставки.

    166 GitHub stars~531 tokensUpdated 4 mo ago
    Auto-check: notes
  • Cfe Init

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда пользователь просит создать новое расширение конфигурации (CFE) для исправления, доработки или дополнения.

    166 GitHub stars~569 tokensUpdated 4 mo ago
    Auto-check: notes

Categories

Questions about Cfe Patch Method

What does Cfe Patch Method do?

Этот скилл MUST быть вызван когда нужно перехватить метод заимствованного объекта в расширении: вставить код до, после или вместо оригинального. Cfe Patch Method is an agent skill from Arman-Kudaibergenov/1c-ai-development-kit. Этот скилл MUST быть вызван когда нужно перехватить метод заимствованного объекта в расширении: вставить код до, после или вместо оригинального.

When should I use Cfe Patch Method?

Cfe Patch Method fits situations like: agent Workflows work in your project.

How do I install Cfe Patch Method in Claude Code?

Run `npx skills add Arman-Kudaibergenov/1c-ai-development-kit --skill cfe-patch-method -a claude-code`. Or copy the skill folder (.claude/skills/cfe-patch-method in Arman-Kudaibergenov/1c-ai-development-kit) into .claude/skills/cfe-patch-method in your project. Claude Code loads it when a task matches its description.

How do I install Cfe Patch Method in Codex?

Run `npx skills add Arman-Kudaibergenov/1c-ai-development-kit --skill cfe-patch-method -a codex`. Or copy the skill folder (.claude/skills/cfe-patch-method in Arman-Kudaibergenov/1c-ai-development-kit) into .agents/skills/cfe-patch-method in your project. Codex loads it when a task matches its description.

Can I use Cfe Patch Method in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Arman-Kudaibergenov/1c-ai-development-kit --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.

What does Cfe Patch Method need to run?

Going by SKILL.md and its folder, Cfe Patch Method needs PowerShell for the scripts in its folder. Our summary lists: PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Glob.

Does Cfe Patch Method access the network?

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.

Is Cfe Patch Method safe to install?

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.

What licence does Cfe Patch Method use?

Cfe Patch Method is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cfe Patch Method use?

About 794 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cfe Patch Method?

Skills that share tags, products or a category with Cfe Patch Method: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cfe Patch Method?

Arman-Kudaibergenov (a GitHub user) maintains it in Arman-Kudaibergenov/1c-ai-development-kit, which has 166 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on May 25, 2026.

Source: Arman-Kudaibergenov/1c-ai-development-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.