What problem does it solve?
This Skill solves the problem of manually writing repetitive boilerplate code to intercept (hook) methods in 1C extensions (CFE) when you need to run logic before, after, or instead of an inherited method.
Core Features & Use Cases
- Generates BSL interceptor procedures/functions for 1C extension modules (CFE) with correct server/client annotations.
- Supports three interceptor styles: Before (&Перед), After (&После), and ModificationAndControl (&ИзменениеИКонтроль with copy/modify markers).
- Appends or creates .bsl module files in the target extension path, using the extension’s Configuration.xml NamePrefix to form the interceptor procedure name.
- Works across multiple ModulePath patterns including Catalog/Document modules, common modules, and form modules (with a metadata presence warning for borrowed forms).
Quick Start
Tell the AI to generate a Before interceptor for Catalog.Контрагенты.ObjectModule method ПриЗаписи by running the cfe-patch-method script with your ExtensionPath, ModulePath, and MethodName.