1c-query-optimization skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, same audit grade.
1c-query-optimization is agent-read markdown (skill) from desko77/cursor-1c-skills: Advanced query patterns for 1C: temporary tables, joins, DCS optimization. Use for complex queries beyond basic rules in query-optimization-tips.md..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 1C Query Optimization Skill (Advanced Patterns) Продвинутые паттерны оптимизации запросов. Базовые оптимизации (ВЫРАЗИТЬ, ПРЕДСТАВЛЕНИЕ, ВТ вместо подзапросов, ОБЪЕДИНИТЬ ВСЕ, индексы, СКД) - см. правило `query-optimization-tips.md`. Анти-паттерны (запрос в цикле, обращение через точку) - см. `anti_patterns.md`. ## Validate Query via AI-EDT Если сервер AI-EDT подключен (инструменты `ai-edt` доступны), проверяй оптимизированный запрос через `validate_query` - убедись, что после рефакторинга нет синтаксических/семантических ошибок. Для запросов СКД: `dcsMode=true`. ## When to Use Invoke this skill when: - Working with complex multi-step data processing - Optimizing joins and subqueries - Implementing DCS reports - Processing large datasets in portions ## Temporary Tables - When to Use Use temporary tables for: - Complex multi-step data processing - Joining data from multiple sources - Reusing intermediate results ### Join vs Subquery (basic choice) ```bsl // PREFERRED: Join (usually faster) "ВЫБРАТЬ | Заказы.Ссылка КАК Заказ, | Контрагенты.ИНН КАК ИНН |ИЗ | Документ.ЗаказКлиента КАК Заказы | ЛЕВОЕ СОЕДИНЕНИЕ Справочник.Контрагенты КАК Контрагенты …
Read the whole file at its exact version.
How to install
mdr add desko77/cursor-1c-skills/1c-query-optimization@git:20260828.e6ca64dmdr add desko77/cursor-1c-skills/1c-query-optimization@sha256:f66f42cfbbe1f204Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_k2vtnkg6r4didrkb)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260828.e6ca64d latest | 2026-08-28 | e6ca64d | 3,211 B | A | view · diff |
| git:20260814.928ad1c | 2026-08-14 | 928ad1c | 3,219 B | A | view · diff |
| git:20260409.7165c79 | 2026-04-09 | 7165c79 | 3,221 B | A | view · diff |
| git:20260321.1bab3e1 | 2026-03-21 | 1bab3e1 | 3,212 B | A | view · diff |
| git:20260228.62bc165 | 2026-02-28 | 62bc165 | 11,793 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3211 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
desko77/cursor-1c-skills · 62 stars · license MIT · pushed 2026-09-21 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_k2vtnkg6r4didrkb GET https://markdownregistry.com/api/v1/resolve?ref=desko77/cursor-1c-skills/1c-query-optimization GET https://markdownregistry.com/api/v1/blob/f66f42cfbbe1f20464c31a9b713401171c1b2796fb3d2ecf401088f6a300fd28
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from desko77/cursor-1c-skills
Every file in desko77/cursor-1c-skills