comol/ai_rules_1c

Rules\skills\subagens for vibecoding in 1C(bsl)

What it solves

Developing 1C:Enterprise 8 code with AI agents often results in inconsistent changes, skipped verification, or unauthorized UI tests. This project provides a portable set of rules, commands, and installer scripts that give AI agents a disciplined, configurable way to work on 1C projects, ensuring changes are safe, verified, and consistent across different AI tools.

How it works

The pack installs into a project via marketplace or a PowerShell script, adapting to the specific AI client you use (Cursor, Claude Code, Codex, OpenCode, Kilo, Qwen, etc.). Its core is a four-dimension control model:

  • Mode – what the agent should do: documentation fix, spec authoring, quick fix, full cycle, or analysis.
  • Quality – how deeply code is verified: lite, standard (default), or full, using static validators and MCP-based reviews.
  • Orchestration – whether the head agent handles tasks itself or delegates to subagents (standard or economy mode).
  • UI tests – an independent switch controlling when UI checks run (essential, on, manual, off, visible/hidden) via QA MCP. The pack also includes persistent memory layers, self-improving rules (LLM-RULES.md), model-specific adaptation profiles, and a single source of truth in .dev.env. The installer can set up automatic extraction of 1C source files on a schedule.

Who it's for

Developers and teams working on 1C:Enterprise 8 (BSL) who want to use AI coding assistants in a repeatable, disciplined way. It also helps AI agents themselves, since the installation protocol can be executed by the agent following AGENT-INSTALL.md.

Highlights

  • Four independent control switches (Mode, Quality, Orchestration, UI tests) let you tailor agent behavior per task.
  • Adapters for 12+ AI tools: Cursor, Claude Code, Codex, OpenCode, Kilo, Kimi, Qwen, Command Code, Cline, ZCode, MiMo, Pi, plus a generic fallback.
  • A PowerShell installer with init/update/add/remove/doctor/eject commands and marketplace support.
  • Continuous source-file updates via a scheduled script (/installfilesupdatescript).
  • Memory layers: memory.md for critical project knowledge, and LLM-RULES.md for self-improving behavior rules updated only with explicit user approval.
  • Model-specific profiles (Opus, Sonnet, Fable, GPT) that adapt agent behavior without weakening hard safety gates.

Related

  • Project
  • Project
  • Project
  • Project
  • Project