bsl-ai-toolkit: Skill for Claude Code

.claude/skills/1c-dev/SKILL.md

1c-dev is a skill for Claude Code from vgtitov/bsl-ai-toolkit. It costs 382 tokens per session (2,509 once invoked), scanned A, original, MIT.

A development and code-review aid for 1C:Enterprise 8.3, a business software platform, using its BSL programming language. It checks real project code through MCP tools and uses the platform’s documentation instead of relying on memory.

In plain words
What is it for?
Use it to write, change, or review BSL code, shared modules, forms, queries, data registers, roles, and features described in technical specifications.
Why use it?
It reduces errors caused by guessing how a particular 1C configuration works. It also checks edited code for syntax, coding standards, and database access inside loops.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is vgtitov/bsl-ai-toolkit's own configuration. It tells Claude Code how to work on bsl-ai-toolkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bsl-ai-toolkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vgtitov/bsl-ai-toolkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vgtitov/bsl-ai-toolkit/main/.claude/skills/1c-dev/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vgtitov/bsl-ai-toolkit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 1c-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/vgtitov/bsl-ai-toolkit/1c-dev.svg)](https://agentmods.dev/skills/vgtitov/bsl-ai-toolkit/1c-dev)
Your own site
<a href="https://agentmods.dev/skills/vgtitov/bsl-ai-toolkit/1c-dev"><img src="https://agentmods.dev/badge/skills/vgtitov/bsl-ai-toolkit/1c-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 382 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,509 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00382 $0.02509
Opus 5 $0.00191 $0.01255
Sonnet 5 $0.00076 $0.00502
Haiku 4.5 $0.00038 $0.00251

Measured 2d ago against content hash 931d1c6feb52, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

1c-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/1c-dev/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Разработка 1С (BSL) — писать корректный и производительный код по реальному коду

Локализация (сначала, если есть)

Если в скилле есть каталог references/local/ — прочитай его ПЕРЕД работой: version-stack.md (версии платформы/библиотек, режим совместимости, префиксы ТВОЕЙ компании) и остальные карты. При противоречии локальное побеждает generic. Контракт — docs/SKILL_LOCALIZATION.md toolkit.

Скилл разработчика: писать prod-ready BSL и ревьюить его по реальному коду и стандартам, не по памяти. Адаптируется под любую конфигурацию/расширение — заполни конвенции своего проекта (см. ниже).

Главное правило: спроси инструмент, не угадывай

Нейросеть врёт в деталях 1С. Источник истины — реальный код и официальная справка:

  • Перед написанием — найди, как уже сделано: MCP-поиск по коду (find/search/read), затем grep по клонам. Сигнатуры встроенных функций — справка платформы (MCP справки платформы под твою версию).
  • После правки — прогони BSL Language Server (синтаксис + стандарты ИТС). До 3 циклов автоисправления.
  • Гвард производительности (ENFORCED) — прогони детектор «обращение к БД в цикле»: python scripts/bsl_guard.py <изменённые .bsl> (exit 1 = находки). Ловит Запрос…Выполнить()/.ПолучитьОбъект()/ .Ссылка.<Реквизит> внутри Пока/Для (баг печатной формы). То же на коммите — pre-commit хук на staged *.bsl.
  • Нет поведения ни в коде, ни в справке — так и скажи. Механизм без сверки помечай [проверить], не «верно».

Алгоритм поиска (MCP-first): find_objectsearchread_module → grep по клонам. Параметром scope ограничивай слой/контур или расширяй на все (scope задаётся в config/layers.*.toml; без конфига — все слои). Не делай вывод об отсутствии по непросмотренному слою.

Когда файл уже найден и вопрос точечный (что вызывает эту функцию, где она объявлена, какой тип у выражения, не сломает ли правку сигнатуры другой контекст вызова) — не гадай по тексту и не грепай заново: bsl-ls-native (MCP ≥1.0, JDK 21+) даёт definition/find_references/call_hierarchy/hover/type_at_position семантически, без ложных совпадений по имени. Справка по глобальным функциям/типам платформы (сигнатуры, since/deprecated, примеры) — тем же MCP: global_member_info/global_member_search/type_info.

Read the full file on GitHub · 105 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +3 lines 931d1c6feb52
  2. 6d ago First seen · 102 lines · 382 tokens per session scan A 08c6a3881347

Subscribe to this mod's changes

1c-dev is a skill published in the GitHub repository vgtitov/bsl-ai-toolkit (18 stars, last pushed 2d ago), licensed MIT. It adds 382 tokens to every session and 2,509 once invoked, about $0.0019 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bsp

Разработка и ревью прикладного кода 1С с Библиотекой стандартных подсистем (БСП) 3.1.11. Используй при выборе общих модулей и публичных методов БСП, проверке сигнатур и регионов API, генерации BSL-кода для длительных и регламентных заданий, обмена, печати, файлов, доступа, обновления, ЭП/МЧД и других подсистем БСП…

brake71/1c-ssl-skills · 157 tokens

composing-1c-queries

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

Desko77/cursor-1c-skills · 9 tokens

humanize-ai-text

Применять при переписывании текстов, сгенерированных LLM-агентами (отчеты, README, доки, письма, посты), в живой человеческий стиль. Триггеры - пользователь пишет 'убери AI-стиль', 'перепиши по-человечески', 'сделай естественно', 'убери воду', 'не как ChatGPT', 'убери LLM-штампы'; либо на входе текст с явными…

Desko77/cursor-1c-skills · 329 tokens

transcribe

Транскрибирование видео и аудио файлов. Используй когда пользователь просит транскрибировать, расшифровать запись, сделать конспект встречи, извлечь речь из видео или аудио, преобразовать речь в текст. Для аудио (m4a/mp3/wav/ogg/flac/aac/wma) по умолчанию локальный faster-whisper + диаризация с автодетектом числа…

Desko77/cursor-1c-skills · 196 tokens

1c-web-test

Тестирование 1С через веб-клиент - автоматизация действий в браузере. Используй когда пользователь просит проверить, протестировать, автоматизировать действия в 1С через браузер.

Desko77/cursor-1c-skills · 46 tokens

lmstudio-api

Справочник по HTTP-API LM Studio (сервер локальных моделей, обычно порт 1234). Используй когда надо программно управлять моделями на LM Studio - узнать что загружено, загрузить или выгрузить модель, задать длину контекста и параллельность, отключить размышления модели, - а также при диагностике: модель…

Desko77/cursor-1c-skills · 199 tokens