framework_eng/rules/no-direct-db-access/SKILL.md
Read/write data through the 1C platform, not the DBMS
npx skillsauth add steelmorgan/1c-agent-based-dev-framework no-direct-db-accessInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Global rule for all agents and subagents.
The 1C:Enterprise platform is the only legitimate data access layer. Direct access to the DBMS (PostgreSQL, MS SQL, etc.) bypasses business logic, violates data integrity, and creates security risks.
INSERT, UPDATE, DELETE, TRUNCATE, DDL operationsSELECT) — only through 1C platform queriesWith explicit user approval or if the task is classified as a performance task:
SELECT queries to the DBMS for analyzing execution plans (EXPLAIN ANALYZE)pg_stat_*, sys.dm_exec_*)Even in these cases — read only, no changes.
{role}-context.mdclarification_needed → userdevelopment
1C server maintenance webhooks: container restart and external component cache cleanup
development
Interactive DAP debugging of a single BSL procedure
tools
Rules for using RLM tools for project search and navigation in 1C/BSL
development
Creates web applications and routes on Winow (a web server on OneScript and Autumn). Use when working with a web server on OneScript, routing, or Winow controllers.