form-patterns

Guide 1C managed form development with client-server interaction patterns.

87|15|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill form-patterns-steelmorgan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-patterns
Source: https://github.com/SteelMorgan/1c-agent-based-dev-framework/tree/main/framework/skills/bsl-practices/form-patterns
Command: npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill form-patterns-steelmorgan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill teaches AI agents how to write efficient and correct client-server code for 1C managed forms, preventing performance issues and common errors.

Core Features & Use Cases

  • Client-Server Optimization: Learn to minimize network round-trips and data serialization.
  • Event Handling Best Practices: Understand the correct placement and order of form event handlers.
  • Data Handling: Master the use of ДанныеФормыВЗначение and ЗначениеВДанныеФормы for object manipulation.
  • Use Case: An AI agent can use this Skill to refactor existing slow forms by applying rules like preferring &НаСервереБезКонтекста and batching server calls, significantly improving user experience.

Quick Start

Apply the 'form-patterns' skill to refactor the provided 1C form module code for optimal client-server interaction.

Frequently Asked Questions about form-patterns

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

FAQPage Schema
How do I optimize 1C managed forms to reduce client-server network round-trips?

Optimize 1C managed forms by applying directives like &НаСервереБезКонтекста and batching server calls to minimize network round-trips. This approach significantly reduces data serialization overhead and improves overall form performance.

What is the best way to handle data serialization in 1C form development?

Data serialization in 1C form development is best handled using ДанныеФормыВЗначение and ЗначениеВДанныеФормы for object manipulation. These methods ensure correct data conversion between client and server contexts.

How do I place event handlers correctly in 1C managed forms?

Correct event handling in 1C managed forms requires understanding the proper placement and execution order of form event handlers. Following these best practices prevents common errors and ensures optimal client-server interaction.

Can I use conditional formatting and asynchronous calls together in 1C form modules?

Conditional formatting and asynchronous calls can be used together in 1C form modules to enhance UI responsiveness. This combination allows dynamic visual updates while executing non-blocking server requests.

Why does my 1C form suffer from slow performance during data processing?

Slow 1C form performance often results from excessive server context calls and improper data serialization. Refactoring modules to use context-free server directives and batching operations resolves these performance bottlenecks.

Do I need to understand BSL coding patterns before optimizing 1C client-server interaction?

Understanding BSL coding patterns is necessary before optimizing 1C client-server interaction. Proficiency in directives, event handling, and data manipulation rules is required to effectively refactor and improve form applications.