No direct db access

From SteelMorgan/1c-agent-based-dev-framework · View interactive version

No direct db access is an AI agent skill from the GitHub repository SteelMorgan/1c-agent-based-dev-framework. Read/write data through the 1C platform, not the DBMS

How to use this skill

Skill file

Prohibition of Direct DBMS Access

Global rule for all agents and subagents.

Context

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.

Rules

PROHIBITED (without exceptions)

PROHIBITED (without user approval)

PERMITTED (performance tasks only)

With explicit user approval or if the task is classified

as a performance task:

Even in these cases — read only, no changes.

Behavior on Violation

  1. DO NOT execute a query against the DBMS
  2. Record the attempt in {role}-context.md
  3. Suggest a platform alternative (1C query, BСП mechanism, etc.)
  4. If a platform alternative is impossible — clarification_needed → user

depends_on: []


Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.