epf-bsp-add-command

Add command entries and handler scaffolding to 1C БСП external processing modules.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill epf-bsp-add-command-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epf-bsp-add-command
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/epf-bsp-add-command
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill epf-bsp-add-command-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you add a new command to an existing 1C external processing function СведенияОВнешнейОбработке() for the БСП (Business Process / Library of standard subsystems) flow, saving you from manually editing multiple code locations.

Core Features & Use Cases

  • Registers a new command inside СведенияОВнешнейОбработке() and generates the required command handler wiring.
  • Chooses the correct command execution type using either explicit ТипКоманды mapping or inferring a default from the existing processing’s ВидОбработки...() value.
  • Creates/extends handlers for server execution, client execution, and printing (Печать / ПечатнаяФорма) without duplicating existing procedures.

Quick Start

Run: /epf-bsp-add-command <ProcessorName> <Идентификатор> [ТипКоманды] [Представление].

Frequently Asked Questions about epf-bsp-add-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new command to an existing 1C external processing for БСП?

To add a new command to 1C external processing for БСП, insert a command block into `СведенияОВнешнейОбработке()` before the return statement and wire the corresponding server, client, or print handlers. This automates multi-location code edits.

How does БСП command type inference work for external processing?

БСП command type inference works by checking an explicit `ТипКоманды` mapping first, or defaulting to a type derived from the existing processing's `ВидОбработки...()` value to determine execution routing.

Can I generate print command handlers without duplicating procedures in 1C БСП?

Yes, you can generate print command handlers for `Печать` and `ПечатнаяФорма` branches without duplicating procedures by updating existing execution modules and avoiding duplicate procedure definitions during insertion.

What's the best way to scaffold server and client command handlers in БСП?

The best way to scaffold server and client command handlers in БСП is updating the `ВыполнитьКоманду` execution branches alongside the command registration block, ensuring handler wiring matches the inferred or explicit command type.

Do I need to initialize my БСП external processing before adding commands?

Yes, you need to initialize your БСП external processing first using `/epf-bsp-init` before adding commands, because this Skill extends an initialized processing structure by locating `ObjectModule.bsl` and editing its registration functions.

Why does adding a БСП command require editing multiple code locations?

Adding a БСП command requires editing multiple code locations because the registration metadata in `СведенияОВнешнейОбработке()` and the execution logic in `ВыполнитьКоманду` branches must stay synchronized to avoid runtime handler routing failures.