1c_hbk_bsl
Open-source toolkit for 1C:Enterprise/BSL: 180 diagnostics, formatter, LSP, CLI, VS Code/Cursor extension, SARIF, MCP server, and RU/EN documentation.
Install / Use
claude mcp add mussolene -- npx -y github:mussolene/1c_hbk_bslIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of 1c_hbk_bsl
1c_hbk_bsl scores 83/100 on our quality scale, 913th of 1,177 Content & Media skills we index.
Its MCP Server is 7.4 KB long, well organised into 13 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so 1c_hbk_bsl is actively maintained.
- Our last check on 2026-09-22 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
1c_hbk_bsl compared with similar skills
All 4 of these similar skills score higher than 1c_hbk_bsl; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| 1c_hbk_bsl (this skill)by mussolene | 83 | 10 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 94.3k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.8k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.3k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 86.4k | today | MCP Server |
Frequently asked questions
- How do I install 1c_hbk_bsl?
- Run
claude mcp add mussolene -- npx -y github:mussolene/1c_hbk_bsl. The install tabs above show the steps for each supported agent. - Which AI agents does 1c_hbk_bsl work with?
- It is written for Claude Code, Claude Desktop and Cursor, as a MCP Server file. Other agents that read the same format can often use it too.
- Is 1c_hbk_bsl safe to use?
- It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is 1c_hbk_bsl still maintained?
- The repository was last updated today, so 1c_hbk_bsl is actively maintained.
Skill content
View source on GitHub1C HBK BSL
Инструменты для разработки на платформе «1С:Предприятие» / BSL: расширение для VS Code и Cursor, CLI-линтер, форматтер, а также LSP- и MCP-серверы для локальных интеграций.
Что это
onec-hbk-bsl помогает держать BSL-код в порядке:
- показывает диагностики в редакторе и CLI;
- включает 180 публичных диагностических правил;
- форматирует
.bsl/.os; - даёт навигацию, hover, completion, rename и inlay hints через LSP;
- умеет отдавать SARIF/JSON для CI;
- предоставляет MCP-инструменты для локальных AI-ассистентов.
Проект не запускает Java-анализатор в рантайме. В репозитории выпускаются два
связанных продукта: Toolkit (CLI, LSP, MCP и Python API) и расширение
VS Code / Cursor со встроенным сервером.
При установке из PyPI требуется Python 3.12 или новее. Платформенные VSIX содержат готовый бинарный файл и не требуют системного Python. Актуальное состояние подтверждают CI, проверка безопасности и артефакты конкретного релиза.
Быстрый старт
VS Code / Cursor
- Установите расширение
mussolene.1c-hbk-bsl. - Откройте каталог с исходниками 1С.
- Дождитесь запуска сервера: диагностики появятся в Problems, а форматирование и навигация заработают через LSP.
Поддерживаются VS Code / Cursor с API VS Code 1.85+ и платформенные сборки для macOS Apple Silicon, macOS Intel, Linux x64 и Windows x64.
Настройки редактора, команды и порядок поиска сервера описаны в руководстве по расширению.
CLI
uv tool install onec-hbk-bsl
onec-hbk-bsl check .
onec-hbk-bsl format . --check
onec-hbk-bsl check . --format sarif > bsl-results.sarif
Установка через pip:
pip install onec-hbk-bsl
Конфигурация
Основной файл проекта: onec-hbk-bsl.toml.
ignore = ["BSL012"]
exclude = ["vendor", "build", "*.gen.bsl"]
format = "text"
jobs = 0
insert-spaces = false
indent-size = 4
index-mode = "full" # off | symbols | full
index-max-bytes = 0 # 0 = unlimited
[per-file-ignores]
"legacy/*.bsl" = ["BSL002", "BSL011"]
Также поддерживается секция [tool."onec-hbk-bsl"] в pyproject.toml.
Основные правила разрешения настроек:
- явный параметр → переменная окружения → конфигурация проекта → встроенное значение по умолчанию;
jobs = 0включает адаптивное выполнение, аjobs = 1— последовательное;index-excludeуправляет областью навигации и по умолчанию наследуетexclude;- после изменения области индекса выполните
onec-hbk-bsl index . --force.
Полное руководство по конфигурации и публичным интерфейсам: Toolkit.
Диагностики и подавления
BSL### — стабильный код правила для вывода, --select, --ignore,
onec-hbk-bsl.toml и подавляющих комментариев noqa. Совместимые имена из
существующих BSL-проектов, например LineLength, также принимаются, но в
результатах всегда выводится код BSL###.
Все семейства подавляющих комментариев работают для одной строки и диапазона:
маркер после кода действует на текущую строку, а маркер на отдельной строке
открывает диапазон до noqa-enable, bsl-enable или совместимого BSLLS:…-on.
Пароль = "dev_only"; // noqa: BSL012
// bsl-disable: BSL002
// код без BSL002
// bsl-enable: BSL002
Полный перечень с RU/EN-описаниями, примерами и исключениями: опубликованный справочник диагностических правил.
Основные команды
| Задача | Команда |
|---|---|
| Проверить проект | onec-hbk-bsl check . |
| Получить SARIF для CI | onec-hbk-bsl check . --format sarif > bsl-results.sarif |
| Создать или применить baseline-файл | onec-hbk-bsl check . --update-baseline bsl-baseline.json / --baseline bsl-baseline.json |
| Проверить форматирование | onec-hbk-bsl format . --check |
| Запустить LSP | onec-hbk-bsl lsp |
| Запустить локальный MCP | onec-hbk-bsl mcp --stdio --workspace /path/to/project |
| Проверить состояние индекса | onec-hbk-bsl index . --status |
| Пересобрать индекс | onec-hbk-bsl index . --force |
Режимы индекса: off, symbols и full. Перед --clean остановите LSP и MCP.
Python и пакеты
from onec_hbk_bsl import check_files
diagnostics = check_files(["src/Модуль.bsl"], jobs=1)
for diagnostic in diagnostics:
print(diagnostic.code, diagnostic.file, diagnostic.line)
Публикуются два PyPI-дистрибутива:
| Пакет | Назначение |
|---|---|
| onec-hbk-bsl-core | CLI, форматтер, диагностики, Python API и LSP без MCP-зависимостей |
| onec-hbk-bsl | Полный совместимый пакет поверх onec-hbk-bsl-core[mcp] той же версии |
Место в экосистеме
onec-hbk-bsl отвечает за анализ и безопасное изменение кода в текущей рабочей
области. Централизованную справку предоставляет
onec-context-mcp, контекстные
пакеты конкретной версии проекта собирает
onec-context-toolkit, а
воспроизводимой средой выполнения управляет
1c-develop.
Эти проекты дополняют друг друга, но не требуются для установки Toolkit или расширения.
Документация
Полная документация публикуется на mussolene.github.io/1c_hbk_bsl. Она поддерживает русский и английский языки, системную светлую/тёмную тему, полнотекстовый поиск и прямые страницы всех 180 правил.
- Toolkit — установка, CLI, конфигурация, CI, LSP и MCP.
- Расширение VS Code / Cursor — установка, возможности, настройки и устранение проблем.
- Диагностические правила — 180 карточек с описаниями, примерами и подавлениями.
- Security policy и third-party notices — безопасность, лицензии и происхождение данных.
RU/EN-описания диагностик адаптированы из документационного корпуса BSL Language Server и распространяются с сохранением указанной в сторонних уведомлениях лицензии.
Разработка
git clone https://github.com/mussolene/1c_hbk_bsl
cd 1c_hbk_bsl
make install
make lint
make test
Для локальной сборки VSIX используйте make vsix.
Лицензия
MIT © 2024 1C HBK BSL Contributors
Related Skills
Agent-Reach
94.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.3kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
86.4k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
