integrations

A development rule for building 1C integrations with external systems through HTTP APIs. It recommends first making and testing the requests in Python, then translating the working version into 1C’s BSL language.

In plain words
What is it for?
Use it for REST or SOAP integrations, JSON or XML parsing, multi-step API flows, OAuth or JWT authentication, and webhooks.
Why use it?
Python makes it easier to inspect requests, responses, logs, and errors before dealing with BSL syntax. A tested prototype gives the 1C implementation a working reference.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/desko77/cursor-1c-skills/integrations
Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 380 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 $0.00024 $0.00380
Opus 5 $0.00012 $0.00190
Sonnet 5 $0.00005 $0.00076
Haiku 4.5 $0.00002 $0.00038

Measured 3d ago against content hash db53bbfda554, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

integrations 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 3d 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.

rules/integrations.mdc · 43 lines

What it actually says

Integrations - Python-first подход

Применяется: при разработке интеграций 1С с внешними системами через HTTP API.


Принцип

При разработке HTTP API интеграции - сначала пиши и отлаживай на Python, потом переноси на BSL:

  1. Python-прототип - написать HTTP-запросы, парсинг ответов, обработку ошибок
  2. Тестирование - убедиться что интеграция работает корректно
  3. Перенос на BSL - используя рабочий Python-код как эталон, написать аналог на 1С

Почему

  • Python имеет удобные библиотеки (requests, json) для быстрого прототипирования
  • Отладка HTTP-взаимодействия в Python значительно проще (логи, инспекция, REPL)
  • Готовый рабочий Python-код минимизирует ошибки при переносе на BSL
  • Формат запросов/ответов уже проверен, остается только синтаксический перенос

Когда применять

  • REST/SOAP интеграции с внешними сервисами
  • Сложный парсинг JSON/XML ответов
  • Многошаговые API-цепочки (авторизация → запрос → обработка)
  • Работа с нестандартными API (OAuth, JWT, webhook)

Когда НЕ применять

  • Простые одиночные HTTP-запросы с понятной документацией
  • Интеграция через стандартные механизмы БСП (обмен данными, EnterpriseData)
  • COM-соединения между базами 1С
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. 3d ago First seen · 43 lines · 24 tokens per session scan A db53bbfda554

Subscribe to this mod's changes

integrations is a cursor rule published in the GitHub repository Desko77/cursor-1c-skills (53 stars, last pushed 5d ago), licensed MIT. It adds 24 tokens to every session and 380 once invoked, about $0.0001 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 cursor rules, from other repositories

121-java-unit-testing

Java Unit testing guidelines.

alkoleft/platform-context-exporter · 0 tokens

architectural-planning

Cursor rule "architectural-planning" from alkoleft/platform-context-exporter, covering architectural planning for level 4 tasks, 🔍 architectural planning overview, 📋 architectural planning principles, 📋 architectural requirements analysis and functional requirements analysis.

alkoleft/platform-context-exporter · 6,209 tokens

reflection-comprehensive

Cursor rule "reflection-comprehensive" from alkoleft/platform-context-exporter, covering comprehensive reflection for level 4 tasks, 🔍 comprehensive reflection overview, 📋 reflection template structure, 1. system overview and system overview.

alkoleft/platform-context-exporter · 6,108 tokens

workflow-level4

Cursor rule "workflow-level4" from alkoleft/platform-context-exporter, covering comprehensive workflow for level 4 tasks, 🔍 level 4 workflow overview, 🔄 level transition handling, 📋 workflow phases and phase 1: initialization.

alkoleft/platform-context-exporter · 3,729 tokens

creative-phase-uiux

UI/UX Design Guidelines and Process for the Creative Phase.

alkoleft/platform-context-exporter · 0 tokens

optimization-integration

Cursor rule "optimization-integration" from alkoleft/platform-context-exporter, covering memory bank optimization integration, 🔄 optimization integration flow, 📋 optimization component registry, 🔄 optimization initialization sequence and 🔍 optimization configuration.

alkoleft/platform-context-exporter · 2,319 tokens