comol/ai_rules_1c
Rules\skills\subagens for vibecoding in 1C(bsl)
What it solves
1c-rules provides a portable, standardized set of rules, sub-agent roles, and instructions for AI agents helping with development in 1C:Enterprise 8 (BSL). It ensures that AI agents follow consistent coding standards, architectural patterns, and platform-specific best practices across different AI clients (like Cursor, Claude Code, and others) by adapting the rules to the specific format required by each tool.
How it works
The project uses a central repository of rules and content (located in content/) which is then deployed into a target project via an installer. This installer (available as a PowerShell script or as a protocol for the AI agent itself to follow) distributes the rules into the appropriate directories for various supported AI tools (e.g., .cursor/rules/, .claude/rules-1c/).
Key components include:
- AGENTS.md: The primary "always-on" context for the agent, defining its persona and development procedures.
- On-demand rules: Task-specific instructions (e.g., for forms, async methods, or query design) that the agent loads only when needed to save context window space.
- Model Adaptation: Profiles that tweak agent behavior (verbosity, planning depth) based on the specific LLM being used (e.g., Claude Opus, GPT-5.6).
- Project Memory: A dedicated
memory.mdfile for critical, long-term project rules. - Sub-agents: Definitions for 13 specialized sub-agents for coding, analysis, and research.
Who it’s for
Developers working with 1C:Enterprise 8 who use AI agents to assist in writing BSL code, designing metadata, and managing platform-specific configurations.
Highlights
- Multi-tool Support: Compatible with Cursor, Claude Code, OpenAI Codex, OpenCode, Kilo Code, Kimi Code, and more.
- **- Automated Installation: Can be installed directly by the AI agent via a specific protocol or via a PowerShell script.
- **- Context-Efficient: Uses on-demand rules to prevent context window bloat.
- **- Model-Specific Tuning: Adapts prompting strategies based on the specific LLM model used.
- **- 1C-Specific Expertise: Includes deep rules for BSL style, SKD (Data Composition System) design, and BSP (Business Support Library) access rights.
Related
- Project
- Project
- Project
- Dispatch
- Project