epf-bsp-add-command

Insert a BSP command into 1C external processing workflows.

413|90|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/comol/cursor_rules_1c --skill epf-bsp-add-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epf-bsp-add-command
Source: https://github.com/comol/cursor_rules_1c/tree/main/.cursor/source/epf-bsp-add-command
Command: npx skills add https://github.com/comol/cursor_rules_1c --skill epf-bsp-add-command

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables adding a new BSP command into the existing external processing workflow for 1C BSP, simplifying template generation and handler setup.

Core Features & Use Cases

  • Supports inserting a new command into the СведенияОВнешнейОбработке() before the return statement, and generating the corresponding handler.
  • Automatically determines the command type from the specified kind or defaults based on the existing processing context (server or client).
  • Works for both server-side and client-side implementations by updating ObjectModule.bsl or the form module, respectively.

Quick Start

Run the command with ProcessorName, Identifier, and optional Type and Representation to insert a BSP command into the external processing flow.

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 BSP command to 1C external processing?

To add a BSP command to 1C external processing, insert a generated command block before the return statement in СведенияОВнешнейОбработке and update the corresponding server or client-side handlers with proper indentation and localization markers.

How are command types determined when generating BSP commands for 1C?

Command types for BSP commands are determined from the specified kind or by applying sensible defaults based on the existing external processing context, automatically distinguishing between server-side and client-side implementations.

Does BSP command generation work for both server and client side handlers in 1C?

BSP command generation works for both server-side and client-side implementations by updating ObjectModule.bsl for server handlers or the form module for client handlers, ensuring proper localization markers and indentation.

What inputs do I need to insert a new command into СведенияОВнешнейОбработке?

Inserting a new command into СведенияОВнешнейОбработке requires a ProcessorName and Identifier, with optional Type and Representation parameters to customize the generated BSP command block and its corresponding handler.

What is the best way to automate command generation for 1C BSP external processing?

Automating command generation for 1C BSP external processing is best handled by generating the command block and its handler simultaneously, applying explicit type mappings and updating either ObjectModule.bsl or the form module with correct indentation.

Why does my generated BSP command lack proper indentation in the form module?

Generated BSP commands may lack proper indentation if the command block insertion into the form module or ObjectModule.bsl does not correctly apply the localization markers and formatting rules defined by the existing processing context.