What problem does it solve? Slow 1C:Enterprise queries caused by subqueries in SELECT, unfiltered virtual tables, composite type dereferencing, and OR conditions that bypass indexes degrade application performance and are hard to diagnose without platform-specific knowledge. ## Core Features & Use Cases - Query Pattern Library: Provides ITS-standard patterns for temporary tables, join vs subquery decisions, virtual table parameters, and ОБЪЕДИНИТЬ ВСЕ usage with side-by-side slow/fast BSL examples. - DCS Optimization: Covers Data Composition System report queries including parameter passing, source-level filtering, and ЕСТЬNULL handling for outer joins. - Index Alignment Guidance: Explains index usage rules (field order, gaps, ИНДЕКСИРОВАТЬ ПО for temporary tables) so conditions actually hit available indexes. - Use Case: A report on register balances runs slowly because it joins a virtual table directly and dereferences a composite Регистратор field. Apply the skill to extract the virtual table into an indexed temporary table and use ВЫРАЗИТЬ to cast the registrar to a concrete document type. ## Quick Start Ask the assistant to review and optimize a slow 1C query using the 1c-query-optimization skill, pasting the query text you want improved.