composing-1c-queries SKILL.md skillA

composing-1c-queries from desko77/claude-code-skills-1c is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add desko77/claude-code-skills-1c/composing-1c-queries@git:20261025.3d573bd

Pins git:20261025.3d573bd 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/composing-1c-queries/SKILL.md
Versions recorded
6
Latest version
git:20261025.3d573bd, committed Oct 25, 2026
First version recorded
May 11, 2026
Size
30,136 bytes
Repository stars
90
License
MIT

Compose correct and optimized 1C:Enterprise query language queries. Covers ВЫБРАТЬ/ИЗ/ГДЕ structure, table naming (catalogs, documents, registers, virtual tables), field selection, joins, grouping, totals, temporary tables, and parameter usage. Includes accounting register virtual tables (Остатки, Обороты, ОстаткиИОбороты, ОборотыДтКт, ДвиженияССубконто) with Счет, Субконто, and correspondence parameters. Use when the agent needs to compose a 1C query for execute_query, or when the user asks…

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

# Composing 1C Queries

Rules and patterns for writing correct 1C:Enterprise query language (язык запросов 1С).
Queries are executed via the `execute_query` tool/endpoint.

## CRITICAL: Verify Metadata Before Querying

**NEVER guess or invent metadata object names, attribute names, or tabular section names.** 1C configurations vary greatly - object and field names are unique to each database.

Before composing a query, if you are not certain about the exact names, **use `get_metadata` or any other available tool to retrieve 1C configuration metadata** to discover:
- Available metadata objects (catalogs, documents, registers, etc.)
- Object attributes (реквизиты) and their types
- Tabular sections (табличные части) and their columns
- Register dimensions, resources, and attributes

**Workflow:** retrieve metadata → confirm names → compose query → **validate query** → execute query

A query with a wrong object or field name will fail with a runtime error. Spending one call on metadata retrieval is always cheaper than debugging a failed query.

## Имена таблиц и полей из AI-EDT
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add desko77/claude-code-skills-1c/composing-1c-queries@sha256:76a88e67081bf416

The line at the top of this page pins the label git:20261025.3d573bd, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_the3vvsnmo246hx5.svg)](https://markdownregistry.com/a/art_the3vvsnmo246hx5)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between May 11, 2026 and Oct 25, 2026, about one every 33 days.

versioncommittedcommitsizeaudit
git:20261025.3d573bd latest2026-10-25 3d573bd 30,136 BA view · diff
git:20260828.2b87e3e2026-08-28 2b87e3e 29,637 BA view · diff
git:20260819.bb630192026-08-19 bb63019 29,703 BA view · diff
git:20260814.b9b78852026-08-14 b9b7885 28,536 BA view · diff
git:20260706.2e32c952026-07-06 2e32c95 28,538 BA view · diff
git:20260511.63367d72026-05-11 63367d7 28,540 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (30136 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

GitHub

desko77/claude-code-skills-1c · 90 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_the3vvsnmo246hx5
GET https://markdownregistry.com/api/v1/resolve?ref=desko77/claude-code-skills-1c/composing-1c-queries
GET https://markdownregistry.com/api/v1/blob/76a88e67081bf4161f5d7e53806e07227e5305fdb3e540e744767bfb11829f46

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

1c-bsl-validate SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-bsl-validate/SKILL.md · Проверка вызовов общих модулей в BSL по выгрузке конфигурации - существует ли модуль и экспортный ли у него метод…
git:20260922.b71ad6b · audit A · 90 stars
1c-bsp-api SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-bsp-api/SKILL.md · Справочник программного интерфейса Библиотеки стандартных подсистем (БСП) 1С - какие общие модули существуют, какие у…
git:20260820.edb237f · audit A · 90 stars
1c-bsp-command SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-bsp-command/SKILL.md · Добавить команду в дополнительную обработку БСП
git:20260928.a08a5cc · audit A · 90 stars
1c-bsp-registration SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-bsp-registration/SKILL.md · Добавить функцию регистрации БСП (СведенияОВнешнейОбработке) в модуль объекта обработки
git:20260928.a08a5cc · audit A · 90 stars
1c-cf-add-object SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cf-add-object/SKILL.md · Добавить объект метаданных в конфигурацию 1С с формой, подсистемой и валидацией. Workflow: meta-compile → cf-edit →…
git:20260828.2b87e3e · audit A · 90 stars
1c-cf-edit SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cf-edit/SKILL.md · Точечное редактирование конфигурации 1С. Используй когда нужно изменить свойства конфигурации, добавить или удалить…
git:20261104.580cc3a · audit A · 90 stars
1c-cf-info SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cf-info/SKILL.md · Анализ структуры конфигурации 1С - свойства, состав, счетчики объектов. Используй для обзора конфигурации - какие…
git:20261104.580cc3a · audit A · 90 stars
1c-cf-init SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cf-init/SKILL.md · Создать пустую конфигурацию 1С (scaffold XML-исходников). Используй когда нужно начать новую конфигурацию с нуля
git:20261104.580cc3a · audit A · 90 stars
1c-cf-new-project SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cf-new-project/SKILL.md · Создать новую конфигурацию 1С с нуля - scaffold + объекты + подсистемы + роли + формы. Workflow: cf-init →…
git:20260828.2b87e3e · audit A · 90 stars
1c-cf-validate SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cf-validate/SKILL.md · Валидация конфигурации 1С. Используй после создания или модификации конфигурации для проверки корректности
git:20260928.26c77f1 · audit A · 90 stars
1c-cfe-borrow SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cfe-borrow/SKILL.md · Заимствование объектов из конфигурации 1С в расширение (CFE). Используй когда нужно перехватить метод, изменить форму…
git:20261104.580cc3a · audit A · 90 stars
1c-cfe-diff SKILL.md skill
desko77/claude-code-skills-1c · skills/1c-cfe-diff/SKILL.md · Анализ расширения конфигурации 1С (CFE) - состав, заимствованные объекты, перехватчики, проверка переноса. Используй…
git:20261104.580cc3a · audit A · 90 stars

Every file in desko77/claude-code-skills-1c

Other files named composing-1c-queries

composing-1c-queries SKILL.md skill
desko77/cursor-1c-skills · skills/composing-1c-queries/SKILL.md · >
git:20261026.e9d7e3a · audit A · 74 stars

Browse by kind, by grade A, or by owner.