1c-query-optimization SKILL.md skillA
1c-query-optimization from desko77/claude-code-skills-1c is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add desko77/claude-code-skills-1c/1c-query-optimization@git:20260828.2b87e3ePins git:20260828.2b87e3e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- desko77/claude-code-skills-1c
- Path
skills/1c-query-optimization/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260828.2b87e3e, committed Aug 28, 2026
- First version recorded
- Feb 25, 2026
- Size
- 3,211 bytes
- Repository stars
- 90
- License
- MIT
Advanced query patterns for 1C: temporary tables, joins, DCS optimization. Use for complex queries beyond basic rules in query-optimization-tips.md.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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/claude-code-skills-1c/1c-query-optimization@sha256:f66f42cfbbe1f204The line at the top of this page pins the label git:20260828.2b87e3e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_alcq3dxlysvk24dq)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Feb 25, 2026 and Aug 28, 2026, about one every 46 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260828.2b87e3e latest | 2026-08-28 | 2b87e3e | 3,211 B | A | view · diff |
| git:20260814.b9b7885 | 2026-08-14 | b9b7885 | 3,219 B | A | view · diff |
| git:20260401.a75d3fc | 2026-04-01 | a75d3fc | 3,221 B | A | view · diff |
| git:20260321.e26b98d | 2026-03-21 | e26b98d | 3,212 B | A | view · diff |
| git:20260225.16f6008 | 2026-02-25 | 16f6008 | 11,817 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/claude-code-skills-1c · 90 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_alcq3dxlysvk24dq GET https://markdownregistry.com/api/v1/resolve?ref=desko77/claude-code-skills-1c/1c-query-optimization GET https://markdownregistry.com/api/v1/blob/f66f42cfbbe1f20464c31a9b713401171c1b2796fb3d2ecf401088f6a300fd28
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from desko77/claude-code-skills-1c
Every file in desko77/claude-code-skills-1c